help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: A BLAS library was detected but found incompatible with your Fort


From: crume
Subject: error: A BLAS library was detected but found incompatible with your Fortran 77
Date: Thu, 9 Mar 2017 01:41:19 -0800 (PST)

i have this error configure: error: A BLAS library was detected but found
incompatible with your Fortran 77 compiler settings.

i don' understand what i have to customize for install octave 4.2.0 on rh7

module load gcc/4.9.3
module load lapack/3.6.1
module load atlas/3.10
module load fftw/3.3.4
module load jdk/1.8.0_112
mkdir -p $WORKDIR/$nomlogi-$version/some/path
cd $WORKDIR/$nomlogi-$version/some/path
ln -s /work/logiciels/rh7/lapack/3.6.1/lib/libblas.so libblas.so
ln -s /work/logiciels/rh7/lapack/3.6.1/lib/liblapack.so liblapack.so
ln -s /work/logiciels/rh7/gcc/6.3.0/lib64/libstdc++.so.6 libstdc++.so.6
export
LD_LIBRARY_PATH=/work/logiciels/rh7/gcc/6.3.0/lib64/:${LD_LIBRARY_PATH}
export LIBRARY_PATH=/work/logiciels/rh7/gcc/6.3.0/lib64
export PATH=/work/logiciels/rh7/gcc/6.3.0/bin:${PATH}
export LD_RUN_PATH=/work/logiciels/rh7/gcc/6.3.0/lib64
cd $WORKDIR/$nomlogi-$version
export FFLAGS='-ff2c'
./configure  --enable-shared --prefix=$INSTALL_SUB_DIR  --disable-docs
--with-blas=/work/logiciels/rh7/lapack/3.6.1/lib/libblas.so
--with-lapack=/work/logiciels/rh7/lapack/3.6.1/lib/liblapack.so
make
make install



checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '8295' is supported by ustar format... yes
checking whether GID '5015' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
defining octlibdir to be ${libdir}/octave/${version}
defining archlibdir to be
${libexecdir}/octave/${version}/exec/${canonical_host_type}
defining localarchlibdir to be
${libexecdir}/octave/site/exec/${canonical_host_type}
defining localapiarchlibdir to be
${libexecdir}/octave/${api_version}/site/exec/${canonical_host_type}
defining localverarchlibdir to be
${libexecdir}/octave/${version}/site/exec/${canonical_host_type}
defining octfiledir to be
${libdir}/octave/${version}/oct/${canonical_host_type}
defining localoctfiledir to be
${libdir}/octave/site/oct/${canonical_host_type}
defining localapioctfiledir to be
${libdir}/octave/site/oct/${api_version}/${canonical_host_type}
defining localveroctfiledir to be
${libdir}/octave/${version}/site/oct/${canonical_host_type}
defining octincludedir to be ${includedir}/octave-${version}/octave
defining fcnfiledir to be ${datadir}/octave/${version}/m
defining localfcnfiledir to be ${datadir}/octave/site/m
defining localapifcnfiledir to be ${datadir}/octave/site/${api_version}/m
defining localverfcnfiledir to be ${datadir}/octave/${version}/site/m
defining octetcdir to be ${datadir}/octave/${version}/etc
defining octlocaledir to be ${datadir}/octave/${version}/locale
defining doc_cache_file to be ${octetcdir}/doc-cache
defining octtestsdir to be ${octetcdir}/tests
defining texi_macros_file to be ${octetcdir}/macros.texi
defining imagedir to be ${datadir}/octave/${version}/imagelib
defining octdatadir to be ${datadir}/octave/${version}/data
defining startupfiledir to be ${fcnfiledir}/startup
defining localstartupfiledir to be ${localfcnfiledir}/startup
defining man1dir to be ${mandir}/man1
defining man1ext to be .1
defining infofile to be ${infodir}/octave.info
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for gfind... no
checking for find... find
checking for a usable sed... /usr/bin/sed
checking for perl... perl
checking for gperf... no
configure: WARNING:

I didn't find gperf, but it's only a problem if you need to
reconstruct oct-gperf.h

checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
defining LFLAGS to be -I
checking for bison... bison -y
checking syntax of bison api.prefix (or name-prefix) declaration... api
quote
checking syntax of bison push/pull declaration... dash
checking for makeinfo... no
configure: WARNING:

I didn't find makeinfo, which is required for reading documentation.
You may install a copy later for Octave to use.

checking for texi2dvi... no
configure: WARNING:

I didn't find texi2dvi, but it's only a problem if you need to
reconstruct the DVI version of the manual

checking for texi2pdf... no
checking whether ln -s works... yes
checking for desktop-file-install... desktop-file-install
checking for gs... gs
checking for gnuplot... gnuplot
checking for less... less
checking for python... python
checking for icotool... no
configure: WARNING:

