Skip to content

Commit a52aa14

Browse files
committed
Fixes for developer suite
1 parent f68b16a commit a52aa14

4 files changed

Lines changed: 25 additions & 15 deletions

File tree

applications/io_demo/build/project.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
# via the Makefile.
99

1010
$(info io_demo miniapp project specials)
11+
# Enable the use of the sleep() intrinsic for gfortran
1112
export FFLAGS_GNU_OPTIONS = -fall-intrinsics

rose-stem/app/io_demo/opt/rose-app-benchmark-nwp.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ MPICH_MPIIO_AGGREGATOR_PLACEMENT_DISPLAY=1
33
MPICH_MPIIO_HINTS_DISPLAY=1
44
MPICH_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
712
io_benchmark=.true.
813
n_benchmark_fields=200
9-
benchmark_sleep_time=4
10-
11-
[namelist:io]
12-
write_diag=.true.
13-
subroutine_timers=.true.
1414

1515
[namelist:time]
1616
timestep_end='24'

rose-stem/app/io_demo/opt/rose-app-benchmark.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ MPICH_MPIIO_AGGREGATOR_PLACEMENT_DISPLAY=1
33
MPICH_MPIIO_HINTS_DISPLAY=1
44
MPICH_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
712
io_benchmark=.true.
813
n_benchmark_fields=10
9-
benchmark_sleep_time=1
10-
11-
[namelist:io]
12-
write_diag=.true.
13-
subroutine_timers=.true.
1414

1515
[namelist:time]
1616
timestep_end='24'
1717

1818
[namelist:timestepping]
19-
dt=3600.0
19+
dt=3600.0

rose-stem/site/meto/common/bin/launch-exe

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@ fi
2626

2727
# Construct launcher options
2828
#===========================================
29+
SET_CORES_PER_NODE=$((TOTAL_RANKS<CORES_PER_NODE ? TOTAL_RANKS : CORES_PER_NODE))
2930
LAUNCHER_OPTS=""
3031
if [ "${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
3641
elif [ "${RUN_METHOD}" = "srun" ] ; then
3742
LAUNCHER_OPTS="--ntasks ${TOTAL_RANKS}"
@@ -44,10 +49,14 @@ fi
4449
if [ "${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
5362
fi

0 commit comments

Comments
 (0)