Forum

Author Topic: return code from batch run  (Read 1796 times)

MManning

  • Newbie
  • *
  • Posts: 11
    • View Profile
return code from batch run
« on: June 09, 2017, 08:02:00 PM »
when I submit a photoscan-pro (1.3.0) batch run to our HPC cluster via slurm, the job always finishes with a failed status because Photoscan returns a non-zero return code.

if I run from the command line I see:

[mmanning@ln001 monument]$ singularity exec --writable -B /global/scratch/mmanning/monument/:/scratch/  /global/scratch/groups/dh/photoscan13.img  /scratch/execscript.sh
Activation successful
AddPhotos
SaveProject
saved project in 0.058408 sec
[mmanning@ln001 monument]$

is there any way to turn off these status statements and just get a return code of 0 when successful or an error code when it is not?