Changeset 3535 for branches/2012
- Timestamp:
- 2012-11-13T09:20:20+01:00 (12 years ago)
- Location:
- branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/SETTE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/SETTE/input_ORCA2_LIM_AGRIF.cfg
r3294 r3535 1 ORCA2_LIM_ AGRIF_nemo_v3.3.tar1 ORCA2_LIM_nemo_v3.4.tar -
branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/SETTE/prepare_job.sh
r3336 r3535 1 1 ##################################################### 2 # Author : Italo Epicocofor NEMO3 # Contact : italo.epicoco@unisalento.it2 # Author : Simona Flavoni for NEMO 3 # Contact : sflod@locean-ipsl.upmc.fr 4 4 # 5 5 # Some scripts called by sette.sh … … 145 145 ################################################################ 146 146 147 ########################################################################## 148 # COPY RESTART FILES (if needed; i.e. only for SHORT job in RESTART TESTS) 149 # get the input tarfile if needed 150 # SF : not ok for the moment because at this point is needed cn_exp variable, 151 # SF : here it it not known. 152 #\cd ${EXE_DIR} 153 #if [ "$(echo ${TEST_NAME} | grep -c "SHORT" )" -ne 0 ] ; then 154 # for (( i=1; i<=${NB_PROC}; ${NB_PROC}++)) ; do 155 # L_NPROC=`printf "%04d\n" $i` 156 # ln -sf ../LONG/${NEW_CONF}_00000060_restart_${L_NPROC-1}.nc . 157 # done 158 #fi 159 ## SF : other way 160 ## for file in ../LONG/${NEW_CONF}_*restart_0*.nc ; do 161 ## ncpu=`echo $file | awk -F '_' '{print $NF}' | cut -f 1 -d '.'` 162 ## ln -sf ${file} . 163 ## done 164 ##fi 165 ########################################################################## 166 147 167 ################################################################ 148 168 # RUN OPA -
branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/SETTE/sette.sh
r3534 r3535 178 178 cd ${SETTE_DIR} 179 179 . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 180 cd ${SETTE_DIR}181 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}182 180 183 181 cd ${SETTE_DIR} … … 196 194 set_namelist namelist jpnj 2 197 195 set_namelist namelist jpnij 4 198 cp ..\/LONG\/GYRE_LONG_00000060_restart*.nc .199 196 set_namelist namelist cn_ocerst_in \"GYRE_LONG_00000060_restart\" 197 for (( i=1; i<=$NPROC; i++)) ; do 198 L_NPROC=$(( $i - 1 )) 199 L_NPROC=`printf "%04d\n" ${L_NPROC}` 200 ln -sf ../LONG/${NEW_CONF}_00000060_restart_${L_NPROC}.nc . 201 done 200 202 cd ${SETTE_DIR} 201 203 . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} … … 294 296 cd ${SETTE_DIR} 295 297 . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 296 cd ${SETTE_DIR}297 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}298 298 299 299 cd ${SETTE_DIR} … … 315 315 set_namelist namelist_top ln_rsttr .true. 316 316 set_namelist namelist_top nn_rsttr 2 317 cp ../LONG/O2LP_LONG_00000075_restart*nc .318 317 set_namelist namelist cn_ocerst_in \"O2LP_LONG_00000075_restart\" 319 318 set_namelist namelist_ice cn_icerst_in \"O2LP_LONG_00000075_restart_ice\" … … 331 330 # put ln_pisdmp to false : no restoring to global mean value 332 331 set_namelist namelist_pisces ln_pisdmp .false. 332 for (( i=1; i<=$NPROC; i++)) ; do 333 L_NPROC=$(( $i - 1 )) 334 L_NPROC=`printf "%04d\n" ${L_NPROC}` 335 ln -sf ../LONG/O2LP_LONG_00000075_restart_${L_NPROC-1}.nc . 336 ln -sf ../LONG/O2LP_LONG_00000075_restart_trc_${L_NPROC-1}.nc . 337 ln -sf ../LONG/O2LP_LONG_00000075_restart_ice_${L_NPROC-1}.nc . 338 done 333 339 cd ${SETTE_DIR} 334 340 . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} … … 449 455 # put ln_pisdmp to false : no restoring to global mean value 450 456 set_namelist namelist_pisces ln_pisdmp .false. 451 452 457 cd ${SETTE_DIR} 453 458 . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 454 ## cd ${SETTE_DIR}455 ## . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}456 459 457 460 cd ${SETTE_DIR} … … 472 475 set_namelist namelist_top nn_rsttr 2 473 476 set_namelist namelist_top cn_trcrst_in \"OFFP_LONG_00000020_restart_trc\" 477 for (( i=1; i<=$NPROC; i++)) ; do 478 L_NPROC=$(( $i - 1 )) 479 L_NPROC=`printf "%04d\n" ${L_NPROC}` 480 ln -sf ../LONG/OFFP_LONG_00000020_restart_${L_NPROC-1}.nc . 481 ln -sf ../LONG/OFFP_LONG_00000020_restart_${L_NPROC-1}_trc.nc . 482 done 474 483 # put ln_ironsed, ln_river, ln_ndepo, ln_dust 475 484 # if not you need input files, and for tests is not necessary … … 590 599 cd ${SETTE_DIR} 591 600 . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 592 ## cd ${SETTE_DIR}593 ## . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}594 601 595 602 cd ${SETTE_DIR} … … 613 620 set_namelist namelist nn_rstctl 2 614 621 set_namelist namelist cn_ocerst_in \"AMM12_00000006_restart\" 615 cp ../LONG/AMM12_00000006_restart*.nc . 622 for (( i=1; i<=$NPROC; i++)) ; do 623 L_NPROC=$(( $i - 1 )) 624 L_NPROC=`printf "%04d\n" ${L_NPROC}` 625 ln -sf ../LONG/AMM12_00000006_restart_${L_NPROC-1}.nc . 626 done 616 627 cd ${SETTE_DIR} 617 628 . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE}
Note: See TracChangeset
for help on using the changeset viewer.