Changeset 2408 for LMDZ5/branches/testing/makelmdz_fcm
- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/makelmdz_fcm
r2298 r2408 34 34 job=1 35 35 full='' 36 libphy=false 36 37 37 38 LMDGCM=`/bin/pwd` … … 43 44 DYN_PHYS_PATH=$LMDGCM/.void_dir 44 45 DYN_PHYS_SUB_PATH=$LMDGCM/.void_dir 46 PHY_COMMON_PATH=$LMDGCM/.void_dir 45 47 RRTM_PATH=$LMDGCM/.void_dir 46 48 SISVAT_PATH=$LMDGCM/.void_dir … … 96 98 [-j n] : active parallel compiling on ntask 97 99 [-full] : full recompiling 100 [-libphy] : only compile physics package (no dynamics or main program) 98 101 [-fcm_path path] : path to the fcm tool (default: tools/fcm/bin) 99 102 [-ext_src path] : path to an additional set of routines to compile with the model … … 170 173 "-ext_src") 171 174 EXT_SRC=$2 ; shift ; shift ;; 175 172 176 "-j") 173 177 job=$2 ; shift ; shift ;; 178 174 179 "-full") 175 180 full="-full" ; shift ;; 181 182 "-libphy") 183 libphy="true" ; shift ;; 176 184 177 185 "-arch") … … 182 190 esac 183 191 done 184 185 if [[ $code = ce0l && $paramem = mem ]]186 then187 echo "There is no parallel version of ce0l at the moment."188 echo "Please compile the sequential version of the code to produce the" \189 "executable ce0l."190 exit 1191 fi192 192 193 193 ############################################################### … … 252 252 CPP_KEY="$CPP_KEY CPP_EARTH" 253 253 fi 254 # set physics common utilities path 255 PHY_COMMON_PATH="${LIBFGCM}/phy_common" 254 256 # set the dyn/phys interface path 255 257 DYN_PHYS_PATH="${LIBFGCM}/dynlonlat_phylonlat" … … 541 543 fi 542 544 545 if [[ $libphy == "true" ]] 546 then 547 # special case where we compile only the physics 548 DYN=$LMDGCM/.void_dir 549 DYN_COMMON_PATH=$LMDGCM/.void_dir 550 FILTRE_PATH=$LMDGCM/.void_dir 551 DYN_PHYS_PATH=$LMDGCM/.void_dir 552 DYN_PHYS_SUB_PATH=$LMDGCM/.void_dir 553 #and there is no main program to generate 554 code="" 555 SUFF_NAME="" 556 else 557 SUFF_NAME=${SUFF_NAME}.e 558 fi 559 543 560 cd $LMDGCM 544 561 config_fcm="config.fcm" … … 557 574 echo "%DYN $DYN" >> $config_fcm 558 575 echo "%DYN_COMMON $DYN_COMMON_PATH" >> $config_fcm 576 echo "%PHY_COMMON $PHY_COMMON_PATH" >> $config_fcm 559 577 echo "%FILTRE $FILTRE_PATH" >> $config_fcm 560 578 echo "%PHYS phy${physique}" >> $config_fcm … … 588 606 rm -rf config 589 607 ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config config 590 ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config/ tmptmp_src608 ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config/ppsrc tmp_src 591 609 592 610
Note: See TracChangeset
for help on using the changeset viewer.