missing: Libxc_INCLUDE_DIR Libxc_LIBRARY

165 views
Skip to first unread message

maryam.s...@gmail.com

unread,
Jan 26, 2022, 2:31:16 PM1/26/22
to votca
Hi,

I'm trying to compile the new version of votca on my mac using cmake -B builddir -DBUILD_XTP=ON -DCMAKE_INSTALL_PREFIX=/Users/maryamsadeghi/Downloads DGMX_MPI=OFF DBUILD_SHARED_LIBS=ON votca. I'm getting the following error:

CMake Error at /Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):

  Could NOT find Libxc (missing: Libxc_INCLUDE_DIR Libxc_LIBRARY)

Call Stack (most recent call first):

  /Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)

  xtp/CMakeModules/FindLibxc.cmake:37 (find_package_handle_standard_args)

  CMakeLists.txt:152 (_find_package)

  xtp/CMakeLists.txt:40 (find_package)

Could you please help with this?

-Maryam

Christoph Junghans

unread,
Jan 26, 2022, 3:31:19 PM1/26/22
to vo...@googlegroups.com
Look like you are missing the libxc and it’s development package. Try to install that.

Christoph 

-Maryam

--
Join us on Slack: https://join.slack.com/t/votca/signup
---
You received this message because you are subscribed to the Google Groups "votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email to votca+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/votca/216b9c92-b7fc-4a6c-9772-6aa5a19e6496n%40googlegroups.com.
--
Christoph Junghans
Web: http://www.compphys.de

maryam.s...@gmail.com

unread,
Jan 27, 2022, 10:27:21 AM1/27/22
to votca
Thanks, I fixed that... I'm trying to compile votca with DGMX_MPI=OFF, but still I get the following error:

CMake Error at /Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):

  Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)

Call Stack (most recent call first):

  /Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)

  /Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindOpenMP.cmake:544 (find_package_handle_standard_args)

  CMakeLists.txt:132 (_find_package)

  tools/CMakeModules/FindMKL.cmake:330 (find_package)

  CMakeLists.txt:132 (_find_package)

  tools/CMakeLists.txt:79 (find_package)


Thank you,

-Maryam


Marvin Bernhardt

unread,
Jan 27, 2022, 11:01:18 AM1/27/22
to votca
This time you are missing (or CMake can not find) OpenMP, which is required for Gromacs.

If you are on Ubutu, you probably need to install libomp-dev or something similar.

cheers
Marvin
Reply all
Reply to author
Forward
0 new messages