Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CHiPS
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
external
CHiPS
Commits
65e4ea27
Commit
65e4ea27
authored
5 years ago
by
jourdain
Browse files
Options
Downloads
Patches
Plain Diff
RAMSES: Adapt prepare, run and validate script for Jean-Jean
parent
c1e9c774
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
RAMSES/testcase_small/prepare.sh
+3
-2
3 additions, 2 deletions
RAMSES/testcase_small/prepare.sh
RAMSES/testcase_small/run.sh
+11
-1
11 additions, 1 deletion
RAMSES/testcase_small/run.sh
RAMSES/testcase_small/validate.sh
+11
-1
11 additions, 1 deletion
RAMSES/testcase_small/validate.sh
with
25 additions
and
4 deletions
RAMSES/testcase_small/prepare.sh
+
3
−
2
View file @
65e4ea27
#!/bin/bash
source
../machines/occigen-bdw/env
echo
"************************************************************"
echo
"* Prepare small case in
$bench_dir
"
echo
"************************************************************"
if
[[
$HOSTNAME
=
*
"occigen"
*
]]
;
then
#cp /store/CINES/dci/SHARED/abs/ramses/testcase_small.tar.gz $bench_dir/.
source
../machines/occigen-bdw/env
tar
zxvf /store/CINES/dci/SHARED/abs/ramses/testcase_small.tar.gz
-C
$bench_dir
/.
elif
[[
$HOSTNAME
=
*
"jean-zay"
*
]]
;
then
source
../machines/jean-zay-cpu/env
tar
zxvf
$SCRATCH
/abs/ramses/testcase_small.tar.gz
-C
$bench_dir
/.
elif
[[
$HOSTNAME
=
*
"irene"
*
]]
;
then
source
../machines/irene-amd/env
tar
zxvf
$CCCSCRATCHDIR
/abs/ramses/testcase_small.tar.gz
-C
$bench_dir
/.
else
echo
"Hostname not recognized: abort"
...
...
This diff is collapsed.
Click to expand it.
RAMSES/testcase_small/run.sh
+
11
−
1
View file @
65e4ea27
#!/bin/bash
cd
../machines/occigen-bdw
if
[[
$HOSTNAME
=
*
"occigen"
*
]]
;
then
cd
../machines/occigen-bdw/
elif
[[
$HOSTNAME
=
*
"jean-zay"
*
]]
;
then
cd
../machines/jean-zay-cpu/
elif
[[
$HOSTNAME
=
*
"irene"
*
]]
;
then
cd
../machines/irene-amd/
else
echo
"Hostname not recognized: abort"
exit
1
fi
source
./env
if
[
-z
"
$bench_dir
"
]
;
then
echo
"bench_dir missing"
...
...
This diff is collapsed.
Click to expand it.
RAMSES/testcase_small/validate.sh
+
11
−
1
View file @
65e4ea27
#!/bin/bash
source
../machines/occigen-bdw/env
if
[[
$HOSTNAME
=
*
"occigen"
*
]]
;
then
source
../machines/occigen-bdw/env
elif
[[
$HOSTNAME
=
*
"jean-zay"
*
]]
;
then
source
../machines/jean-zay-cpu/env
elif
[[
$HOSTNAME
=
*
"irene"
*
]]
;
then
source
../machines/irene-amd/env
else
echo
"Hostname not recognized: abort"
exit
1
fi
cd
$bench_dir
/DEBUG
log_file
=
`
ls
-thlx
run_
*
|
awk
-F
" "
'{ print $1 }'
`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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