ciemat-tic / codec

11 stars 2 forks source link

Installation: Slurm script not writing to stdout in computing node #31

Closed supermanue closed 10 years ago

supermanue commented 10 years ago

The problem is that Slurm scripts do not write into stdout.

If I, for example, execute the following script:



$more myScript.sh

!/bin/sh

set -x echo "execute hostname" hostname echo "now create file with hostname as content" hostname > /home/slurm/host

$sbatch myScript.sh

$more slurm-49.out

If I manually execute the script, either in the master or the computing node, the result is succesful and /home/slurm/host contains the name of the host.

I realize two things that don't make much sense -apparently, "stdout" is broken and nothing is wirtten into it -however, "print" commands work OK.

I have tried to sumbit with different sbatch options but all my attempts have been unsuccesful.

supermanue commented 10 years ago

Solved doing nothing, probably missconfiguration or whatever