✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Se muestra a continuación el contenido de un fichero job de SLURM y la salida. ¿Qué es cierto?
#!/bin/bash#SBATCH -J test # Job name
#SBATCH -o job.%j.out # Name of stdout output file (%j expands to jobId)
#SBATCH -N 2 # Total number of nodes requested
#SBATCH -n 2 # Total number of mpi tasks requested
#SBATCH -t 01:30:00 # Run time (hh:mm:ss) - 1.5 hours
mpicc -O3 /opt/ohpc/pub/examples/mpi/hello.c
srun ./a.out
Salida:
Hello, world (1 procs total) --> Process \# 0 of 1 is alive. -> compute-small-07-01
Hello, world (1 procs total)
--> Process \# 0 of 1 is alive. -> compute-small-07-02