Skip to content

Instantly share code, notes, and snippets.

@nperraud
Last active January 4, 2019 13:03
Show Gist options
  • Save nperraud/572e91c5d80cc55521b158e5f84c6779 to your computer and use it in GitHub Desktop.
Save nperraud/572e91c5d80cc55521b158e5f84c6779 to your computer and use it in GitHub Desktop.
Install ltfatpy with anaconda

This is a small gist to install ltfatpy from anaconda

Steps

  1. Install anaconda (I recommend miniconda) https://conda.io/miniconda.html
  2. Add conda to the path (miniconda2)
export PATH=/scratch/snx3000/nperraud/miniconda2/bin:$PATH
  1. Create an environnement and activate it
conda create --name pyltfat python=3.5
source activate pyltfat
  1. Install library
conda install fftw
conda install -c conda-forge lapack
conda install -c conda-forge blas
  1. Load CSCS packages
module load daint-gpu
module load cray-python
module load TensorFlow/1.7.0-CrayGNU-18.08-cuda-9.1-python3
  1. Install ltfatpy
pip install ltfatpy

Later on to use it:

export PATH=/scratch/snx3000/nperraud/miniconda2/bin:$PATH
source activate pyltfat
module load daint-gpu
module load cray-python
module load TensorFlow/1.7.0-CrayGNU-18.08-cuda-9.1-python3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment