Skip to content
Snippets Groups Projects
Commit 8773318c authored by Danny Auble's avatar Danny Auble
Browse files

NRT - remove references to using the resource_mgr and use global "job"

parent ee8f2e3e
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,7 @@ extern int pe_rm_connect(rmhandle_t resource_mgr, ...@@ -125,7 +125,7 @@ extern int pe_rm_connect(rmhandle_t resource_mgr,
rm_connect_param *connect_param, rm_connect_param *connect_param,
int *rm_sockfds, int rm_timeout, char **error_msg) int *rm_sockfds, int rm_timeout, char **error_msg)
{ {
srun_job_t *job = *(srun_job_t **)resource_mgr; // srun_job_t *job = *(srun_job_t **)resource_mgr;
int my_argc = 1; int my_argc = 1;
char *my_argv[2] = { connect_param->executable, NULL }; char *my_argv[2] = { connect_param->executable, NULL };
// char *my_argv[2] = { "/bin/hostname", NULL }; // char *my_argv[2] = { "/bin/hostname", NULL };
...@@ -195,7 +195,7 @@ extern int pe_rm_connect(rmhandle_t resource_mgr, ...@@ -195,7 +195,7 @@ extern int pe_rm_connect(rmhandle_t resource_mgr,
extern void pe_rm_free(rmhandle_t *resource_mgr) extern void pe_rm_free(rmhandle_t *resource_mgr)
{ {
uint32_t rc = 0; uint32_t rc = 0;
srun_job_t *job = *(srun_job_t **)resource_mgr; //srun_job_t *job = *(srun_job_t **)*resource_mgr;
/* If the PMD calls this and it didn't launch anything we need /* If the PMD calls this and it didn't launch anything we need
* to not do anything here or PMD will crap out on it. */ * to not do anything here or PMD will crap out on it. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment