Skip to content

undefined reference to `arpack_sparse_coo_eigs_' #169

@pzhuromskyy

Description

@pzhuromskyy

I have been trying to build Wanniertools to be compatible with GCC and OpenMPI. However, while making the files, I eventually get the following error message (I suspect only the last few lines matter, but I thought I'd put the entire deviating log entry in):

mpif90 -cpp -DMPI -ffree-line-length-512 -g module.o sparse.o wt_aux.o math_lib.o symmetry.o readHmnR.o inverse.o proteus.o eigen.o ham_qlayer2qlayer.o psi.o unfolding.o rand.o ham_slab.o ham_bulk.o ek_slab.o ek_bulk_polar.o ek_bulk.o readinput.o fermisurface.o surfgreen.o surfstat.o mat_mul.o ham_ribbon.o ek_ribbon.o fermiarc.o berrycurvature.o wanniercenter.o dos.o orbital_momenta.o landau_level_sparse.o landau_level.o lanczos_sparse.o berry.o wanniercenter_adaptive.o effective_mass.o findnodes.o sigma_OHE.o sigma.o Boltz_transport_anomalous.o main.o -o wt.x /home/su532705/arpack-ng-install/lib64/libarpack.so -llapack -lblas /cvmfs/software.hpc.rwth.de/Linux/RH8/x86_64/intel/sapphirerapids/software/binutils/2.38-GCCcore-11.3.0/bin/ld: wanniercenter_adaptive.o: in function wcc_integrate_func_':
/hpcwork/p0022819/PZ/wannier_tools/src/wanniercenter_adaptive.f90:849: undefined reference to arpack_sparse_coo_eigs_' collect2: error: ld returned 1 exit status make: *** [Makefile:36: main] Error 1

Wanniertools seems to be looking for a file named `arpack_sparse_coo_eigs_'. I have tried verifying my ARPACK NG installation multiple times already, and have come to the realization that the corresponding library/file does not seem to be present in the official ARPACK NG git repository. How do I avoid this issue, or where can I find the right ARPACK NG fork that does contain the necessary files?

Thank you for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions