Skip to content
Snippets Groups Projects
Commit 953476d6 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Add test for non-batched RMA mode.

parent a6fd520c
No related branches found
No related tags found
No related merge requests found
......@@ -187,6 +187,7 @@ parse_long_option(struct model_config *restrict setup,
curvilinearGridOptionStr[] = "no-create-curvilinear-grid",
uuidCreateOptionStr[] = "no-create-uuid",
useDistGridOptionStr[] = "no-use-dist-grid",
batchedRmaOptionStr[] = "no-batch-rma",
datatypeOptionStr[] = "datatype",
taxistypeOptionStr[] = "taxis-type",
taxisunitOptionStr[] = "taxis-unit";
......@@ -334,6 +335,16 @@ parse_long_option(struct model_config *restrict setup,
setup->flags = (setup->flags & ~PIO_WRITE_CONFIG_CREATE_UUID_FLAG)
| (bop.value << PIO_WRITE_CONFIG_CREATE_UUID_BIT);
}
else if ((bop = parseBooleanLongOption(sizeof (batchedRmaOptionStr),
batchedRmaOptionStr, str)).matched)
{
#ifdef USE_MPI
cdiPioConfSetBatchedRMA(pioConfHandle, bop.value);
#else
invalidOptionDie("CDI-PIO option -q%s unavailable in non-MPI mode\n",
batchedRmaOptionStr + (bop.invert ? 0 : 3));
#endif
}
else if ((bop = parseBooleanLongOption(sizeof (curvilinearGridOptionStr),
curvilinearGridOptionStr, str)).matched)
{
......
......@@ -8,7 +8,7 @@ fi
mpi_task_num="${mpi_task_num-4}"
suffix="${suffix-grb}"
if [ "@USE_MPI@" = yes ]; then
variations="-qcache-redists -qcreate-curvilinear-grid"
variations="-qno-batch-rma -qcache-redists -qcreate-curvilinear-grid"
else
variations="-qcreate-curvilinear-grid"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment