From 0061b2f19023ecf2ac8aebb33dafc863596bfdc7 Mon Sep 17 00:00:00 2001 From: Jourdain <jourdain@cines.fr> Date: Tue, 11 Feb 2020 15:48:26 +0100 Subject: [PATCH] Modify sources ramses tarball origins --- RAMSES/download.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/RAMSES/download.sh b/RAMSES/download.sh index f31925b..1943c73 100755 --- a/RAMSES/download.sh +++ b/RAMSES/download.sh @@ -9,8 +9,18 @@ git_download(){ } tar_download(){ - cd $ramses_dir - tar zxvf /opt/software/tarballs/ramses.tar.gz + cd $ramses_dir + if [[ $HOSTNAME = *"occigen"* ]]; then +#cp /store/CINES/dci/SHARED/abs/ramses/testcase_small.tar.gz $bench_dir/. + tar zxvf /store/CINES/dci/SHARED/abs/ramses/ramses.tar.gz -C $ramses_dir/. + elif [[ $HOSTNAME = *"jean-zay"* ]]; then + tar zxvf $SCRATCH/abs/ramses/ramses.tar.gz -C $ramses_dir/. + elif [[ $HOSTNAME = *"irene"* ]]; then + tar zxvf $CCCSCRATCHDIR/abs/ramses/ramses.tar.gz -C $ramses_dir/. + else + echo "Hostname not recognized: abort" + exit 1 + fi } cd $ramses_dir tar_download -- GitLab