-
Notifications
You must be signed in to change notification settings - Fork 12
Kiwi Environment
Documentation for using this repository on Kiwi.
The information on this page is largely outdated and has been heavily deprecated over the last couple of years. The chances that you can successfully run garnet on kiwi (without using a docker container) is quite small. Nowadays we pretty much only build garnet in a carefully constructed docker environment. For details see https://github.com/StanfordAHA/aha/blob/master/Dockerfile.
Kiwi comes with the latest Python 3. To create your own virtual environment, simply do
python3 -m virtualenv env
where env
is the name for your virtual environment. To activate the virtual environment,
simply do
source env/bin/activate
To deactivate, you can type deactivate
in the command line.
Run these commands and add them to your shell configuration file such as .bashrc
source /cad/modules/tcl/init/bash # Change this based on your shell
module load base
module load genesis2
module load incisive
Make sure you've activated your virtual environment
$ which pip
/nobackupkiwi/keyi/AHA/garnet/env/bin/pip
You can then directly upgrade packages using pip
$ pip install --upgrade coreir
You can also install a specific version using the ==
specifier
$ pip install fault==1.0.3