Jeremy
At 11:52 AM 5/14/2004, Alexander V Shirokov wrote:
Hi,
I am using PBSPro, and wanted to get my C-code to know what Jobid is assigned to it, in order to write standard output files named
stdout-PBS_JOBID.myid
So, I do this inside my C-code, and run it from the script that I submit by qsub:
str = getenv("PBS_JOBID"); printf("PBS_JOBID=<%s>\n", str);
it returns on all nodes:
PBS_JOBID=<(null)>
Why is the environment variable PBS_JOBID not picked up from the C-code?
Any light shed on this problem will be much appreciated!
Alex
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
