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
a36a860a
Commit
a36a860a
authored
13 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BLUEGENE - added needed functions not exported by the linking .la we need
in the block allocator
parent
9a95ec53
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/smap/configure_functions.c
+63
-3
63 additions, 3 deletions
src/smap/configure_functions.c
with
63 additions
and
3 deletions
src/smap/configure_functions.c
+
63
−
3
View file @
a36a860a
...
...
@@ -42,13 +42,73 @@
#include
"src/smap/smap.h"
#include
"src/common/uid.h"
#include
"src/common/xstring.h"
#include
"src/plugins/select/bluegene/bg_read_config.h"
/* These are here to avoid linking issues with the bridge for
* unresolved symbols.
*/
time_t
last_job_update
;
time_t
last_bg_update
;
bg_config_t
*
bg_conf
;
bg_lists_t
*
bg_lists
;
pthread_mutex_t
block_state_mutex
=
PTHREAD_MUTEX_INITIALIZER
;
int
bg_recover
=
1
;
int
blocks_are_created
=
0
;
bool
have_db2
=
false
;
int
num_unused_cpus
;
extern
int
bridge_init
(
char
*
properties_file
)
{
return
SLURM_ERROR
;
}
#if 1
void
get_command
(
void
)
extern
int
bridge_fini
()
{
return
SLURM_ERROR
;
}
extern
int
bridge_get_size
(
int
*
size
)
{
return
SLURM_ERROR
;
}
extern
int
bridge_setup_system
()
{
return
SLURM_ERROR
;
}
extern
int
bridge_free_bg
(
my_bluegene_t
*
bg
)
{
return
SLURM_ERROR
;
}
extern
int
bridge_get_bg
(
my_bluegene_t
**
bg
)
{
fatal
(
"fixme"
);
return
SLURM_ERROR
;
}
#ifdef HAVE_BG_FILES
extern
int
bridge_get_data
(
rm_element_t
*
element
,
enum
rm_specification
field
,
void
*
data
)
{
return
SLURM_ERROR
;
}
#else
extern
int
bridge_get_data
(
void
*
element
,
int
field
,
void
*
data
)
{
return
SLURM_ERROR
;
}
#endif
extern
int
add_bg_record
(
List
records
,
List
*
used_nodes
,
select_ba_request_t
*
blockreq
,
bool
no_check
,
bitoff_t
io_start
)
{
return
SLURM_ERROR
;
}
///////////////////////////////////////////////////////////////////////
typedef
struct
{
int
color
;
...
...
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