If you submit the command as a script, the output and the error stream end up in files, because you may logout, or have gazillion of other things or other reasons, and therefore the stream to tty/console does not make sense anymore
On Mon, Mar 24, 2025 at 8:29 AM Dan Healy via slurm-users < slurm-users@lists.schedmd.com> wrote: > Hi Slurm Community, > > I'm starting to experiment with slurmrestd for a new app we're writing. > I'm having trouble understanding one aspect of submitting jobs. > > When I run something like `srun -n 10 echo HELLO', I get HELLO returned to > my console/stdout 10x. > When I submit this command as a script to the /jobs/submit route, I get > success/200, but *I cannot determine how to get the console output of > HELLO 10x in any form*. It's not in my stdout log for that job even > though I can verify that the job ran successfully. > > Any suggestions? > > -- > Thanks, > > Daniel Healy > > -- > slurm-users mailing list -- slurm-users@lists.schedmd.com > To unsubscribe send an email to slurm-users-le...@lists.schedmd.com >
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com