- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We can see that you've kudoed the response we provided. Is your issue resolved?
Regards,
Alekhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, setvars.sh --force works. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page