Hi Djibril, Djibril Mboup <[email protected]> writes:
> Re: [slurm-dev] Re: ExitCode 139 > > I see M Loris, but I don't know why I got this error. Does it mean I don't > have enough memory to execute my code? You can see my batch script below: > > #SBATCH --partition=xxxxx > #SBATCH --account=xxxxx > #SBATCH --nodes=2 > #SBATCH --ntasks=4 > #SBATCH --cpus-per-task=20 > #SBATCH --time=01:00:00 > #SBATCH --exclusive > > srun hostname -s| sort -u > mpd.hosts > > mpiexec.hydra -f mpd.hosts -perhost $nb_cpu -n $SLURM_NTASKS ./code -c > config.info I can't tell how much memory your program needs just by looking at the batch script. It depends on what the program does and, possibly, what parameters you pass to it in 'config.info'. The error could be due to the program running out of memory, but it could also be due to your program doing something wrong, such as trying to write beyond the bounds of an array. This is probably unrelated, but the value of --cpus-per-task is quite high. Do the nodes have 20 CPUs each? Cheers, Loris > On 21 June 2017 at 05:45, Loris Bennett <[email protected]> wrote: > > Hi Djibril, > > Djibril Mboup <[email protected]> writes: > > > ExitCode 139 > > > > Hello, > > Since yesterday, I have got an error after submitting a job. The exit code > 139:0 remind you something. > > Thanks > > Try searching for "exit code 139" with your favourite search engine. > You will find that it indicates that your program experienced a > segmentation fault. > > Cheers, > > Loris > > -- > Dr. Loris Bennett (Mr.) > ZEDAT, Freie Universität Berlin Email [email protected] > > -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email [email protected]
