Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
32c45974
Commit
32c45974
authored
17 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
validate mpich1_shmem logic
parent
06c96195
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/html/quickstart.shtml
+3
-3
3 additions, 3 deletions
doc/html/quickstart.shtml
src/plugins/mpi/mpich1_shmem/mpich1_shmem.c
+1
-1
1 addition, 1 deletion
src/plugins/mpi/mpich1_shmem/mpich1_shmem.c
with
4 additions
and
4 deletions
doc/html/quickstart.shtml
+
3
−
3
View file @
32c45974
...
@@ -324,8 +324,8 @@ for more information.</p>
...
@@ -324,8 +324,8 @@ for more information.</p>
<p><a href="http://www-unix.mcs.anl.gov/mpi/mpich1/"><b>MPICH1</b></a>
<p><a href="http://www-unix.mcs.anl.gov/mpi/mpich1/"><b>MPICH1</b></a>
has several different programming models. If you are using the shared
has several different programming models. If you are using the shared
memory model (DEFAULT_DEVICE=ch_shmem in the mpirun script), then
memory model (
<i>
DEFAULT_DEVICE=ch_shmem
</i>
in the mpirun script), then
initiate
d
the tasks using the <span class="commandline">srun</span> command
initiate the tasks using the <span class="commandline">srun</span> command
with the <i>--mpi=mpich1_shmem</i> option.</p>
with the <i>--mpi=mpich1_shmem</i> option.</p>
<pre>
<pre>
$ srun -n16 --mpi=mpich1_shmem a.out
$ srun -n16 --mpi=mpich1_shmem a.out
...
@@ -333,7 +333,7 @@ $ srun -n16 --mpi=mpich1_shmem a.out
...
@@ -333,7 +333,7 @@ $ srun -n16 --mpi=mpich1_shmem a.out
<p>Other MPICH1 programming models current rely upon the SLURM
<p>Other MPICH1 programming models current rely upon the SLURM
<span class="commandline">salloc</span> or
<span class="commandline">salloc</span> or
<span class="commandline">sbatch</span> command to allocate.
<span class="commandline">sbatch</span> command to allocate
resources
.
In either case, specify the maximum number of tasks required for the job.
In either case, specify the maximum number of tasks required for the job.
You will then need to build a list of hosts to be used and use that
You will then need to build a list of hosts to be used and use that
as an argument to the mpirun command.
as an argument to the mpirun command.
...
...
This diff is collapsed.
Click to expand it.
src/plugins/mpi/mpich1_shmem/mpich1_shmem.c
+
1
−
1
View file @
32c45974
...
@@ -83,7 +83,7 @@ int p_mpi_hook_slurmstepd_task(const mpi_plugin_task_info_t *job,
...
@@ -83,7 +83,7 @@ int p_mpi_hook_slurmstepd_task(const mpi_plugin_task_info_t *job,
char
***
env
)
char
***
env
)
{
{
debug
(
"Using mpi/mpich1_shmem"
);
debug
(
"Using mpi/mpich1_shmem"
);
env_array_overwrite_fmt
(
env
,
"MPI
RUN
_NP"
,
"%u"
,
job
->
ntasks
);
env_array_overwrite_fmt
(
env
,
"MPI
CH
_NP"
,
"%u"
,
job
->
ntasks
);
return
SLURM_SUCCESS
;
return
SLURM_SUCCESS
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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