Commit 1c44111a authored by Cedric Jourdain's avatar Cedric Jourdain 🐵
Browse files

Update juwels associated scripts

parent 1a0555cc
......@@ -7,6 +7,7 @@ echo " - daint-gpu "
echo " - daint-cpu-only "
echo " - davide "
echo " - juwels"
echo " - juwels-booster"
echo " - juwels_2018"
echo " - irene-skl "
echo " - irene-knl "
......@@ -94,8 +95,8 @@ Install(){
export CUDA_INC="$CUDATOOLKIT_HOME/include"
fi
./configure --build=ppc64 --with-cuda=cuda5
elif [ $machine = "vega-gpu" ]; then
echo "Configure for Vega GPU partion"
elif [ $machine = "vega-gpu" ] || [ $machine = "juwels-booster" ]; then
echo "Configure for Vega GPU partion or Juwels-booster partition"
sed -i s/"GPU_MODE = .false."/"GPU_MODE = .true."/g $install_dir/specfem3d_globe/DATA/Par_file
sed -i s/"GPU_DEVICE = Tesla"/"GPU_DEVICE = *"/g $install_dir/specfem3d_globe/DATA/Par_file
./configure --build=ppc64 --with-cuda=cuda8
......@@ -143,7 +144,7 @@ Clean(){
Deploy(){
echo "install_dir ="$install_dir
if [ $machine = "occigen" ] || [ $machine = "marenostrum" ] || [ $machine = "marconi-knl" ] || [ $machine = "daint-cpu-only" ] || [ $machine = "daint-gpu" ] || [ $machine = "davide" ] || [ $machine = "juwels" ] || [ $machine = "irene-skl" ] || [ $machine = "irene-knl" ] || [ $machine = "dibona" ] || [ $machine = "frioul" ] || [ $machine = "deepsdv" ] || [ $machine = "hazelhen" ] || [ $machine = "vega-cpu" ] || [ $machine = "vega-gpu" ];then
if [ $machine = "occigen" ] || [ $machine = "marenostrum" ] || [ $machine = "marconi-knl" ] || [ $machine = "daint-cpu-only" ] || [ $machine = "daint-gpu" ] || [ $machine = "davide" ] || [ $machine = "juwels" ] || [ $machine = "juwels-booster" ] || [ $machine = "irene-skl" ] || [ $machine = "irene-knl" ] || [ $machine = "dibona" ] || [ $machine = "frioul" ] || [ $machine = "deepsdv" ] || [ $machine = "hazelhen" ] || [ $machine = "vega-cpu" ] || [ $machine = "vega-gpu" ];then
echo "==> Install on $machine :"
mkdir -p $install_dir
Clean
......
......@@ -9,7 +9,9 @@ export machine=juwels
export software=specfem3d_globe
export version=31octobre
export install_dir=$SCRATCH_prpb85/benchmarks/$machine/$software/$version/
export install_dir=$SCRATCH_prpb85/benchmarks/$machine/$software/$version/strong-scaling
export NEX_XI=384 #480 #448 #416 #352 #320 #288 #256 #224 #192 #160 #128 #96 #288
#export install_dir=$SCRATCH_prpb85/benchmarks/$machine/$software/$version/$NEX_XI
export CC="mpiicc"
export FC="mpiifort"
export MPIFC=$FC
......
......@@ -11,10 +11,18 @@
set -e
source ../env/env_juwels
cat ../env/env_juwels
grep "^[^#;]" ../env/env_juwels
cat job_juwels_test_case_A.slurm
echo "=========="
echo "config.log"
echo "=========="
cat $install_dir/TestCaseA/specfem3d_globe/config.log
echo "========"
echo "make.log"
echo "========"
cat $install_dir/TestCaseA/specfem3d_globe/make.log
cd $install_dir/TestCaseA/specfem3d_globe
#export I_MPI_DEBUG=5
export I_MPI_PMI_VALUE_LENGTH_MAX=1800
#Make sure that OMP_NUM_THREADS / KMP_HW_SUBSET = cpus-per-task
......@@ -64,6 +72,8 @@ echo `date`
echo starting run in current directory $PWD
echo
time srun -n ${MPI_PROCESS} ${SOLVER_EXE}
echo "finished successfully"
echo "====================="
echo `date`
ls -lrth $install_dir/TestCaseA/specfem3d_globe/OUTPUT_FILES/output_*.txt
cat $install_dir/TestCaseA/specfem3d_globe/OUTPUT_FILES/output_mesher.txt
cat $install_dir/TestCaseA/specfem3d_globe/OUTPUT_FILES/output_solver.txt
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