Skip to content
Snippets Groups Projects
Commit 65e4ea27 authored by jourdain's avatar jourdain
Browse files

RAMSES: Adapt prepare, run and validate script for Jean-Jean

parent c1e9c774
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
source ../machines/occigen-bdw/env
echo "************************************************************"
echo "* Prepare small case in $bench_dir"
echo "************************************************************"
if [[ $HOSTNAME = *"occigen"* ]]; then
#cp /store/CINES/dci/SHARED/abs/ramses/testcase_small.tar.gz $bench_dir/.
source ../machines/occigen-bdw/env
tar zxvf /store/CINES/dci/SHARED/abs/ramses/testcase_small.tar.gz -C $bench_dir/.
elif [[ $HOSTNAME = *"jean-zay"* ]]; then
source ../machines/jean-zay-cpu/env
tar zxvf $SCRATCH/abs/ramses/testcase_small.tar.gz -C $bench_dir/.
elif [[ $HOSTNAME = *"irene"* ]]; then
source ../machines/irene-amd/env
tar zxvf $CCCSCRATCHDIR/abs/ramses/testcase_small.tar.gz -C $bench_dir/.
else
echo "Hostname not recognized: abort"
......
#!/bin/bash
cd ../machines/occigen-bdw
if [[ $HOSTNAME = *"occigen"* ]]; then
cd ../machines/occigen-bdw/
elif [[ $HOSTNAME = *"jean-zay"* ]]; then
cd ../machines/jean-zay-cpu/
elif [[ $HOSTNAME = *"irene"* ]]; then
cd ../machines/irene-amd/
else
echo "Hostname not recognized: abort"
exit 1
fi
source ./env
if [ -z "$bench_dir" ]; then
echo "bench_dir missing"
......
#!/bin/bash
source ../machines/occigen-bdw/env
if [[ $HOSTNAME = *"occigen"* ]]; then
source ../machines/occigen-bdw/env
elif [[ $HOSTNAME = *"jean-zay"* ]]; then
source ../machines/jean-zay-cpu/env
elif [[ $HOSTNAME = *"irene"* ]]; then
source ../machines/irene-amd/env
else
echo "Hostname not recognized: abort"
exit 1
fi
cd $bench_dir/DEBUG
log_file=`ls -thlx run_* | awk -F " " '{ print $1 }'`
......
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