Viv Kendon wrote:
[]
>   mpic++ -v
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure 
> --disable-checking --enable-werror --prefix=/usr 
> --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ 
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ 
> --with-slibdir=/usr/lib --build=i686-apple-darwin10 
> --with-gxx-include-dir=/include/c++/4.2.1 
> --program-prefix=i686-apple-darwin10- 
> --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
> 
>   type mpic++
> mpic++ is hashed (/sw/bin/mpic++)
> 
>   which mpic++
> /sw/bin/mpic++
> 
> *but*
> 
>   whereis mpic++
> /usr/bin/mpic++
> 
>   fink list -ti mpi
>   i      mpi4py-py26     1.0.0-1 MPI for Python
>   i      openmpi 1.3.3-1004      MPI implementation for 
> parallel computing
>   i      openmpi-dev     1.3.3-1004      Development files 
> for openmpi package
>   i      openmpi-shlibs  1.3.3-1004      Shared libraries for 
> openmpi package

I get exactly the same. I cannot say I understand how openmpi works, 
with all those symlinks and wrappers that make that mpif90 uses Fink's 
gfortran from gcc4.4, but mpic++ uses Apple's c++4.2. But in any case, I 
am still not able to reproduce the error, nor to guess what could be its 
cause, sorry.

What happens if you run the offending command

/sw/bin/mpic++ -DHAVE_CONFIG_H -I. -I.. -I../src 
-I/sw/lib/hdf5-18/include/ -I/sw/include -I/sw/include -Dmacosx 
-I/sw/include -D_THREAD_SAFE -O3 -fstrict-aliasing -mpentiumpro -c 
stress.cpp -o stress.o

from the command line inside the build directory

/sw/src/fink.build/meep-mpi-1.1.1-1/meep-1.1.1/src

?

-- 
Martin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to