27 April 2012 19:36
I set this up exactly as shown : http://technet.microsoft.com/en-us/library/ee783565(v=ws.10).aspx It ran fine yesterday, but this morning I get an error which is the following:
Unhandled Exception: System.ArgumentNull Exception: Value cannot be null.
Parameter name : cluster
at Microsoft.Hpc.Scheduler.Util.CheckArgumentNullOrEmpty(String arg, String argName)
at Microsoft.Hpc.Scheduler.Scheduler.Connect(String cluster)
This is Microsoft code from the web so I'm not sure why it wouldn't run???
Thanks for your assistance!
27 April 2012 20:35
Here is an update....
When I remove these 2 lines of code and replace them with hard coded variables shown below it runs. Therefore, it must be due to one of these lines, but why???//String clusterName = System.Environment.GetEnvironmentVariable("CCP_CLUSTER_NAME");
//int jobId = System.Convert.ToInt32(System.Environment.GetEnvironmentVariable("CCP_JOBID"));
String clusterName = "xx12345001";
int jobId = 7;
30 April 2012 16:52
Which version of HPC are you running? If you run a later version, you may want to replace CCP_CLUSTER_NAME with CCP_SCHEDULER.
Also please note that CCP_JOBID is only visible to the job process at runtime, you have to run the exe you built as a job in HPC in order to see it.
Does it solve your problem?
- Ditandai sebagai Jawaban oleh onemadscientist 01 Mei 2012 14:03
01 Mei 2012 14:03Yes, this was the issue. I am back up and running. Thank you for your reply!