Installing a software package on the NYU HPC clusters
Most software is installed under /share/apps/. Users can always build software packages and install in your $HOME folder, but only the system administrators can install in /share /apps.
You can always email us at email@example.com to request a software package you need. It helps if you can include a link to its web page or download page. If it is for Python or R, it also helps if you tell us which Python or R module you are using.
Python and R also allow you to install modules in your $HOME area.
For Python packages from PyPI and for Python 2.7.6, you can use pip:
package will be installed in
The package will be installed in
Some R packages have dependencies on other modules, and you will need to tell R where to find libraries (PKG_LIB) and possibly headers (PKG_CFLAGS). For example, the "topicmodels" package requires the GNU Scientific library (gsl):
R packages generally have a file
src/Makevars with additional compilation options, such as PKG_LIBS. Unfortunately, many specify these options in a way that overrides your setting of PKG_LIBS. To fix this you will need to download the .tar.gz file for the package, edit the Makevars file, and install the edited package, such as illustrated below: