Hello all, 

I am trying to use PMI2 support of slurm-2.6.5. My test program is able  to 
successfully initialize and call various methods of PMI2. 

The PMI2 documentation for PMI2_KVS_Get() states that "If jobid is NULL, look 
in the key-value space of this job." 

However the call PMI2_KVS_Get(NULL, PMI2_ID_NULL, key, val, ...); fails with a 
segmentation fault. 

But If I call PMI2_Job_GetId() and pass the jobid to PMI2_KVS_Get(jobid, 
PMI2_ID_NULL, ...) it works properly. 

I have ensured that key, value, maxvalue etc. are properly allocated. 

Is this a known issue? 

Thanks, 
Sourav Chakraborty=

Reply via email to