Dear Phil,

In order to specify a particular blas library, you have to use the  
option --with-blas of the configure shell
(--with-blas=/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
 in your  
case).

Superlu is the default linear solver. There is a version along the  
getfem package. If you use --enable-superlu=no
this will disable the version distributed along with getfem and then  
Superlu will be searched on your system.

Yves.


Phil Cummins <[email protected]> a écrit :

>
> Hi,
>
> I am new to getfem and am trying to configure it on my MacbookPro  
> running Mac OS 10.6.2. My understanding is that the Mac OS Blas  
> library is  
> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib,
>  and so I  have set  
> LDFLAGS:
>
> % export  
> LDFLAGS="-L/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A"
>
> I have also decided not to use superlu for now (I'm just trying  
> getfem), so I have used:
>
> % ./configure --enable-superlu=no
>
> I have included all the output from configure below, but what I am  
> concerned with are the final messages, which say:
>
> *** YOU DONT HAVE BLAS! *** Using a cheap replacement
> Building without SuperLU support (use --enable-superlu=yes to enable it)
> checking for dCreate_CompCol_Matrix in -lsuperlu... no
> configure: error: SuperLU library not found
>
> It would appear that BLAS is not found, despite it being in my  
> linker's path, and that getfem wants to link with superlu, despite  
> the fact that I've told configure I don't want to use it. Can anyone  
> please explain why this would happen and/or offer some suggestions  
> for getting around this?
>
> Many thanks,
>
> - Phil
>
>
> % ./configure --enable-superlu=nochecking for a BSD-compatible  
> install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./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 for g++... g++
> 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 g++ accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of g++... gcc3
> checking for gcc... gcc
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking for gfortran... gfortran
> checking whether we are using the GNU Fortran compiler... yes
> checking whether gfortran accepts -g... yes
> checking how to run the C++ preprocessor... g++ -E
> checking how to get verbose linking output from gfortran... -v
> checking for Fortran libraries of gfortran...   
> -L/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A
>  -L/usr/local/lib/gcc/i386-apple-darwin9.0.0/4.3.0 
> -L/usr/local/lib/gcc/i386-apple-darwin9.0.0/4.3.0/../../.. -lgfortranbegin  
> -lgfortran
> checking whether the compiler recognizes the partial specialization  
> syntax... yes
> checking build system type... i386-apple-darwin10.2.0
> checking host system type... i386-apple-darwin10.2.0
> you are compiling getfem++ on a i386-apple-darwin10.2.0
> Using the GNU g++ compiler 4.2.1
> checking whether g++ accepts -O3... yes
> checking whether g++ accepts -Wall -W... yes
> checking whether g++ accepts -fmessage-length=0... yes
> checking whether g++ accepts -ftemplate-depth-40... yes
> checking whether g++ accepts -pedantic... yes
> checking whether g++ accepts -Wshadow... yes
> checking whether g++ accepts -Wpointer-arith... yes
> checking whether g++ accepts -Wcast-qual... yes
> checking whether g++ accepts -Wwrite-strings... yes
> checking whether g++ accepts -Wconversion... yes
> checking whether g++ accepts -Wredundant-decls... yes
> checking whether g++ accepts -Wno-long-long... yes
> checking whether g++ accepts -rdynamic... yes
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc... /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 BSD- or MS-compatible name lister (nm)... /usr/bin/nm
> checking the name lister (/usr/bin/nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 196608
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to  
> reload object files... -r
> checking for objdump... no
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm output from gcc object... ok
> checking for dsymutil... dsymutil
> checking for nmedit... nmedit
> checking for lipo... lipo
> checking for otool... otool
> checking for otool64... no
> checking for -single_module linker flag... yes
> checking for -exported_symbols_list linker flag... yes
> checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking whether we are using the GNU Fortran compiler... (cached) yes
> checking whether gfortran accepts -g... (cached) yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fno-common -DPIC
> checking if gcc PIC flag -fno-common -DPIC works... yes
> checking if gcc static flag -static works... no
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc 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
> 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 -DPIC
> checking if g++ PIC flag -fno-common -DPIC works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) 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
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for gfortran option to produce PIC... -fno-common
> checking if gfortran PIC flag -fno-common works... yes
> checking if gfortran static flag -static works... no
> checking if gfortran supports -c -o file.o... yes
> checking if gfortran supports -c -o file.o... (cached) yes
> checking whether the gfortran 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 for dummy main to link with Fortran libraries... none
> checking for Fortran name-mangling scheme... unknown
> BLAS_LIBS=
> checking for unknown... no
> checking for ATL_xerbla in -latlas... no
> checking for unknown in -lblas... no
> checking for unknown in -lcxml... no
> checking for unknown in -ldxml... no
> checking for unknown in -lscs... no
> checking for unknown in -lcomplib.sgimath... no
> checking for unknown in -lblas... (cached) no
> checking for unknown in -lblas... (cached) no
> checking for unknown in -lblas... (cached) no
>  *** YOU DONT HAVE BLAS! *** Using a cheap replacement
> Building without SuperLU support (use --enable-superlu=yes to enable it)
> checking for dCreate_CompCol_Matrix in -lsuperlu... no
> configure: error: SuperLU library not found
>
>
>
> _______________________________________________
> Getfem-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/getfem-users
>




_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to