Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiling Boost.MPI and mpich2 under Suse Linux
From: Michael1984 (m.auli_at_[hidden])
Date: 2010-05-31 06:13:57


Thanks a lot for your help!

Michael

Michael1984 wrote:
>
> Hi Noel,
>
> I figured out my mistake: There was obviously a mismatch in the way
> the MPICH2 libraries were compiled and what boost.mpi expected.
>
> I played around with the configure settings of both and aligned them
> so that mpich2 was compiled with -fPIC as well as with dynamic libraries.
>
> mpich2$./configure --without-mpe --disable-f77 --disable-f90
> \
> --disable-f90modules --disable-cxx --disable-mpedbg
> --disable-devdebug \
> --disable-debug --enable-fast --enable-sharedlibs=gcc
> --with-device=ch3:nemesis
>
> accomplished it for some reason...
>
> best wishes,
>
> Michael
>
>
>
> Hi
>
> Belcourt, Kenneth wrote:
>>
>> I'd step back from Boost.MPI for now. Write the canonical 10 line MPI
>> program to print out the parallel size and rank and make sure this
>> program runs without Boost, just MPI by itself. Look carefully at
>> what libraries are linked and which mpirun is used to exec the binary.
>>
>> -- Noel
>>
>> Here's what I mean.
>>
>> #include <iostream>
>> #include "mpi.h"
>>
>> int main (int argc, char *argv[])
>> {
>> MPI_Init(&argc, &argv);
>> int rank = 0;
>> MPI_Comm_rank(MPI_COMM_WORLD, &rank);
>> std::cout << "hello from processor " << rank << std::endl;
>> MPI_Finalize();
>> return 0;
>> }
>>
>>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>>
>>
>
>

-- 
View this message in context: http://old.nabble.com/Compiling-Boost.MPI-and-mpich2-under-Suse-Linux-tp28696953p28729397.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk