[mpich-discuss] mpich2 under Ubuntu?
Mathieu Dubois
mathieu.dubois at limsi.fr
Fri Apr 17 13:39:11 CDT 2009
Hi Pavan,
I just wanted to tell you that I have successfully compiled and
performed (basic) tests on mpich2 with you command line.
I have also compiled PCSIM and it seems to work correctly now.
Thank you very much.
Mathieu
Mathieu Dubois wrote:
> Hi Pavan,
>
> I don't remember why I used this ./configure options. I remember that
> I had problems with simpler command lines.
>
> I will retry with your suggestion in mind (but it will take a few
> hours...).
>
> Thank you very much for your fast reply.
> Mathieu
>
> Pavan Balaji wrote:
>>
>> 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/
>>
>
More information about the mpich-discuss
mailing list