- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not able to run my scripts using qsub. Whenever I schedule my jobs in build.sh using qsub, it is removed from the queue within one second. I was able to run it till today morning.
command used to schedule jobs:
qsub -l nodes=1:gpu:ppn=2 -d . build.sh
I tried to do it without requesting GPU too. It gets removed from the queue immediately.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The build.sh.exx generate file is also empty. The build.sh.oxx file has the following contents:
########################################################################
# Date: Tue 04 Oct 2022 02:21:46 AM PDT
# Job ID: 2002983.v-qsvr-1.aidevcloud
# User: u171677
# Resources: neednodes=1:gpu:ppn=2,nodes=1:gpu:ppn=2,walltime=06:00:00
########################################################################
########################################################################
# End of output for job 2002983.v-qsvr-1.aidevcloud
# Date: Tue 04 Oct 2022 02:21:47 AM PDT
########################################################################
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
In order to understand your issue (Account specific or build.sh script specific), can you try to run the below sample?
- Create a file named "fibonacci.py" in your home directory.
example:
vi fibonacci.py (copy below content in side fibonacci.py)
def Fibonacci(n):
# Check if input is 0 then it will
# print incorrect input
if n < 0:
print("Incorrect input")
# Check if n is 0
# then it will return 0
elif n == 0:
return 0
# Check if n is 1,2
# it will return 1
elif n == 1 or n == 2:
return 1
else:
return Fibonacci(n-1) + Fibonacci(n-2)
# Driver Program
print(Fibonacci(43))
- Create a file named "job.sh" in your home directory.
- Inside job.sh copy the below content
#!/bin/bash
echo "start"
echo $(python3 ~/fibonacci.py)
echo "end"
qsub -l nodes=1:gpu:ppn=2 -d . job.sh
After running the above command, 2 files are going to be generated that look like job.sh.exx which is empty and job. sh.o.xx is going to have some content which looks like below.
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
good day to you.
Can you please try the above steps and give us an update?
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry for the late reply, the issue is resolved now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks,
Jaideep

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