Skip to content

Make Problem #277

@qthinhlet

Description

@qthinhlet

Hi, I'm currently trying to install the apbs-3.4.1 as the requirement for running g_mmpbsa. As far as I tried to install it, the "make" command resulted as:

$ make
[ 3%] Built target maloc
[ 32%] Built target superlu
[ 57%] Built target vf2c
[ 63%] Built target cgcode
[ 76%] Built target arpack
[ 77%] Built target punc
[ 80%] Built target gamer
[ 87%] Built target mc
[ 87%] Built target iapbs
[ 90%] Built target apbs_generic
[ 91%] Built target apbs_fem
[ 94%] Built target apbs_pmgc
[ 95%] Built target apbs_mg
[ 95%] Built target apbs_routines
[ 95%] Linking C executable apbs
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libcholmod.a(cholmod_metis.o): in function cholmod_metis_bisector': (.text+0x229): undefined reference to METIS_ComputeVertexSeparator'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libcholmod.a(cholmod_metis.o): in function cholmod_metis': (.text+0x72b): undefined reference to METIS_NodeND'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/apbs.dir/build.make:147: src/apbs] Error 1
make[1]: *** [CMakeFiles/Makefile2:1914: src/CMakeFiles/apbs.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Previous commands have been done is:
cd apbs
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/apbs -DENABLE_BEM=off -DENABLE_iAPBS=on

I'm installing it on the Ubuntu LTS 20.04 with Python 3.6.10 package.
Thanks for your advices.

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