[Wien] Compile time error

Gavin Abo gabo13279 at gmail.com
Fri May 16 15:35:11 CEST 2025


With regards to the libxc-7.0.0 and elpa-release_2025.01.001 errors:

Fatal Error: Reading module 
‘/home/nuj/libxc-7.0.0/include/xc_f03_lib_m.mod’ at line 1 column 2: 
Unexpected EOF
Fatal Error: Reading module 
‘/home/nuj/elpa-release_2025.01.001/include/elpa-2025.01.001/modules/elpa.mod’ 
at line 1 column 2: Unexpected EOF

Maybe they are still compiled with ifx/icx.  If so, you would need to 
recompile them with gfortran/gcc.

If you don't need the features provided by libxc or elpa, you may 
compile WIEN2k without them.  To do that, you may re-run ./siteconfig 
with the following selections:

username at computername:~/WIEN2k$ ./siteconfig
...
Selection: O
...
Selection: X
...
Selection:X
...
Selection: PO
...
Selection: E
...
Selection:X
...
Selection:B
...
Selection: B
...
Selection: S
...
Press RETURN to continue
...
Selection: R
...
Selection: A

For the other errors such as:

SRC_3ddens/compile.msg:make: *** [Makefile:65: 3ddens] Error 1

There is not enough information given.  You would need to look in the 
SRC_3ddens/compile.msg file for more information on what could be 
causing the error.

Kind Regards,

Gavin
WIEN2k user

