Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assistance Needed with LAPACK Build Issue on Peloton #6048

Open
lhy11009 opened this issue Sep 23, 2024 · 1 comment
Open

Assistance Needed with LAPACK Build Issue on Peloton #6048

lhy11009 opened this issue Sep 23, 2024 · 1 comment

Comments

@lhy11009
Copy link
Contributor

I am currently facing an issue while building LAPACK with deal.ii-9.5.2 on Peloton using GCC 11.3.0 and OpenMPI 4.1.5. The versions of ScaLAPACK and LAPACK built are 2.1.0 and 3.10.1, respectively.

The error arises during the final linking step of the Fortran static library. I suspect that the GCC version may have triggered this issue. Could you advise on the appropriate GCC version to use? Alternatively, if there are other potential causes for this error, I would appreciate your insights.

For your reference, I have included the build log of LAPACK below (tmp/build/scalapack-2.1.0/candi_build.log):

    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/zgesvdq.f.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/la_xisnan.F90.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/slartg.f90.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/dlartg.f90.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/zlartg.f90.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/clartg.f90.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/slassq.f90.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/dlassq.f90.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/zlassq.f90.o
    [ 99%] Building Fortran object SRC/CMakeFiles/lapack.dir/classq.f90.o
    [100%] Linking Fortran static library ../lib/liblapack.a
    make[1]: *** [CMakeFiles/Makefile2:1424: BLACS/TESTING/CMakeFiles/xCbtest.dir/all] Error 2
    make[1]: *** [CMakeFiles/Makefile2:1450: BLACS/TESTING/CMakeFiles/xFbtest.dir/all] Error 2
    [100%] Built target lapack
    [ 71%] Performing install step for 'lapack'
    [  7%] Built target blas
    [100%] Built target lapack
    Install the project...
    -- Install configuration: "Release"
    -- Installing: /group/billengrp/Software/deal.ii/deal.ii-9.5.2-LAPACK-Native-32bit-candi-gcc-11.3.0-openmpi4.1.5-mpi-io/tmp/build/scalapack-2.1.0/lib/cmake/lapack-3.10.1/lapack-targets.cmake
    -- Installing: /group/billengrp/Software/deal.ii/deal.ii-9.5.2-LAPACK-Native-32bit-candi-gcc-11.3.0-openmpi4.1.5-mpi-io/tmp/build/scalapack-2.1.0/lib/cmake/lapack-3.10.1/lapack-targets-release.cmake
    -- Installing: /group/billengrp/Software/deal.ii/deal.ii-9.5.2-LAPACK-Native-32bit-candi-gcc-11.3.0-openmpi4.1.5-mpi-io/tmp/build/scalapack-2.1.0/lib/pkgconfig/lapack.pc
    -- Installing: /group/billengrp/Software/deal.ii/deal.ii-9.5.2-LAPACK-Native-32bit-candi-gcc-11.3.0-openmpi4.1.5-mpi-io/tmp/build/scalapack-2.1.0/lib/cmake/lapack-3.10.1/lapack-config.cmake
    -- Installing: /group/billengrp/Software/deal.ii/deal.ii-9.5.2-LAPACK-Native-32bit-candi-gcc-11.3.0-openmpi4.1.5-mpi-io/tmp/build/scalapack-2.1.0/lib/cmake/lapack-3.10.1/lapack-config-version.cmake
    -- Installing: /group/billengrp/Software/deal.ii/deal.ii-9.5.2-LAPACK-Native-32bit-candi-gcc-11.3.0-openmpi4.1.5-mpi-io/tmp/build/scalapack-2.1.0/lib/pkgconfig/blas.pc
    -- Installing: /group/billengrp/Software/deal.ii/deal.ii-9.5.2-LAPACK-Native-32bit-candi-gcc-11.3.0-openmpi4.1.5-mpi-io/tmp/build/scalapack-2.1.0/lib/libblas.a
    -- Installing: /group/billengrp/Software/deal.ii/deal.ii-9.5.2-LAPACK-Native-32bit-candi-gcc-11.3.0-openmpi4.1.5-mpi-io/tmp/build/scalapack-2.1.0/lib/liblapack.a
    [ 71%] Completed 'lapack'
    [ 71%] Built target lapack
    make: *** [Makefile:166: all] Error 2
@lhy11009
Copy link
Contributor Author

@mibillen Forwarded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant