On Fri, 20 Jul 2018 at 16:54, Patrick Begou <Patrick.Begou@xxxxxxxxxxxxxxxxxxxx> wrote: > > I need an advice, > > I've compiled gcc-7.3.0 on my server and started to compile several required > libs for my applications (OpenMPI, phdf5, petsc, slepc, hypre...) > > Running petsc test I get a message as the blas/lapack of the OS (CentOS) is > binded with an older libgfortran (the one of the OS): > > /usr/bin/ld: warning: libgfortran.so.3, needed by /lib/../lib64/liblapack.so, > may conflict with libgfortran.so.4 > > Is it critical (in short should I compile also lapack and blas with gcc7.3) or > is compatibility maintained between these 2 libs ? They're not compatible, that's why they have different SONAMEs. You'll need to also recompile lapack with the new GCC.