Wednesday, July 27, 2011

CHiPPS: can not find symbol MPI_Irecv with MPI solution

When configure the parallel version of CHiPPS project, people can encounter
 the error as below
 
Cannot find symbol MPI_Irecv with MPI 
 
which means that configure script couldn't link a simple executable that 
had a simgleMPI_Irecv() call in its main function. 
 
You can use mpicc -link_info to find those related linked library and 
add them in the option of configure. 
 
For example , the output of mpicc -link_info on one server shows that
 
gcc -g -O2 -g -Wall -O2 -I/usr/include/mpich2 -L/usr/lib -L/usr/lib
-lmpich -lopa -lpthread -lrt 
 
The corresponding configure options are 
../configure --enable-static --disable-shared --with-mpi-incdir=
/usr/include/mpich2 --with-mpi=lib
="-L/usr/lib -lmpich -lopa -lpthread -lrt" MPICC =mpicc MIPCXX =mpic++(mpiCC need 
to check the /usr/bin/executable)
CXXDEFS='-DMPICH_IGNORE_CXX_SEEK'

4 comments:

  1. mpirun.mpich2

    mpiexec.mpich2

    ReplyDelete
  2. mpirun.mpich2 -machinefile machinesfile -np 105 ./blis -par blis.par

    ReplyDelete
  3. web site is the modern red liz http://bestonlinecasinoworld.tumblr.com online casino

    ReplyDelete
  4. ../configure --enable-static --disable-shared --with-mpi-incdir=/usr/include/mpich2 --with-mpi-lib=-L/usr/lib -lmpich MPICC=mpicc MPICXX=mpic++

    ReplyDelete