diff --git a/conda_environment.yml b/conda_environment.yml new file mode 100644 index 0000000..5056c2a --- /dev/null +++ b/conda_environment.yml @@ -0,0 +1,31 @@ +# Assumes that conda, pip, build-essentials and cuda are installed +--- +name: ShallowWaterGPU +channels: +- conda-forge + +dependencies: +- python=3.7 +- numpy +- matplotlib +- jupyter +- netcdf4 +- scipy +- nb_conda_kernels +- nbdime +- mpi4py +- ffmpeg +- pycuda +- ipyparallel +- line_profiler + +# Install conda environment (one-time operation): +# $ conda env create -f conda_environment.yml +# Activate environment +# $ conda activate ShallowWaterGPU + +# OPTIONAL: If you want to compile pycuda yourself, uncomment pycuda under +# "dependencies" above and do the following (one-time operation): +# - pycuda: $ pip3 install --no-deps -U pycuda +# on Windows: make sure your visual studio c++ compiler is available in PATH +# PATH should have something like C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\ diff --git a/conda_environment_hpc.yml b/conda_environment_hpc.yml index 677a828..b181023 100644 --- a/conda_environment_hpc.yml +++ b/conda_environment_hpc.yml @@ -16,7 +16,7 @@ dependencies: # Install conda environment (one-time operation): # $ conda env create -f conda_environment_hpc.yml # Activate environment and install the following packages using pip: -# $ conda activate ShallowWaterGPU +# $ conda activate ShallowWaterGPU_HPC # - pycuda: $ pip3 install --no-deps -U pycuda # on Windows: make sure your visual studio c++ compiler is available in PATH # PATH should have something like C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\