Changeset 4924 for branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE
- Timestamp:
- 2014-11-28T18:24:01+01:00 (9 years ago)
- Location:
- branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE
- Files:
-
- 1 added
- 9 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-x3750_ADA
r4255 r4924 65 65 # 66 66 if [ MPI_FLAG == "yes" ]; then 67 echo "Running time ${MPIRUN} ./opa "68 time ${MPIRUN} ./opa 67 echo "Running time ${MPIRUN} ./opa -procs $OCEANCORES" 68 time ${MPIRUN} ./opa -procs $OCEANCORES 69 69 else 70 70 echo "Running time ./opa" -
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/iodef_sette.xml
r4242 r4924 2 2 <simulation> 3 3 4 <context id="nemo" time_origin="19 00-01-01 00:00:00" >4 <context id="nemo" time_origin="1950-01-01 00:00:00" > 5 5 6 6 <!-- $id$ --> … … 21 21 --> 22 22 23 <file_definition type="multiple_file" name="@expname@_@freq@_@startdate@_@enddate@" sync_freq="1 d" min_digits="4">23 <file_definition type="multiple_file" name="@expname@_@freq@_@startdate@_@enddate@" sync_freq="10d" min_digits="4"> 24 24 25 <file_group id="1h" output_freq="1h" output_level="10" enabled=".FALSE."/> <!-- 1h files --> 26 <file_group id="2h" output_freq="2h" output_level="10" enabled=".FALSE."/> <!-- 2h files --> 27 <file_group id="3h" output_freq="3h" output_level="10" enabled=".FALSE."/> <!-- 3h files --> 28 <file_group id="4h" output_freq="4h" output_level="10" enabled=".FALSE."/> <!-- 4h files --> 29 <file_group id="6h" output_freq="6h" output_level="10" enabled=".FALSE."/> <!-- 6h files --> 30 31 <file_group id="1d" output_freq="1d" output_level="10" enabled=".FALSE."/> <!-- 1d files --> 25 <file_group id="1ts" output_freq="1ts" output_level="10" enabled=".TRUE."/> <!-- 1 time step files --> 26 <file_group id="1h" output_freq="1h" output_level="10" enabled=".TRUE."/> <!-- 1h files --> 27 <file_group id="2h" output_freq="2h" output_level="10" enabled=".TRUE."/> <!-- 2h files --> 28 <file_group id="3h" output_freq="3h" output_level="10" enabled=".TRUE."/> <!-- 3h files --> 29 <file_group id="4h" output_freq="4h" output_level="10" enabled=".TRUE."/> <!-- 4h files --> 30 <file_group id="6h" output_freq="6h" output_level="10" enabled=".TRUE."/> <!-- 6h files --> 31 <file_group id="1d" output_freq="1d" output_level="10" enabled=".TRUE."/> <!-- 1d files --> 32 <file_group id="3d" output_freq="3d" output_level="10" enabled=".TRUE."/> <!-- 3d files --> 33 <file_group id="5d" output_freq="5d" output_level="10" enabled=".TRUE."/> <!-- 5d files --> 34 <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files --> 35 <file_group id="2m" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files --> 36 <file_group id="3m" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files --> 37 <file_group id="4m" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files --> 38 <file_group id="6m" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files --> 32 39 33 <file_group id="3d" output_freq="3d" output_level="10" enabled=".FALSE."/> <!-- 3d files --> 34 <file_group id="5d" output_freq="5d" output_level="10" enabled=".FALSE."/> <!-- 5d files --> 35 36 <file_group id="1m" output_freq="1mo" output_level="10" enabled=".FALSE."/> <!-- real monthly files --> 37 <file_group id="2m" output_freq="2mo" output_level="10" enabled=".FALSE."/> <!-- real 2m files --> 38 <file_group id="3m" output_freq="3mo" output_level="10" enabled=".FALSE."/> <!-- real 3m files --> 39 <file_group id="4m" output_freq="4mo" output_level="10" enabled=".FALSE."/> <!-- real 4m files --> 40 <file_group id="6m" output_freq="6mo" output_level="10" enabled=".FALSE."/> <!-- real 6m files --> 41 42 <file_group id="1y" output_freq="1y" output_level="10" enabled=".FALSE."/> <!-- real yearly files --> 43 <file_group id="2y" output_freq="2y" output_level="10" enabled=".FALSE."/> <!-- real 2y files --> 44 <file_group id="5y" output_freq="5y" output_level="10" enabled=".FALSE."/> <!-- real 5y files --> 45 <file_group id="10y" output_freq="10y" output_level="10" enabled=".FALSE."/> <!-- real 10y files --> 40 <file_group id="1y" output_freq="1y" output_level="10" enabled=".TRUE."/> <!-- real yearly files --> 41 <file_group id="2y" output_freq="2y" output_level="10" enabled=".TRUE."/> <!-- real 2y files --> 42 <file_group id="5y" output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files --> 43 <file_group id="10y" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files --> 46 44 47 45 </file_definition> … … 64 62 <domain_definition src="./domain_def.xml"/> 65 63 66 <grid_definition /> 67 64 <grid_definition> 65 <grid id="grid_T_2D" domain_ref="grid_T"/> 66 <grid id="grid_T_3D" domain_ref="grid_T" axis_ref="deptht"/> 67 <grid id="grid_U_2D" domain_ref="grid_U"/> 68 <grid id="grid_U_3D" domain_ref="grid_U" axis_ref="depthu"/> 69 <grid id="grid_V_2D" domain_ref="grid_V"/> 70 <grid id="grid_V_3D" domain_ref="grid_V" axis_ref="depthv"/> 71 <grid id="grid_W_2D" domain_ref="grid_W"/> 72 <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 73 </grid_definition> 68 74 </context> 69 75 … … 86 92 ============================================================================================================ 87 93 --> 88 94 89 95 <file_definition type="multiple_file" name="@expname@_@freq@_@startdate@_@enddate@" sync_freq="10d" min_digits="4"> 90 96 91 <file_group id="1h" output_freq="1h" output_level="10" enabled=".FALSE."/> <!-- 1h files --> 92 <file_group id="2h" output_freq="2h" output_level="10" enabled=".FALSE."/> <!-- 2h files --> 93 <file_group id="3h" output_freq="3h" output_level="10" enabled=".FALSE."/> <!-- 3h files --> 94 <file_group id="4h" output_freq="4h" output_level="10" enabled=".FALSE."/> <!-- 4h files --> 95 <file_group id="6h" output_freq="6h" output_level="10" enabled=".FALSE."/> <!-- 6h files --> 96 97 <file_group id="1d" output_freq="1d" output_level="10" enabled=".FALSE."/> <!-- 1d files --> 97 <file_group id="1ts" output_freq="1ts" output_level="10" enabled=".TRUE."/> <!-- 1 time step files --> 98 <file_group id="1h" output_freq="1h" output_level="10" enabled=".TRUE."/> <!-- 1h files --> 99 <file_group id="2h" output_freq="2h" output_level="10" enabled=".TRUE."/> <!-- 2h files --> 100 <file_group id="3h" output_freq="3h" output_level="10" enabled=".TRUE."/> <!-- 3h files --> 101 <file_group id="4h" output_freq="4h" output_level="10" enabled=".TRUE."/> <!-- 4h files --> 102 <file_group id="6h" output_freq="6h" output_level="10" enabled=".TRUE."/> <!-- 6h files --> 103 <file_group id="1d" output_freq="1d" output_level="10" enabled=".TRUE."/> <!-- 1d files --> 104 <file_group id="3d" output_freq="3d" output_level="10" enabled=".TRUE."/> <!-- 3d files --> 105 <file_group id="5d" output_freq="5d" output_level="10" enabled=".TRUE."/> <!-- 5d files --> 106 <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files --> 107 <file_group id="2m" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files --> 108 <file_group id="3m" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files --> 109 <file_group id="4m" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files --> 110 <file_group id="6m" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files --> 98 111 99 <file_group id="3d" output_freq="3d" output_level="10" enabled=".FALSE."/> <!-- 3d files --> 100 <file_group id="5d" output_freq="5d" output_level="10" enabled=".FALSE."/> <!-- 5d files --> 112 <file_group id="1y" output_freq="1y" output_level="10" enabled=".TRUE."/> <!-- real yearly files --> 113 <file_group id="2y" output_freq="2y" output_level="10" enabled=".TRUE."/> <!-- real 2y files --> 114 <file_group id="5y" output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files --> 115 <file_group id="10y" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files --> 101 116 102 <file_group id="1m" output_freq="1mo" output_level="10" enabled=".FALSE."/> <!-- real monthly files -->103 <file_group id="2m" output_freq="2mo" output_level="10" enabled=".FALSE."/> <!-- real 2m files -->104 <file_group id="3m" output_freq="3mo" output_level="10" enabled=".FALSE."/> <!-- real 3m files -->105 <file_group id="4m" output_freq="4mo" output_level="10" enabled=".FALSE."/> <!-- real 4m files -->106 <file_group id="6m" output_freq="6mo" output_level="10" enabled=".FALSE."/> <!-- real 6m files -->107 108 <file_group id="1y" output_freq="1y" output_level="10" enabled=".FALSE."/> <!-- real yearly files -->109 <file_group id="2y" output_freq="2y" output_level="10" enabled=".FALSE."/> <!-- real 2y files -->110 <file_group id="5y" output_freq="5y" output_level="10" enabled=".FALSE."/> <!-- real 5y files -->111 <file_group id="10y" output_freq="10y" output_level="10" enabled=".FALSE."/> <!-- real 10y files -->112 <file_group id="1h" output_freq="1h" output_level="10" enabled=".FALSE."/> <!-- 1h files -->113 <file_group id="2h" output_freq="2h" output_level="10" enabled=".FALSE."/> <!-- 2h files -->114 <file_group id="3h" output_freq="3h" output_level="10" enabled=".FALSE."/> <!-- 3h files -->115 <file_group id="4h" output_freq="4h" output_level="10" enabled=".FALSE."/> <!-- 4h files -->116 <file_group id="6h" output_freq="6h" output_level="10" enabled=".FALSE."/> <!-- 6h files -->117 118 117 </file_definition> 119 118 … … 130 129 <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 131 130 <axis id="nfloat" long_name="Float number" unit="-" /> 131 <axis id="icbcla" long_name="Iceberg class" unit="-" /> 132 132 </axis_definition> 133 133 … … 146 146 </context> 147 147 148 149 148 <context id="xios"> 150 149 … … 154 153 We must have buffer_size > jpi*jpj*jpk*8 (with jpi and jpj the subdomain size) 155 154 --> 156 <variable id="buffer_size" type="integer">10 000000</variable>155 <variable id="buffer_size" type="integer">10155778</variable> 157 156 <variable id="buffer_server_factor_size" type="integer">2</variable> 158 157 <variable id="info_level" type="integer">0</variable> … … 164 163 165 164 </context> 166 167 165 </simulation> -
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/param.cfg
r4373 r4924 1 1 #- forcing files storing 2 FORCING_DIR= ~/FORCING2 FORCING_DIR=/data/scihub-users/piethi/WORKDIR/dev_r4650_UKMO2_ice_shelves_merge/NEMOGCM/SETTE/FORCING 3 3 #- input files storing 4 4 INPUT_DIR=${CONFIG_DIR}/${NEW_CONF}/EXP00 … … 6 6 #TMPDIR=${CONFIG_DIR}/${NEW_CONF}/EXP00 7 7 #- VALIDATION files storing 8 NEMO_VALIDATION_DIR= ~/NEMO_VALIDATION8 NEMO_VALIDATION_DIR=/data/scihub-users/piethi/WORKDIR/dev_r4650_UKMO2_ice_shelves_merge/NEMOGCM/SETTE/NEMO_VALIDATION -
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/prepare_exe_dir.sh
r4373 r4924 71 71 72 72 cp -r ${CONFIG_DIR}/${NEW_CONF}/EXP00/* ${EXE_DIR}/. 73 #cp -r ${SETTE_DIR}/iodef_sette.xml ${EXE_DIR}/iodef.xml73 cp -r ${SETTE_DIR}/iodef_sette.xml ${EXE_DIR}/iodef.xml 74 74 cd ${EXE_DIR} -
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/prepare_job.sh
r4373 r4924 182 182 fi 183 183 184 # example for NOCS Altix system using PBSbatch submission (requires ${SETTE_DIR}/sette_batch_template file)184 # example for NOCS ClusterVision system using SLURM batch submission (requires ${SETTE_DIR}/sette_batch_template file) 185 185 # 186 186 # if [ ${MPI_FLAG} == "no" ] ; then 187 187 case ${COMPILER} in 188 ALTIX_NAUTILUS_MPT)189 NB_REM=$( echo $NB_PROC $NXIO_PROC | awk '{print ( $1 + $2 ) % 4}')188 X64_MOBILIS) 189 NB_REM=$( echo $NB_PROC $NXIO_PROC | awk '{print ( $1 + $2 ) % 16}') 190 190 if [ ${NB_REM} == 0 ] ; then 191 # number of processes required is an integer multiple of 4191 # number of processes required is an integer multiple of 16 192 192 # 193 NB_NODES=$( echo $NB_PROC $NXIO_PROC | awk '{print ($1 + $2 ) / 4}')193 NB_NODES=$( echo $NB_PROC $NXIO_PROC | awk '{print ($1 + $2 ) / 16}') 194 194 else 195 195 # 196 # number of processes required is not an integer multiple of 4196 # number of processes required is not an integer multiple of 16 197 197 # round up the number of nodes required. 198 198 # 199 NB_NODES=$( echo $NB_PROC $NXIO_PROC | awk '{printf("%d",($1 + $2 ) / 4+ 1 )}')199 NB_NODES=$( echo $NB_PROC $NXIO_PROC | awk '{printf("%d",($1 + $2 ) / 16 + 1 )}') 200 200 fi 201 201 ;; 202 XC_ARCHER_INTEL) 203 # ocean cores are packed 24 to a node 204 NB_REM=$( echo $NB_PROC | awk '{print ( $1 % 24 ) }') 205 if [ ${NB_REM} == 0 ] ; then 206 # number of processes required is an integer multiple of 24 207 # 208 NB_NODES=$( echo $NB_PROC $NXIO_PROC | awk '{print ($1) / 24}') 209 else 210 # 211 # number of processes required is not an integer multiple of 24 212 # round up the number of nodes required. 213 # 214 NB_NODES=$( echo $NB_PROC | awk '{printf("%d",($1) / 24 + 1 )}') 215 fi 216 # xios cores are sparsely packed at 4 to a node 217 # but can not share nodes with the ocean cores 218 NB_REM=$( echo $NXIO_PROC | awk '{print ( $2 % 4 ) }') 219 if [ ${NB_REM} == 0 ] ; then 220 # number of processes required is an integer multiple of 4 221 # 222 NB_NODES=$( echo $NB_NODES $NXIO_PROC | awk '{print ($1 + ( $2 / 4 ))}') 223 else 224 # 225 # number of processes required is not an integer multiple of 4 226 # round up the number of nodes required. 227 # 228 NB_NODES=$( echo $NB_NODES $NXIO_PROC | awk '{print ($1 + ( $2 / 4 ) + 1)}') 229 fi 230 ;; 202 231 ifort_MERCATOR_CLUSTER) 203 232 echo NB_PROCS ${NB_PROC} -
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/sette.sh
r4379 r4924 136 136 # ORCA2_LIM_PISCES: 3 & 4 137 137 # ORCA2_OFF_PISCES: 5 & 6 138 # AMM12 : 7 & 8 139 # SAS : 9 & 10 140 # ORCA2_AGRIF_LIM: 11 141 for config in 1 2 3 4 5 6 7 8 9 10 11 138 # ORCA2_LIM3 : 7 & 8 139 # AMM12 : 9 & 10 140 # SAS :11 & 12 141 # ISOMIP :13 & 14 142 # ORCA2_AGRIF_LIM :15 143 for config in 9 10 #1 2 3 4 5 6 7 8 9 10 13 14 # 1 2 5 6 7 8 9 10 11 12 13 14 142 144 143 145 do … … 629 631 fi 630 632 633 634 # TESTS FOR ORCA2_LIM3 CONFIGURATION 635 if [ ${config} -eq 7 ] ; then 636 ## Restartability tests for ORCA2_LIM3 637 export TEST_NAME="LONG" 638 cd ${CONFIG_DIR} 639 . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_LONG -r ORCA2_LIM3 -j 8 del_key ${DEL_KEYS} 640 cd ${SETTE_DIR} 641 . ./param.cfg 642 . ./all_functions.sh 643 . ./prepare_exe_dir.sh 644 JOB_FILE=${EXE_DIR}/run_job.sh 645 NPROC=4 646 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 647 cd ${EXE_DIR} 648 set_namelist namelist_cfg cn_exp \"O2L3_LONG\" 649 set_namelist namelist_cfg nn_it000 1 650 set_namelist namelist_cfg nn_itend 150 651 set_namelist namelist_cfg nn_stock 75 652 set_namelist namelist_cfg ln_clobber .true. 653 set_namelist namelist_cfg nn_fwb 0 654 set_namelist namelist_cfg jpni 2 655 set_namelist namelist_cfg jpnj 2 656 set_namelist namelist_cfg jpnij 4 657 set_namelist namelist_cfg nn_solv 2 658 if [ ${USING_MPMD} == "yes" ] ; then 659 set_xio_using_server iodef.xml true 660 else 661 set_xio_using_server iodef.xml false 662 fi 663 cd ${SETTE_DIR} 664 . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 665 666 cd ${SETTE_DIR} 667 export TEST_NAME="SHORT" 668 . ./prepare_exe_dir.sh 669 cd ${EXE_DIR} 670 set_namelist namelist_cfg cn_exp \"O2L3_SHORT\" 671 set_namelist namelist_cfg nn_it000 76 672 set_namelist namelist_cfg nn_itend 150 673 set_namelist namelist_cfg nn_stock 75 674 set_namelist namelist_cfg ln_rstart .true. 675 set_namelist namelist_cfg nn_rstctl 2 676 set_namelist namelist_cfg ln_clobber .true. 677 set_namelist namelist_cfg nn_fwb 0 678 set_namelist namelist_cfg jpni 2 679 set_namelist namelist_cfg jpnj 2 680 set_namelist namelist_cfg jpnij 4 681 set_namelist namelist_cfg nn_solv 2 682 set_namelist namelist_cfg cn_ocerst_in \"O2L3_LONG_00000075_restart\" 683 set_namelist namelist_ice_cfg cn_icerst_in \"O2L3_LONG_00000075_restart_ice\" 684 for (( i=1; i<=$NPROC; i++)) ; do 685 L_NPROC=$(( $i - 1 )) 686 L_NPROC=`printf "%04d\n" ${L_NPROC}` 687 ln -sf ../LONG/O2L3_LONG_00000075_restart_${L_NPROC}.nc . 688 ln -sf ../LONG/O2L3_LONG_00000075_restart_ice_${L_NPROC}.nc . 689 done 690 if [ ${USING_MPMD} == "yes" ] ; then 691 set_xio_using_server iodef.xml true 692 else 693 set_xio_using_server iodef.xml false 694 fi 695 cd ${SETTE_DIR} 696 . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 697 cd ${SETTE_DIR} 698 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 699 fi 700 701 if [ ${config} -eq 8 ] ; then 702 ## Reproducibility tests for ORCA2_LIM3 703 export TEST_NAME="REPRO_4_4" 704 cd ${CONFIG_DIR} 705 . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_16 -r ORCA2_LIM3 -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS} 706 cd ${SETTE_DIR} 707 . ./param.cfg 708 . ./all_functions.sh 709 . ./prepare_exe_dir.sh 710 JOB_FILE=${EXE_DIR}/run_job.sh 711 NPROC=16 712 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 713 cd ${EXE_DIR} 714 set_namelist namelist_cfg nn_it000 1 715 set_namelist namelist_cfg nn_itend 75 716 set_namelist namelist_cfg nn_fwb 0 717 set_namelist namelist_cfg ln_ctl .false. 718 set_namelist namelist_cfg ln_clobber .true. 719 set_namelist namelist_cfg jpni 4 720 set_namelist namelist_cfg jpnj 4 721 set_namelist namelist_cfg jpnij 16 722 set_namelist namelist_cfg nn_solv 2 723 if [ ${USING_MPMD} == "yes" ] ; then 724 set_xio_using_server iodef.xml true 725 else 726 set_xio_using_server iodef.xml false 727 fi 728 cd ${SETTE_DIR} 729 . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 730 cd ${SETTE_DIR} 731 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 732 733 cd ${SETTE_DIR} 734 export TEST_NAME="REPRO_2_8" 735 . ./prepare_exe_dir.sh 736 JOB_FILE=${EXE_DIR}/run_job.sh 737 NPROC=16 738 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 739 cd ${EXE_DIR} 740 set_namelist namelist_cfg nn_it000 1 741 set_namelist namelist_cfg nn_itend 75 742 set_namelist namelist_cfg ln_clobber .true. 743 set_namelist namelist_cfg nn_fwb 0 744 set_namelist namelist_cfg jpni 2 745 set_namelist namelist_cfg jpnj 8 746 set_namelist namelist_cfg jpnij 16 747 set_namelist namelist_cfg nn_solv 2 748 if [ ${USING_MPMD} == "yes" ] ; then 749 set_xio_using_server iodef.xml true 750 else 751 set_xio_using_server iodef.xml false 752 fi 753 754 cd ${SETTE_DIR} 755 . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 756 cd ${SETTE_DIR} 757 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 758 fi 759 760 631 761 # TESTS FOR AMM12 CONFIGURATION 632 if [ ${config} -eq 7] ; then762 if [ ${config} -eq 9 ] ; then 633 763 ## Restartability tests for AMM12 634 764 export TEST_NAME="LONG" … … 692 822 fi 693 823 694 if [ ${config} -eq 8] ; then824 if [ ${config} -eq 10 ] ; then 695 825 ## Reproducibility tests for AMM12 696 826 export TEST_NAME="REPRO_8_4" … … 748 878 749 879 # TESTS FOR ORCA2_SAS_LIM CONFIGURATION 750 if [ ${config} -eq 9] ; then880 if [ ${config} -eq 11 ] ; then 751 881 ## Restartability tests for SAS 752 882 export TEST_NAME="LONG" … … 810 940 fi 811 941 812 if [ ${config} -eq 1 0] ; then942 if [ ${config} -eq 12 ] ; then 813 943 ## Reproducibility tests for ORCA2_SAS_LIM 814 944 export TEST_NAME="REPRO_8_4" … … 864 994 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 865 995 fi 996 # TESTS FOR ISOMIP CONFIGURATION 997 if [ ${config} -eq 13 ] ; then 998 ## Restartability tests for ISOMIP 999 export TEST_NAME="LONG" 1000 cd ${CONFIG_DIR} 1001 . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -r ISOMIP -j 8 del_key ${DEL_KEYS} 1002 cd ${SETTE_DIR} 1003 . ./param.cfg 1004 . ./all_functions.sh 1005 . ./prepare_exe_dir.sh 1006 JOB_FILE=${EXE_DIR}/run_job.sh 1007 NPROC=4 1008 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 1009 cd ${EXE_DIR} 1010 set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" 1011 set_namelist namelist_cfg nn_it000 1 1012 set_namelist namelist_cfg nn_itend 96 1013 set_namelist namelist_cfg nn_stock 48 1014 set_namelist namelist_cfg ln_clobber .true. 1015 set_namelist namelist_cfg nn_fwb 0 1016 set_namelist namelist_cfg nn_solv 2 1017 set_namelist namelist_cfg jpni 2 1018 set_namelist namelist_cfg jpnj 2 1019 set_namelist namelist_cfg jpnij 4 1020 if [ ${USING_MPMD} == "yes" ] ; then 1021 set_xio_using_server iodef.xml true 1022 else 1023 set_xio_using_server iodef.xml false 1024 fi 1025 cd ${SETTE_DIR} 1026 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 1027 1028 cd ${SETTE_DIR} 1029 export TEST_NAME="SHORT" 1030 . ./prepare_exe_dir.sh 1031 cd ${EXE_DIR} 1032 set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" 1033 set_namelist namelist_cfg nn_it000 49 1034 set_namelist namelist_cfg nn_itend 96 1035 set_namelist namelist_cfg nn_stock 48 1036 set_namelist namelist_cfg ln_rstart .true. 1037 set_namelist namelist_cfg nn_rstctl 2 1038 set_namelist namelist_cfg ln_clobber .true. 1039 set_namelist namelist_cfg nn_fwb 0 1040 set_namelist namelist_cfg nn_solv 2 1041 set_namelist namelist_cfg jpni 2 1042 set_namelist namelist_cfg jpnj 2 1043 set_namelist namelist_cfg jpnij 4 1044 set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 1045 if [ ${USING_MPMD} == "yes" ] ; then 1046 set_xio_using_server iodef.xml true 1047 else 1048 set_xio_using_server iodef.xml false 1049 fi 1050 for (( i=1; i<=$NPROC; i++)) ; do 1051 L_NPROC=$(( $i - 1 )) 1052 L_NPROC=`printf "%04d\n" ${L_NPROC}` 1053 ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 1054 done 1055 if [ ${USING_MPMD} == "yes" ] ; then 1056 set_xio_using_server iodef.xml true 1057 else 1058 set_xio_using_server iodef.xml false 1059 fi 1060 cd ${SETTE_DIR} 1061 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 1062 cd ${SETTE_DIR} 1063 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 1064 fi 1065 if [ ${config} -eq 14 ] ; then 1066 ## Reproducibility tests for ISOMIP 1067 export TEST_NAME="REPRO_1_4" 1068 cd ${CONFIG_DIR} 1069 . ./makenemo -m ${CMP_NAM} -n ISOMIP_4 -r ISOMIP -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS} 1070 cd ${SETTE_DIR} 1071 . ./param.cfg 1072 . ./all_functions.sh 1073 . ./prepare_exe_dir.sh 1074 JOB_FILE=${EXE_DIR}/run_job.sh 1075 NPROC=4 1076 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 1077 cd ${EXE_DIR} 1078 set_namelist namelist_cfg cn_exp \"ISOMIP_14\" 1079 set_namelist namelist_cfg nn_it000 1 1080 set_namelist namelist_cfg nn_itend 48 1081 set_namelist namelist_cfg nn_fwb 0 1082 set_namelist namelist_cfg nn_bench 0 1083 set_namelist namelist_cfg ln_ctl .false. 1084 set_namelist namelist_cfg ln_clobber .true. 1085 set_namelist namelist_cfg nn_solv 2 1086 set_namelist namelist_cfg jpni 1 1087 set_namelist namelist_cfg jpnj 4 1088 set_namelist namelist_cfg jpnij 4 1089 if [ ${USING_MPMD} == "yes" ] ; then 1090 set_xio_using_server iodef.xml true 1091 else 1092 set_xio_using_server iodef.xml false 1093 fi 1094 cd ${SETTE_DIR} 1095 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 1096 cd ${SETTE_DIR} 1097 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 1098 1099 cd ${SETTE_DIR} 1100 export TEST_NAME="REPRO_2_2" 1101 . ./prepare_exe_dir.sh 1102 JOB_FILE=${EXE_DIR}/run_job.sh 1103 NPROC=4 1104 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 1105 cd ${EXE_DIR} 1106 set_namelist namelist_cfg cn_exp \"ISOMIP_22\" 1107 set_namelist namelist_cfg nn_it000 1 1108 set_namelist namelist_cfg nn_itend 48 1109 set_namelist namelist_cfg nn_fwb 0 1110 set_namelist namelist_cfg ln_ctl .false. 1111 set_namelist namelist_cfg ln_clobber .true. 1112 set_namelist namelist_cfg nn_solv 2 1113 set_namelist namelist_cfg jpni 2 1114 set_namelist namelist_cfg jpnj 2 1115 set_namelist namelist_cfg jpnij 4 1116 if [ ${USING_MPMD} == "yes" ] ; then 1117 set_xio_using_server iodef.xml true 1118 else 1119 set_xio_using_server iodef.xml false 1120 fi 1121 cd ${SETTE_DIR} 1122 . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 1123 cd ${SETTE_DIR} 1124 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 1125 1126 fi 866 1127 867 1128 # TEST FOR ORCA2_LIM_AGRIF : simple test of running AGRIF (no restartability neither reproducibility tests) 868 if [ ${config} -eq 1 1] ; then1129 if [ ${config} -eq 15 ] ; then 869 1130 ## ORCA2_LIM with Agulhas AGRIF zoom in MPI 870 1131 export TEST_NAME="SHORT" -
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/sette_beginner.sh
r4147 r4924 4 4 # Contact : sflod@locean-ipsl.upmc.fr 5 5 # 6 # sette .sh : principalscript of SET TEsts for NEMO (SETTE)6 # sette_beginner.sh : example of script of SET TEsts for NEMO (SETTE) 7 7 # ---------------------------------------------------------------------- 8 8 # NEMO/SETTE , NEMO Consortium (2010) … … 21 21 # =================== 22 22 # 23 # ---------------------------------------------- 24 # Set of tests for NEMO for beginners 25 # ---------------------------------------------- 23 # COMPILER : name of compiler as defined in NEMOGCM/ARCH directory 24 # BATCH_COMMAND_PAR : name of the command for submitting parallel batch jobs 25 # BATCH_COMMAND_SEQ : name of the command for submitting sequential batch jobs 26 # INTERACT_FLAG : flag to run in interactive mode "yes" 27 # to run in batch mode "no" 28 # MPIRUN_FLAG : flag to run in parallel (MPI) "yes" 29 # to run in sequential mode (NB_PROC = 1) "no" 30 # USING_XIOS : flag to control the activation of key_iomput 31 # "yes" to compile using key_iomput and link to the external XIOS library 32 # "no" to compile without key_iomput and link to the old IOIPSL library 33 # USING_MPMD : flag to control the use of stand-alone IO servers 34 # requires USING_XIOS="yes" 35 # "yes" to run in MPMD (detached) mode with stand-alone IO servers 36 # "no" to run in SPMD (attached) mode without separate IO servers 37 # NUM_XIOSERVERS : number of stand-alone IO servers to employ 38 # set to zero if USING_MPMD="no" 26 39 # 27 # SYNOPSIS 28 # ======== 40 # Principal script is sette.sh, that calls 29 41 # 30 # :: 42 # makenemo : to create successive exectuables in ${CONFIG_NAME}/BLD/bin/nemo.exe 43 # and links to opa in ${CONFIG_NAME}/EXP00) 31 44 # 32 # $ ./sette_beginner.sh45 # param.cfg : sets and loads following directories: 33 46 # 34 # DESCRIPTION 35 # =========== 36 # First simple example of how to use SETTE: create GYRE_SHORT configuration, compile it with 1 proc, and test it for a SHORT test: 5days 37 #- 47 # FORCING_DIR : is the directory for forcing files (tarfile) 48 # INPUT_DIR : is the directory for input files storing 49 # TMPDIR : is the temporary directory (if needed) 50 # NEMO_VALIDATION_DIR : is the validation directory 51 # 52 # (NOTE: this file is the same for all configrations to be tested with sette) 53 # 54 # all_functions.sh : loads functions used by sette (note: new functions can be added here) 55 # set_namelist : function declared in all_functions that sets namelist parameters 56 # post_test_tidyup : creates validation storage directory and copies required output files 57 # (solver.stat and ocean.output) in it after execution of test. 58 # 59 # VALIDATION tree is: 60 # 61 # NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) 62 # 63 # prepare_exe_dir.sh : defines and creates directory where the test is executed 64 # execution directory takes name of TEST_NAME defined for every test 65 # in sette.sh. (each test in executed in its own directory) 66 # 67 # prepare_job.sh : to generate the script run_job.sh 68 # 69 # fcm_job.sh : run in batch (INTERACT_FLAG="no") or interactive (INTERACT_FLAG="yes") 70 # see sette.sh and BATCH_TEMPLATE directory 71 # 72 # NOTE: jobs requiring initial or forcing data need to have an input_CONFIG.cfg in which 73 # can be found paths to the input tar file) 74 # NOTE: if job is not launched for any reason you have the executable ready in ${EXE_DIR} 75 # directory 76 # NOTE: the changed namelists are left in ${EXE_DIR} directory whereas original namelists 77 # remain in ${NEW_CONF}/EXP00 78 # 79 # NOTE: a log file, output.sette, is created in ${SETTE_DIR} with the echoes of 80 # executed commands 81 # 82 # NOTE: if sette.sh is stopped in output.sette there is written the last command 83 # executed by sette.sh 84 # 85 # example use: ./sette_beginner.sh 86 ######################################################################################### 38 87 # 39 88 # Compiler among those in NEMOGCM/ARCH 40 COMPILER= macport_osx89 COMPILER=x3750_ADA 41 90 export BATCH_COMMAND_PAR="llsubmit" 42 91 export BATCH_COMMAND_SEQ=$BATCH_COMMAND_PAR 43 92 export INTERACT_FLAG="yes" 44 93 export MPIRUN_FLAG="yes" 94 95 export DEL_KEYS="key_iomput" 96 if [ ${USING_XIOS} == "yes" ] 97 then 98 export DEL_KEYS="" 99 fi 100 101 # 102 # Settings which control the use of stand alone servers (only relevant if using xios) 103 # 104 export USING_MPMD="no" 105 export NUM_XIOSERVERS=4 106 export JOB_PREFIX=batch-mpmd 107 # 108 if [ ${USING_MPMD} == "no" ] 109 then 110 export NUM_XIOSERVERS=0 111 export JOB_PREFIX=batch 112 fi 113 # 114 # 115 if [ ${USING_MPMD} == "yes" ] && [ ${USING_XIOS} == "no"] 116 then 117 echo "Incompatible choices. MPMD mode requires the XIOS server" 118 exit 119 fi 120 # 45 121 46 122 # Directory to run the tests … … 54 130 # Copy job_batch_COMPILER file for specific compiler into job_batch_template 55 131 cd ${SETTE_DIR} 56 ##if [ ${INTERACT_FLAG} == no ] ; then 57 cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit 58 ##fi 132 cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit 59 133 60 134 # Run for GYRE CONFIG … … 63 137 export TEST_NAME="SHORT_TEST" 64 138 cd ${CONFIG_DIR} 65 . ./makenemo -m ${CMP_NAM} -n GYRE_SHORT -r GYRE -j 10 add_key "key_ mpp_mpi key_nosignedzero"139 . ./makenemo -m ${CMP_NAM} -n GYRE_SHORT -r GYRE -j 10 add_key "key_nosignedzero" del_key ${DEL_KEYS} 66 140 cd ${SETTE_DIR} 67 . param.cfg 68 . all_functions.sh 141 . ./param.cfg 142 . ./all_functions.sh 143 . ./prepare_exe_dir.sh 69 144 # creation of execution directory 70 . prepare_exe_dir.sh71 145 JOB_FILE=${EXE_DIR}/run_job.sh 146 # setting number of procs used 72 147 NPROC=4 73 \rm $JOB_FILE 148 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 74 149 cd ${EXE_DIR} 75 150 # setting namelist parameters … … 82 157 # frequency of creation of a restart file 83 158 set_namelist namelist_cfg nn_stock 60 84 159 if [ ${USING_MPMD} == "yes" ] ; then 160 set_xio_using_server iodef.xml true 161 else 162 set_xio_using_server iodef.xml false 163 fi 85 164 cd ${SETTE_DIR} 86 . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 165 . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 87 166 # run job, with 4 processors, test named SHORT (= 60 time steps) 88 167 cd ${SETTE_DIR} -
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/sette_rpt
r3725 r4924 17 17 cd $NEMO_VALID 18 18 # 19 # The script also needs the date or revision tag. Currently this is taken from the latest sub-directory 20 # found in the WGYRE_LONG directory 21 # 22 set dorv = `ls -1rtd ./WGYRE_LONG/{$mach}/* | tail -1l ` 23 set dorv = $dorv:t 19 # The script also needs the date or revision tag. Currently this is taken from the latest sub-directory found in each directory 20 # 24 21 # 25 22 # Now loop through all the test directories. On the second pass the user can optionally examine any mismatched … … 30 27 foreach pass (0 1 ) 31 28 if ( -d ./WGYRE_LONG ) then 29 set dorv = `ls -1rtd ./WGYRE_LONG/{$mach}/* | tail -1l ` 30 set dorv = $dorv:t 32 31 set f1o = ./WGYRE_LONG/{$mach}/{$dorv}/LONG/ocean.output 33 32 set f1s = ./WGYRE_LONG/{$mach}/{$dorv}/LONG/solver.stat … … 39 38 cmp -s f1.tmp$$ $f2s 40 39 if ( $status == 0 ) then 41 echo "GYRE restartability passed" 42 else 43 echo "GYRE restartability FAILED" 44 if ( $pass == 1 ) then 45 echo "<return> to view solver.stat differences" 46 set y = $< 47 sdiff f1.tmp$$ $f2s 48 echo "<return> to view ocean.output differences" 49 set y = $< 50 sdiff $f1o $f2o | grep "|" 51 echo "<return> to continue" 52 set y = $< 53 endif 54 endif 55 rm f1.tmp$$ 56 endif 40 echo "GYRE restartability passed" 41 else 42 echo "GYRE restartability FAILED" 43 if ( $pass == 1 ) then 44 echo "<return> to view solver.stat differences" 45 set y = $< 46 sdiff f1.tmp$$ $f2s 47 echo "<return> to view ocean.output differences" 48 set y = $< 49 sdiff $f1o $f2o | grep "|" 50 echo "<return> to continue" 51 set y = $< 52 endif 53 endif 54 rm f1.tmp$$ 55 endif 56 57 if ( -d ./WISOMIP_LONG ) then 58 set dorv = `ls -1rtd ./WISOMIP_LONG/{$mach}/* | tail -1l ` 59 set dorv = $dorv:t 60 set f1o = ./WISOMIP_LONG/{$mach}/{$dorv}/LONG/ocean.output 61 set f1s = ./WISOMIP_LONG/{$mach}/{$dorv}/LONG/solver.stat 62 set f2o = ./WISOMIP_LONG/{$mach}/{$dorv}/SHORT/ocean.output 63 set f2s = ./WISOMIP_LONG/{$mach}/{$dorv}/SHORT/solver.stat 64 65 set nl = `wc -l $f2s` 66 tail -$nl[1] $f1s > f1.tmp$$ 67 cmp -s f1.tmp$$ $f2s 68 if ( $status == 0 ) then 69 echo "ISOMIP restartability passed" 70 else 71 echo "ISOMIP restartability FAILED" 72 if ( $pass == 1 ) then 73 echo "<return> to view solver.stat differences" 74 set y = $< 75 sdiff f1.tmp$$ $f2s 76 echo "<return> to view ocean.output differences" 77 set y = $< 78 sdiff $f1o $f2o | grep "|" 79 echo "<return> to continue" 80 set y = $< 81 endif 82 endif 83 rm f1.tmp$$ 84 endif 85 57 86 58 87 if ( -d ./WORCA2LIMPIS_LONG ) then 88 set dorv = `ls -1rtd ./WORCA2LIMPIS_LONG/{$mach}/* | tail -1l ` 89 set dorv = $dorv:t 59 90 set f1o = ./WORCA2LIMPIS_LONG/{$mach}/{$dorv}/LONG/ocean.output 60 91 set f1s = ./WORCA2LIMPIS_LONG/{$mach}/{$dorv}/LONG/solver.stat … … 84 115 85 116 if ( -d ./WORCA2OFFPIS_LONG ) then 117 set dorv = `ls -1rtd ./WORCA2OFFPIS_LONG/{$mach}/* | tail -1l ` 118 set dorv = $dorv:t 86 119 set f1o = ./WORCA2OFFPIS_LONG/{$mach}/{$dorv}/LONG/ocean.output 87 120 set f1s = ./WORCA2OFFPIS_LONG/{$mach}/{$dorv}/LONG/tracer.stat … … 111 144 112 145 if ( -d ./WAMM12_LONG ) then 146 set dorv = `ls -1rtd ./WAMM12_LONG/{$mach}/* | tail -1l ` 147 set dorv = $dorv:t 113 148 set f1o = ./WAMM12_LONG/{$mach}/{$dorv}/LONG/ocean.output 114 149 set f1s = ./WAMM12_LONG/{$mach}/{$dorv}/LONG/solver.stat … … 136 171 rm f1.tmp$$ 137 172 endif 138 173 if ( -d ./WORCA2LIM3_LONG ) then 174 set dorv = `ls -1rtd ./WORCA2LIM3_LONG/{$mach}/* | tail -1l ` 175 set dorv = $dorv:t 176 set f1o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/ocean.output 177 set f1s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/LONG/solver.stat 178 set f2o = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/ocean.output 179 set f2s = ./WORCA2LIM3_LONG/{$mach}/{$dorv}/SHORT/solver.stat 180 181 set nl = `wc -l $f2s` 182 tail -$nl[1] $f1s > f1.tmp$$ 183 cmp -s f1.tmp$$ $f2s 184 if ( $status == 0 ) then 185 echo "ORCA2LIM3 restartability passed" 186 else 187 echo "ORCA2LIM3 restartability FAILED" 188 if ( $pass == 1 ) then 189 echo "<return> to view solver.stat differences" 190 set y = $< 191 sdiff f1.tmp$$ $f2s 192 echo "<return> to view ocean.output differences" 193 set y = $< 194 sdiff $f1o $f2o | grep "|" 195 echo "<return> to continue" 196 set y = $< 197 endif 198 endif 199 rm f1.tmp$$ 200 endif 201 NEXT0: 202 if ( -d ./WSAS_LONG ) then 203 set dorv = `ls -1rtd ./WSAS_LONG/{$mach}/* | tail -1l ` 204 set dorv = $dorv:t 205 set f1o = ./WSAS_LONG/{$mach}/{$dorv}/LONG/ocean.output 206 set f1s = ./WSAS_LONG/{$mach}/{$dorv}/LONG/solver.stat 207 set f2o = ./WSAS_LONG/{$mach}/{$dorv}/SHORT/ocean.output 208 set f2s = ./WSAS_LONG/{$mach}/{$dorv}/SHORT/solver.stat 209 210 foreach f ( $f1o $f1s $f2o $f2s ) 211 if ( ! -f $f ) then 212 echo 'SAS restartability inconclusive ( ' $f:t ' not found )' 213 goto NEXT 214 endif 215 end 216 217 set nl = `wc -l $f2s` 218 tail -$nl[1] $f1s > f1.tmp$$ 219 cmp -s f1.tmp$$ $f2s 220 if ( $status == 0 ) then 221 echo "SAS restartability passed" 222 else 223 echo "SAS restartability FAILED" 224 if ( $pass == 1 ) then 225 echo "<return> to view solver.stat differences" 226 set y = $< 227 sdiff f1.tmp$$ $f2s 228 echo "<return> to view ocean.output differences" 229 set y = $< 230 sdiff $f1o $f2o | grep "|" 231 echo "<return> to continue" 232 set y = $< 233 endif 234 endif 235 rm f1.tmp$$ 236 endif 237 238 NEXT: 139 239 echo 140 240 141 241 if ( -d ./WGYRE_4 ) then 242 set dorv = `ls -1rtd ./WGYRE_4/{$mach}/* | tail -1l ` 243 set dorv = $dorv:t 142 244 set f1o = ./WGYRE_4/{$mach}/{$dorv}/REPRO_1_4/ocean.output 143 245 set f1s = ./WGYRE_4/{$mach}/{$dorv}/REPRO_1_4/solver.stat … … 147 249 cmp -s $f1s $f2s 148 250 if ( $status == 0 ) then 149 echo "GYRE reproducibility passed" 150 else 151 echo "GYRE reproducibility FAILED" 152 if ( $pass == 1 ) then 153 echo "<return> to view solver.stat differences" 154 set y = $< 155 sdiff $f1s $f2s 156 echo "<return> to view ocean.output differences" 157 set y = $< 158 sdiff $f1o $f2o | grep "|" 159 echo "<return> to continue" 160 set y = $< 161 endif 162 endif 163 endif 164 251 echo "GYRE reproducibility passed" 252 else 253 echo "GYRE reproducibility FAILED" 254 if ( $pass == 1 ) then 255 echo "<return> to view solver.stat differences" 256 set y = $< 257 sdiff $f1s $f2s 258 echo "<return> to view ocean.output differences" 259 set y = $< 260 sdiff $f1o $f2o | grep "|" 261 echo "<return> to continue" 262 set y = $< 263 endif 264 endif 265 endif 266 267 if ( -d ./WISOMIP_4 ) then 268 set dorv = `ls -1rtd ./WISOMIP_4/{$mach}/* | tail -1l ` 269 set dorv = $dorv:t 270 set f1o = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_1_4/ocean.output 271 set f1s = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_1_4/solver.stat 272 set f2o = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_2_2/ocean.output 273 set f2s = ./WISOMIP_4/{$mach}/{$dorv}/REPRO_2_2/solver.stat 274 275 cmp -s $f1s $f2s 276 if ( $status == 0 ) then 277 echo "ISOMIP reproducibility passed" 278 else 279 echo "ISOMIP reproducibility FAILED" 280 if ( $pass == 1 ) then 281 echo "<return> to view solver.stat differences" 282 set y = $< 283 sdiff $f1s $f2s 284 echo "<return> to view ocean.output differences" 285 set y = $< 286 sdiff $f1o $f2o | grep "|" 287 echo "<return> to continue" 288 set y = $< 289 endif 290 endif 291 endif 292 165 293 if ( -d ./WORCA2LIMPIS_16 ) then 294 set dorv = `ls -1rtd ./WORCA2LIMPIS_16/{$mach}/* | tail -1l ` 295 set dorv = $dorv:t 166 296 set f1o = ./WORCA2LIMPIS_16/{$mach}/{$dorv}/REPRO_2_8/ocean.output 167 297 set f1s = ./WORCA2LIMPIS_16/{$mach}/{$dorv}/REPRO_2_8/solver.stat … … 188 318 189 319 if ( -d ./WORCA2OFFPIS_16 ) then 320 set dorv = `ls -1rtd ./WORCA2OFFPIS_16/{$mach}/* | tail -1l ` 321 set dorv = $dorv:t 190 322 set f1o = ./WORCA2OFFPIS_16/{$mach}/{$dorv}/REPRO_2_8/ocean.output 191 323 set f1s = ./WORCA2OFFPIS_16/{$mach}/{$dorv}/REPRO_2_8/tracer.stat … … 212 344 213 345 if ( -d ./WAMM12_32 ) then 346 set dorv = `ls -1rtd ./WAMM12_32/{$mach}/* | tail -1l ` 347 set dorv = $dorv:t 214 348 set f1o = ./WAMM12_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 215 349 set f1s = ./WAMM12_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat … … 234 368 endif 235 369 endif 370 if ( -d ./WORCA2LIM3_16 ) then 371 set dorv = `ls -1rtd ./WORCA2LIM3_16/{$mach}/* | tail -1l ` 372 set dorv = $dorv:t 373 set f1o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_2_8/ocean.output 374 set f1s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_2_8/solver.stat 375 set f2o = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_4/ocean.output 376 set f2s = ./WORCA2LIM3_16/{$mach}/{$dorv}/REPRO_4_4/solver.stat 377 378 cmp -s $f1s $f2s 379 if ( $status == 0 ) then 380 echo "ORCA2LIM3 reproducibility passed" 381 else 382 echo "ORCA2LIM3 reproducibility FAILED" 383 if ( $pass == 1 ) then 384 echo "<return> to view solver.stat differences" 385 set y = $< 386 sdiff $f1s $f2s 387 echo "<return> to view ocean.output differences" 388 set y = $< 389 sdiff $f1o $f2o | grep "|" 390 echo "<return> to continue" 391 set y = $< 392 endif 393 endif 394 endif 395 396 397 if ( -d ./WSAS_32 ) then 398 set dorv = `ls -1rtd ./WSAS_32/{$mach}/* | tail -1l ` 399 set dorv = $dorv:t 400 set f1o = ./WSAS_32/{$mach}/{$dorv}/REPRO_4_8/ocean.output 401 set f1s = ./WSAS_32/{$mach}/{$dorv}/REPRO_4_8/solver.stat 402 set f2o = ./WSAS_32/{$mach}/{$dorv}/REPRO_8_4/ocean.output 403 set f2s = ./WSAS_32/{$mach}/{$dorv}/REPRO_8_4/solver.stat 404 405 foreach f ( $f1o $f1s $f2o $f2s ) 406 if ( ! -f $f ) then 407 echo 'SAS reproducibility inconclusive ( ' $f:t ' not found )' 408 goto NEXT1 409 endif 410 end 411 412 cmp -s $f1s $f2s 413 if ( $status == 0 ) then 414 echo "SAS reproducibility passed" 415 else 416 echo "SAS reproducibility FAILED" 417 if ( $pass == 1 ) then 418 echo "<return> to view solver.stat differences" 419 set y = $< 420 sdiff $f1s $f2s 421 echo "<return> to view ocean.output differences" 422 set y = $< 423 sdiff $f1o $f2o | grep "|" 424 echo "<return> to continue" 425 set y = $< 426 endif 427 endif 428 endif 429 NEXT1: 236 430 237 431 if ( -d ./WORCA2AGUL_1_2 ) then 432 set dorv = `ls -1rtd ./WORCA2AGUL_1_2/{$mach}/* | tail -1l ` 433 set dorv = $dorv:t 238 434 set f1o = ./WORCA2AGUL_1_2/{$mach}/{$dorv}/SHORT/ocean.output 239 435 set f1s = ./WORCA2AGUL_1_2/{$mach}/{$dorv}/SHORT/solver.stat -
branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/SETTE/sette_xios.sh
r4373 r4924 1 1 #!/bin/bash 2 2 ############################################################ 3 # Author : Simona Flavoni for NEMO4 # Contact: sflod@locean-ipsl.upmc.fr5 # 201 3 : A.C. Coward added options for testing with XIOS in dettached mode6 # 7 # sette .sh : principal script of SET TEsts for NEMO (SETTE)3 # Author : Italo Epicoco - CMCC 4 # Contact: italo.epicoco@unisalento.it 5 # 2014 : A.C. Coward added new namelist settings for GYRE configuration 6 # 7 # sette_xios.sh : additional script of SET TEsts for XIOS within NEMO 8 8 # ---------------------------------------------------------------------- 9 # NEMO/SETTE , NEMO Consortium (201 0)9 # NEMO/SETTE , NEMO Consortium (2014) 10 10 # Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 11 11 # ---------------------------------------------------------------------- … … 29 29 # MPIRUN_FLAG : flag to run in parallel (MPI) "yes" 30 30 # to run in sequential mode (NB_PROC = 1) "no" 31 # USING_XIOS : flag to control the activation of key_iomput32 # "yes" to compile using key_iomput and link to the external XIOS library33 # "no" to compile without key_iomput and link to the old IOIPSL library34 31 # USING_MPMD : flag to control the use of stand-alone IO servers 35 # requires USING_XIOS="yes" 36 # "yes" to run in MPMD (detached) mode with stand-alone IO servers 37 # "no" to run in SPMD (attached) mode without separate IO servers 32 # "true" to run in MPMD (detached) mode with stand-alone IO servers 33 # "false" to run in SPMD (attached) mode without separate IO servers 38 34 # NUM_XIOSERVERS : number of stand-alone IO servers to employ 39 # set to zero if USING_MPMD=" no"40 # 41 # Principal script is sette .sh, that calls35 # set to zero if USING_MPMD="false" 36 # 37 # Principal script is sette_xios.sh, that calls 42 38 # 43 39 # makenemo : to create successive exectuables in ${CONFIG_NAME}/BLD/bin/nemo.exe … … 81 77 # executed commands 82 78 # 83 # NOTE: if sette .sh is stopped in output.sette there is written the last command84 # executed by sette .sh85 # 86 # example use: ./sette .sh79 # NOTE: if sette_xios.sh is stopped in output.sette there is written the last command 80 # executed by sette_xios.sh 81 # 82 # example use: ./sette_xios.sh 87 83 ######################################################################################### 88 84 # 89 85 # Compiler among those in NEMOGCM/ARCH 90 COMPILER= tobedefined86 COMPILER= 91 87 export BATCH_COMMAND_PAR="llsubmit" 92 88 export BATCH_COMMAND_SEQ=$BATCH_COMMAND_PAR … … 103 99 104 100 CMP_NAM=${1:-$COMPILER} 101 # 102 #================================================================================= 105 103 # Copy job_batch_COMPILER file for specific compiler into job_batch_template 104 # Note this batch template needs to be capable of launching both SPMD and MPMD 105 # tasks with internal selection depending on the value of NUM_XIOSERVERS 106 # (0=SPMD; >0 = MPMD) 107 #================================================================================= 108 # 106 109 cd ${SETTE_DIR} 107 110 cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit 108 111 109 for config in 2112 for config in 1 2 110 113 111 114 do 112 115 113 # TESTS FOR GYRE CONFIGURATION 116 #========================================================== 117 # TESTS FOR XIOS USING GYRE CONFIGURATION AT LOW RESOLUTION 118 #========================================================== 119 114 120 if [ ${config} -eq 1 ] ; then 115 ## Restartability tests for GYRE 121 ## Test of XIOS configured in attached mode with multiple output files (one for each process). 122 ## $NPROC processes are used 116 123 117 124 NPROC=4 125 jp_cfg=1 126 jpni=2 127 jpnj=2 118 128 export NUM_XIOSERVERS=0 119 129 export USING_MPMD="false" … … 124 134 . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRE_XIOS_LR -r GYRE_XIOS -j 8 125 135 cd ${SETTE_DIR} 126 . param.cfg127 . all_functions.sh128 . prepare_exe_dir.sh136 . ./param.cfg 137 . ./all_functions.sh 138 . ./prepare_exe_dir.sh 129 139 JOB_FILE=${EXE_DIR}/run_job.sh 130 140 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 133 143 set_namelist namelist_cfg nn_it000 1 134 144 set_namelist namelist_cfg nn_itend 120 135 set_namelist namelist_cfg nn_stock 60 136 set_namelist namelist_cfg ln_clobber .true. 137 set_namelist namelist_cfg jp_cfg 1 138 set_namelist namelist_cfg jpni 2 139 set_namelist namelist_cfg jpnj 2 145 set_namelist namelist_cfg nn_stock 120 146 set_namelist namelist_cfg ln_clobber .true. 147 set_namelist namelist_cfg jp_cfg $jp_cfg 148 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 149 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 150 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 151 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 152 set_namelist namelist_cfg jpni $jpni 153 set_namelist namelist_cfg jpnj $jpnj 140 154 set_namelist namelist_cfg jpnij $NPROC 141 155 … … 149 163 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 150 164 165 166 ## Test of XIOS configured in attached mode with a single output file. 151 167 152 168 export TEST_NAME="ATTACHED_ONE" … … 154 170 export USING_MPMD="false" 155 171 cd ${SETTE_DIR} 156 . prepare_exe_dir.sh172 . ./prepare_exe_dir.sh 157 173 JOB_FILE=${EXE_DIR}/run_job.sh 158 174 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 161 177 set_namelist namelist_cfg nn_it000 1 162 178 set_namelist namelist_cfg nn_itend 120 163 set_namelist namelist_cfg nn_stock 60 164 set_namelist namelist_cfg ln_clobber .true. 165 set_namelist namelist_cfg jp_cfg 1 166 set_namelist namelist_cfg jpni 2 167 set_namelist namelist_cfg jpnj 2 179 set_namelist namelist_cfg nn_stock 120 180 set_namelist namelist_cfg ln_clobber .true. 181 set_namelist namelist_cfg jp_cfg $jp_cfg 182 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 183 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 184 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 185 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 186 set_namelist namelist_cfg jpni $jpni 187 set_namelist namelist_cfg jpnj $jpnj 168 188 set_namelist namelist_cfg jpnij $NPROC 169 189 … … 177 197 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 178 198 199 200 ## Test of XIOS configured in detached mode with a single output file. 201 ## $NUM_XIOSERVERS IO server are used. 202 ## the total number of allocated cores is $NUM_XIOSERVERS + $NPROC 179 203 180 204 export TEST_NAME="DETACHED_ONE" … … 182 206 export USING_MPMD="true" 183 207 cd ${SETTE_DIR} 184 . prepare_exe_dir.sh 208 # 209 . ./prepare_exe_dir.sh 185 210 JOB_FILE=${EXE_DIR}/run_job.sh 186 211 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 189 214 set_namelist namelist_cfg nn_it000 1 190 215 set_namelist namelist_cfg nn_itend 120 191 set_namelist namelist_cfg nn_stock 60 192 set_namelist namelist_cfg ln_clobber .true. 193 set_namelist namelist_cfg jp_cfg 1 194 set_namelist namelist_cfg jpni 2 195 set_namelist namelist_cfg jpnj 2 216 set_namelist namelist_cfg nn_stock 120 217 set_namelist namelist_cfg ln_clobber .true. 218 set_namelist namelist_cfg jp_cfg $jp_cfg 219 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 220 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 221 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 222 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 223 set_namelist namelist_cfg jpni $jpni 224 set_namelist namelist_cfg jpnj $jpnj 196 225 set_namelist namelist_cfg jpnij $NPROC 197 226 … … 204 233 cd ${SETTE_DIR} 205 234 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 235 236 ## Test of XIOS configured in detached mode with multiple output files (one for each IO server). 237 ## $NUM_XIOSERVERS IO server are used. 238 ## the total number of allocated cores is $NUM_XIOSERVERS + $NPROC 239 206 240 207 241 export TEST_NAME="DETACHED_MULTIPLE" … … 209 243 export USING_MPMD="true" 210 244 cd ${SETTE_DIR} 211 . prepare_exe_dir.sh245 . ./prepare_exe_dir.sh 212 246 JOB_FILE=${EXE_DIR}/run_job.sh 213 247 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 216 250 set_namelist namelist_cfg nn_it000 1 217 251 set_namelist namelist_cfg nn_itend 120 218 set_namelist namelist_cfg nn_stock 60 219 set_namelist namelist_cfg ln_clobber .true. 220 set_namelist namelist_cfg jp_cfg 1 221 set_namelist namelist_cfg jpni 2 222 set_namelist namelist_cfg jpnj 2 252 set_namelist namelist_cfg nn_stock 120 253 set_namelist namelist_cfg ln_clobber .true. 254 set_namelist namelist_cfg jp_cfg $jp_cfg 255 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 256 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 257 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 258 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 259 set_namelist namelist_cfg jpni $jpni 260 set_namelist namelist_cfg jpnj $jpnj 223 261 set_namelist namelist_cfg jpnij $NPROC 224 262 … … 234 272 fi 235 273 274 #========================================================== 275 # TESTS FOR XIOS USING GYRE CONFIGURATION AT HIGH RESOLUTION 276 #========================================================== 277 236 278 if [ ${config} -eq 2 ] ; then 237 ## Restartability tests for GYRE 238 239 NPROC=152 279 ## Test of XIOS configured in attached mode with multiple output files (one for each process). 280 ## $NPROC processes are used 281 282 NPROC=64 283 jp_cfg=30 284 jpni=8 285 jpnj=8 240 286 export NUM_XIOSERVERS=0 241 287 export USING_MPMD="false" … … 246 292 . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRE_XIOS_HR -r GYRE_XIOS -j 8 247 293 cd ${SETTE_DIR} 248 . param.cfg 249 . all_functions.sh 250 . prepare_exe_dir.sh 294 # 295 . ./param.cfg 296 . ./all_functions.sh 297 . ./prepare_exe_dir.sh 298 # 251 299 JOB_FILE=${EXE_DIR}/run_job.sh 252 300 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 258 306 set_namelist namelist_cfg nn_bench 1 259 307 set_namelist namelist_cfg ln_clobber .true. 260 set_namelist namelist_cfg jp_cfg 144 261 set_namelist namelist_cfg jpni 19 262 set_namelist namelist_cfg jpnj 8 308 set_namelist namelist_cfg jp_cfg $jp_cfg 309 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 310 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 311 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 312 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 313 set_namelist namelist_cfg jpni $jpni 314 set_namelist namelist_cfg jpnj $jpnj 263 315 set_namelist namelist_cfg jpnij $NPROC 264 316 … … 273 325 274 326 327 ## Test of XIOS configured in attached mode with a single output file. 275 328 276 329 export TEST_NAME="ATTACHED_ONE" … … 278 331 export USING_MPMD="false" 279 332 cd ${SETTE_DIR} 280 . prepare_exe_dir.sh 333 # 334 . ./prepare_exe_dir.sh 335 # 281 336 JOB_FILE=${EXE_DIR}/run_job.sh 282 337 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 288 343 set_namelist namelist_cfg nn_bench 1 289 344 set_namelist namelist_cfg ln_clobber .true. 290 set_namelist namelist_cfg jp_cfg 144 291 set_namelist namelist_cfg jpni 19 292 set_namelist namelist_cfg jpnj 8 345 set_namelist namelist_cfg jp_cfg $jp_cfg 346 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 347 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 348 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 349 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 350 set_namelist namelist_cfg jpni $jpni 351 set_namelist namelist_cfg jpnj $jpnj 293 352 set_namelist namelist_cfg jpnij $NPROC 294 353 … … 301 360 cd ${SETTE_DIR} 302 361 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 362 363 364 ## Test of XIOS configured in detached mode with a single output file. 365 ## $NUM_XIOSERVERS IO server are used. 366 ## the total number of allocated cores is $NUM_XIOSERVERS + $NPROC 303 367 304 368 export TEST_NAME="DETACHED_ONE" … … 306 370 export USING_MPMD="true" 307 371 cd ${SETTE_DIR} 308 . prepare_exe_dir.sh 372 # 373 . ./prepare_exe_dir.sh 374 # 309 375 JOB_FILE=${EXE_DIR}/run_job.sh 310 376 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 316 382 set_namelist namelist_cfg nn_bench 1 317 383 set_namelist namelist_cfg ln_clobber .true. 318 set_namelist namelist_cfg jp_cfg 144 319 set_namelist namelist_cfg jpni 19 320 set_namelist namelist_cfg jpnj 8 384 set_namelist namelist_cfg jp_cfg $jp_cfg 385 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 386 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 387 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 388 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 389 set_namelist namelist_cfg jpni $jpni 390 set_namelist namelist_cfg jpnj $jpnj 321 391 set_namelist namelist_cfg jpnij $NPROC 322 392 … … 329 399 cd ${SETTE_DIR} 330 400 . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 401 402 ## Test of XIOS configured in detached mode with multiple output files (one for each IO server). 403 ## $NUM_XIOSERVERS IO server are used. 404 ## the total number of allocated cores is $NUM_XIOSERVERS + $NPROC 331 405 332 406 export TEST_NAME="DETACHED_MULTIPLE" … … 334 408 export USING_MPMD="true" 335 409 cd ${SETTE_DIR} 336 . prepare_exe_dir.sh410 . ./prepare_exe_dir.sh 337 411 JOB_FILE=${EXE_DIR}/run_job.sh 338 412 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 344 418 set_namelist namelist_cfg nn_bench 1 345 419 set_namelist namelist_cfg ln_clobber .true. 346 set_namelist namelist_cfg jp_cfg 144 347 set_namelist namelist_cfg jpni 19 348 set_namelist namelist_cfg jpnj 8 420 set_namelist namelist_cfg jp_cfg $jp_cfg 421 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 422 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 423 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 424 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 425 set_namelist namelist_cfg jpni $jpni 426 set_namelist namelist_cfg jpnj $jpnj 349 427 set_namelist namelist_cfg jpnij $NPROC 350 428
Note: See TracChangeset
for help on using the changeset viewer.