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

fix libensemble tests since they were failing #243

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildspecs/apps/libensemble/libensemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ buildspecs:
PYTHONNOUSERSITE: 1
SLURM_EXACT: 1
SLURM_MEM_PER_NODE: 0
sbatch: ["-t 15", "-N 2", "-C gpu"]
sbatch: ["-t 15", "-N 2", "-C gpu", "-A m3503_g"]
run: bash ./run_forces_gpu_perlmutter.sh

maintainers:
Expand Down
6 changes: 3 additions & 3 deletions buildspecs/apps/libensemble/run_1d_sampling_local_mpi.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

module load python
module load spack/e4s-22.05
module load e4s/23.08

spack env activate -V gcc
spack env activate gcc
spack load py-libensemble
spack load py-mpi4py@3.1.2
spack load py-mpi4py

python test_1d_sampling.py --comms local --nworkers 4
srun --ntasks=5 --nodes=1 python test_1d_sampling.py
4 changes: 2 additions & 2 deletions buildspecs/apps/libensemble/run_forces_gpu_perlmutter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

module load python
module load gpu
module load spack/e4s-22.05
module load e4s/23.08
module load PrgEnv-nvidia

spack env activate -V gcc
spack env activate gcc
spack load py-libensemble

cc -O3 -DGPU -fopenmp -mp=gpu -target-accel=$CRAY_ACCEL_TARGET -o forces.x forces.c
Expand Down