Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HPC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandru Dura
HPC
Commits
591e78fc
Commit
591e78fc
authored
Apr 19, 2020
by
Kurs Kurs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update submission scripts
parent
30f27a7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
project/src/submit-all.sh
project/src/submit-all.sh
+2
-1
project/src/submit.sh
project/src/submit.sh
+4
-3
No files found.
project/src/submit-all.sh
View file @
591e78fc
...
...
@@ -3,6 +3,7 @@
NODES
=
"1 2 4 8"
OMP_THREADS
=
"1 2 4 10 20"
THREADS_PER_NODE
=
20
PROBLEM
=
$1
for
n
in
$NODES
do
...
...
@@ -14,6 +15,6 @@ do
sbatch
-N
$n
\
--tasks-per-node
=
$TASKS_PER_NODE
\
--cpus-per-task
=
$CPUS_PER_TASK
\
./submit.sh
./submit.sh
$PROBLEM
done
done
project/src/submit.sh
View file @
591e78fc
#!/bin/bash
#SBATCH -t 00:
05
:00
#SBATCH -t 00:
10
:00
#SBATCH -J diffusion
#SBATCH -o diffusion_mpi_%j.out
#SBATCH -e diffusion_mpi_%j.err
...
...
@@ -9,10 +9,11 @@ cat $0
module purge
module load foss/2019b
OUTPUT_FILE
=
"results.csv"
PROBLEM
=
$1
OUTPUT_FILE
=
$PROBLEM
".csv"
# OpenMP setup
export
OMP_NUM_THREADS
=
$SLURM_CPUS_PER_TASK
export
OMP_PROC_BIND
=
TRUE
mpiexec
--map-by
ppr:
$SLURM_NTASKS_PER_NODE
:node:PE
=
$SLURM_CPUS_PER_TASK
./diffusion |
tee
-a
$OUTPUT_FILE
mpiexec
--map-by
ppr:
$SLURM_NTASKS_PER_NODE
:node:PE
=
$SLURM_CPUS_PER_TASK
./diffusion
-f
=
$PROBLEM
|
tee
-a
$OUTPUT_FILE
Write
Preview
Markdown
is supported
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