Skip to content

Fix source cell test compatibility issues#5

Merged
Yanglijf merged 1 commit into
hhb2006:final-projectfrom
Yanglijf:final-project
Jun 23, 2026
Merged

Fix source cell test compatibility issues#5
Yanglijf merged 1 commit into
hhb2006:final-projectfrom
Yanglijf:final-project

Conversation

@Yanglijf

@Yanglijf Yanglijf commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Avoid defining fake MPI symbols globally in mpi_domain.h for no-MPI builds
  • Guard LCAO-only test mocks with __LCAO
  • Copy source_cell test scripts and support data into the CTest build directory

Tests

  • git diff --check
  • Built key MODULE_CELL targets
  • ctest --test-dir build-bxcx-tests -R MODULE_CELL
  • mpirun --mca btl ^tcp -np 2 MODULE_CELL_NEIGHBOR_mpi_domain
  • mpirun --mca btl ^tcp -np 2 MODULE_CELL_NEIGHBOR_mpi_neighbor_proto
  • no-MPI build: cell and neighbor

Notes

CUDA CI cannot be fully reproduced locally because local GPU access is blocked and Docker is unavailable.

@Yanglijf Yanglijf merged commit 42faa03 into hhb2006:final-project Jun 23, 2026
14 checks passed
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.

1 participant