[salmon-user:00309] Trouble in enabling libxc

22 views
Skip to first unread message

谌峙东

unread,
Nov 11, 2024, 3:16:29 AM11/11/24
to salmo...@salmon-tddft.jp

Dear salmon users and developer:

I'm finding a way to use Libxc.In the salmon build directory,I keyed code "python ../configure.py --enable-libxc" and then "make".There is something wrong like this:


[  0%] Building Fortran object src/CMakeFiles/salmon.dir/common/structures.f90.o
/home/users/chenzhidong/SALMON-v.2.2.1/src/common/structures.f90(28): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [XC_F90_TYPES_M]
    use xc_f90_types_m
--------^
/home/users/chenzhidong/SALMON-v.2.2.1/src/common/structures.f90(30): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [XC_F90_LIB_M]
    use xc_f90_lib_m
--------^
/home/users/chenzhidong/SALMON-v.2.2.1/src/common/structures.f90(337): error #6457: This derived type name has not been declared.   [XC_F90_POINTER_T]
    type(xc_f90_pointer_t) :: func(3)
---------^
/home/users/chenzhidong/SALMON-v.2.2.1/src/common/structures.f90(338): error #6457: This derived type name has not been declared.   [XC_F90_POINTER_T]
    type(xc_f90_pointer_t) :: info(3)
---------^
compilation aborted for /home/users/chenzhidong/SALMON-v.2.2.1/src/common/structures.f90 (code 1)
make[2]: *** [src/CMakeFiles/salmon.dir/common/structures.f90.o] Error 1
make[1]: *** [src/CMakeFiles/salmon.dir/all] Error 2
make: *** [all] Error 2


I could not find these mods on internet.Is it not correct in executing configure.py file or something else? 

Reply all
Reply to author
Forward
0 new messages