[petsc-users] problem with installation using quad precision

Santiago Andres Triana repepo at gmail.com
Mon Jul 30 12:10:38 CDT 2018


Dear Karl, Jed:

It was indeed the --with-fortran-kernels=1 option the culprit. Without it
the make check steps succeeds :)

Thanks so much for your prompt help!

Santiago



On Mon, Jul 30, 2018 at 6:58 PM, Karl Rupp <rupp at iue.tuwien.ac.at> wrote:

> Hi Santiago,
>
>
> I am trying to install petsc with the option --with-precision=__float128.
>> The ./configure goes fine, as well as the make all stage. However, the make
>> check step to test the libraries fails with the following error:
>>
>> /usr/bin/ld: home/spin/petsc-3.9.3/arch-linux2-c-opt/lib/libpetsc.so:
>> undefined reference to `dgemv_'
>>
>>
>> this is the configure command I use:
>>
>> ./configure --with-scalar-type=complex --with-precision=__float128
>> --with-debugging=0 --with-fortran-kernels=1 COPTFLAGS='-O3 -march=native
>> -mtune=native' CXXOPTFLAGS='-O3 -march=native -mtune=native' FOPTFLAGS='-O3
>> -march=native -mtune=native' --download-f2cblaslapack
>>
>>
>> Any hints or suggestions are welcome. Thanks so much in advance!
>>
>
> I just verified the following to work on my laptop:
>
> ./configure --with-scalar-type=complex --with-precision=__float128
> --download-f2cblaslapack --download-mpich
>
> As Jed pointed out, --with-fortran-kernels=1 is probably clashing with
> --download-f2cblaslapack. Does the build succeed without
> --with-fortran-kernels=1?
>
> Best regards,
> Karli
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180730/3b535fad/attachment.html>


More information about the petsc-users mailing list