Commit eb09b797 authored by Cedric Jourdain's avatar Cedric Jourdain 🐵

Specfem: update untar/copy phase

parent b619ff51
......@@ -21,19 +21,28 @@ Untar(){
echo "==> Untar "
#Clone the repository
cd $install_dir
#git -c http.sslVerify=false clone https://github.com/geodynamics/specfem3d_globe.git
cd specfem3d_globe/
# Checkout of 31 ocotbre 2017 version
#git checkout b1d6ba966496f269611eff8c2cf1f22bcdac2bd9
# Checkout v7.0.2, last version : unstable : tested on differents architectures and all simulations failed
#git checkout v7.0.2
git -c http.sslVerify=false clone https://github.com/geodynamics/specfem3d_globe.git
code=$?
if [[ $code != "0" ]]; then
echo "Git clone failed, try a hard copy:"
Copy
break 1
else
cd specfem3d_globe/
# Checkout of 31 ocotbre 2017 version
git checkout b1d6ba966496f269611eff8c2cf1f22bcdac2bd9
# Checkout v7.0.2, last version : unstable : tested on differents architectures and all simulations failed
#git checkout v7.0.2
fi
cd $ueabs_dir
}
#Copy sources
Copy(){
# Copy sources (Edit source_dir if needed)
source_dir=$HOME/git/specfem3d_globe
echo "Copy source"
cp -r $source_dir $install_dir
cd $ueabs_dir
}
Install(){
......
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