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

build.sh and run.sh

staNislw
Beginner
1,505 Views

After connecting to devcloud and changing location to sample downloaded from git, creating build.sh and run.sh 

submitting with qsub command it shows build.sh not exist

how to Build the sample on a GPU node? 

Im enter command

qsub -l nodes=1:gpu:ppn=2 -d . /c/scriptIntel/build.sh

 

where "c/scriptIntel/build.sh'" is path to file

but error is displayed 'qsub: script file '/c/scriptIntel/build.sh' cannot be loaded - No such file or directory'

how to correct it must be on Windows?

0 Kudos
3 Replies
RemyaP_Intel
Employee
1,474 Views

Hi,

 

Thank you for posting in Intel communities.

 

From the command you shared, we assume that the .sh file is present in your local machine. Running job for a .sh file present in local machine is not possible. You must first transfer them to DevCloud using below command.

 

scp -r <Path inside the local machine where sample is downloaded> devcloud:<Path to where the file needs to be moved in the devcloud>

 

Otherwise, you can clone the repository directly to your DevCloud using the command:

 

git clone <repository link>

 

 

Once the sample is present in DevCloud, navigate to the path where build.sh is present

 

Type pwd and copy the path

 

And run the below command:

 

qsub -l nodes=1:gpu:ppn=2 -d . <copied path>/build.sh

 

To check the status of the above job, run the below command.

 

qstat

 

If job runs successfully, you are going to get 2 files

example: build.sh.o2080472 (an output file) and build.sh.e2080472(an error file). attaching screenshot for your reference.

RemyaP_Intel_0-1671189538086.png

 

You can follow the same steps for running run.sh

 

If the issue still persists, please provide the exact steps you have followed to reproduce your issue.

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!

 

 

Regards,

Remya Premdas

 

0 Kudos
RemyaP_Intel
Employee
786 Views

Hi,


We haven't heard back from you. Is your issue resolved?


Regards,

Remya Premdas


0 Kudos
RemyaP_Intel
Employee
768 Views

Hi,


We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.


Regards,

Remya Premdas


0 Kudos
Reply