Probably you need to set some environment variables to run your mpi implementation. Setting these variables is usually done by using the Environmental Modules package http://modules.sourceforge.net/
On Thu, Sep 17, 2015 at 3:44 PM, Fany Pagés Díaz <[email protected]> wrote: > I'm trying to send a sample script with MPI and gives me the following > error. > > > > There are no allocated resources for the application > > ./mpi > > that match the requested mapping: > > > > > > Verify that you have mapped the allocated resources properly using the > > --host or --hostfile specification. > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > A daemon (pid unknown) died unexpectedly on signal 1 while attempting to > > launch so we are aborting. > > > > There may be more information reported by the environment (see above). > > > > This may be because the daemon was unable to find all the needed shared > > libraries on the remote node. You may set your LD_LIBRARY_PATH to have the > > location of the shared libraries on the remote nodes and this will > > automatically be forwarded to the remote nodes. > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > mpirun noticed that the job aborted, but has no info as to the process > > that caused that situation. > > -------------------------------------------------------------------------- > > srun: error: compute-0-0: task 0: Exited with exit code 1 > > > > > > This is the script: > > > > #!/bin/bash > > #SBATCH --job-name="mpi" > #SBATCH --partition="cluster" > #SBACTH --nodes=compute-0-0,compute-0-1,compute-0-2 > #SBATCH -n 3 > #SBATCH --output=test-srun.out > #SBATCH --error=test-srun.err > source /etc/profile > > srun mpi > > > > what am I doing wrong? Anyone can send me a sample script. > > Thanks, > > Ing.Fany Pagés Díaz >
