-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paraSlurm.perl hostname #6
Comments
Hmm, can you check whether sbatch is available on gsubmit0? This if is simply a sanity check to make sure people only call the script from the cluster head node, where one should submit the jobs. |
Sure.
path just represents a directory, not $PATH. |
Actually, it seems that |
Another cue: the script |
What does 'which sbatch' give you? Also, just out-comment this hostname check in the script. It may not be necessary for you. |
is it right? |
Yes. |
Hmmm, error
Do you need the complete log? |
I can only guess, but maybe sbatch is not in the environment when the perl script starts a new session with the system command. at the beginning and see if that returns /opt/gridview/slurm/bin/sbatch ? |
right? Where should I put it? paraSlurm or doBlastzChainNet.pl? error:
|
Pls use backticks around `which sbatch`. |
thanks. I added it at the beginning of paraSlurm.perl. error:
|
Then add it to $PATH and put this in your .bashrc |
That works. After that, I added But, the jobs crashed.
|
What is in jobListTest? Can you run this outside of Slurm in the command line? Otherwise the script seems to work. It detects crashed jobs and pushes them again. |
Hmmm, jobListTest doesn't exist. I thought it's just a syntax of paraSlurm.pl. I have read the README.html. However, I am still don't know how to do about jobListTest. |
|
Sorry, I meant what is in jobList? The test script DieRandomTime.perl is meant to crash randomly to test the resubmitting function. Just test a jobList file that contains --> This should work without any crashes. |
Sorry to bother you on weekend.
When I tried the first script I tried adding output file like
output file However, when I added |
But it seems that the point mentioned earlier is not the key, because I tried running the same script However, when I run the full script of doBlastzChainNet.pl using parasol on another server, it works. |
Can I delete |
Hmmm, are all scripts of doBlastzChainNet.pl submitted to slurm? or just scripts about blasts? |
Hi,
I tried submitting doBlastzChainNet.pl by paraSlurm.perl.
I have replaced para with paraSlurm.perl and added jobListTest in the command.
when I ran the doBlastzChainNet.pl, an error related to paraSlurm.perl occurred.
But, the node is actually gsubmit0.
I tried replacing
my $hostname = $ENV{'HOSTNAME'};
withmy $hostname = `hostname`;
.Another error occurred:
Finally, I tried replacing
my $hostname = $ENV{'HOSTNAME'};
withmy $hostname = "gsubmit0";
.Another error occurred:
It's weird. This is the node to submit slurm code.
I have no idea about these problem.
Could you give some tips?
Best regards,
The text was updated successfully, but these errors were encountered: