Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UEABS
ueabs
Commits
4f9ca4a2
Commit
4f9ca4a2
authored
Dec 18, 2018
by
Cedric Jourdain
Browse files
ADD compile script for Daint
parent
83e85d3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
specfem3d/compile.sh
View file @
4f9ca4a2
...
...
@@ -5,7 +5,7 @@ echo " - occigen"
echo
" - marenostrum "
echo
" - marconi-knl "
echo
" - daint-gpu "
echo
" - daint-
m
c "
echo
" - daint-c
pu-only
"
read
machine
source
./env/env_
${
machine
}
...
...
@@ -15,8 +15,8 @@ Untar(){
#Clone the repository
cd
$install_dir
git
-c
http.sslVerify
=
false
clone https://github.com/geodynamics/specfem3d_globe.git
# Checkout of 31 ocotbre 2017 version
cd
specfem3d_globe/
# Checkout of 31 ocotbre 2017 version
git checkout b1d6ba966496f269611eff8c2cf1f22bcdac2bd9
#Copy sources
...
...
@@ -91,7 +91,7 @@ Clean(){
Deploy
(){
echo
"install_dir ="
$install_dir
if
[
$machine
=
"occigen"
]
||
[
$machine
=
"marenostrum"
]
||
[
$machine
=
"marconi-knl"
]
||
[
$machine
=
"daint-
m
c"
]
||
[
$machine
=
"daint-gpu"
]
;
then
if
[
$machine
=
"occigen"
]
||
[
$machine
=
"marenostrum"
]
||
[
$machine
=
"marconi-knl"
]
||
[
$machine
=
"daint-c
pu-only
"
]
||
[
$machine
=
"daint-gpu"
]
;
then
echo
"==> Install on
$machine
:"
#Clean
mkdir
-p
$install_dir
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment