Changeset 1530 for trunk/LMDZ.COMMON/makelmdz_fcm
- Timestamp:
- Apr 6, 2016, 8:51:34 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/makelmdz_fcm
r1521 r1530 296 296 fi 297 297 298 if [[ "$parallel" != "none" && \ 299 ( "$code" == "newstart" || "$code" == "start2archive" ) ]] 300 then 301 echo "newstart or start2archive utilities should be run in serial!" 302 echo " Compile without -parallel [mpi|omp|mpi_omp] option!" 303 exit 304 fi 305 298 306 if [[ "$parallel" == "mpi" ]] 299 307 then … … 495 503 if (( $dimension == 1 )) 496 504 then 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 497 512 CPP_KEY="$CPP_KEY CPP_1D" 498 513 ##in 1D, add dyn3d to include path (because main prog is in physics)
Note: See TracChangeset
for help on using the changeset viewer.