Added separate conda env for use with jupyter

This commit is contained in:
Martin Lilleeng Sætra 2022-01-24 16:10:17 +01:00
parent 402e2c6f9f
commit b48701bfe9
2 changed files with 32 additions and 1 deletions

31
conda_environment.yml Normal file
View File

@ -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\

View File

@ -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\