Problems while using Cmake compiling QE7.2 & Environ3.0

63 views
Skip to first unread message

Mouyi Weng

unread,
Sep 22, 2023, 9:17:39 AM9/22/23
to quantum-environ-users
Hello Quantum Environ team,

I am trying to compile Quantum Environ_3.0+ Quantum ESPRESSO_7.2  using cmake. I followed the instruction on https://github.com/environ-developers/Environ

When I use  cmake -DCMAKE_Fortran_COMPILER=<...> -DCMAKE_C_COMPILER=<...> -DENVIRON_ROOT=<absolute_path_to_Environ> ..

an Error came "Could NOT find Environ (missing: ENVIRON_UTIL_LIB ENVIRON_FFT_LIB ENVIRON_SRC_LIB ENVIRON_INCLUDE_SRC)"

Should I set these parameters (ENVIRON_UTIL_LIB ENVIRON_FFT_LIB ENVIRON_SRC_LIB ENVIRON_INCLUDE_SRC) when I am trying to compile?

Thanks a lot in advance.
Best,
Mouyi

Edan Bainglass

unread,
Sep 22, 2023, 9:25:33 AM9/22/23
to quantum-environ-users
Hi Mouyi,

Did you follow the first part (right below "QE + Environ 3.0 Installation") to configure and compile Environ? Then, in your CMAKE line, did you point to your ENVIRON_ROOT directory?

Feel free to Zoom me. I believe we're in the same time zone.

Edan
Reply all
Reply to author
Forward
0 new messages