Skip to content

Conversation

@tsuyoshi38
Copy link
Contributor

Since libxc7.0.0 has deleted f90 interfaces, we now need to use f03 interfaces.
Instead of adding LibXC_v7_module.f90, we have decided to use f03 interfaces even in XC_LibXC_v5_module.f90 to use libXC v5 , v6 and v7.
Users also need to change system.make to link with libXC by -lxcf03 instead of -lxcf90.
(See system.example.make)

added XC_LibXC_v7_module.f90 for libxc_7.0.0
system/system.example.make is also changed
…module.f90

Instead of adding XC_LibXC_v7_module.f90, using f03 interface in *v5_module.f90
I have changed XC_LibXC_v5_module.f90, system/system.example.make and tools/BasisGeneration/radial_xc_LibXC_v5_module.f90
Other system.make files should be also changed depending on platforms.
Modified system/system.gha.make for git to use f03.
Copy link
Contributor

@davidbowler davidbowler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the BasisGeneration code uses the system.make file from the src directory so there is no update needed there.

@davidbowler davidbowler changed the title F libxc7.0.0 Enable libxc7.0.0 Jan 14, 2025
@tsuyoshi38 tsuyoshi38 merged commit 868ab6d into develop Jan 14, 2025
8 checks passed
@tsuyoshi38 tsuyoshi38 deleted the f-libxc7.0.0 branch January 14, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants