CoBrALab / qbatch

The Unlicense
27 stars 13 forks source link

Detect/check queuing system #133

Closed pipitone closed 7 years ago

pipitone commented 8 years ago

If jobs are submitted and the wrong queuing system is specified, the error messages returned aren't particularly helpful at the moment (see #57). Perhaps we can detect what the queuing system is, or verify that it has been set correctly when qbatch is run, or print more helpful error messages when a job is run under an incompatible queuing system.

gdevenyi commented 8 years ago

FSL uses SGE_ROOT to detect SGE.

gdevenyi commented 8 years ago

PBS_DEFAULT seems like it may be a reasonable PBS detection method.

gdevenyi commented 8 years ago

pbs-config --libs is suggested on torque mailing list