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
13492b1c
Commit
13492b1c
authored
12 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Fix for if systems don't have blcr installed
parent
ecd02e29
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/Makefile.am
+1
-5
1 addition, 5 deletions
src/Makefile.am
src/Makefile.in
+2
-3
2 additions, 3 deletions
src/Makefile.in
src/srun_cr/Makefile.am
+7
-0
7 additions, 0 deletions
src/srun_cr/Makefile.am
src/srun_cr/Makefile.in
+23
-17
23 additions, 17 deletions
src/srun_cr/Makefile.in
with
33 additions
and
25 deletions
src/Makefile.am
+
1
−
5
View file @
13492b1c
...
@@ -2,15 +2,11 @@ SUBDIRS = common api db_api database \
...
@@ -2,15 +2,11 @@ SUBDIRS = common api db_api database \
slurmctld slurmd slurmdbd plugins sbcast
\
slurmctld slurmd slurmdbd plugins sbcast
\
scontrol scancel squeue sinfo smap sview salloc
\
scontrol scancel squeue sinfo smap sview salloc
\
sbatch sattach strigger sacct sacctmgr sreport sstat
\
sbatch sattach strigger sacct sacctmgr sreport sstat
\
sshare sprio sdiag
sshare sprio sdiag
srun_cr
if
!REAL_BG_L_P_LOADED
if
!REAL_BG_L_P_LOADED
SUBDIRS
+=
srun
SUBDIRS
+=
srun
endif
endif
if
WITH_BLCR
SUBDIRS
+=
srun_cr
endif
This diff is collapsed.
Click to expand it.
src/Makefile.in
+
2
−
3
View file @
13492b1c
...
@@ -52,7 +52,6 @@ build_triplet = @build@
...
@@ -52,7 +52,6 @@ build_triplet = @build@
host_triplet
=
@host@
host_triplet
=
@host@
target_triplet
=
@target@
target_triplet
=
@target@
@REAL_BG_L_P_LOADED_FALSE@
am__append_1
=
srun
@REAL_BG_L_P_LOADED_FALSE@
am__append_1
=
srun
@WITH_BLCR_TRUE@
am__append_2
=
srun_cr
subdir
=
src
subdir
=
src
DIST_COMMON
=
$(
srcdir
)
/Makefile.am
$(
srcdir
)
/Makefile.in
DIST_COMMON
=
$(
srcdir
)
/Makefile.am
$(
srcdir
)
/Makefile.in
ACLOCAL_M4
=
$(
top_srcdir
)
/aclocal.m4
ACLOCAL_M4
=
$(
top_srcdir
)
/aclocal.m4
...
@@ -123,7 +122,7 @@ CTAGS = ctags
...
@@ -123,7 +122,7 @@ CTAGS = ctags
DIST_SUBDIRS
=
common api db_api database slurmctld slurmd slurmdbd
\
DIST_SUBDIRS
=
common api db_api database slurmctld slurmd slurmdbd
\
plugins sbcast scontrol scancel squeue sinfo smap sview salloc
\
plugins sbcast scontrol scancel squeue sinfo smap sview salloc
\
sbatch sattach strigger sacct sacctmgr sreport sstat sshare
\
sbatch sattach strigger sacct sacctmgr sreport sstat sshare
\
sprio sdiag srun srun
_cr
sprio sdiag srun
_cr
srun
DISTFILES
=
$(
DIST_COMMON
)
$(
DIST_SOURCES
)
$(
TEXINFOS
)
$(
EXTRA_DIST
)
DISTFILES
=
$(
DIST_COMMON
)
$(
DIST_SOURCES
)
$(
TEXINFOS
)
$(
EXTRA_DIST
)
am__relativize
=
\
am__relativize
=
\
dir0
=
`
pwd
`
;
\
dir0
=
`
pwd
`
;
\
...
@@ -360,7 +359,7 @@ top_srcdir = @top_srcdir@
...
@@ -360,7 +359,7 @@ top_srcdir = @top_srcdir@
SUBDIRS
=
common api db_api database slurmctld slurmd slurmdbd plugins
\
SUBDIRS
=
common api db_api database slurmctld slurmd slurmdbd plugins
\
sbcast scontrol scancel squeue sinfo smap sview salloc sbatch
\
sbcast scontrol scancel squeue sinfo smap sview salloc sbatch
\
sattach strigger sacct sacctmgr sreport sstat sshare sprio
\
sattach strigger sacct sacctmgr sreport sstat sshare sprio
\
sdiag
$(
am__append_1
)
$(
am__append_
2
)
sdiag
srun_cr
$(
am__append_
1
)
all
:
all-recursive
all
:
all-recursive
.SUFFIXES
:
.SUFFIXES
:
...
...
This diff is collapsed.
Click to expand it.
src/srun_cr/Makefile.am
+
7
−
0
View file @
13492b1c
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
AUTOMAKE_OPTIONS
=
foreign
AUTOMAKE_OPTIONS
=
foreign
CLEANFILES
=
core.
*
CLEANFILES
=
core.
*
if
WITH_BLCR
INCLUDES
=
-I
$(
top_srcdir
)
$(
BLCR_CPPFLAGS
)
INCLUDES
=
-I
$(
top_srcdir
)
$(
BLCR_CPPFLAGS
)
bin_PROGRAMS
=
srun_cr
bin_PROGRAMS
=
srun_cr
...
@@ -20,3 +22,8 @@ force:
...
@@ -20,3 +22,8 @@ force:
$(convenience_libs)
:
force
$(convenience_libs)
:
force
@
cd
`
dirname
$@
`
&&
$(
MAKE
)
`
basename
$@
`
@
cd
`
dirname
$@
`
&&
$(
MAKE
)
`
basename
$@
`
else
EXTRA_srun_cr_SOURCES
=
srun_cr.c
endif
This diff is collapsed.
Click to expand it.
src/srun_cr/Makefile.in
+
23
−
17
View file @
13492b1c
...
@@ -54,7 +54,7 @@ POST_UNINSTALL = :
...
@@ -54,7 +54,7 @@ POST_UNINSTALL = :
build_triplet
=
@build@
build_triplet
=
@build@
host_triplet
=
@host@
host_triplet
=
@host@
target_triplet
=
@target@
target_triplet
=
@target@
bin_PROGRAMS
=
srun_cr
$(
EXEEXT
)
@WITH_BLCR_TRUE@
bin_PROGRAMS
=
srun_cr
$(
EXEEXT
)
subdir
=
src/srun_cr
subdir
=
src/srun_cr
DIST_COMMON
=
$(
srcdir
)
/Makefile.am
$(
srcdir
)
/Makefile.in
DIST_COMMON
=
$(
srcdir
)
/Makefile.am
$(
srcdir
)
/Makefile.in
ACLOCAL_M4
=
$(
top_srcdir
)
/aclocal.m4
ACLOCAL_M4
=
$(
top_srcdir
)
/aclocal.m4
...
@@ -103,12 +103,16 @@ CONFIG_CLEAN_FILES =
...
@@ -103,12 +103,16 @@ CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES
=
CONFIG_CLEAN_VPATH_FILES
=
am__installdirs
=
"
$(
DESTDIR
)$(
bindir
)
"
am__installdirs
=
"
$(
DESTDIR
)$(
bindir
)
"
PROGRAMS
=
$(
bin_PROGRAMS
)
PROGRAMS
=
$(
bin_PROGRAMS
)
am_srun_cr_OBJECTS
=
srun_cr.
$(
OBJEXT
)
am__srun_cr_SOURCES_DIST
=
srun_cr.c
@WITH_BLCR_TRUE@
am_srun_cr_OBJECTS
=
srun_cr.
$(
OBJEXT
)
am__EXTRA_srun_cr_SOURCES_DIST
=
srun_cr.c
srun_cr_OBJECTS
=
$(
am_srun_cr_OBJECTS
)
srun_cr_OBJECTS
=
$(
am_srun_cr_OBJECTS
)
am__DEPENDENCIES_1
=
am__DEPENDENCIES_1
=
am__DEPENDENCIES_2
=
$(
top_builddir
)
/src/api/libslurm.o
\
@WITH_BLCR_TRUE@
am__DEPENDENCIES_2
=
\
$(
am__DEPENDENCIES_1
)
@WITH_BLCR_TRUE@
$(
top_builddir
)
/src/api/libslurm.o
\
srun_cr_DEPENDENCIES
=
$(
am__DEPENDENCIES_2
)
$(
am__DEPENDENCIES_1
)
@WITH_BLCR_TRUE@
$(
am__DEPENDENCIES_1
)
@WITH_BLCR_TRUE@
srun_cr_DEPENDENCIES
=
$(
am__DEPENDENCIES_2
)
\
@WITH_BLCR_TRUE@
$(
am__DEPENDENCIES_1
)
srun_cr_LINK
=
$(
LIBTOOL
)
--tag
=
CC
$(
AM_LIBTOOLFLAGS
)
$(
LIBTOOLFLAGS
)
\
srun_cr_LINK
=
$(
LIBTOOL
)
--tag
=
CC
$(
AM_LIBTOOLFLAGS
)
$(
LIBTOOLFLAGS
)
\
--mode
=
link
$(
CCLD
)
$(
AM_CFLAGS
)
$(
CFLAGS
)
$(
srun_cr_LDFLAGS
)
\
--mode
=
link
$(
CCLD
)
$(
AM_CFLAGS
)
$(
CFLAGS
)
$(
srun_cr_LDFLAGS
)
\
$(
LDFLAGS
)
-o
$@
$(
LDFLAGS
)
-o
$@
...
@@ -125,8 +129,9 @@ CCLD = $(CC)
...
@@ -125,8 +129,9 @@ CCLD = $(CC)
LINK
=
$(
LIBTOOL
)
--tag
=
CC
$(
AM_LIBTOOLFLAGS
)
$(
LIBTOOLFLAGS
)
\
LINK
=
$(
LIBTOOL
)
--tag
=
CC
$(
AM_LIBTOOLFLAGS
)
$(
LIBTOOLFLAGS
)
\
--mode
=
link
$(
CCLD
)
$(
AM_CFLAGS
)
$(
CFLAGS
)
$(
AM_LDFLAGS
)
\
--mode
=
link
$(
CCLD
)
$(
AM_CFLAGS
)
$(
CFLAGS
)
$(
AM_LDFLAGS
)
\
$(
LDFLAGS
)
-o
$@
$(
LDFLAGS
)
-o
$@
SOURCES
=
$(
srun_cr_SOURCES
)
SOURCES
=
$(
srun_cr_SOURCES
)
$(
EXTRA_srun_cr_SOURCES
)
DIST_SOURCES
=
$(
srun_cr_SOURCES
)
DIST_SOURCES
=
$(
am__srun_cr_SOURCES_DIST
)
\
$(
am__EXTRA_srun_cr_SOURCES_DIST
)
am__can_run_installinfo
=
\
am__can_run_installinfo
=
\
case
$$
AM_UPDATE_INFO_DIR
in
\
case
$$
AM_UPDATE_INFO_DIR
in
\
n|no|NO
)
false
;;
\
n|no|NO
)
false
;;
\
...
@@ -344,13 +349,14 @@ top_builddir = @top_builddir@
...
@@ -344,13 +349,14 @@ top_builddir = @top_builddir@
top_srcdir
=
@top_srcdir@
top_srcdir
=
@top_srcdir@
AUTOMAKE_OPTIONS
=
foreign
AUTOMAKE_OPTIONS
=
foreign
CLEANFILES
=
core.
*
CLEANFILES
=
core.
*
INCLUDES
=
-I
$(
top_srcdir
)
$(
BLCR_CPPFLAGS
)
@WITH_BLCR_TRUE@
INCLUDES
=
-I
$(
top_srcdir
)
$(
BLCR_CPPFLAGS
)
srun_cr_SOURCES
=
srun_cr.c
@WITH_BLCR_TRUE@
srun_cr_SOURCES
=
srun_cr.c
convenience_libs
=
$(
top_builddir
)
/src/api/libslurm.o
$(
DL_LIBS
)
@WITH_BLCR_TRUE@
convenience_libs
=
$(
top_builddir
)
/src/api/libslurm.o
$(
DL_LIBS
)
srun_cr_LDADD
=
$(
convenience_libs
)
$(
BLCR_LIBS
)
@WITH_BLCR_TRUE@
srun_cr_LDADD
=
$(
convenience_libs
)
$(
BLCR_LIBS
)
srun_cr_LDFLAGS
=
-export-dynamic
$(
CMD_LDFLAGS
)
$(
BLCR_LDFLAGS
)
\
@WITH_BLCR_TRUE@
srun_cr_LDFLAGS
=
-export-dynamic
$(
CMD_LDFLAGS
)
$(
BLCR_LDFLAGS
)
\
$(
HWLOC_LDFLAGS
)
$(
HWLOC_LIBS
)
@WITH_BLCR_TRUE@
$(
HWLOC_LDFLAGS
)
$(
HWLOC_LIBS
)
@WITH_BLCR_FALSE@
EXTRA_srun_cr_SOURCES
=
srun_cr.c
all
:
all-am
all
:
all-am
.SUFFIXES
:
.SUFFIXES
:
...
@@ -677,9 +683,9 @@ uninstall-am: uninstall-binPROGRAMS
...
@@ -677,9 +683,9 @@ uninstall-am: uninstall-binPROGRAMS
uninstall-binPROGRAMS
uninstall-binPROGRAMS
force
:
@WITH_BLCR_TRUE@
force
:
$(convenience_libs)
:
force
@WITH_BLCR_TRUE@
$(convenience_libs)
:
force
@
cd
`
dirname
$@
`
&&
$(
MAKE
)
`
basename
$@
`
@WITH_BLCR_TRUE@
@cd
`dirname
$@`
&&
$(MAKE)
`basename
$@`
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
# Otherwise a system limit (for SysV at least) may be exceeded.
...
...
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