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
85fff0fc
Commit
85fff0fc
authored
22 years ago
by
Mark Grondona
Browse files
Options
Downloads
Patches
Plain Diff
o change Makefile to create only one slurmd
parent
b6c64746
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/slurmd/Makefile.am
+12
-21
12 additions, 21 deletions
src/slurmd/Makefile.am
src/slurmd/interconnect.h
+2
-1
2 additions, 1 deletion
src/slurmd/interconnect.h
src/slurmd/no_interconnect.c
+1
-1
1 addition, 1 deletion
src/slurmd/no_interconnect.c
with
15 additions
and
23 deletions
src/slurmd/Makefile.am
+
12
−
21
View file @
85fff0fc
...
@@ -3,35 +3,32 @@
...
@@ -3,35 +3,32 @@
AUTOMAKE_OPTIONS
=
foreign
AUTOMAKE_OPTIONS
=
foreign
sbin_PROGRAMS
=
slurmd
if
WITH_ELAN
if
WITH_ELAN
interconnect_lib
=
libelan_interconnect.la
interconnect_lib
=
libelan_interconnect.la
process_lib
=
libforked.la
process_lib
=
libforked.la
io_lib
=
libforked_io.la
io_lib
=
libnbio.la
noinst_LTLIBRARIES
=
\
libelan_interconnect.la
\
libforked.la
\
libnbio.la
else
else
interconnect_lib
=
libno_interconnect.la
interconnect_lib
=
libno_interconnect.la
process_lib
=
libthreaded.la
process_lib
=
libthreaded.la
io_lib
=
libthreaded_io.la
io_lib
=
libthreaded_io.la
noinst_LTLIBRARIES
=
\
libno_interconnect.la
\
libthreaded.la
\
libthreaded_io.la
endif
endif
#sbin_PROGRAMS = slurmd slurmd_nbio slurmd_elan
sbin_PROGRAMS
=
slurmd slurmd_nbio slurmd_fork_nbio
noinst_LTLIBRARIES
=
libelan_interconnect.la
\
libno_interconnect.la
\
libforked_io.la
\
libthreaded_io.la
\
libnbio.la
\
libforked.la
\
libthreaded.la
LDADD
=
$(
top_srcdir
)
/src/common/libcommon.la
\
LDADD
=
$(
top_srcdir
)
/src/common/libcommon.la
\
$(
top_srcdir
)
/src/common/libdaemonize.la
\
$(
top_srcdir
)
/src/common/libdaemonize.la
\
$(
top_srcdir
)
/src/common/libcred.la
\
$(
top_srcdir
)
/src/common/libcred.la
\
$(
SSL_LIBS
)
$(
SSL_LIBS
)
slurmd_LDADD
=
$(
process_lib
)
$(
io_lib
)
$(
LDADD
)
$(
interconnect_lib
)
slurmd_LDADD
=
$(
process_lib
)
$(
io_lib
)
$(
LDADD
)
$(
interconnect_lib
)
slurmd_nbio_LDADD
=
$(
process_lib
)
libnbio.la
$(
LDADD
)
$(
interconnect_lib
)
slurmd_fork_nbio_LDADD
=
libforked.la libnbio.la
$(
LDADD
)
$(
interconnect_lib
)
common_sources
=
slurmd.c
\
common_sources
=
slurmd.c
\
get_mach_stat.c
\
get_mach_stat.c
\
...
@@ -44,16 +41,10 @@ common_sources = slurmd.c \
...
@@ -44,16 +41,10 @@ common_sources = slurmd.c \
setenvpf.c
setenvpf.c
slurmd_SOURCES
=
$(
common_sources
)
slurmd_SOURCES
=
$(
common_sources
)
slurmd_nbio_SOURCES
=
$(
common_sources
)
slurmd_fork_nbio_SOURCES
=
$(
common_sources
)
#slurmd_elan_LDADD = libforked.la libforked_io.la $(LDADD) libelan_interconnect.la
#slurmd_elan_SOURCES = $(common_sources)
libforked_la_SOURCES
=
forked_ctrl.c
libforked_la_SOURCES
=
forked_ctrl.c
libthreaded_la_SOURCES
=
threaded_ctrl.c
libthreaded_la_SOURCES
=
threaded_ctrl.c
libforked_io_la_SOURCES
=
forked_io.c reconnect_utils.c io_threads.c
#
libforked_io_la_SOURCES = forked_io.c reconnect_utils.c io_threads.c
libthreaded_io_la_SOURCES
=
threaded_io.c reconnect_utils.c io_threads.c
libthreaded_io_la_SOURCES
=
threaded_io.c reconnect_utils.c io_threads.c
libnbio_la_SOURCES
=
nbio.c reconnect_utils.c
libnbio_la_SOURCES
=
nbio.c reconnect_utils.c
...
...
This diff is collapsed.
Click to expand it.
src/slurmd/interconnect.h
+
2
−
1
View file @
85fff0fc
...
@@ -27,7 +27,8 @@
...
@@ -27,7 +27,8 @@
#ifndef _SLURMD_INTERCONNECT_H_
#ifndef _SLURMD_INTERCONNECT_H_
#define _SLURMD_INTERCONNECT_H_
#define _SLURMD_INTERCONNECT_H_
#include
<pthread.h>
#include
<src/common/slurm_protocol_api.h>
#include
<src/slurmd/task_mgr.h>
/* interconnect_init
/* interconnect_init
* called by launch_tasks to initialize the interconnect
* called by launch_tasks to initialize the interconnect
...
...
This diff is collapsed.
Click to expand it.
src/slurmd/no_interconnect.c
+
1
−
1
View file @
85fff0fc
...
@@ -50,7 +50,7 @@ int interconnect_set_capabilities ( task_start_t * task_start )
...
@@ -50,7 +50,7 @@ int interconnect_set_capabilities ( task_start_t * task_start )
}
}
/*
/*
* Set env
ironment
variables needed
by QSW MPICH / libelan.
* Set env variables needed
for this interconnect
*/
*/
int
interconnect_env
(
char
***
env
,
uint16_t
*
envc
,
int
nodeid
,
int
nnodes
,
int
interconnect_env
(
char
***
env
,
uint16_t
*
envc
,
int
nodeid
,
int
nnodes
,
int
procid
,
int
nprocs
)
int
procid
,
int
nprocs
)
...
...
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