The following appears to work for compilation.
Load the gnu compilers:
module swap PrgEnv-nvhpc PrgEnv-gnu
One time venv setup using conda, as recommended here:
https://docs.alcf.anl.gov/polaris/data-science-workflows/python
module load conda
conda activate
VENV_DIR="$HOME/polaris/venvs/r4py"
python -m venv "$VENV_DIR" --system-site-packages
source "$VENV_DIR/bin/activate"
Install with pip:
env CC=CC pip install repast4py
The following appears to work for compilation.
Load the gnu compilers:
One time
venvsetup using conda, as recommended here:https://docs.alcf.anl.gov/polaris/data-science-workflows/python
Install with pip: