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" ...@@ -5,7 +5,7 @@ echo " - occigen"
echo " - marenostrum " echo " - marenostrum "
echo " - marconi-knl " echo " - marconi-knl "
echo " - daint-gpu " echo " - daint-gpu "
echo " - daint-mc " echo " - daint-cpu-only "
read machine read machine
source ./env/env_${machine} source ./env/env_${machine}
...@@ -15,8 +15,8 @@ Untar(){ ...@@ -15,8 +15,8 @@ Untar(){
#Clone the repository #Clone the repository
cd $install_dir cd $install_dir
git -c http.sslVerify=false clone https://github.com/geodynamics/specfem3d_globe.git git -c http.sslVerify=false clone https://github.com/geodynamics/specfem3d_globe.git
# Checkout of 31 ocotbre 2017 version
cd specfem3d_globe/ cd specfem3d_globe/
# Checkout of 31 ocotbre 2017 version
git checkout b1d6ba966496f269611eff8c2cf1f22bcdac2bd9 git checkout b1d6ba966496f269611eff8c2cf1f22bcdac2bd9
#Copy sources #Copy sources
...@@ -91,7 +91,7 @@ Clean(){ ...@@ -91,7 +91,7 @@ Clean(){
Deploy(){ Deploy(){
echo "install_dir ="$install_dir 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 :" echo "==> Install on $machine :"
#Clean #Clean
mkdir -p $install_dir mkdir -p $install_dir
......
Markdown is supported
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