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

DevCloud for oneAPI: please update the documentation

GRN2
Employee
757 Views

I think,  https://devcloud.intel.com/oneapi/documentation/job-submission/ contains incorrect sample of the PBS job.sh:

#!/bin/bash
source /opt/intel/inteloneapi/setvars.sh
make run

 

But user don't need for execution setvars.sh (environment is already setup on all nodes) and even he can't execute one (no permissions).

Thanks.

0 Kudos
4 Replies
AlekhyaV_Intel
Moderator
721 Views

Hi,

 

Thank you for posting in Intel Forums. The sample mentioned in the documentation is just an example to show how to create a job script and submit a batch job. You could add any other commands in a script file according to your requirement.

Though the OneAPI Environment is already setup, you could still execute setvars.sh script whenever required with the below command:

source setvars.sh --force

We also provided a command to show you that there are read, write and execute permissions for the setvars.sh file.

user@login:~$ ls -l /opt/intel/oneapi/setvars.sh

-rwxr-xr-x 1 root root 24707 May 26 13:05 /opt/intel/oneapi/setvars.sh

Please try all the steps we provided and let us know.

 

Regards,

Alekhya

 

 

AlekhyaV_Intel
Moderator
709 Views

Hi,


We can see that you've kudoed the response we provided. Is your issue resolved?


Regards,

Alekhya


0 Kudos
GRN2
Employee
693 Views

Yes, setvars.sh --force works. Thank you!

0 Kudos
AlekhyaV_Intel
Moderator
685 Views

Hi,


Thanks for accepting our solution. If you have any other question/issues, please submit a new question as this thread will no longer be monitored.


Regards,

Alekhya


0 Kudos
Reply