deepmodeling / abacus-develop

An electronic structure package based on either plane wave basis or numerical atomic orbitals.
http://abacus.ustc.edu.cn
GNU Lesser General Public License v3.0
172 stars 130 forks source link

Feature: Unit test within Spack install #5282

Open yizeyi18 opened 2 weeks ago

yizeyi18 commented 2 weeks ago

Background

As described in #3291, simple installation of ABACUS through Spack had been implemented and waiting to be merged into Spack mainline( https://github.com/spack/spack/pull/42974 ); however, as an important usage -- automating unit test -- of Spack, unit test of ABACUS had not been implemented in current pull, partly because they are not compatible with Release builds.

This issue talks about which, and how unit tests of ABACUS should be implemented in Spack.

Describe the solution you'd like

This issue targets in giving solution to :

To achieve these target, these questions need to be answered:

Task list only for developers

Notice Possible Changes of Behavior (Reminder only for developers)

No response

Notice any changes of core modules (Reminder only for developers)

No response

Notice Possible Changes of Core Modules (Reminder only for developers)

No response

Additional Context

Currently no draft of ABACUS test by Spack had been implemented. To run test for a software soft, run:

$ spack test run soft

For examples of implemented test with soack, see magma and hdf5.

Task list for Issue attackers (only for developers)

QuantumMisaka commented 2 weeks ago

@caic99 Any comments ?