Click here to Skip to main content
13,007,637 members (77,920 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 16 Jun 2012

Submitting an HPC job from on-premise - Part 2 of 2

, 16 Jun 2012
Rate this:
Please Sign up or sign in to vote.
How to submit a HPC job from on-premise.

Continuing with myprevious article, today I am going to share my one more experience with HPC. Nowadays, there are lots of links available on net, which tell, how to submit a job to Azure HPC Scheduler. I also explored most of them, and found that almost all are talking about job submission from cloud premise(Front or Head node). But nowhere was it mentioned how to submit a job from outside of cloud vicinity. I came across this issue, while working on one of my assignments.

After hitting my head, finally I found a way to do this. When we are talking about interaction between cloud and on-premise, then first thing come into our mind is network. Here definitely, TCP won’t work. There are few transport schemes available in Azure HPC framework. After exploring them, I found one as WebAPI and wow, that suits my requirement. I just used WebAPI as transport scheme, by modifying the name of the headnode to complete host name (i.e., <headNodeName> and get my issue resolved. Sample code is as:

string headNodeName = "";
//Create a session
SessionStartInfo info=new SessionStartInfo(headNodeName, serviceName); 
// Assign TransportScheme to the session created above

Note: If everything (service name, head node, etc...) is configured properly, even then you are getting exception like, ‘Fail to get the cluster name’. Then just redeploy the HPC scheduler package and try it again. I know, this is painful but this is the only solution, I came across. And believe me, this was just clicked for me.

Hope it will be helpful, for those who get stuck with a similar kind of issue. 


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

You may also be interested in...

Comments and Discussions

Generalwhy redelopy HPC scheduler Pin
AaronChenOm1-Aug-12 10:35
memberAaronChenOm1-Aug-12 10:35 
GeneralRe: why redelopy HPC scheduler Pin
Shweta Lodha2-Aug-12 5:30
memberShweta Lodha2-Aug-12 5:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170628.1 | Last Updated 16 Jun 2012
Article Copyright 2012 by Shweta Lodha
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid