- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have two job scripts, one of them is compilation and the other one is execution.
Could you please help me how should I submit these two job scripts in to the queue!?
first compilation then execution.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching to devcloud forum.
Please follow below guidelines for executing one job after the other.
1. Create separate job files for compilation and execution.
2. Create the common script to call this jobs as below:
$ vi submit_job.sh
You can give the below commands in the script and save.
#!/bin/sh -f
FIRST=$(qsub compilation.sh)
echo $FIRST
SECOND=$(qsub -W depend=afterany:$FIRST execution.sh)
echo $SECOND
3. Execute the attached script (submit_job.sh) to start the execution
For your information, qstat is the general command which we use to check the job queue.
Refer the below link for more details on queue management and job submission:
https://devcloud.intel.com/oneapi/documentation/advanced-queue/
https://devcloud.intel.com/oneapi/documentation/job-submission/
Regards,
Rahul
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching to devcloud forum.
Please follow below guidelines for executing one job after the other.
1. Create separate job files for compilation and execution.
2. Create the common script to call this jobs as below:
$ vi submit_job.sh
You can give the below commands in the script and save.
#!/bin/sh -f
FIRST=$(qsub compilation.sh)
echo $FIRST
SECOND=$(qsub -W depend=afterany:$FIRST execution.sh)
echo $SECOND
3. Execute the attached script (submit_job.sh) to start the execution
For your information, qstat is the general command which we use to check the job queue.
Refer the below link for more details on queue management and job submission:
https://devcloud.intel.com/oneapi/documentation/advanced-queue/
https://devcloud.intel.com/oneapi/documentation/job-submission/
Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for accepting our solution. If you need any additional information, please submit a new question as this thread will no longer be monitored.
Regards,
Rahul
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page