[petsc-users] problem with installation using quad precision
Smith, Barry F.
bsmith at mcs.anl.gov
Mon Jul 30 18:17:39 CDT 2018
the --with-fortran-kernels=1 option the culprit
I have fixed this culprit and the fix will be in master soon
> On Jul 30, 2018, at 12:10 PM, Santiago Andres Triana <repepo at gmail.com> wrote:
>
> 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
>
More information about the petsc-users
mailing list