Skip to content

Frontera Installation #6422

@lhy11009

Description

@lhy11009

I have followed the ASPECT wiki and install on Frontera. It seems the method of installing Deal.II is not working or I am making some mistakes. Here is the description of the issue. In general, it's related to the bfd linker.

2025-06-13 – Compile deal.II 9.6.0 with Intel 19.1.1 and Intel MPI 19.0.9 on Frontera

Command(s) used

sbatch job_frontera-normal-intel-19.1.1-impi-19.0.9.sh

File(s) Edited

job_frontera-normal-intel-19.1.1-impi-19.0.9.sh:
    Summary:
    This Slurm batch script submits a build job on Frontera using Intel 19.1.1 and Intel MPI 19.0.9.
    It sets up the environment with required modules, creates a local.cfg with MKL and deal.II options,
    and runs the Candi installer to build deal.II 9.6 with Trilinos, SUNDIALS, HDF5, and P4EST.

    Full contents:
        #!/bin/bash -l
        #SBATCH -N 1
        #SBATCH -n 56
        #SBATCH --threads-per-core=1
        #SBATCH --tasks-per-node=56
        #SBATCH -o task-%j.stdout
        #SBATCH -e task-%j.stderr
        #SBATCH -t 12:00:00
        #SBATCH --partition=small
        #SBATCH --switches=1
        #SBATCH [email protected]
        #SBATCH -A EAR23027
        #SBATCH --job-name=build_dealii

        module reset
        module load cmake intel/19.1.1 impi/19.0.9

        >&2 echo "list of modules:"
        >&2 module list

        echo "MKL=ON" > local.cfg
        echo "MKL_DIR=$MKLROOT/lib/intel64" >> local.cfg
        echo "NATIVE_OPTIMIZATIONS=ON" >> local.cfg
        echo "DEAL_II_VERSION=master" >> local.cfg
        echo "BUILD_EXAMPLES=OFF" >> local.cfg
        echo "DEAL_II_CONFOPTS=\"-D DEAL_II_WITH_64BIT_INDICES=ON -D DEAL_II_COMPONENT_EXAMPLES=OFF -DDEAL_II_WITH_COMPLEX_VALUES=OFF -DDEAL_II_WITH_LAPACK=ON -D LAPACK_LIBRARIES='/opt/intel/compilers_and_libraries_2020.1.217/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so;/opt/intel/compilers_and_libraries_2020.1.217/linux/mkl/lib/intel64_lin/libmkl_intel_thread.so;/opt/intel/compilers_and_libraries_2020.1.217/linux/mkl/lib/intel64_lin/libmkl_core.so;/opt/intel/compilers_and_libraries_2020.1.217/linux/compiler/lib/intel64_lin/libiomp5.so;-lm;-ldl' -D DEAL_II_LINKER_FLAGS='-fuse-ld=bfd'\"" >> local.cfg

        yes '' | ./candi.sh -j 56 --packages="once:p4est once:hdf5 once:sundials once:trilinos dealii" -p /work2/06806/hyli/frontera/Softwares/dealii/dealii-9.6.0-Native-32bit-candi-intel-19.1.1-impi-19.0.9-normal

Error Message(s)

Occurred during compilation of deal.II-master:
    [ 50%] Building CXX object CMakeFiles/CheckCompilerSetupExec.dir/dummy.cpp.o  
    /opt/intel/.../mpi/intel64/bin/mpicxx -qopenmp-simd -march=native -O0 -g -gdwarf-2 -grecord-gcc-switches -MD -MT CMakeFiles/CheckCompilerSetupExec.dir/dummy.cpp.o -MF CMakeFiles/CheckCompilerSetupExec.dir/dummy.cpp.o.d -o CMakeFiles/CheckCompilerSetupExec.dir/dummy.cpp.o -c .../dummy.cpp

    [100%] Linking CXX executable CheckCompilerSetupExec  
    .../cmake -E cmake_link_script CMakeFiles/CheckCompilerSetupExec.dir/link.txt --verbose=1

    Linker error:
    ld.bfd: .../libstratimikosbelos.so.14.4: undefined reference to `Tpetra::MultiVector<float, int, long long, ...>::randomize()`
    ld.bfd: .../libstratimikosbelos.so.14.4: undefined reference to `Tpetra::DistObject<float, int, long long, ...>::packAndPrepare(...)`
    ld.bfd: ... and many other missing symbols involving Tpetra::MultiVector and Amesos2::Lapack with float template instantiations and Kokkos::Serial backend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions