Skip to content
job_juwels_small_benchmark_run_to_test_more_complex_Earth_strong.slurm 1.23 KiB
Newer Older
#!/bin/bash
#SBATCH -J specfem_small_benchmark_run_to_test_more_complex_Earth
#SBATCH --account=prpb85
#SBATCH --nodes=4
#SBATCH --ntasks-per-node=24
#SBATCH --cpus-per-task=2
#SBATCH --time=01:29:59
#SBATCH --output specfem_small_benchmark_run_to_test_more_complex_Earth-4Nodes-%j.out
#SBATCH --exclusive
#SBATCH -p batch

#set -e
source ../env/env_juwels
grep "^[^#;]" ../env/env_juwels
cat job_juwels_small_benchmark_run_to_test_more_complex_Earth_strong.slurm 

cd $install_dir/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth
export SLURM_CPU_BIND=NONE
export I_MPI_PIN=1
#export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
alias mpirun='srun'

time ./run_this_example.sh

echo "=========="
echo "config.log"
echo "=========="
cat $install_dir/specfem3d_globe/config.log
echo "========"
echo "make.log"
echo "========"
cat $install_dir/specfem3d_globe/make.log

echo "done"
ls -lrth $install_dir/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/OUTPUT_FILES/output_*.txt
cat $install_dir/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/OUTPUT_FILES/output_mesher.txt
cat $install_dir/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/OUTPUT_FILES/output_solver.txt
sleep 2