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
ad5f4d47
Commit
ad5f4d47
authored
21 years ago
by
Mark Grondona
Browse files
Options
Downloads
Patches
Plain Diff
o revert change to MPIR_PROCDESC -- Etnus will fix bug in TV 6
parent
877e8efa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/srun/attach.h
+3
-3
3 additions, 3 deletions
src/srun/attach.h
src/srun/msg.c
+2
-2
2 additions, 2 deletions
src/srun/msg.c
src/srun/opt.c
+1
-1
1 addition, 1 deletion
src/srun/opt.c
with
6 additions
and
6 deletions
src/srun/attach.h
+
3
−
3
View file @
ad5f4d47
...
...
@@ -42,14 +42,14 @@
* DO NOT change the name of this structure or its fields. The debugger knows
* them, and will be confused if you change them.
*/
struct
MPIR_PROCDESC
{
typedef
struct
{
char
*
host_name
;
/* Something we can pass to inet_addr */
char
*
executable_name
;
/* The name of the image */
int
pid
;
/* The pid of the process */
};
}
MPIR_PROCDESC
;
/* Array of procdescs for debugging purposes */
extern
struct
MPIR_PROCDESC
*
MPIR_proctable
;
extern
MPIR_PROCDESC
*
MPIR_proctable
;
extern
int
MPIR_proctable_size
;
/* Various global variables which a debugger can use for
...
...
This diff is collapsed.
Click to expand it.
src/srun/msg.c
+
2
−
2
View file @
ad5f4d47
...
...
@@ -129,7 +129,7 @@ _node_name_to_addr(const char *name, job_t *job, int *inx)
static
void
_build_tv_list
(
job_t
*
job
,
char
*
host
,
int
ntasks
,
uint32_t
*
pid
)
{
struct
MPIR_PROCDESC
*
tv_tasks
;
MPIR_PROCDESC
*
tv_tasks
;
int
i
,
node_inx
,
task_id
;
char
*
node_addr
;
static
int
tasks_recorded
=
0
;
...
...
@@ -140,7 +140,7 @@ _build_tv_list(job_t *job, char *host, int ntasks, uint32_t *pid)
if
(
MPIR_proctable_size
==
0
)
{
MPIR_proctable_size
=
opt
.
nprocs
;
MPIR_proctable
=
xmalloc
(
sizeof
(
struct
MPIR_PROCDESC
)
*
opt
.
nprocs
);
MPIR_proctable
=
xmalloc
(
sizeof
(
MPIR_PROCDESC
)
*
opt
.
nprocs
);
}
for
(
i
=
0
;
i
<
ntasks
;
i
++
)
{
...
...
This diff is collapsed.
Click to expand it.
src/srun/opt.c
+
1
−
1
View file @
ad5f4d47
...
...
@@ -59,7 +59,7 @@
/*
* Instantiate extern variables from attach.h
*/
struct
MPIR_PROCDESC
*
MPIR_proctable
;
MPIR_PROCDESC
*
MPIR_proctable
;
int
MPIR_proctable_size
;
VOLATILE
int
MPIR_debug_state
;
VOLATILE
int
MPIR_debug_gate
;
...
...
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