[slurm-dev] Re: Exact way to compile and run MVAPICH2 job with SLURM

2013-11-27 Thread Andy Riebs
$ On my system, path_to_slurm_lib is /opt/slurm/lib64, so the compile command would be $ mpicc -L/opt/slurm/lib64 -lpmi ...  (You might also check that directory to ensure that libpmi.so is there.) Andy On 11/27/2013 12:22 AM, Arjun J Rao wrote: Re: [slurm-dev] Re: Exact way to c

[slurm-dev] Re: Exact way to compile and run MVAPICH2 job with SLURM

2013-11-26 Thread Arjun J Rao
How exactly to I link "SLURM's implementation of the PMI library" with my executable ? Which path must i give ? The documentation just mentions mpicc -L -lpmi ... I don't understand what exactly I should write in On Tue, Nov 26, 2013 at 7:06 PM, Jonathan Perkins < perki...@cse.ohio-state.edu> wr

[slurm-dev] Re: Exact way to compile and run MVAPICH2 job with SLURM

2013-11-26 Thread Jonathan Perkins
This depends on your cluster's setup. If you built your MPI application on a shared filesystem that is available on each node then you do not need to broadcast the executables around and should be able to use the srun command directly. One other thing that you need to keep in mind is that the sup