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
1ccc310d
Commit
1ccc310d
authored
20 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Minor change in BGL build/Makefile setup.
parent
73158512
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
auxdir/x_ac_bgl.m4
+9
-8
9 additions, 8 deletions
auxdir/x_ac_bgl.m4
src/plugins/select/bluegene/Makefile.am
+2
-2
2 additions, 2 deletions
src/plugins/select/bluegene/Makefile.am
with
11 additions
and
10 deletions
auxdir/x_ac_bgl.m4
+
9
−
8
View file @
1ccc310d
...
@@ -14,9 +14,6 @@
...
@@ -14,9 +14,6 @@
AC_DEFUN([X_AC_BGL],
AC_DEFUN([X_AC_BGL],
[
[
AC_SUBST(BGL_AR_LOC)
AC_SUBST(BGL_HDR_LOC)
bgl_default_dirs="/usr /usr/local /bgl /bgl/bglsched"
bgl_default_dirs="/usr /usr/local /bgl /bgl/bglsched"
for bgl_dir in $bgl_default_dirs; do
for bgl_dir in $bgl_default_dirs; do
...
@@ -28,27 +25,31 @@ AC_DEFUN([X_AC_BGL],
...
@@ -28,27 +25,31 @@ AC_DEFUN([X_AC_BGL],
# Search for "bglbridge.a" in the directory
# Search for "bglbridge.a" in the directory
if test -z "$have_bgl_ar" -a -f "$bgl_dir/bglbridge.a" ; then
if test -z "$have_bgl_ar" -a -f "$bgl_dir/bglbridge.a" ; then
have_bgl_ar=yes
have_bgl_ar=yes
BGL_
AR_LOC="
$bgl_dir"
BGL_
LDFLAGS="-L
$bgl_dir"
fi
fi
if test -z "$have_bgl_ar" -a -f "$bgl_dir/lib/bglbridge.a" ; then
if test -z "$have_bgl_ar" -a -f "$bgl_dir/lib/bglbridge.a" ; then
have_bgl_ar=yes
have_bgl_ar=yes
BGL_
AR_LOC="
$bgl_dir/lib"
BGL_
LDFLAGS="-L
$bgl_dir/lib"
fi
fi
# Search for "rm_api.h" in the directory
# Search for "rm_api.h" in the directory
if test -z "$have_bgl_hdr" -a -f "$bgl_dir/rm_api.h" ; then
if test -z "$have_bgl_hdr" -a -f "$bgl_dir/rm_api.h" ; then
have_bgl_hdr=yes
have_bgl_hdr=yes
BGL_
HDR_LOC="
$bgl_dir"
BGL_
INCLUDES="-I
$bgl_dir"
fi
fi
if test -z "$have_bgl_hdr" -a -f "$bgl_dir/include/rm_api.h" ; then
if test -z "$have_bgl_hdr" -a -f "$bgl_dir/include/rm_api.h" ; then
have_bgl_hdr=yes
have_bgl_hdr=yes
BGL_
HDR_LOC="
$bgl_dir/include"
BGL_
INCLUDES="-I
$bgl_dir/include"
fi
fi
done
done
AC_SUBST(BGL_LDFLAGS)
AC_SUBST(BGL_INCLUDES)
if test ! -z "$have_bgl_ar" -a ! -z "$have_bgl_hdr" ; then
if test ! -z "$have_bgl_ar" -a ! -z "$have_bgl_hdr" ; then
ac_with_readline="no"
ac_with_readline="no"
AC_DEFINE(HAVE_BGL, 1, [Define to 1 if running on Blue Gene L system])
AC_DEFINE(HAVE_BGL, 1, [Define to 1 if emulating or running on Blue Gene system])
AC_DEFINE(HAVE_BGL_FILES, 1, [Define to 1 if have Blue Gene files])
AC_DEFINE(HAVE_FRONT_END, 1, [Define to 1 if running slurmd on front-end only])
AC_DEFINE(HAVE_FRONT_END, 1, [Define to 1 if running slurmd on front-end only])
fi
fi
])
])
This diff is collapsed.
Click to expand it.
src/plugins/select/bluegene/Makefile.am
+
2
−
2
View file @
1ccc310d
...
@@ -6,7 +6,7 @@ AUTOMAKE_OPTIONS = foreign
...
@@ -6,7 +6,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS
=
-module
-avoid-version
--export-dynamic
-lm
PLUGIN_FLAGS
=
-module
-avoid-version
--export-dynamic
-lm
INCLUDES
=
-I
$(
top_srcdir
)
-I
$(
top_srcdir
)
/src/common
INCLUDES
=
-I
$(
top_srcdir
)
-I
$(
top_srcdir
)
/src/common
$(
BGL_INCLUDES
)
pkglib_LTLIBRARIES
=
select_bluegene.la
pkglib_LTLIBRARIES
=
select_bluegene.la
...
@@ -14,7 +14,7 @@ pkglib_LTLIBRARIES = select_bluegene.la
...
@@ -14,7 +14,7 @@ pkglib_LTLIBRARIES = select_bluegene.la
select_bluegene_la_SOURCES
=
select_bluegene.c
\
select_bluegene_la_SOURCES
=
select_bluegene.c
\
bluegene.c bluegene.h
\
bluegene.c bluegene.h
\
partition_sys.c partition_sys.h
partition_sys.c partition_sys.h
select_bluegene_la_LDFLAGS
=
$(
SO_LDFLAGS
)
$(
PLUGIN_FLAGS
)
select_bluegene_la_LDFLAGS
=
$(
SO_LDFLAGS
)
$(
PLUGIN_FLAGS
)
$(
BGL_LDFLAGS
)
if
HAVE_AIX
if
HAVE_AIX
select_bluegene_la_LIBADD
=
$(
top_builddir
)
/src/common/libcommon.la
select_bluegene_la_LIBADD
=
$(
top_builddir
)
/src/common/libcommon.la
...
...
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