Skip to content

compile issues with undefined references to mkl commands (that appear in the relevant folders) #147

@dgrin1

Description

@dgrin1

I'm trying to install ctf on a linux box, first loading my openmpi module, then running this config command
./configure CXX=mpicxx --build-scalapack --build-hptt --with-hptt --with-scalapack --with-lapack 'LD_LIB_PATH=-L/opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/lib/intel64 -Wl,--no-as-needed' 'LD_LIBS=-lmkl_scalapack_lp64 -lmkl_gf_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -lmkl_def -liomp5 -lpthread -lm -ldl' --install-dir=~/lib/

Then removing all -ipo commands (they were causing compiling issues), then running make, and then make install. This all works, fine, but when I try to run make test or make test_python, the compiler crashes and gives errors liek these:
erbla_':
pxerbla.f:(.text+0x66): undefined reference to for_write_seq_fmt' pxerbla.f:(.text+0x7f): undefined reference to for_write_seq_fmt_xmit'
pxerbla.f:(.text+0x9a): undefined reference to for_write_seq_fmt_xmit' pxerbla.f:(.text+0xb3): undefined reference to for_write_seq_fmt_xmit'
/home/dgrin/ctf/scalapack/build/lib/libscalapack.a(pjlaenv.f.o): In function pjlaenv_': pjlaenv.f:(.text+0x3e): undefined reference to for_cpystr'

I was able to get much further on my OS laptop, but the svd tests would not work there. Any tips?

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