Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UEABS
ueabs
Commits
c8fbc69a
Commit
c8fbc69a
authored
Nov 25, 2021
by
Cedric Jourdain
🐵
Browse files
Add Validation test case for SuperMUC-NG
parent
665a9faa
Changes
1
Hide whitespace changes
Inline
Side-by-side
specfem3d/job_script/job_supermuc-ng_small_benchmark_run_to_test_more_complex_Earth.slurm
0 → 100644
View file @
c8fbc69a
#!/bin/bash
#SBATCH -J Validation_case_specfem-small_benchmark_run_to_test_more_complex_Earth
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=24
#SBATCH --time=01:59:59
#SBATCH --no-requeue
#SBATCH --account=pn68go
#SBATCH --partition=micro # insert test, micro, general, large or fat
#SBATCH --output Validation_case_specfem_small_benchmark_run_to_test_more_complex_Earth-%j.out
source
../env/env_supermuc-ng
echo
"Environment used:"
echo
"================="
cat
../env/env_supermuc-ng
cat
job_supermuc-ng_small_benchmark_run_to_test_more_complex_Earth.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
LIBRARY_PATH
=
$LD_LIBRARY_PATH
echo
"LD_LIBRARY_PATH =
$LD_LIBRARY_PATH
"
export
CPATH
=
$CPATH
:/usr/local/include/:/usr/include
export
FPATH
=
$FPATH
:/usr/local/include/:/usr/include
echo
"==============================================================="
time
./run_mesher_solver.bash
echo
echo
"running seismogram comparisons:"
echo
cd
$install_dir
/specfem3d_globe/
# uncompress seismograms
if
[
-e
EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/OUTPUT_FILES_reference_OK/II.AAK.MXE.sem.ascii.bz2
]
;
then
echo
echo
"unzipping references..."
echo
mkdir
OUTPUT_FILES_reference_OK/
bunzip2 EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/OUTPUT_FILES_reference_OK/
*
.bz2
echo
echo
fi
module load python/2.7_intel
# compares seismograms by plotting correlations
./utils/compare_seismogram_correlations.py EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/OUTPUT_FILES/ EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/OUTPUT_FILES_reference_OK/
echo
echo
"done"
echo
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment