Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Setting data into the orte_proc_t
From: Hugo Meyer (meyer.hugo_at_[hidden])
Date: 2011-03-23 08:12:17


Hello @ll.

I need to store extra information into the orte_proc_t struct, i have added
into that struct another field with a default value, but now i need to
update that value with a value that i'm storint into the orte_process_info.
My question is how i can do this?

I am actually doing this:

jdata = orte_get_job_data_object(proc.jobid);
procs = (orte_proc_t**)jdata->procs->addr;
procs_rec = (orte_proc_t**)procs[proc.vpid]->node->procs->addr;
ORTE_NAME_PRINT(&(procs_rec[x]->my_value));

But i don't know how to set my value, and where because i'm only getting now
my default initial value.

Thanks in advance.

Best Regards.

Hugo Meyer