[gmx-users] installation on mac os x snow leopard

Mark Abraham Mark.Abraham at anu.edu.au
Thu Jan 7 12:22:48 CET 2010


Valentina Tozzini wrote:
> dear all
> has anybody tried to install gromax (vs 4.0.7) on mac os x snow leopard (10.6.2)?
> I have the following problem: the configure script does not work. As you can see from the log (below) the configure error is 
> 
> configure: error: Cannot find fftw3f library
> 
> however, I believe the fftw3f libraries are installed on my mac. I have done it with fink, and the command 
>> fink list fftw 
> 
> gives as output
> 
>  i   fftw                     2.1.5-1015         Discrete Fourier Transform Library
>      fftw-mpi                 2.1.5-1015         Discrete Fourier Transform Library
>      fftw-mpi-shlibs          2.1.5-1015         Discrete Fourier Transform Library
>  i   fftw-shlibs              2.1.5-1015         Discrete Fourier Transform Library
>  i   fftw3                    3.2.2-1            Discrete Fourier Transform Lib (Ver 3)
>  i   fftw3-shlibs             3.2.2-1            Discrete Fourier Transform Lib (Ver 3)
> 
> 
> thus it seems that they are installed.
> 
> thus, I conclude that they are there but not in the right place... but I don't know how to find them and how to make the installation work.
> can anybody help me?

I don't know about fink, but you need libraries compiled at 
single-precision and named with an "f" suffix. Often package managers 
only supply the double-precision ones. Look there again, or follow the 
instructions on the GROMACS webpage to compile fftw from source.

Mark

> =====================================================================
> checking build system type... i386-apple-darwin10.2.0
> checking host system type... i386-apple-darwin10.2.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... config/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> checking for cc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of cc... gcc3
> checking dependency style of cc... gcc3
> checking how to run the C preprocessor... cc -E
> checking whether cc accepts -O3... yes
> checking whether cc accepts -funroll-all-loops... yes
> checking whether cc accepts  -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -funroll-all-loops... yes
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether byte ordering is bigendian... no
> checking for int... yes
> checking size of int... 4
> checking for long int... yes
> checking size of long int... 8
> checking for long long int... yes
> checking size of long long int... 8
> checking for off_t... yes
> checking size of off_t... 8
> checking that size_t can hold pointers... yes
> checking floating-point format... IEEE754 (little-endian byte and word order)
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets $(MAKE)... (cached) yes
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for ld used by cc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
> checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
> checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm
> checking how to recognise dependent libraries... pass_all
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking the maximum length of command line arguments... 196608
> checking command to parse /usr/bin/nm output from cc object... ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking if cc supports -fno-rtti -fno-exceptions... no
> checking for cc option to produce PIC... -fno-common
> checking if cc PIC flag -fno-common works... yes
> checking if cc static flag -static works... no
> checking if cc supports -c -o file.o... yes
> checking whether the cc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin10.2.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
> checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
> checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
> checking for g++ option to produce PIC... -fno-common
> checking if g++ PIC flag -fno-common works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin10.2.0 dyld
> checking how to hardcode library paths into programs... immediate
> appending configuration tag "F77" to libtool
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking for sqrt in -lm... yes
> checking for fftw3.h... yes
> checking for main in -lfftw3f... no
> configure: error: Cannot find fftw3f library
> 
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Valentina Tozzini
> NEST-INFM-CNR,     Scuola Normale Superiore
> Piazza San Silvestro, 12   -  56127 Pisa (PI) - Italy
> 
> Phone: +39 050 509 433    Fax: +39 050 509 417
> Email: tozzini at nest.sns.it    Web: www.nest.sns.it/tozzini
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 
> 
> 



More information about the gromacs.org_gmx-users mailing list