[mpich-discuss] Problems running MPICH jobs under SLURM

Pavan Balaji balaji at mcs.anl.gov
Fri Jun 7 16:58:06 CDT 2013


John,

On 06/07/2013 04:37 PM, Biddiscombe, John A. wrote:
> I did a complete rebuild and sometimes error appears twice, apart from that, no change
>
> I'll play some more next week, but for now it isn't urgent. I still think I've done something wrong
>
> For reference, my mpich compile is (no slurm options present - I bet that's what's wrong)
> ./configure --prefix=/home/biddisco/apps/mpich-3.0.4 --enable-static --with-pic

Your naming is pretty confusing.  You are using "mpich-3.0.4" for a 
build that is not really mpich-3.0.4.

Try this:

% wget 
http://www.mpich.org/static/tarballs/nightly/master/mpich/mpich-master-v3.0.4-259-gf322ce79.tar.gz

% tar -xzvf mpich-master-v3.0.4-259-gf322ce79.tar.gz

% cd mpich-master-v3.0.4-259-gf322ce79

% ./configure --prefix=`pwd`/install CC=gcc CXX=g++ F77=gfortran 
FC=gfortran && make && make install

% salloc -N 2 -n 4

% ./install/bin/mpicc hello.c -o hello

% ./install/bin/mpiexec -n 4 ./hello

  -- Pavan

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



More information about the discuss mailing list