Skip to content

adcirc_environment

zacharyburnett edited this page Apr 25, 2022 · 1 revision

Creating an environment for ADCIRCpy

1. log onto HPC system and load modules

module load git python3 netcdf

2. clone adcircpy

git clone https://github.com/jreniel/adcircpy.git

3. create and activate a new environment

virtualenv:

python3 -m venv ./adcircpy_env
source ./adcircpy_env/bin/activate

OR

conda:

conda env create --file ./adcircpy/environment.yml --prefix ./adcircpy_env
conda activate ./adcircpy_env

4. build adcircpy within the new environment

cd adcircpy
python setup.py install
python setup.py develop