Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] PICMI Usage in HPC Batch Scripts #4911

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented May 3, 2024

Try to incorporate the same level of details for PICMI as for executable usage in HPC batch scripts.

  • discuss best approach
  • apply to all machines

Try to incorporate the same level of details for PICMI as for
executable usage in HPC batch scripts.
@ax3l ax3l added component: documentation Docs, readme and manual machine / system Machine or system-specific issue labels May 3, 2024
@ax3l ax3l changed the title [WIP] PICMI Hints in HPC Batch Scripts [WIP] PICMI Usage in HPC Batch Scripts May 3, 2024
EXE=./warpx
INPUTS=inputs
# PICMI Python script or executable?
USE_PICMI=true
Copy link
Member

Choose a reason for hiding this comment

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

This is a good idea. Maybe set USE_PICMI=false here so the default behavior is the same as previously.

EXE=python3
INPUTS=PICMI_script.py
# for GPU-aware MPI in PICMI, set
# Simulation(..., warpx_amrex_use_gpu_aware_mpi=True)
Copy link
Member

Choose a reason for hiding this comment

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

Something I've thought about is allowing setting of input parameters from the command line when using Python. Something like
python3 PICMI_script.py --inputs amrex.use_gpu_aware_mpi=1
But I'm not sure it's a good idea. For one, it would conflict with any argument parsing that the input script might do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: documentation Docs, readme and manual machine / system Machine or system-specific issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants