Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ueabs
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
UEABS
ueabs
Commits
420d3ef6
Commit
420d3ef6
authored
3 years ago
by
Cedric Jourdain
Browse files
Options
Downloads
Patches
Plain Diff
Add scaling test job for validation case
parent
a621df85
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
specfem3d/job_script/job_strong_scaling_vega-gpu_small_benchmark_run_to_test_more_complex_Earth.slurm
+49
-0
49 additions, 0 deletions
...-gpu_small_benchmark_run_to_test_more_complex_Earth.slurm
with
49 additions
and
0 deletions
specfem3d/job_script/job_strong_scaling_vega-gpu_small_benchmark_run_to_test_more_complex_Earth.slurm
0 → 100644
+
49
−
0
View file @
420d3ef6
#!/bin/bash
#SBATCH -J specfem_strong_scaling_gpu_small_benchmark_run_to_test_more_complex_Earth
#SBATCH --nodes=24
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=128
#SBATCH --time=00:59:59
#SBATCH --output specfem_gpu_small_benchmark_run_to_test_more_complex_Earth-24Nodes-%j.out
#SBATCH --exclusive
#SBATCH -p gpu
#SBATCH --gres=gpu:4
#set -e
source
../env/env_vega-gpu
grep
"^[^#;]"
../env/env_vega-gpu
cat
job_strong_scaling_vega-gpu_small_benchmark_run_to_test_more_complex_Earth.slurm
cd
$install_dir
/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth
export
OMPI_MCA_pml
=
ucx
export
OMPI_MCA_btl
=
"^uct,tcp,openib,vader"
export
CUDA_VISIBLE_DEVICES
=
0,1,2,3
#export OMP_NUM_THREADS=1
sed
-i
s/
"GPU_MODE = .false."
/
"GPU_MODE = .true."
/g
$install_dir
/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/DATA/Par_file
sed
-i
s/
"GPU_DEVICE = Tesla"
/
"GPU_DEVICE = *"
/g
$install_dir
/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/DATA/Par_file
sed
-i
s/
"configure --enable-openmp"
/
"configure --build=ppc64 --with-cuda=cuda8 "
/g
$install_dir
/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/run_this_example.sh
#sed -i s/"mpirun -np"/"srun -n"/g $install_dir/specfem3d_globe/EXAMPLES/small_benchmark_run_to_test_more_complex_Earth/run_mesher_solver.bash
#taskset -a -p $PPID
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
echo
"running seismogram comparisons:"
echo
cd
$install_dir
/specfem3d_globe/
echo
"================================="
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
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment