On Tue, May 18, 2010 at 5:38 PM, d.i Gazeta.pl <[email protected]> wrote:
>
>
> On 18 May 2010 14:50, marco restelli <[email protected]> wrote:
>>
>> On Tue, May 18, 2010 at 2:13 PM, Marcin <[email protected]> wrote:
>> > " /usr/bin/c++ -march=athlon64 -O2 -pipe -msse3 -fPIC -Wl,-O1 -ldl
>> > -lmpi
>> > CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o
>> > cmTryCompileExec
>> > -rdynamic
>> >
>> >
>> >
>> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:
>> > cannot find -lmpi
>> > "
>> >
>> > USE="mpi" may help?
>> >
>>
>> Hi Marcin,
>> well, possibly, but I have mpich2 and I get a conflict.
>>
>> [ebuild N ] sys-cluster/openmpi-1.2.9 USE="cxx fortran ipv6
>> -debug -heterogeneous -mpi-threads -pbs -romio -threads" 3,479 kB [0]
>> [ebuild N ] sci-libs/gmsh-2.4.2 USE="X jpeg mpi png zlib -blas
>> -cgns -chaco -doc -examples -med -metis -opencascade" 0 kB [1]
>> [blocks B ] sys-cluster/openmpi ("sys-cluster/openmpi" is blocking
>> sys-cluster/mpich2-1.0.8)
>> [blocks B ] sys-cluster/mpich2 ("sys-cluster/mpich2" is blocking
>> sys-cluster/openmpi-1.2.9)
>>
>
> Boost deps upon || ( >=sys-cluster/openmpi-1.2.9[cxx]
> sys-cluster/mpich2[cxx,threads] ) so if you have cxx or threads disabled it
> will favour openmpi raising block with the other package.
>
Łukasz, I'm lost here. From gmsh-2.4.2.ebuild I see
mpi? ( sys-cluster/openmpi[cxx] )"
so, if I enable mpi as a workaround to the compile problem I need
openmpi. Now, from openmpi-1.2.9.ebuild and openmpi-1.4.1.ebuild I see
!sys-cluster/mpich2"
so, since I have mpich2 installed, I think I can't get openmpi. I
don't see what Boost has to do with this. Or do you mean that I should
switch from mpich2 to openmpi, and do this for all packages depending
on mpi, including boost?
Marco