File tree Expand file tree Collapse file tree
applications/io_demo/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# via the Makefile.
99
1010$(info io_demo miniapp project specials)
11+ # Enable the use of the sleep() intrinsic for gfortran
1112export FFLAGS_GNU_OPTIONS = -fall-intrinsics
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ MPICH_MPIIO_AGGREGATOR_PLACEMENT_DISPLAY=1
33MPICH_MPIIO_HINTS_DISPLAY=1
44MPICH_MPIIO_STATS=1
55
6+ [namelist:io]
7+ subroutine_timers=.true.
8+ write_diag=.true.
9+
610[namelist:io_demo]
11+ benchmark_sleep_time=4
712io_benchmark=.true.
813n_benchmark_fields=200
9- benchmark_sleep_time=4
10-
11- [namelist:io]
12- write_diag=.true.
13- subroutine_timers=.true.
1414
1515[namelist:time]
1616timestep_end='24'
Original file line number Diff line number Diff line change @@ -3,17 +3,17 @@ MPICH_MPIIO_AGGREGATOR_PLACEMENT_DISPLAY=1
33MPICH_MPIIO_HINTS_DISPLAY=1
44MPICH_MPIIO_STATS=1
55
6+ [namelist:io]
7+ subroutine_timers=.true.
8+ write_diag=.true.
9+
610[namelist:io_demo]
11+ benchmark_sleep_time=1
712io_benchmark=.true.
813n_benchmark_fields=10
9- benchmark_sleep_time=1
10-
11- [namelist:io]
12- write_diag=.true.
13- subroutine_timers=.true.
1414
1515[namelist:time]
1616timestep_end='24'
1717
1818[namelist:timestepping]
19- dt=3600.0
19+ dt=3600.0
Original file line number Diff line number Diff line change 2626
2727# Construct launcher options
2828# ===========================================
29+ SET_CORES_PER_NODE=$(( TOTAL_RANKS< CORES_PER_NODE ? TOTAL_RANKS : CORES_PER_NODE))
2930LAUNCHER_OPTS=" "
3031if [ " ${RUN_METHOD} " = " mpiexec" ] ; then
3132 if [ " ${SITE_MPI_LAUNCHER_OPTS} " != " " ] ; then
3233 LAUNCHER_OPTS=${SITE_MPI_LAUNCHER_OPTS}
3334 else
34- LAUNCHER_OPTS=" -n ${TOTAL_RANKS} --ppn ${CORES_PER_NODE} "
35+ if [ " ${TARGET_PLATFORM} " = " meto-ex1a" ] ; then
36+ LAUNCHER_OPTS=" -n ${TOTAL_RANKS} --ppn ${SET_CORES_PER_NODE} "
37+ else
38+ LAUNCHER_OPTS=" -n ${TOTAL_RANKS} "
39+ fi
3540 fi
3641elif [ " ${RUN_METHOD} " = " srun" ] ; then
3742 LAUNCHER_OPTS=" --ntasks ${TOTAL_RANKS} "
4449if [ " ${RUN_METHOD} " = " mpiexec" ] ; then
4550 if [[ ! -z " ${XIOS_SERVER_MODE} " && " ${XIOS_SERVER_MODE} " = " True" ]] ; then
4651 if [ " ${xios_nodes} " = " 0" ] ; then
47- XIOS_OPTS=" : --np ${XIOS_SERVER_RANKS} "
52+ XIOS_OPTS=" : -n ${XIOS_SERVER_RANKS} "
4853 else
49- XIOS_CORES_PER_NODE=" $(( mpi_parts_xios / xios_nodes )) "
50- XIOS_OPTS=" : --np ${XIOS_SERVER_RANKS} --ppn ${XIOS_CORES_PER_NODE} "
54+ if [ " ${TARGET_PLATFORM} " = " meto-ex1a" ] ; then
55+ XIOS_CORES_PER_NODE=" $(( mpi_parts_xios / xios_nodes )) "
56+ XIOS_OPTS=" : -n ${XIOS_SERVER_RANKS} --ppn ${XIOS_CORES_PER_NODE} "
57+ else
58+ XIOS_OPTS=" : -n ${XIOS_SERVER_RANKS} "
59+ fi
5160 fi
5261 fi
5362fi
You can’t perform that action at this time.
0 commit comments