Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ueabs
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Analyze
Contributor 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
UEABS
ueabs
Commits
30b3806d
There was an error fetching the commit references. Please try again later.
Commit
30b3806d
authored
3 years ago
by
Cedric Jourdain
🐵
Browse files
Options
Downloads
Patches
Plain Diff
add Marconi100 conf in compile.sh
parent
bd4b310b
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
specfem3d/compile.sh
+9
-1
9 additions, 1 deletion
specfem3d/compile.sh
with
9 additions
and
1 deletion
specfem3d/compile.sh
+
9
−
1
View file @
30b3806d
...
@@ -16,6 +16,8 @@ echo " - deepsdv "
...
@@ -16,6 +16,8 @@ echo " - deepsdv "
echo
" - hazelhen "
echo
" - hazelhen "
echo
" - vega-gpu"
echo
" - vega-gpu"
echo
" - vega-cpu"
echo
" - vega-cpu"
echo
" - marconi100 "
read
machine
read
machine
export
NEX_XI
=
384
#384 #416 #352 #320 #288 #256 #224 #192 #160 #128 #96 #288
export
NEX_XI
=
384
#384 #416 #352 #320 #288 #256 #224 #192 #160 #128 #96 #288
...
@@ -102,6 +104,12 @@ Install(){
...
@@ -102,6 +104,12 @@ Install(){
sed
-i
s/
"GPU_MODE = .false."
/
"GPU_MODE = .true."
/g
$install_dir
/specfem3d_globe/DATA/Par_file
sed
-i
s/
"GPU_MODE = .false."
/
"GPU_MODE = .true."
/g
$install_dir
/specfem3d_globe/DATA/Par_file
sed
-i
s/
"GPU_DEVICE = Tesla"
/
"GPU_DEVICE = *"
/g
$install_dir
/specfem3d_globe/DATA/Par_file
sed
-i
s/
"GPU_DEVICE = Tesla"
/
"GPU_DEVICE = *"
/g
$install_dir
/specfem3d_globe/DATA/Par_file
./configure
--build
=
ppc64
--with-cuda
=
cuda8
./configure
--build
=
ppc64
--with-cuda
=
cuda8
elif
[
$machine
=
"marconi100"
]
;
then
echo
"Configure for Marconi100 GPU partion"
sed
-i
s/
"GPU_MODE = .false."
/
"GPU_MODE = .true."
/g
$install_dir
/specfem3d_globe/DATA/Par_file
sed
-i
s/
"GPU_DEVICE = Tesla"
/
"GPU_DEVICE = *"
/g
$install_dir
/specfem3d_globe/DATA/Par_file
./configure
--build
=
ppc64
--with-cuda
=
cuda8
sed
-i
s/
"O4"
/
"O3"
/g Makefile
#-O4 is not supported with option -qoffload
else
else
echo
"Configure for CPU only system"
echo
"Configure for CPU only system"
./configure
--enable-openmp
./configure
--enable-openmp
...
@@ -146,7 +154,7 @@ Clean(){
...
@@ -146,7 +154,7 @@ Clean(){
Deploy
(){
Deploy
(){
echo
"install_dir ="
$install_dir
echo
"install_dir ="
$install_dir
if
[
$machine
=
"occigen"
]
||
[
$machine
=
"marenostrum"
]
||
[
$machine
=
"marconi-knl"
]
||
[
$machine
=
"daint-cpu-only"
]
||
[
$machine
=
"daint-gpu"
]
||
[
$machine
=
"davide"
]
||
[
$machine
=
"juwels"
]
||
[
$machine
=
"irene-skl"
]
||
[
$machine
=
"irene-knl"
]
||
[
$machine
=
"dibona"
]
||
[
$machine
=
"frioul"
]
||
[
$machine
=
"deepsdv"
]
||
[
$machine
=
"hazelhen"
]
||
[
$machine
=
"vega-cpu"
]
||
[
$machine
=
"vega-gpu"
]
;
then
if
[
$machine
=
"occigen"
]
||
[
$machine
=
"marenostrum"
]
||
[
$machine
=
"marconi-knl"
]
||
[
$machine
=
"daint-cpu-only"
]
||
[
$machine
=
"daint-gpu"
]
||
[
$machine
=
"davide"
]
||
[
$machine
=
"juwels"
]
||
[
$machine
=
"irene-skl"
]
||
[
$machine
=
"irene-knl"
]
||
[
$machine
=
"dibona"
]
||
[
$machine
=
"frioul"
]
||
[
$machine
=
"deepsdv"
]
||
[
$machine
=
"hazelhen"
]
||
[
$machine
=
"vega-cpu"
]
||
[
$machine
=
"vega-gpu"
]
||
[
$machine
=
"marconi100"
]
;
then
echo
"==> Install on
$machine
:"
echo
"==> Install on
$machine
:"
mkdir
-p
$install_dir
mkdir
-p
$install_dir
Clean
Clean
...
...
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