Clone wiki

yt-3.0-artio / Home

Current status

Getting started with yt-3.0-artio

# go to some <install_path> where you want yt to install 
cd /<install_path>/
# get the install file for the yt development branch
# installs all necessary packages/dependencies to a folder called yt-x86_64 (depending on your system architecture)
# initialize a yt environment, which tells yt where to look for files (e.g. defining $YT_DEST). 
source /<install_path>/yt-x86_64/bin/activate 
cd $YT_DEST/src/yt-hg/
# now pull in the artio changes 
hg pull https://<user_name>  
# update the installation to yt-3.0
hg up -C yt-3.0
# compile the development branch with all of the changes for artio 
python develop #compiles yt

There are several ways to do this. Note that it is possible to compile several different clones of yt that use the same dependencies (it is not necessary to do the full install multiple times). To do this clone the yt repo that you would like to compile/run; source the old activate as usual; cd to the new clone's directory; python2.7 develop. You may now edit/compile/run the new clone and push changes to the corresponding fork.



Template scripts/tests

Always activate

source /<install_path>/yt-x86_64/bin/activate
cd $YT_DEST/src/yt-hg/
tar -xvf artdat.tar tests/

then clone yt-scripts and pull them into $YT_DEST/src/yt-hg/

Run the test scripts:


The resulting outputs should look like the following plots and text.

disk density slice disk density projection temperature binned by density at r<10kpc

Known issues

Major projects


Aesthetic issues

Copying scripts

yt pastebin <>

outputs<filenumber>/ that can either be viewed or you can retrieve the script:

yt pastebin_grab <filenumber>