Installation on buckethead

36 views
Skip to first unread message
Assigned to andrew....@gmail.com by me

Lukasz Kaczmraczyk

unread,
Oct 25, 2021, 2:02:16 PM10/25/21
to MoFEM Q&A
Hello, 

Have you get error with gfortran of buckethead? Or is only me?

==> Installing netlib-scalapack-2.1.0-mvtsabocone2ppyci7sebdktbcfwgtx3

==> No binary for netlib-scalapack-2.1.0-mvtsabocone2ppyci7sebdktbcfwgtx3 found: installing from source

==> Fetching file:///home/staff/lk58p/mofem_install/mofem_mirror/_source-cache/archive/61/61d9216cf81d246944720cfce96255878a3f85dec13b9351f1fa0fd6768220a6.tgz

######################################################################## 100.0%

==> netlib-scalapack: Executing phase: 'cmake'

==> Error: ProcessError: Command exited with status 1:

    'cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/home/staff/lk58p/mofem_install/spack/opt/spack/linux-centos7-sandybridge/gcc-9.3.0/netlib-scalapack-2.1.0-mvtsabocone2ppyci7sebdktbcfwgtx3' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF' '-DCMAKE_INSTALL_RPATH:STRING=/home/staff/lk58p/mofem_install/spack/opt/spack/linux-centos7-sandybridge/gcc-9.3.0/netlib-scalapack-2.1.0-mvtsabocone2ppyci7sebdktbcfwgtx3/lib;/home/staff/lk58p/mofem_install/spack/opt/spack/linux-centos7-sandybridge/gcc-9.3.0/netlib-scalapack-2.1.0-mvtsabocone2ppyci7sebdktbcfwgtx3/lib64;/home/staff/lk58p/mofem_install/spack/opt/spack/linux-centos7-sandybridge/gcc-9.3.0/openblas-0.3.12-uneqj3vkoendtqclj5ltrmwbfcrt7igq/lib;/software/mpi/openmpi/3.1.6/gcc-9.3.0/lib' '-DCMAKE_PREFIX_PATH:STRING=/software/mpi/openmpi/3.1.6/gcc-9.3.0;/home/staff/lk58p/mofem_install/spack/opt/spack/linux-centos7-sandybridge/gcc-9.3.0/openblas-0.3.12-uneqj3vkoendtqclj5ltrmwbfcrt7igq' '-DBUILD_SHARED_LIBS:BOOL=ON' '-DBUILD_STATIC_LIBS:BOOL=OFF' '-DLAPACK_FOUND=true' '-DLAPACK_INCLUDE_DIRS=/home/staff/lk58p/mofem_install/spack/opt/spack/linux-centos7-sandybridge/gcc-9.3.0/openblas-0.3.12-uneqj3vkoendtqclj5ltrmwbfcrt7igq/include' '-DLAPACK_LIBRARIES=/home/staff/lk58p/mofem_install/spack/opt/spack/linux-centos7-sandybridge/gcc-9.3.0/openblas-0.3.12-uneqj3vkoendtqclj5ltrmwbfcrt7igq/lib/libopenblas.so' '-DBLAS_LIBRARIES=/home/staff/lk58p/mofem_install/spack/opt/spack/linux-centos7-sandybridge/gcc-9.3.0/openblas-0.3.12-uneqj3vkoendtqclj5ltrmwbfcrt7igq/lib/libopenblas.so' '-DCMAKE_C_FLAGS:STRING=' '/tmp/lk58p/spack-stage/spack-stage-netlib-scalapack-2.1.0-mvtsabocone2ppyci7sebdktbcfwgtx3/spack-src'


1 error found in build log:

     9     -- Check for working Fortran compiler: /home/staff/lk58p/mofem_install/spack/lib/spack/env/gcc/gfortran

     10    -- Check for working Fortran compiler: /home/staff/lk58p/mofem_install/spack/lib/spack/env/gcc/gfortran  -- works

     11    -- Detecting Fortran compiler ABI info

     12    -- Detecting Fortran compiler ABI info - done

     13    -- Checking whether /home/staff/lk58p/mofem_install/spack/lib/spack/env/gcc/gfortran supports Fortran 90

     14    -- Checking whether /home/staff/lk58p/mofem_install/spack/lib/spack/env/gcc/gfortran supports Fortran 90 -- yes

  >> 15    CMake Error at CMakeLists.txt:17 (if):

     16      if given arguments:

     17    

     18        "GNU" "STREQUAL" "GNU" "AND" "CMAKE_Fortran_COMPILER_VERSION" "VERSION_GREATER_EQUAL" "10"

     19    

     20      Unknown arguments specified

     21    


See build log for details:

  /tmp/lk58p/spack-stage/spack-stage-netlib-scalapack-2.1.0-mvtsabocone2ppyci7sebdktbcfwgtx3/spack-build-out.txt

L.


Andrei G. Shvarts

unread,
Oct 25, 2021, 2:10:16 PM10/25/21
to MoFEM Q&A
Hi Lukasz,
No I don't remember seeing this. Have you followed the updated installation instructions? http://mofem.eng.gla.ac.uk/mofem/html/install_spack.html#spack_buckethead 
Andrei

Lukasz Kaczmraczyk

unread,
Oct 25, 2021, 2:11:41 PM10/25/21
to MoFEM Q&A
Thx.

Something has to change on server then. Or is something specific. 

L.

Lukasz Kaczmraczyk

unread,
Oct 25, 2021, 2:43:41 PM10/25/21
to MoFEM Q&A
Andrei,

We have solution!

On cluster is old cmake _AT_ 2.8.12 , and netlib-scalapack use features form newer version. The solution is to install newer camke,

spack install cmake _AT_ 3.18.4

spack load cmake _AT_ 3.18.4

We have to add this to documentation.

L.

Andrei G. Shvarts

unread,
Oct 25, 2021, 3:08:36 PM10/25/21
to MoFEM Q&A
Lukasz,

Actually, I have cmake 3.18.4 installed with Spack on Buckethead. Probably I did spack load cmake during installation. 
I'll add it to the instructions.

Andrei
Reply all
Reply to author
Forward
0 new messages