|Note: Some of the information on this page is for our legacy systems only. The page is scheduled for an update to make it applicable to Graham.|
|SHARCNET Package information: see Yt software page in web portal|
|Full list of SHARCNET supported software|
The yt project is a Python package for analyzing and visualizing volumetric, multi-resolution astrophysical data. It can be used either interactively from a cluster development node (on orca, saw, kraken), or in a job submitted with sqsub. Even though yt was compiled as a module (default third-party software installation mode on SHARCNET), there is no need to load it, all environment variables and bash functions for yt can be loaded via script.
On centos6 systemsa the script must be loaded as follows.
On fedora 23 based visualization workstations and newer do:
After you finish analysis/visualization, you can unload the yt settings with
What you do in between these two commands, is completely up to you. To get started, please read yt documentation. You can also edit this wiki to add usage examples.
First we initialize yt:
source /opt/sharcnet/yt/bin/activate python
Using sample dataset "IsolatedGalaxy_Gravity" (177MB) as an example:
from yt.mods import * pf = load("IsolatedGalaxy_Gravity/galaxy0030/galaxy0030") slc = yt.SlicePlot(ds, 'z', 'density') slc.save()
This should produce an image, galaxy0030_Slice_z_density.png . (You can view it on login/dev nodes using command "display".) Finally exit the yt mode with the bash command:
[roberpj@vdi-fedora20:/usr/local/yt/yt-x86_64/bin] ./yt version yt module located at: /usr/local/yt/yt-x86_64/src/yt-hg The current version and changeset for the code is: --- Version = 3.2.3 Changeset = bdea84d95099 (stable) @ --- This installation CAN be automatically updated. Could not determine when yt stack was last updated.
o Official Yt Website
o Quickstart Guid
o Sample Data
o Mailing List (for support)
o More detail info
See the sharcnet gaussian software page