Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolchain 202402 #4945

Merged
merged 15 commits into from
Aug 12, 2024
Merged

Conversation

QuantumMisaka
Copy link
Collaborator

Reminder

  • Have you linked an issue with this pull request?
  • Have you added adequate unit tests and/or case tests for your pull request?
  • Have you noticed possible changes of behavior below or in the linked issue?
  • Have you explained the changes of codes in core modules of ESolver, HSolver, ElecState, Hamilt, Operator or Psi? (ignore if not applicable)

Linked Issue

Fix #4601 #4944

Unit Tests and/or Case Tests for my changes

  • A unit test is added for each new feature or bug fix.

What's changed?

  • Example: My changes might affect the performance of the application under certain conditions, and I have tested the impact on various scenarios...

Any changes of core modules? (ignore if not applicable)

  • Example: I have added a new virtual function in the esolver base class in order to ...

@QuantumMisaka
Copy link
Collaborator Author

When building with gcc 8.5.0 and libtorch 2.4.0 in intel toolchain ,error occurs:

/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()@GLIBCXX_3.4.26'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `exp@GLIBC_2.29'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libc10.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libc10.so: undefined reference to `log@GLIBC_2.29'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)@GLIBCXX_3.4.26'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `log2@GLIBC_2.29'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `pow@GLIBC_2.29'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `std::filesystem::__cxx11::path::_List::_List()@GLIBCXX_3.4.26'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `exp2@GLIBC_2.29'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `std::filesystem::__cxx11::path::_List::_Impl_deleter::operator()(std::filesystem::__cxx11::path::_List::_Impl*) const@GLIBCXX_3.4.26'
/lustre/home/2201110432/WORK/test/abacus-develop/toolchain-intel/install/libtorch-2.4.0/lib/libtorch_cpu.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()@GLIBCXX_3.4.26'

indicates that libtorch 2.4.0 requires higher version of GLIBC, toolchain will remain support only for libtorch 1.12.0 and 2.0.1, user can manually download higher version

@QuantumMisaka
Copy link
Collaborator Author

update libtorch to 2.1.2
higher version require higher GLIBC

@QuantumMisaka
Copy link
Collaborator Author

@kirk0830 it can be merged

@kirk0830 kirk0830 merged commit eaf27f8 into deepmodeling:develop Aug 12, 2024
14 checks passed
@mohanchen mohanchen added the Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS label Aug 12, 2024
@QuantumMisaka QuantumMisaka deleted the toolchain-202402 branch August 12, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buiding scalapack fails (by running toolchain_gnu.sh) with GCC14
3 participants