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
4d258c7d
Commit
4d258c7d
authored
Feb 27, 2019
by
Cedric Jourdain
Browse files
Add deepsdv adn hazelhen supercomputer
parent
23dbf147
Changes
3
Hide whitespace changes
Inline
Side-by-side
specfem3d/compile.sh
View file @
4d258c7d
...
@@ -12,6 +12,8 @@ echo " - irene-skl "
...
@@ -12,6 +12,8 @@ echo " - irene-skl "
echo
" - irene-knl "
echo
" - irene-knl "
echo
" - dibona "
echo
" - dibona "
echo
" - frioul "
echo
" - frioul "
echo
" - deepsdv "
echo
" - hazelhen "
read
machine
read
machine
source
./env/env_
${
machine
}
source
./env/env_
${
machine
}
...
@@ -123,10 +125,10 @@ Clean(){
...
@@ -123,10 +125,10 @@ Clean(){
Deploy
(){
Deploy
(){
echo
"install_dir ="
$install_dir
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"
]
;
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"
]
||
[
$machine
=
"deepsdv"
]
||
[
$machine
=
"hazelhen"
]
;
then
echo
"==> Install on
$machine
:"
echo
"==> Install on
$machine
:"
Clean
mkdir
-p
$install_dir
mkdir
-p
$install_dir
Clean
export
ueabs_dir
=
`
pwd
`
export
ueabs_dir
=
`
pwd
`
Untar
Untar
Install
Install
...
...
specfem3d/env/env_deepsdv
0 → 100644
View file @
4d258c7d
#!/bin/bash
module purge
module load intel/18.1 parastation/5.2.0-1-intel
export
machine
=
deepsdv
export
software
=
specfem3d_globe
export
version
=
31octobre
export
install_dir
=
$PROJECT_cprcdeep
/prdeep06/benchmarks/
$machine
/
$software
/
$version
/
export
CC
=
"mpicc"
export
FC
=
"mpifort"
export
MPIFC
=
$FC
export
FCFLAGS
=
" -g -O3 -qopenmp -xCORE-AVX2 -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=medium"
export
CFLAGS
=
" -g -O3 -xCORE-AVX2 "
specfem3d/job_script/job_deepsdv_test_case_C.slurm
0 → 100644
View file @
4d258c7d
#!/bin/bash
#SBATCH -J Test_case_C
#SBATCH --time=01:30:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=6
#SBATCH --cpus-per-task=4
#SBATCH --partition=sdv
#SBATCH --out=Test_case_C_deepsdv-%j.out
#SBATCH --err=Test_case_C_deepsdv-%j.err
set
-e
source
../env/env_deepsdv
export
OMP_NUM_THREADS
=
$SLURM_CPUS_PER_TASK
cd
$install_dir
/TestCaseC/specfem3d_globe
#ulimit -s unlimited
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
=
`
echo
"
$SLURM_NNODES
*
$SLURM_NTASKS_PER_NODE
"
| bc
-l
`
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
.
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