Changeset 3178
- Timestamp:
- 2011-11-24T17:27:29+01:00 (13 years ago)
- Location:
- branches/2011/dev_NEMO_MERGE_2011/NEMOGCM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfgls.F90
r3155 r3178 1204 1204 ! 1205 1205 INTEGER :: jit, jk ! dummy loop indices 1206 INTEGER :: id1, id2, id3, id4, id5, id6 , id7, id81206 INTEGER :: id1, id2, id3, id4, id5, id6 1207 1207 INTEGER :: ji, jj, ikbu, ikbv 1208 1208 REAL(wp):: cbx, cby … … 1219 1219 id6 = iom_varid( numror, 'mxln' , ldstop = .FALSE. ) 1220 1220 ! 1221 IF( MIN( id1, id2, id3, id4, id5, id6 , id7, id8) > 0 ) THEN ! all required arrays exist1221 IF( MIN( id1, id2, id3, id4, id5, id6 ) > 0 ) THEN ! all required arrays exist 1222 1222 CALL iom_get( numror, jpdom_autoglo, 'en' , en ) 1223 1223 CALL iom_get( numror, jpdom_autoglo, 'avt' , avt ) -
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-ALTIX_NAUTILUS_MPT
r3050 r3178 8 8 #PBS -W group_list=nemo 9 9 #PBS -j oe 10 10 # 11 OCEANCORES=NPROCS 12 export SETTE_DIR=DEF_SETTE_DIR 13 # 14 # load sette functions (only post_test_tidyup needed) 15 # 16 . ${SETTE_DIR}/all_functions.sh 11 17 ############################################################### 12 18 # … … 27 33 export SVN_HOME=/fibre/acc/UTILS/svn/v1.5/svn 28 34 # 29 #30 # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these31 # (via sed operating on this template job file). Note that the number of compute nodes required32 # (half-populated on the NOCS ALTIX system) is also set by the fcm_job.sh on the PBS select33 # header line above.34 #35 OCEANCORES=NPROCS36 export SETTE_DIR=DEF_SETTE_DIR37 #38 # These variables are needed by post_test_tidyup function in all_functions.sh39 #40 export INPUT_DIR=DEF_INPUT_DIR41 export OUTPUT_DIR=DEF_OUTPUT_DIR42 export CONFIG_DIR=DEF_CONFIG_DIR43 export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION44 export NEW_CONF=DEF_NEW_CONF45 export CMP_NAM=DEF_CMP_NAM46 export TEST_NAME=DEF_TEST_NAME47 export EXE_DIR=DEF_EXE_DIR48 #49 # end of set up50 ###############################################################51 #52 # change to the working directory53 #54 cd $PBS_O_WORKDIR55 #56 # load sette functions (only post_test_tidyup needed)57 #58 . ${SETTE_DIR}/all_functions.sh59 #60 35 echo Running on host `hostname` 61 36 echo Time is `date` 62 echo Directory is `pwd`63 37 echo PBS job ID is $PBS_JOBID 64 38 echo This jobs runs on the following machines: … … 79 53 echo export OMP_NUM_THREADS=1 80 54 # 55 # Don't remove neither change the following line 56 # BODY 57 # 58 # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these 59 # (via sed operating on this template job file). Note that the number of compute nodes required 60 # (half-populated on the NOCS ALTIX system) is also set by the fcm_job.sh on the PBS select 61 # header line above. 62 # 63 # These variables are needed by post_test_tidyup function in all_functions.sh 64 # 65 export INPUT_DIR=DEF_INPUT_DIR 66 export CONFIG_DIR=DEF_CONFIG_DIR 67 export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION 68 export NEW_CONF=DEF_NEW_CONF 69 export CMP_NAM=DEF_CMP_NAM 70 export TEST_NAME=DEF_TEST_NAME 71 export EXE_DIR=DEF_EXE_DIR 72 # 73 # end of set up 74 ############################################################### 75 # 76 # change to the working directory 77 # 78 # cd $PBS_O_WORKDIR 79 cd $EXE_DIR 80 echo Directory is `pwd` 81 # 82 # 81 83 # Run the parallel MPI executable 82 84 # … … 86 88 # 87 89 post_test_tidyup 90 # END_BODY 91 # Don't remove neither change the previous line 88 92 exit -
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/all_functions.sh
r3021 r3178 119 119 exit 1 120 120 fi 121 sed -e "s /${VAR_NAME}.*/${VAR_NAME}/" ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp121 sed -e "s:${VAR_NAME}.*:${VAR_NAME}:" ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 122 122 mv ${EXE_DIR}/$1.tmp ${EXE_DIR}/$1 123 sed -e "s /${VAR_NAME}/$2=$3/" ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp123 sed -e "s:${VAR_NAME}:$2=$3:" ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 124 124 mv ${EXE_DIR}/$1.tmp ${EXE_DIR}/$1 125 125 -
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/sette.sh
r3167 r3178 200 200 201 201 if [ ${config} -eq 2 ] ; then 202 ## Repro pducibility tests for GYRE_LOBSTER202 ## Reproducibility tests for GYRE_LOBSTER 203 203 export TEST_NAME="REPRO_1_4" 204 204 cd ${SETTE_DIR} … … 325 325 326 326 if [ ${config} -eq 4 ] ; then 327 ## Repro pducibility tests for ORCA2_LIM_PISCES327 ## Reproducibility tests for ORCA2_LIM_PISCES 328 328 export TEST_NAME="REPRO_4_4" 329 329 cd ${SETTE_DIR} … … 451 451 452 452 if [ ${config} -eq 6 ] ; then 453 ## Repro pducibility tests for ORCA2_OFF_PISCES453 ## Reproducibility tests for ORCA2_OFF_PISCES 454 454 export TEST_NAME="REPRO_4_4" 455 455 cd ${SETTE_DIR} … … 516 516 if [ ${config} -eq 7 ] ; then 517 517 ## Reproducibility tests for AMM12 518 export TEST_NAME="REP O_8_4"518 export TEST_NAME="REPRO_8_4" 519 519 cd ${SETTE_DIR} 520 520 . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_mpp_rep" … … 544 544 545 545 cd ${SETTE_DIR} 546 export TEST_NAME="REP O_4_8"546 export TEST_NAME="REPRO_4_8" 547 547 . prepare_exe_dir.sh 548 548 JOB_FILE=${EXE_DIR}/run_job.sh … … 611 611 set_namelist namelist ln_rstart .true. 612 612 set_namelist namelist nn_rstctl 2 613 cp ../LONG/AMM12_00000006_restart*.nc . 614 set_namelist namelist cn_ocerst_in \"AMM12_00000006_restart\" 613 set_namelist namelist cn_ocerst_in \"../LONG/AMM12_00000006_restart\" 615 614 cd ${SETTE_DIR} 616 615 . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} $MPIRUN_FLAG $JOB_FILE
Note: See TracChangeset
for help on using the changeset viewer.