Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
73
Issues
73
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
ddfcbd5f
Commit
ddfcbd5f
authored
Feb 03, 2015
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
relax pwd restrictions
parent
48173bc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
darshan-test/regression/run-all.sh
darshan-test/regression/run-all.sh
+9
-7
No files found.
darshan-test/regression/run-all.sh
View file @
ddfcbd5f
...
...
@@ -13,6 +13,8 @@ export DARSHAN_PLATFORM=$3
# number of procs that most test jobs will use
export
DARSHAN_DEFAULT_NPROCS
=
4
BASEDIR
=
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
# check darshan path
if
[
!
-x
$DARSHAN_PATH
/bin/darshan-parser
]
;
then
echo
"Error:
$DARSHAN_PATH
doesn't contain a valid Darshan install."
1>&2
...
...
@@ -34,45 +36,45 @@ if [ ! -w $DARSHAN_TMP ]; then
fi
# make sure that we have sub-scripts for the specified platform
if
[
!
-d
$DARSHAN_PLATFORM
]
;
then
if
[
!
-d
$
BASEDIR
/
$
DARSHAN_PLATFORM
]
;
then
echo
"Error: unable to find scripts for platform
$DARSHAN_PLATFORM
"
1>&2
exit
1
fi
# set up c compiler for this platform
DARSHAN_CC
=
`
$DARSHAN_PLATFORM
/setup-cc.sh
`
DARSHAN_CC
=
`
$
BASEDIR
/
$
DARSHAN_PLATFORM
/setup-cc.sh
`
if
[
$?
-ne
0
]
;
then
exit
1
fi
export
DARSHAN_CC
# set up c++ compiler for this platform
DARSHAN_CXX
=
`
$DARSHAN_PLATFORM
/setup-cxx.sh
`
DARSHAN_CXX
=
`
$
BASEDIR
/
$
DARSHAN_PLATFORM
/setup-cxx.sh
`
if
[
$?
-ne
0
]
;
then
exit
1
fi
export
DARSHAN_CXX
# set up Fortran compilers for this platform
DARSHAN_F77
=
`
$DARSHAN_PLATFORM
/setup-f77.sh
`
DARSHAN_F77
=
`
$
BASEDIR
/
$
DARSHAN_PLATFORM
/setup-f77.sh
`
if
[
$?
-ne
0
]
;
then
exit
1
fi
export
DARSHAN_F77
DARSHAN_F90
=
`
$DARSHAN_PLATFORM
/setup-f90.sh
`
DARSHAN_F90
=
`
$
BASEDIR
/
$
DARSHAN_PLATFORM
/setup-f90.sh
`
if
[
$?
-ne
0
]
;
then
exit
1
fi
export
DARSHAN_F90
# set up job execution wrapper for this platform
DARSHAN_RUNJOB
=
`
$DARSHAN_PLATFORM
/setup-runjob.sh
`
DARSHAN_RUNJOB
=
`
$
BASEDIR
/
$
DARSHAN_PLATFORM
/setup-runjob.sh
`
if
[
$?
-ne
0
]
;
then
exit
1
fi
export
DARSHAN_RUNJOB
for
i
in
`
ls
test-cases/
*
.sh
`
;
do
for
i
in
`
ls
$BASEDIR
/
test-cases/
*
.sh
`
;
do
echo
Running
${
i
}
...
$i
if
[
$?
-ne
0
]
;
then
...
...
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