Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2

...

Anaconda


Installing/creating a ipyrad virtual environment

srun -p sandbox --mem=6G -c 2 -t 60 --pty /bin/bash
module load lang/Anaconda2
conda create -n ipyrad -c ipyrad ipyrad

Loading & executing the ipyrad environment

srun -p sandbox --mem=6G -c 2 -t 60 --pty /bin/bash
module load lang/Anaconda2
source activate ipyrad
export HOME=/tmp/ (ipyrad specific)
ipcluster start --n ${SLURM_CPUS_PER_TASK} --daemonize (ipyrad specific)
sleep 200 (ipyrad specific)
ipyrad -p params.txt -s 1234567 -c ${SLURM_CPUS_PER_TASK} --ipcluster (ipyrad specific)

NOTE: Contrary to what Anaconda might say after you create a new environment you need to use source activate and NOT conda activate on Mana.

MiniConda

While a base anaconda module exists for users to access and build their own conda environments, this is not the only way.  Below you will find instructions created by Eric Firing covering an alternate method in which you can use miniconda on Mana instead of the Anaconda module.

...