pyscf / pyscf/gpu4pyscf

Multigrid v2 produces nan for core orbitals

Open
#574 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cuda
Stars
351
Forks
84
Avg merge
3d 2h
Merged PRs (30d)
35

Description

When running Multigrid v2 with core basis functions on a small mesh grid, the resulting density contains nan. For example, running the example https://github.com/pyscf/gpu4pyscf/blob/master/examples/41-multigrid_dft.py with Multigrid v2, using the cc-pvdz basis and setting cell.mesh = [65, 65, 65], the SCF calculation produces nan's.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running examples/41-multigrid_dft.py with Multigrid v2, the cc-pvdz basis, and cell.mesh = [65, 65, 65] to reproduce the NaN density. Trace the Multigrid v2 calculation from that example and verify that the SCF calculation completes without NaN values on the small mesh.

Written by the indexing model from the issue text.

Assessment

Domain
hpc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.