Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
62
Issues
62
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
ff6d1904
Commit
ff6d1904
authored
Apr 27, 2017
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add regression test scripts for crays at nersc
only tested on Edison so far, and works fine
parent
a705502b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
0 deletions
+45
-0
env.sh
darshan-test/regression/cray-module-nersc/env.sh
+35
-0
runjob.sh
darshan-test/regression/cray-module-nersc/runjob.sh
+7
-0
slurm-submit.sl
darshan-test/regression/cray-module-nersc/slurm-submit.sl
+3
-0
No files found.
darshan-test/regression/cray-module-nersc/env.sh
0 → 100755
View file @
ff6d1904
#!/bin/bash
# General notes
#######################
# Script to set up the environment for tests on this platform. Must export
# the following environment variables:
#
# DARSHAN_CC: command to compile C programs
# DARSHAN_CXX: command to compile C++ programs
# DARSHAN_F90: command to compile Fortran90 programs
# DARSHAN_F77: command to compile Fortran77 programs
# DARSHAN_RUNJOB: command to execute a job and wait for its completion
# This script may load optional modules (as in a Cray PE), set LD_PRELOAD
# variables (as in a dynamically linked environment), or generate mpicc
# wrappers (as in a statically linked environment).
# Notes specific to this platform (cray-module-nersc)
########################
# Use Cray's default compiler wrappers and load the module associated with
# this darshan install
#
# RUNJOB is responsible for submitting a slurm job, waiting for its
# completion, and checking its return status
export
DARSHAN_CC
=
cc
export
DARSHAN_CXX
=
CC
export
DARSHAN_F77
=
ftn
export
DARSHAN_F90
=
ftn
export
DARSHAN_RUNJOB
=
"cray-module-nersc/runjob.sh"
module unload darshan
>
& /dev/null
module load
$DARSHAN_PATH
/share/craype-2.x/modulefiles/
darshan-test/regression/cray-module-nersc/runjob.sh
0 → 100755
View file @
ff6d1904
#!/bin/bash
# submit job and wait for it to return
sbatch
--wait
-N
1
-t
10
-p
debug
--output
$DARSHAN_TMP
/
$$
-tmp
.out
--error
$DARSHAN_TMP
/
$$
-tmp
.err
$DARSHAN_TESTDIR
/
$DARSHAN_PLATFORM
/slurm-submit.sl
"
$@
"
# exit with return code of this job submission
exit
$?
darshan-test/regression/cray-module-nersc/slurm-submit.sl
0 → 100755
View file @
ff6d1904
#!/bin/bash -l
srun
-n
$DARSHAN_DEFAULT_NPROCS
$@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment