Ignore:
Timestamp:
Apr 6, 2016, 8:51:34 AM (9 years ago)
Author:
emillour
Message:

Venus and Titan GCMs:
Updates in the physics to keep up with updates in LMDZ5 (up to
LMDZ5 trunk, rev 2350) concerning dynamics/physics separation:

  • Adapted makelmdz and makelmdz_fcm script to stop if trying to compile 1d model or newstart or start2archive in parallel.
  • got rid of references to "dimensions.h" in physics. Within physics packages, use nbp_lon (=iim), nbp_lat (=jjmp1) and nbp_lev (=llm) from module mod_grid_phy_lmdz (in phy_common) instead. Only partially done for Titan, because of many hard-coded commons; a necessary first step will be to clean these up (using modules).

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makelmdz_fcm

    r1521 r1530  
    296296fi
    297297
     298if [[ "$parallel" != "none" && \
     299     ( "$code" == "newstart" || "$code" == "start2archive" ) ]]
     300then
     301    echo "newstart or start2archive utilities should be run in serial!"
     302    echo " Compile without -parallel [mpi|omp|mpi_omp] option!"
     303    exit
     304fi
     305
    298306if [[ "$parallel" == "mpi" ]]
    299307then
     
    495503if (( $dimension == 1 ))
    496504then
     505## Sanity check: 1D models should be used in serial
     506  if [[ $parallel != "none" ]]
     507  then
     508    echo "Error: a 1D model should not be compiled with "
     509    echo "       -parallel [mpi|omp|mpi_omp] option!"
     510    exit
     511  fi
    497512  CPP_KEY="$CPP_KEY CPP_1D"
    498513##in 1D, add dyn3d to include path (because main prog is in physics)
Note: See TracChangeset for help on using the changeset viewer.