Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
df36b04a
Commit
df36b04a
authored
9 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Add test of caching to test harness.
parent
87ea55a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/pio_write_run.in
+14
-8
14 additions, 8 deletions
tests/pio_write_run.in
with
14 additions
and
8 deletions
tests/pio_write_run.in
+
14
−
8
View file @
df36b04a
#! @SHELL@
set -e
LOG="${LOG-pio_write.log}"
if [ @ENABLE_GRIB@ = yes ]; then
mpi_task_num="${mpi_task_num-4}"
suffix="${suffix-grb}"
if [ @ENABLE_GRIB@ != yes ]; then
# skip tests for unsupported formats
exit 77
fi
mpi_task_num="${mpi_task_num-4}"
suffix="${suffix-grb}"
if [ "@USE_MPI@" = yes ]; then
variations="-qcache-redists"
else
unset variations
fi
for variation in "" $variations ; do
exec 5>&1 6>&2 >"$LOG" 2>&1
../libtool --mode=execute \
@MPI_LAUNCH@ \
-n ${mpi_task_num} ${tool_wrap} ./pio_write ${pio_write_args}
-n ${mpi_task_num} ${tool_wrap} ./pio_write ${pio_write_args}
${variation}
exec 2>&6 1>&5 5>&- 6>&-
../libtool --mode=execute \
${tool_wrap} ./cksum_read example_0.${suffix} example_0.cksum
../libtool --mode=execute \
${tool_wrap} ./cksum_read example_1.${suffix} example_1.cksum
\rm "$LOG"
else
# skip tests for unsupported formats
exit 77
fi
done
#
# Local Variables:
# mode: sh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment