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?
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.
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.
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!