On Tue, 6 Apr 2010, Martin Costabel wrote:

> Viv Kendon wrote:
>> I don't actually need meep right now, I had it installed to
>> test something a while back.  But it just failed to update
>> with the following:
>>
>> /bin/sh ../libtool --silent --tag=CXX   --mode=compile
>> 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 -o stress.lo stress.cpp
>> stress.cpp:25: error: 'dft_force' has not been declared
>> stress.cpp:27: error: ISO C++ forbids declaration of
>> 'dft_force' with no type
> []
>> 64bit fink on 10.6.3, up to date on everything (I think).
>
> I have no explanation for this error. For me (with the same system),
> there is not even a warning at that place. And looking at the sources, I
> cannot understand that error message either. Are you sure your "mpic++"
> is the one from Fink's openmpi-dev package? What does "mpic++ -v" give?

  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

There are also several old (10.5) mpic++ on another volume 
(this machine has two disks, and I installed 10.6 on the 
second one, leaving the 10.5 install instact in case of 
problems), but it really shouldn't manage to pick one of 
them up from /Volumes/System/...

-- Viv
________________________________________________
Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864      Physics and Astronomy
Quantum Information Group    University of Leeds


------------------------------------------------------------------------------
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