[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: A BLAS library was detected but found incompatible with your
From: |
crume |
Subject: |
Re: error: A BLAS library was detected but found incompatible with your Fortran 77 |
Date: |
Fri, 10 Mar 2017 00:43:18 -0800 (PST) |
hi
i have try
with and without export FFLAGS='-ff2c'
it's the same behaviour
best regards
"tmacchant [via Octave]" <address@hidden> a écrit :
>> "tmacchant [via Octave]"
>
>> <address@hidden> a écrit :
>>
>>> ----- Original Message -----
>>>
>>>> From: crume > To: address@hidden
>>>> Cc:
>>>> Date: 2017/3/9, Thu 18:41
>>>> Subject: error: A BLAS library was detected but found incompatible
>>>> with your Fortran 77
>>>>
>>>> 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
>>>>
>>>
>>> [snip]
>>>
>>>
>>>> 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
>>>
>>>
>>> [snip]
>>>
>>>> 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.
>>>>
>>>
>>>
>>>> i have this error configure: error: A BLAS library was detected but
>> found
>>>> incompatible with your Fortran 77 compiler settings.
>>>
>>>
>>> I thinks that error message above absolutely points your problem.
>>>
>>> Seeing configure output, you use gfortran in GCC-6.3.0 as GNU
>>> Fortran 77 compiler
>>> but it seems that your gfortran is not contemptible with the blas
>>> library that you prepared.
>>>
>>> Perhaps the blas-library is prepared with compiler that is not
>>> compatible gfortran on gcc-6.3.0.
>>>
>>>
>>>
>>> The below might be helpful for you.
>>>
>>>
>> http://stackoverflow.com/questions/23440227/octave-install-error-a-blas-library-was-detected-but-found-incompatible-with-yo
>>>
>
>
>
> ----- Original Message -----
>> From: crume
>> To: help-octaverg
>> Cc:
>> Date: 2017/3/10, Fri 15:52
>> Subject: Re: error: A BLAS library was detected but found
>> incompatible with your Fortran 77
>>
>> ok of course
>> but i have not found a matrix compatibility blas-library and
>> compatible gfortran
>> best regards
>
>
> If possible, can you upload config.log (Of course, It is better to
> be compressed) to Nabble.
> config.log give us more information.
>
> Another question,
> Why do you add
> export FFLAGS='-ff2c' ?
>
>
> I have some experience build octave from source on ubuntu.
> FFLAGS='-ff2c' has been never used using gfortran for my case.
>
> Tatsuro
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave
>
>
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the
> discussion below:
> http://octave.1599824.n4.nabble.com/error-A-BLAS-library-was-detected-but-found-incompatible-with-your-Fortran-77-tp4682249p4682275.html
>
> To unsubscribe from error: A BLAS library was detected but found
> incompatible with your Fortran 77, visit
> http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4682249&code=cGllcnJlLmNydW1leXJvbGxlQGMtcy5mcnw0NjgyMjQ5fC0xNDUxMTYxMDUz
--
View this message in context:
http://octave.1599824.n4.nabble.com/error-A-BLAS-library-was-detected-but-found-incompatible-with-your-Fortran-77-tp4682249p4682276.html
Sent from the Octave - General mailing list archive at Nabble.com.