[mpich-discuss] mpich2 under Ubuntu?

Pavan Balaji balaji at mcs.anl.gov
Thu Apr 16 12:49:13 CDT 2009


Is there a particular reason why you want to use dllchan instead of the 
default? dllchan is experimental currently. If you want to use the 
default, you can just do:

  $ ./configure --prefix=/usr/local/mpich2 --enable-sharedlibs=gcc

  -- Pavan

Mathieu Dubois wrote:
> Hello everyone,
> 
> First I'm a newbie in the MPI world so please excuse me if I ask stupid 
> questions.
> 
> Let me explain my problem. I'm using Ubuntu 8.10 /Intrepid Ibex/ on a 
> x86_64 machine. I need to install MPICH2 in order to compile and run the 
> PCSIM neural simulator (http://www.lsm.tugraz.at/pcsim/).
> 
> I have found packages for mpich2 in 
> http://ppa.launchpad.net/metlov/ppa/ubuntu . Unfortunately those 
> packages doesn't provide shared libraries (.so files).
> So I tried to compile mpich2-1.0.8 from source with the following 
> configure:
> ./configure --prefix=/usr/local/mpich2/ --enable-sharedlibs=gcc 
> --with-device=ch3:dllchan:sock,shm,ssm
> Compilation was ok and I installed it under /usr/local/mpich2 . I see a 
> lot of .so files under /usr/local/mpich2/lib as expected.
> I successfully compiled PCSIM with this library.
> 
> But when I import the pcsim python package I get the following errors:
>  >>> import pypcsim
> Fatal error in MPI_Init: Other MPI error, error stack:
> MPIR_Init_thread(294): Initialization failed
> MPID_Init(75)........:
> MPICH_CH3_PreLoad(63):
> MPIU_DLL_Open(42)....:  Unable to load the dynamically loadable library 
> libmpich2-ch3-sock.so for reason 
> /usr/local/mpich2/lib/libmpich2-ch3-sock.so: undefinedsymbol: 
> MPIDI_Process[unset]: aborting job:
> Fatal error in MPI_Init: Other MPI error, error stack:
> MPIR_Init_thread(294): Initialization failed
> MPID_Init(75)........:
> MPICH_CH3_PreLoad(63):
> MPIU_DLL_Open(42)....:  Unable to load the dynamically loadable library 
> libmpich2-ch3-sock.so for reason 
> /usr/local/mpich2/lib/libmpich2-ch3-sock.so: undefinedsymbol: MPIDI_Process
> 
> This looks like something is missing in MPICH libraries (something like 
> a compilation option)... I haven't found anything relevant on the web.
> 
> Does anyone have an idea? Any help would be appreciated.
> 
> Thanks in advance,
> Mathieu
> 
> P.S.: I have set the LD_LIBRARY_PATH variable
> $ export LD_LIBRARY_PATH=/usr/local/mpich2/lib/

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


More information about the mpich-discuss mailing list