Skip to content
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

Is there anyway to expand what the error is when submission fails? #630

Open
pagrubel opened this issue Dec 19, 2022 · 0 comments
Open

Is there anyway to expand what the error is when submission fails? #630

pagrubel opened this issue Dec 19, 2022 · 0 comments

Comments

@pagrubel
Copy link
Collaborator

When trying BEE on crusher I forgot that I needed to have time and nnodes defined in the jinja file. The error in the task_manager log wasn't helpful. Can we get better information to the user?
Here is the error

  File "/opt/cray/pe/python/3.9.12.1/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['sbatch', '--parsable', '/ccs/home/pagrube1/.beeflow-crusher/workflows/ca322fcf06b946bbbb817543f3e518ae/clamr-24764e3a3b7f469a95a27f843e91523b/clamr-24764e3a3b7f469a95a27f843e91523b.sh']' returned non-zero exit status 1.

I manaully submitted the job to figure out what went wrong

sbatch /ccs/home/pagrube1/.beeflow-crusher/workflows/ca322fcf06b946bbbb817543f3e518ae/clamr-24764e3a3b7f469a95a27f843e91523b/clamr-24764e3a3b7f469a95a27f843e91523b.sh 
sbatch: error: 2 ERRORS FOUND: 
sbatch: error:  
sbatch: error: All jobs must specify a node count with --nodes or -N
sbatch: error: All jobs must specify a walltime with -t
sbatch: error:  
sbatch: error: Job not submitted, please update and resubmit batch job.
sbatch: error:  
sbatch: error: Batch job submission failed: Unspecified error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant