You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling abacus on DCU with TESTING=ON, too many link errors are encountered related to module_elecstate/test:
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25
CMakeFiles/elecstate_energy.dir/__/elecstate_energy_terms.cpp.o: infunction`elecstate::ElecState::get_hartree_energy()':
elecstate_energy_terms.cpp:(.text+0x4): undefined reference to `elecstate::H_Hartree_pw::hartree_energy'/usr/bin/ld: CMakeFiles/elecstate_energy.dir/__/elecstate_energy_terms.cpp.o: in function `elecstate::ElecState::get_etot_efield()':elecstate_energy_terms.cpp:(.text+0x14): undefined reference to `elecstate::Efield::etotefield'/usr/bin/ld: CMakeFiles/elecstate_energy.dir/__/elecstate_energy_terms.cpp.o: in function `elecstate::ElecState::get_etot_gatefield()':
elecstate_energy_terms.cpp:(.text+0x24): undefined reference to `elecstate::Gatefield::etotgatefield'/usr/bin/ld: CMakeFiles/elecstate_energy.dir/__/elecstate_energy_terms.cpp.o: in function `elecstate::ElecState::get_solvent_model_Ael()':elecstate_energy_terms.cpp:(.text+0x34): undefined reference to `surchem::Ael'/usr/bin/ld: CMakeFiles/elecstate_energy.dir/__/elecstate_energy_terms.cpp.o: in function `elecstate::ElecState::get_solvent_model_Acav()':
elecstate_energy_terms.cpp:(.text+0x44): undefined reference to `surchem::Acav'/usr/bin/ld: CMakeFiles/elecstate_energy.dir/__/elecstate_energy_terms.cpp.o: in function `elecstate::ElecState::get_dftu_energy()':elecstate_energy_terms.cpp:(.text+0x54): undefined reference to `GlobalC::dftu'clang-15: error: linker command failed with exit code 1 (use -v to see invocation)gmake[2]: *** [source/module_elecstate/test/CMakeFiles/elecstate_energy.dir/build.make:303: source/module_elecstate/test/elecstate_energy] Error 1gmake[1]: *** [CMakeFiles/Makefile2:5864: source/module_elecstate/test/CMakeFiles/elecstate_energy.dir/all] Error 2
Describe the bug
When compiling abacus on DCU with TESTING=ON, too many link errors are encountered related to module_elecstate/test:
Who knows how many files this test relies on?
Expected behavior
No response
To Reproduce
build on DCU with
Environment
module list
Currently Loaded Modulefiles:
Additional Context
No response
Task list for Issue attackers (only for developers)
The text was updated successfully, but these errors were encountered: