Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hello_world
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
support
hello_world
Commits
b7741203
Commit
b7741203
authored
7 years ago
by
hautreux
Browse files
Options
Downloads
Patches
Plain Diff
or added, xor & and are not useful for omp
parent
6ab1f71e
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test_scripts/frioul/omp/flat_or_cache.sh
+27
-0
27 additions, 0 deletions
test_scripts/frioul/omp/flat_or_cache.sh
with
27 additions
and
0 deletions
test_scripts/frioul/omp/flat_or_cache.sh
0 → 100644
+
27
−
0
View file @
b7741203
#!/bin/bash
#SBATCH -J omp
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --time=0:40:00
#SBATCH -C flat|cache
#SBATCH --exclusive
#SBATCH --mem=50GB
#SBATCH --output omp.output.slurm
set
-e
#Make sure that OMP_NUM_THREADS = cpus-per-task * KMP_HW_SUBSET
export
KMP_HW_SUBSET
=
2T
export
OMP_NUM_THREADS
=
136
export
KMP_AFFINITY
=
compact,1,0,granularity
=
fine
module load intel
ulimit
-s
unlimited
rm
-f
*
.out
srun
--cpus-per-task
=
$SLURM_CPUS_ON_NODE
../../../bin/hello_omp
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