Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1704 Discussions

Impossible to clone repo from github

lorenzoferretti
Beginner
977 Views

Hi Everyone,

I've recently created an account and I was trying the hello world program.

However, when I try to clone the github repo from the server I encounter this error:

$git clone https://github.com/oneapi-src/oneAPI-samples.git
Cloning into 'oneAPI-samples'...
fatal: unable to access 'https://github.com/oneapi-src/oneAPI-samples.git/': Could not resolve host: github.com

 

Should I do something to configure the server in addition to what specified in the guide?

 

Thank you.

Lorenzo

0 Kudos
1 Solution
JyothisV_Intel
Employee
961 Views

Hi,

 

Good day to you.

 

Thanks for posting in Intel Communities.

 

Intel DevCloud does not allow external website access from the login node. It is only allowed inside compute nodes.

 

Login nodes use a lightweight general-purpose processor. Login nodes should not be used for development or execution of programs. It is an interface node that helps to connect or submit jobs to the compute nodes.

 

You can use wget/git clone/etc. on compute nodes only. You cannot use them on login node. However, the downloaded files would be available in the cloud, so you can access them in login node and compute node once downloaded.

 

cluster-jn-organization.jpg

 

From the above diagram, we could see that HTTPS cannot be accessed via login node.

 

You can use the command format below to request access to an interactive compute node from the login node:

$ qsub -I -l nodes=1:[property]:ppn=2 -d .

Eg:

qsub -I -l nodes=1:ppn=2 -d .

 

Refer documentation for more information: https://devcloud.intel.com/oneapi/documentation/job-submission/#accessing-compute-nodes

 

If this clarifies your query, make sure to accept this as a solution. This would help others with similar queries.

 

Thanks and Regards,

Jyothis V James

 

View solution in original post

0 Kudos
3 Replies
JyothisV_Intel
Employee
962 Views

Hi,

 

Good day to you.

 

Thanks for posting in Intel Communities.

 

Intel DevCloud does not allow external website access from the login node. It is only allowed inside compute nodes.

 

Login nodes use a lightweight general-purpose processor. Login nodes should not be used for development or execution of programs. It is an interface node that helps to connect or submit jobs to the compute nodes.

 

You can use wget/git clone/etc. on compute nodes only. You cannot use them on login node. However, the downloaded files would be available in the cloud, so you can access them in login node and compute node once downloaded.

 

cluster-jn-organization.jpg

 

From the above diagram, we could see that HTTPS cannot be accessed via login node.

 

You can use the command format below to request access to an interactive compute node from the login node:

$ qsub -I -l nodes=1:[property]:ppn=2 -d .

Eg:

qsub -I -l nodes=1:ppn=2 -d .

 

Refer documentation for more information: https://devcloud.intel.com/oneapi/documentation/job-submission/#accessing-compute-nodes

 

If this clarifies your query, make sure to accept this as a solution. This would help others with similar queries.

 

Thanks and Regards,

Jyothis V James

 

0 Kudos
lorenzoferretti
Beginner
944 Views

Thank you for the answer. This clarify the issue.

I would like to suggest to add this information to the page https://devcloud.intel.com/oneapi/get_started/hpcToolkitSamples/ under the run "Run a Hello World! Sample" since for a new user it may not be clear.

 

Best regards,

Lorenzo

0 Kudos
JyothisV_Intel
Employee
911 Views

Hi,

 

Good day to you.

 

Glad to know that your issue is resolved. Thank you for your feedback. We have provided your feedback to the relevant team.

 

If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Regards,

Jyothis V James

 

0 Kudos
Reply