CoBrALab / qbatch

The Unlicense
27 stars 13 forks source link

warning message about missing sbatch - using qbatch 1.0.1 #148

Closed mcvaneede closed 6 years ago

mcvaneede commented 6 years ago

We use qbatch 1.0.1 on a system that does not have sbatch installed. qbatch properly submits jobs to the queue (MOAB), but does produce an error message that gives users the sense that something went wrong:

which: no sbatch in (.../many/paths/...)

Perhaps if sbatch is not required to submit jobs, this message can be suppressed?

bcdarwin commented 6 years ago

Probably just send stderr to /dev/null here ... weird that stdout would do the trick in some system configurations but not everywhere.

pipitone commented 6 years ago

@bcdarwin Agreed. Would be clearer to me to move that whole code block that determines the queuing system into the main() method so we can use the which() method rather than rely on the system which.

gdevenyi commented 6 years ago

Fixed by afa1a5052b2877b942d979facf5293f58e5e79b8