On 5/16/2025 4:25 AM, Peeyush Kumar Kamlesh wrote:
> Dear Prof
> As suggested in the last conversation of "Segmentation fault (core 
> dumped)" I am trying to install WIEN2k_24.1 using gfortran and gcc by 
> the help of installation file provided by Prof. Abo
>
> However I am executing all the steps very carefully, but i am getting 
> following compile time errors:
> ompile time errors (if any) were:
> SRC_3ddens/compile.msg:collect2: error: ld returned 1 exit status
> SRC_3ddens/compile.msg:make: *** [Makefile:65: 3ddens] Error 1
> SRC_hf/compile.msg:collect2: error: ld returned 1 exit status
> SRC_hf/compile.msg:make[1]: *** [Makefile:199: hf] Error 1
> SRC_hf/compile.msg:make: *** [Makefile:181: real] Error 2
> SRC_hf/compile.msg:collect2: error: ld returned 1 exit status
> SRC_hf/compile.msg:make[1]: *** [Makefile:202: hfc] Error 1
> SRC_hf/compile.msg:make: *** [Makefile:185: complex] Error 2
> SRC_hf/compile.msg:collect2: error: ld returned 1 exit status
> SRC_hf/compile.msg:make[1]: *** [Makefile:205: hf_mpi] Error 1
> SRC_hf/compile.msg:make: *** [Makefile:189: rp] Error 2
> SRC_hf/compile.msg:collect2: error: ld returned 1 exit status
> SRC_hf/compile.msg:make[1]: *** [Makefile:208: hfc_mpi] Error 1
> SRC_hf/compile.msg:make: *** [Makefile:193: cp] Error 2
> SRC_lapw0/compile.msg:f951: Fatal Error: Reading module 
> ‘/home/nuj/libxc-7.0.0/include/xc_f03_lib_m.mod’ at line 1 column 2: 
> Unexpected EOF
> SRC_lapw0/compile.msg:make[1]: *** [Makefile:176: libxc_mod.o] Error 1
> SRC_lapw0/compile.msg:make: *** [Makefile:125: seq] Error 2
> SRC_lapw0/compile.msg:f951: Fatal Error: Reading module 
> ‘/home/nuj/libxc-7.0.0/include/xc_f03_lib_m.mod’ at line 1 column 2: 
> Unexpected EOF
> SRC_lapw0/compile.msg:make[1]: *** [Makefile:176: libxc_mod.o] Error 1
> SRC_lapw0/compile.msg:make: *** [Makefile:129: para] Error 2
> SRC_lapw1/compile.msg:f951: Fatal Error: Reading module 
> ‘/home/nuj/elpa-release_2025.01.001/include/elpa-2025.01.001/modules/elpa.mod’ 
> at line 1 column 2: Unexpected EOF
> SRC_lapw1/compile.msg:make[1]: *** [Makefile:270: seclr4.o] Error 1
> SRC_lapw1/compile.msg:make: *** [Makefile:178: rp] Error 2
> SRC_lapw1/compile.msg:f951: Fatal Error: Reading module 
> ‘/home/nuj/elpa-release_2025.01.001/include/elpa-2025.01.001/modules/elpa.mod’ 
> at line 1 column 2: Unexpected EOF
> SRC_lapw1/compile.msg:make[1]: *** [Makefile:270: seclr4.o] Error 1
> SRC_lapw1/compile.msg:make: *** [Makefile:182: cp] Error 2
> SRC_lapw2/compile.msg:collect2: error: ld returned 1 exit status
> SRC_lapw2/compile.msg:make[1]: *** [Makefile:187: lapw2] Error 1
> SRC_lapw2/compile.msg:make: *** [Makefile:169: real] Error 2
> SRC_lapw2/compile.msg:collect2: error: ld returned 1 exit status
> SRC_lapw2/compile.msg:make[1]: *** [Makefile:190: lapw2c] Error 1
> SRC_lapw2/compile.msg:make: *** [Makefile:173: complex] Error 2
> SRC_lapw2/compile.msg:collect2: error: ld returned 1 exit status
> SRC_lapw2/compile.msg:make[1]: *** [Makefile:193: lapw2_mpi] Error 1
> SRC_lapw2/compile.msg:make: *** [Makefile:177: rp] Error 2
> SRC_lapw2/compile.msg:collect2: error: ld returned 1 exit status
> SRC_lapw2/compile.msg:make[1]: *** [Makefile:196: lapw2c_mpi] Error 1
> SRC_lapw2/compile.msg:make: *** [Makefile:181: cp] Error 2
> SRC_nlvdw/compile.msg:collect2: error: ld returned 1 exit status
> SRC_nlvdw/compile.msg:make[1]: *** [Makefile:119: nlvdw] Error 1
> SRC_nlvdw/compile.msg:make: *** [Makefile:110: seq] Error 2
> SRC_nlvdw/compile.msg:collect2: error: ld returned 1 exit status
> SRC_nlvdw/compile.msg:make[1]: *** [Makefile:122: nlvdw_mpi] Error 1
> SRC_nlvdw/compile.msg:make: *** [Makefile:113: para] Error 2
> SRC_nmr/compile.msg:collect2: error: ld returned 1 exit status
> SRC_nmr/compile.msg:make[1]: *** [Makefile:181: nmr] Error 1
> SRC_nmr/compile.msg:make: *** [Makefile:163: real] Error 2
> SRC_nmr/compile.msg:collect2: error: ld returned 1 exit status
> SRC_nmr/compile.msg:make[1]: *** [Makefile:184: nmrc] Error 1
> SRC_nmr/compile.msg:make: *** [Makefile:167: complex] Error 2
> SRC_nmr/compile.msg:collect2: error: ld returned 1 exit status
> SRC_nmr/compile.msg:make[1]: *** [Makefile:187: nmr_mpi] Error 1
> SRC_nmr/compile.msg:make: *** [Makefile:171: rp] Error 2
> SRC_nmr/compile.msg:collect2: error: ld returned 1 exit status
> SRC_nmr/compile.msg:make[1]: *** [Makefile:190: nmrc_mpi] Error 1
> SRC_nmr/compile.msg:make: *** [Makefile:175: cp] Error 2
>
> How can I resolve this issue?
>
> Best Regards


More information about the Wien mailing list