[mvapich-discuss] MVAPICH2 with SLURM PMI

Pavan Balaji balaji at mcs.anl.gov
Thu Mar 6 13:43:45 EST 2008


Just as a FYI, mpich2-1.0.7 will have this support. So, as soon as 
MVAPICH2 is upgraded to this new version, you should be able to 
configure it with --with-pmi=slurm --with-pm=slurm and mpicc will do 
this automatically for you.

In the meanwhile, there are two options you can use:

1. Use a patch from the mpich2 trunk (r547) and apply it to MVAPICH2.

2. Move mpicc and friends to mpicc.old, etc., and have wrapper mpicc 
scripts to do this automatically for you.

  -- Pavan

On 03/06/2008 07:18 AM, Jonathan Perkins wrote:
> Adam Moody wrote:
>> Hi,
>> I'm trying to build MVAPICH-2 to use SLURM's PMI, which can be linked 
>> in via something like "-L/usr/lib64 -lpmi".  Anyone know what I have 
>> to do during the configure / make to get this to happen?
>>
>> I'm using the make.mvapich.ofa script, but it keeps selecting it's mpd 
>> / simple pmi implementation.  The various things I've tried to set 
>> either blow up during the configure or build with the simple pmi.
>> Thanks,
>> -Adam
>> _______________________________________________
>> mvapich-discuss mailing list
>> mvapich-discuss at cse.ohio-state.edu
>> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
> 
> Adam:
> Hi, it sounds like you want mpicc to automatically include the slurm pmi 
> library linking options as you specified.
> 
> If this is **not** the case then you can simply build using 
> make.mvapich2.ofa in the normal way and then build your mpi application 
> using something like
> 
> mpicc -L/usr/lib64 -lpmi mpiapp.c -o mpiapp
> 
> If you would like mpicc to do this step for you, you should be able to 
> export the MPI_LDFLAGS in the make.mvapich2.ofa script before configure 
> is invoked.  Please let us know if this works for you.
> 

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mvapich-discuss mailing list