We live in a world driven by computers, algorithms, and data. This course seeks to equip students with the basic knowledge and skills to not only understand but to use the tools needed to model and make decisions about the world around them. Students will be introduced to basic programming in Python, high-performance computing using ManeFrame II, and data science.
This step can be skipped when using ManeFrame II (M2) as Anaconda is already
installed and available via module load python/3
.
Directions for installing Anaconda on your own machine can be found here. Either the full Anaconda or the miniconda distributions will work. The differences between the two are noted on the installation page. More information on getting started can be found here.
conda env create -f environment.yml --force
conda activate ds_1300
to start (source activate ~/.conda/envs/ds_1300
on M2)conda deactivate
when finished
conda remove --name ds_1300 --all
There are many Python 3 installations on M2. An example of one is given:
module purge
module load spack gcc-9.2
source <(spack module tcl loads --dependencies python@3.7%gcc@9.2)
python3 -m venv ~/.venv/ds_1300
source ~/.venv/ds_1300/bin/activate
pip install --upgrade pip wheel
pip install -r requirements.txt
source ~/.venv/ds_1300/bin/activate
to startdeactivate
when finished
rm -rf ~/.venv/ds_1300