Answered by:
How to report a node environment variable in the job scheduler?

Question
-
The application reports, to a local environment variable on the compute node, an estimation time for task completion. How to bring this environment variable to the job scheduler?
I'm using Compute Cluster 2003Thursday, March 19, 2009 2:36 AM
Answers
-
There's not much in CCS 2003 that can make use of that. We do allow "Extended Properties" on a job . . . basically this means we can store custom properties in the database. So you could have a script/application on a compute node connect to the scheduler and add the details as an Extended Property on the job. This wouldn't be displayed in the UI though; it would only be available to an applicaiton that uses the API expecting that value to be set.
Thanks,
Josh
-Josh- Proposed as answer by Josh BarnardModerator Thursday, March 19, 2009 5:55 AM
- Marked as answer by Josh BarnardModerator Monday, March 23, 2009 8:20 PM
Thursday, March 19, 2009 5:54 AMModerator
All replies
-
The application reports, to a local environment variable on the compute node, an estimation time for task completion. How to bring this environment variable to the job scheduler?
- Merged by Josh BarnardModerator Wednesday, March 25, 2009 8:05 PM Duplicate.
Thursday, March 19, 2009 2:30 AM -
There's not much in CCS 2003 that can make use of that. We do allow "Extended Properties" on a job . . . basically this means we can store custom properties in the database. So you could have a script/application on a compute node connect to the scheduler and add the details as an Extended Property on the job. This wouldn't be displayed in the UI though; it would only be available to an applicaiton that uses the API expecting that value to be set.
Thanks,
Josh
-Josh- Proposed as answer by Josh BarnardModerator Thursday, March 19, 2009 5:55 AM
- Marked as answer by Josh BarnardModerator Monday, March 23, 2009 8:20 PM
Thursday, March 19, 2009 5:54 AMModerator -
Ok. But is this feature easily implemented in the WCCS 2008? I’m not willing to go in to the WCC APIs…
Monday, March 23, 2009 2:56 AM -
You can do it with PowerShell (but that would require using our API's from PSH). You can also make job XML which includes extended terms (but this is more for when you are creating a job).
So I guess the answer is that there is not an easy way to report this in HPC Server 2008. We are looking into something that would enable this in a future version.
Thanks,
Josh
-Josh- Proposed as answer by Josh BarnardModerator Monday, March 23, 2009 8:20 PM
Monday, March 23, 2009 8:19 PMModerator