Commit 4f9ca4a2 authored by Cedric Jourdain's avatar Cedric Jourdain
Browse files

ADD compile script for Daint

parent 83e85d3d
......@@ -5,7 +5,7 @@ echo " - occigen"
echo " - marenostrum "
echo " - marconi-knl "
echo " - daint-gpu "
echo " - daint-mc "
echo " - daint-cpu-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-mc" ] || [ $machine = "daint-gpu" ];then
if [ $machine = "occigen" ] || [ $machine = "marenostrum" ] || [ $machine = "marconi-knl" ] || [ $machine = "daint-cpu-only" ] || [ $machine = "daint-gpu" ];then
echo "==> Install on $machine :"
#Clean
mkdir -p $install_dir
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment