Skip to content

Single-precision PW calculation fails in 3.10.1 #6768

@kogareru1z

Description

@kogareru1z

Describe the bug

According to the 3.10.1 release notes, single-precision PW-basis calculations are supported.
However, when I enable single precision in the example example/si16_pw/INPUT by adding:

precision       single

the calculation stops with the following runtime error:
Unexpected Device Error /home/yan/Downloads/abacus-develop-3.10.1/source/module_base/module_device/cuda/memory_op.cu:87: cudaErrorInvalidValue, invalid argument
This behavior is the same as in the previous version


### Expected behavior

_No response_

### To Reproduce

_No response_

### Environment

_No response_

### Additional Context

_No response_

### Task list for Issue attackers (only for developers)

- [ ] Verify the issue is not a duplicate.
- [ ] Describe the bug.
- [ ] Steps to reproduce.
- [ ] Expected behavior.
- [ ] Error message.
- [ ] Environment details.
- [ ] Additional context.
- [ ] Assign a priority level (low, medium, high, urgent).
- [ ] Assign the issue to a team member.
- [ ] Label the issue with relevant tags.
- [ ] Identify possible related issues.
- [ ] Create a unit test or automated test to reproduce the bug (if applicable).
- [ ] Fix the bug.
- [ ] Test the fix.
- [ ] Update documentation (if necessary).
- [ ] Close the issue and inform the reporter (if applicable).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions