[petsc-users] problem with installation using quad precision

Karl Rupp rupp at iue.tuwien.ac.at
Mon Jul 30 11:58:25 CDT 2018

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 

Best regards,

More information about the petsc-users mailing list