Last active
July 24, 2018 23:50
-
-
Save johnsolk/057e06708ac20767b4bfd5a5dc8c4021 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 10/19/2017, with help from Luiz Irber | |
# ssh ljcohen@farm.cse.ucdavis.edu | |
# start interactive job, get assigned a designated compute node | |
# srun -p high -t 24:00:00 --mem=20000 --pty bash | |
# on the farm cluster | |
# jupyter notebook is installed in anaconda, in home dir | |
# activate virtualenv | |
source ~/anaconda2/envs/py3.dammit/bin/activate | |
# change environment variable to change where tmp files are stored | |
export XDG_RUNTIME_DIR=/home/ljcohen/tmp | |
# change to dir with .ipynb | |
cd /home/ljcohen/osmotic/DE_analysis_by_species | |
# start jupyter, specify this ip and arbitrary port | |
jupyter notebook --ip=127.0.0.1 --port 8654 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Then on local computer: