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

    r1521 r1530  
    363363fi
    364364
     365if [[ "$parallel" != "none" && \
     366     ( "$code" == "newstart" || "$code" == "start2archive" ) ]]
     367then
     368    echo "newstart or start2archive utilities should be run in serial!"
     369    echo " Compile without -parallel [mpi|omp|mpi_omp] option!"
     370    exit
     371fi
     372
    365373if [[ "$parallel" == "none" ]]
    366374then
     
    580588   INCLUDE="$INCLUDE "'-I$(LIBF)/dyn2d'
    581589elif (( $dimc == 1 )) ; then
     590   ## Sanity check: 1D models should be used in serial
     591   if [[ $parallel != "none" ]]
     592   then
     593     echo "Error: a 1D model should not be compiled with "
     594     echo "       -parallel [mpi|omp|mpi_omp] option!"
     595     exit
     596   fi
    582597   echo pas de dynamique
    583598   src_dirs="$src_dirs phy${physique}/dyn1d"
Note: See TracChangeset for help on using the changeset viewer.