I didn't find icotool, but it's only a problem if you need to
reconstruct octave-logo.ico, which is the case if you're building from
VCS sources.

checking for rsvg-convert... no
configure: WARNING:

I didn't find rsvg-convert, but it's only a problem if you need to
reconstruct octave-logo-*.png, which is the case if you're building
from VCS sources.

configure: WARNING: building documentation disabled; make dist will fail
configure: defining __NO_MATH_INLINES avoids buggy GNU libc exp function
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ar... (cached) ar
checking for ranlib... ranlib
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking C compiler version number... 6.3.0
checking C++ compiler version number... 6.3.0
checking whether stl_algo.h is broken... no
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for OpenMP flag of C compiler... -fopenmp
checking for OpenMP flag of C++ compiler... -fopenmp
checking omp.h usability... yes
checking omp.h presence... yes
checking for omp.h... yes
checking for omp_get_num_threads... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to
x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -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/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -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/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: defining FPICFLAG to be -fPIC
configure: defining CPICFLAG to be -fPIC
configure: defining CXXPICFLAG to be -fPIC
configure: defining SH_LD to be g++
configure: defining SH_LDFLAGS to be -shared
configure: defining DL_LD to be g++
configure: defining DL_LDFLAGS to be -shared
configure: defining MKOCTFILE_DL_LDFLAGS to be -shared -Wl,-Bsymbolic
configure: defining NO_OCT_FILE_STRIP to be false
configure: defining TEMPLATE_AR to be ar
configure: defining TEMPLATE_ARFLAGS to be cr
configure: defining CRUFT_DLL_DEFS to be
configure: defining OCTAVE_DLL_DEFS to be
configure: defining OCTINTERP_DLL_DEFS to be
configure: defining OCTGUI_DLL_DEFS to be
configure: defining OCTGRAPHICS_DLL_DEFS to be
configure: defining library_path_var to be LD_LIBRARY_PATH
checking for sin in -lm... yes
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC 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/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether a usable Fortran compiler was found... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran... 
-L/work/logiciels/rh7/gcc/6.3.0/lib64/../lib64
-L/work/logiciels/rh7/gcc/6.3.0/lib/gcc/x86_64-pc-linux-gnu/6.3.0
-L/work/logiciels/rh7/gcc/6.3.0/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64 -L/work/logiciels/rh7/gcc/6.3.0/lib64
-L/work/logiciels/rh7/gcc/6.3.0/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../..
-lgfortran -lm -lquadmath
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore,
extra underscore
configure: defining FFLAGS to be -ff2c
checking whether gfortran has the intrinsic function ISNAN... yes
checking whether gfortran generates correct size integers... yes
checking whether gfortran accepts -ffloat-store... yes
setting F77_FLOAT_STORE_FLAG to -ffloat-store
checking whether g++ accepts -rdynamic... yes
configure: defining CROSS_TOOL_PREFIX to be
configure: defining MKOCTFILE_AR to be ar
configure: defining MKOCTFILE_CC to be gcc
configure: defining MKOCTFILE_CXX to be g++
configure: defining MKOCTFILE_DL_LD to be g++
configure: defining MKOCTFILE_F77 to be gfortran
configure: defining MKOCTFILE_LD_CXX to be g++
configure: defining MKOCTFILE_RANLIB to be ranlib
checking libqhull/libqhull.h usability... no
checking libqhull/libqhull.h presence... no
checking for libqhull/libqhull.h... no
checking qhull/libqhull.h usability... no
checking qhull/libqhull.h presence... no
checking for qhull/libqhull.h... no
checking libqhull.h usability... no
checking libqhull.h presence... no
checking for libqhull.h... no
checking qhull/qhull.h usability... no
checking qhull/qhull.h presence... no
checking for qhull/qhull.h... no
checking qhull.h usability... no
checking qhull.h presence... no
checking for qhull.h... no
configure: WARNING: Qhull library not found.  This will result in loss of
functionality of some geometry functions.
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking whether pcre.h defines the macros we need... yes
checking for pcre-config... yes
checking for pcre_compile... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzclearerr in -lz... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzCompressInit in -lbz2... yes
checking hdf5.h usability... yes
checking hdf5.h presence... yes
checking for hdf5.h... yes
checking for H5Gget_num_objs in -lhdf5... yes
checking whether HDF5 library has enforced version 1.6 API... no
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftw_plan_dft_1d in -lfftw3  ... yes
checking for fftw3.h... (cached) yes
checking for fftwf_plan_dft_1d in -lfftw3f... no
configure: WARNING: FFTW3F library not found.  The slower FFTPACK library
will be used instead.
checking glpk/glpk.h usability... no
checking glpk/glpk.h presence... no
checking for glpk/glpk.h... no
checking glpk.h usability... no
checking glpk.h presence... no
checking for glpk.h... no
configure: WARNING: GLPK library not found.  The glpk function for solving
linear programs will be disabled.
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for curl_easy_escape in -lcurl... yes
checking for CURLOPT_DIRLISTONLY in curl/curl.h... yes
checking sndfile.h usability... no
checking sndfile.h presence... no
checking for sndfile.h... no
configure: WARNING: sndfile library not found.  The audioinfo, audioread,
and audiowrite functions will be disabled.
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
configure: WARNING: PortAudio library not found.  The audioplayer,
audiorecorder, and audiodevinfo functions will be disabled.
configure: WARNING: GraphicsMagick++ library not found.  The imread,
imwrite, and imfinfo functions for reading and writing image files will not
be fully functional.
checking for X... libraries , headers
checking for XrmInitialize in -lX11... yes
checking whether /usr/bin/ld -m elf_x86_64 accepts -framework Carbon... no
checking whether /usr/bin/ld -m elf_x86_64 accepts -framework OpenGL... no
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glext.h... yes
checking for OpenGL/glext.h... no
checking for glEnable in -lGL... yes
checking for FT2... yes
checking for FreeType2 version >= 9.03... yes
checking for FT_Reference_Face... yes
checking for XFT... yes
checking for FONTCONFIG... yes
checking osmesa.h usability... no
checking osmesa.h presence... no
checking for osmesa.h... no
checking GL/osmesa.h usability... no
checking GL/osmesa.h presence... no
checking for GL/osmesa.h... no
configure: WARNING: OSMesa library not found.  Offscreen rendering with
OpenGL will be disabled.
checking gl2ps.h usability... no
checking gl2ps.h presence... no
checking for gl2ps.h... no
configure: WARNING: gl2ps library not found.  Printing of OpenGL graphics
will be disabled.
checking Qt version 5... checking for QT... no
checking Qt version 4... checking for QT... yes
checking for moc-qt4... moc-qt4
checking for uic-qt4... uic-qt4
checking for rcc-qt4... no
checking for lrelease-qt4... lrelease-qt4
checking for qtchooser... no
checking for rcc... rcc
checking for setlocale... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for library containing openpty... -lutil
checking for chmod... yes
checking for chown... yes
checking for ftruncate... yes
checking for mmap... yes
checking for munmap... yes
checking whether Qt has the QAbstractItemModel::beginResetModel function...
yes
checking whether Qt provides QFont::Monospace... yes
checking whether Qt provides QFont::ForceIntegerMetrics... yes
checking whether Qt has the QTabWidget::setMovable function... yes
checking whether Qt works with OpenGL and GLU... yes
checking for the QScintilla library for Qt 4... -lqscintilla2
checking whether QScintilla has version 2.6.0 or later... yes
checking Qsci/qscilexeroctave.h usability... yes
checking Qsci/qscilexeroctave.h presence... yes
checking for Qsci/qscilexeroctave.h... yes
checking Qsci/qscilexermatlab.h usability... yes
checking Qsci/qscilexermatlab.h presence... yes
checking for Qsci/qscilexermatlab.h... yes
checking whether Qt has SetPlaceholderText function... yes
checking whether QSci has the QsciScintilla::findFirstInSelection
function... yes
checking for fltk-config... no
configure: WARNING: FLTK config script not found.  Native graphics will be
disabled.
checking for sgemm_ in /home/ad/crumeyrp/recup/BLAS-3.7.0... no
checking if sgemm_ is being linked in already... no
checking for sgemm_ in -lopenblas... no
checking for ATL_xerbla in -latlas... no
checking for sgemm_ in -lblas... no
checking for sgemm_ in -lmkl_intel_lp64... no
checking for sgemm_ in -lmkl... no
checking for sgemm_ in -framework vecLib... no
checking for sgemm_ in -lcxml... no
checking for sgemm_ in -ldxml... no
checking for sgemm_ in -lscs... no
checking for sgemm_ in -lcomplib.sgimath... no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in /home/ad/crumeyrp/recup/BLAS-3.7.0... no
checking if sgemm_ is being linked in already... no
checking for sgemm_ in -lopenblas... (cached) no
checking for ATL_xerbla in -latlas... (cached) no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lmkl_intel_lp64... (cached) no
checking for sgemm_ in -lmkl... (cached) no
checking for sgemm_ in -framework vecLib... no
checking for sgemm_ in -lcxml... (cached) no
checking for sgemm_ in -ldxml... (cached) no
checking for sgemm_ in -lscs... (cached) no
checking for sgemm_ in -lcomplib.sgimath... (cached) no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lblas... (cached) no
configure: error: A BLAS library was detected but found incompatible with
your Fortran 77 compiler settings.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/error-A-BLAS-library-was-detected-but-found-incompatible-with-your-Fortran-77-tp4682249.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]