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

Smilei on Polaris (ALCF) #789

Open
MartaGalbi opened this issue Feb 4, 2025 · 1 comment
Open

Smilei on Polaris (ALCF) #789

MartaGalbi opened this issue Feb 4, 2025 · 1 comment
Labels

Comments

@MartaGalbi
Copy link

Hi,

to compile and run Smilei on Polaris, a machine with PBS scheduler, I need to modify Smilei.cpp in this way:

//local_rank_env = getenv("SLURM_LOCALID");

local_rank_env = getenv("PMI_LOCAL_RANK");

Can this be included in the code?

I provide below the scripts needed to compile and run the code.
I compiled the code on computing nodes using the script smilei.profile placed in $HOME to setup properly the environment. To run I need the script set_affinity_gpu_polaris.sh (placed in my $HOME) and I use the job script job.pbs.

smilei.profile
set_affinity_gpu_polaris.sh
job.pbs

@MartaGalbi MartaGalbi added the bug label Feb 4, 2025
@charlesprouveur
Copy link
Contributor

Hi, thank you for this contribution.

We might include a test in Smilei.cpp, something akin to: if SLURM_LOCALID is not defined we could try with PMI_LOCAL_RANK perhaps. Some testing will be required.

We might also add a machine file Polaris_pbs that includes the environnement and keeps a trace of the way the affinity was set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants