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
7be9fabc
Commit
7be9fabc
authored
9 years ago
by
Igor Ivanov
Committed by
David Bigagli
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Additional patches for pmix.
parent
9f49d700
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
slurm.spec
+19
-0
19 additions, 0 deletions
slurm.spec
src/plugins/mpi/pmix/pmixp_common.h
+2
-1
2 additions, 1 deletion
src/plugins/mpi/pmix/pmixp_common.h
with
21 additions
and
1 deletion
slurm.spec
+
19
−
0
View file @
7be9fabc
...
...
@@ -16,6 +16,7 @@
# --with cray_alps %_with_cray_alps 1 build for a Cray system with ALPS
# --with cray_network %_with_cray_network 1 build for a non-Cray system with a Cray network
# --without debug %_without_debug 1 don't compile with debugging symbols
# --with pmix %_with_pmix 1 build pmix support
# --with lua %_with_lua 1 build Slurm lua bindings (proctrack only for now)
# --without munge %_without_munge 1 don't build auth-munge RPM
# --with mysql %_with_mysql 1 require mysql/mariadb support
...
...
@@ -46,6 +47,7 @@
%slurm_without_opt sun_const
%slurm_without_opt salloc_background
%slurm_without_opt multiple_slurmd
%slurm_without_opt pmix
# These options are only here to force there to be these on the build.
# If they are not set they will still be compiled if the packages exist.
...
...
@@ -444,11 +446,25 @@ Gives the ability for Slurm to use Berkeley Lab Checkpoint/Restart
%{?slurm_with_salloc_background:--enable-salloc-background} \
%{!?slurm_with_readline:--without-readline} \
%{?slurm_with_multiple_slurmd:--enable-multiple-slurmd} \
%{?slurm_with_pmix:--with-pmix=%{?with_pmix_dir}} \
--with-hdf5=no \
%{?with_cflags}
%__make %{?_smp_mflags}
%install
# Strip out some dependencies
cat > find-requires.sh <<'EOF'
exec %{__find_requires} "$@" | egrep -v '^libpmix.so|libevent'
EOF
chmod +x find-requires.sh
%global _use_internal_dependency_generator 0
%global __find_requires %{_builddir}/%{buildsubdir}/find-requires.sh
rm -rf "$RPM_BUILD_ROOT"
DESTDIR="$RPM_BUILD_ROOT" %__make install
DESTDIR="$RPM_BUILD_ROOT" %__make install-contrib
...
...
@@ -945,6 +961,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/slurm/mpi_pmi2.so
%endif
%{_libdir}/slurm/mpi_none.so
%if %{slurm_with pmix}
%{_libdir}/slurm/mpi_pmix.so
%endif
%{_libdir}/slurm/power_none.so
%{_libdir}/slurm/preempt_job_prio.so
%{_libdir}/slurm/preempt_none.so
...
...
This diff is collapsed.
Click to expand it.
src/plugins/mpi/pmix/pmixp_common.h
+
2
−
1
View file @
7be9fabc
...
...
@@ -72,7 +72,8 @@
/* Job/step resource description */
#define PMIXP_STEP_NODES_ENV "SLURM_STEP_NODELIST"
#define PMIXP_JOB_NODES_ENV "SLURM_JOB_NODELIST"
/* srun does not propagates SLURM_JOB_NODELIST so let use deprecated SLURM_NODELIST variable */
#define PMIXP_JOB_NODES_ENV "SLURM_NODELIST"
#define PMIXP_CPUS_PER_NODE_ENV "SLURM_JOB_CPUS_PER_NODE"
#define PMIXP_CPUS_PER_TASK "SLURM_CPUS_PER_TASK"
#define PMIXP_SLURM_MAPPING_ENV "SLURM_PMIX_MAPPING_SERV"
...
...
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