Skip to content
GitLab
Menu
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
410e51ff
Commit
410e51ff
authored
Jan 31, 2019
by
Cedric Jourdain
Browse files
Add frioul env, scripts and compile part
parent
0683ce65
Changes
3
Hide whitespace changes
Inline
Side-by-side
specfem3d/compile.sh
View file @
410e51ff
...
...
@@ -11,6 +11,7 @@ echo " - juwels"
echo
" - irene-skl "
echo
" - irene-knl "
echo
" - dibona "
echo
" - frioul "
read
machine
source
./env/env_
${
machine
}
...
...
@@ -98,7 +99,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"
]
;
then
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"
]
;
then
echo
"==> Install on
$machine
:"
#Clean
mkdir
-p
$install_dir
...
...
specfem3d/env/env_frioul
0 → 100644
View file @
410e51ff
#!/bin/bash
module purge
module load intel/19.1 intelmpi/2019.1.144
export
machine
=
frioul
export
software
=
specfem3d_globe
export
version
=
31octobre
export
install_dir
=
$SCRATCHDIR
/benchmarks/
$machine
/
$software
/
${
version
}
/
export
CC
=
"mpiicc"
export
FC
=
"mpiifort"
export
MPIFC
=
$FC
export
FCFLAGS
=
" -g -O3 -qopenmp -xMIC-AVX512 -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=medium -fma -align array64byte -finline-functions -ipo"
export
FCFLAGS_f90
=
'-mod ./obj -I./obj -I. -I. -I${SETUP} -xMIC-AVX512'
export
CPPFLAGS
=
'-I${SETUP} -DFORCE_VECTORIZATION'
# -xMIC-AVX512'
specfem3d/job_script/job_frioul_test_case_A.slurm
0 → 100644
View file @
410e51ff
#!/bin/bash
#SBATCH -J specfem3D_globe-KNL
#SBATCH --nodes=24
#SBATCH --ntasks=96
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=17
#SBATCH --time 04:59:00
#SBATCH -C quad,cache
#SBATCH --exclusive
#SBATCH --mem=64GB
#SBATCH --output=specfem3D_test_case_A_frioul_module-%j.output
source
../env/env_frioul_1
cd
$install_dir
/TestCaseA/specfem3d_globe
export
I_MPI_PIN_RESPECT_CPUSET
=
0
export
MLX5_SINGLE_THREADED
=
0
#Make sure that OMP_NUM_THREADS / KMP_HW_SUBSET = cpus-per-task
export
KMP_HW_SUBSET
=
1T
export
OMP_NUM_THREADS
=
17
export
KMP_AFFINITY
=
compact
#export KMP_AFFINITY=compact,verbose
ulimit
-s
512000
MESHER_EXE
=
./bin/xmeshfem3D
SOLVER_EXE
=
./bin/xspecfem3D
# backup files used for this simulation
cp
DATA/Par_file OUTPUT_FILES/
cp
DATA/STATIONS OUTPUT_FILES/
cp
DATA/CMTSOLUTION OUTPUT_FILES/
##
## mesh generation
##
sleep
2
echo
echo
`
date
`
echo
"starting MPI mesher"
echo
MPI_PROCESS
=
$SLURM_NTASKS
echo
"SLURM_NTASKS= "
$SLURM_NTASKS
echo
"SLURM_NTASKS_PER_NODE = "
$SLURM_NTASKS_PER_NODE
echo
"SLURM_CPUS_PER_TASKS = "
$SLURM_CPUS_PER_TASK
echo
"SLURM_NNODES="
$SLURM_NNODES
echo
"MPI_PROCESS
$MPI_PROCESS
"
#time srun -n ${MPI_PROCESS} ${MESHER_EXE}
echo
" mesher done:
`
date
`
"
echo
##
## forward simulation
##
sleep
2
echo
echo
`
date
`
echo
starting run
in
current directory
$PWD
echo
time
srun
-n
${
MPI_PROCESS
}
${
SOLVER_EXE
}
echo
"finished successfully"
echo
`
date
`
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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