-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/29/10 8:11 AM, Alan wrote:
> Hi there,
> 
> Trying to compile a programme here and I found out that:
> 
> /sw/bin/mpicc is linking to /usr/bin/gcc and not /sw/bin/gcc-4
> 
> see:
> 
> /sw/bin/mpicc -v
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5659~1/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 --program-prefix=i686-apple-darwin10-
> --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
> --with-gxx-include-dir=/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5659)
> 
> 
> /sw/bin/mpif77 -v Using built-in specs. Target: x86_64-apple-darwin10
> Configured with: ../gcc-4.4.2/configure --prefix=/sw
> --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/share/info
> --enable-languages=c,c++,fortran,objc,java --with-gmp=/sw
> --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw
> --with-system-zlib --x-includes=/usr/X11R6/include
> --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
> --build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10
> --target=x86_64-apple-darwin10 Thread model: posix gcc version 4.4.2 (GCC)
> 
> 
> So my program failed to link 'mpicc ... -lgfortran ...'. Is it a correct
> behaviour? I don't think so.

It could be that, or something else.  Without seeing more than "failed
to link" we've no real way of knowing.

> 
> How to solve this issue?
> 
> I am using Fink 64 cvs on SL 10.6.3.
> 

"fink -V | head -n2" is a provides more explicit information, e.g. when
there's a problem with the fink package manager and need to know that
version.

> Thanks,
> 
> Alan
> 
> -- 
> Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
> Department of Biochemistry, University of Cambridge.
> 80 Tennis Court Road, Cambridge CB2 1GA, UK.
>>>http://www.bio.cam.ac.uk/~awd28<<
> 
> 

Since /sw/bin/mpicc and /sw/bin/mpif77 aren't on _my_ system, I'm not
sure what package provides them to see if I can reproduce your issue.
How about giving us the output from

dpkg -S /sw/bin/mpicc /sw/bin/mpif77

?

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvZhuEACgkQB8UpO3rKjQ+frwCfdi16Hhchi8Abqmr7RcFODci7
faQAoIvMSpZnpeBpbzxnL/EktgEI73aG
=9R69
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to