Hi,

I installed fftw-2.1.5 on macbook 10.6.8 by doing:

          fink install fftw-2.1.5

Then, In my makefile (for a cosmology code named Gadget), I have set the
following paths:

CC       =  mpicc
OPTIMIZE = -O3 -Wall
GSL_INCL = -I/sw/include
GSL_LIBS = -L/sw/lib
FFTW_INCL= -I/sw/include
FFTW_LIBS= -L/sw/lib
MPICHLIB =
HDF5INCL = -I/sw/include
HDF5LIB  = -L/sw/lib -lhdf5 -lz

While building my code, I get the following error:

ld: warning: in /usr/local/lib/libsrfftw_mpi.a, file was built for
unsupported file format which is not the architecture being linked (i386)
ld: warning: in /usr/local/lib/libsfftw_mpi.a, file was built for
unsupported file format which is not the architecture being linked (i386)


Question: Why is it looking into /usr/local/lib  instead of  /sw/lib   ?

How may I solve the problem?

Thanks
Shankar
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to