Running Matlab, R, Stata and other research software on Polaris and Andes high-performance Linux machines

Note: you’ll need an account, see above, and an “ssh” terminal window such as Terminal, MobaXterm, or GitBash, and XQuartz software for visual display. See https://services.dartmouth.edu/TDClient/KB/ArticleDet?ID=64641  for more details on running research software on our Linux HPC’s.  

From your SSH terminal’s “$” prompt, first log in:  

        ssh -Y netid@andes.dartmouth.edu

        Enter your password:

Do a quick test to make sure your terminal command line can also open up an external X window by typing xclock at the “$” command line prompt: 

       $ xclock

You should see a new window open with a small clock in it.  If not, re-install MobaXterm(Windows) or XQuartz (Mac) 

Then load the software you’d like to use (matlab, stata, R, etc) by typing the command below at the “$” prompt: 

       $  module load matlab

And then the software name to launch the interactive software in a new terminal X Window. 

       $  matlab ​​​​ 

       $  xstata ​​​​ 

       $  sas ​​​​ 

       $  spss ​​​​ 

Some software packages have more than one version installed.  Stata is one example.  Type module avail stata to see available versions

Your DartFS file storage system is available at this same command prompt. Type ls to view:
       $ ls

       mydata_on_dartfs_netid.csv
       myRscripts.R
       myMatlabMfiles.M

SSH Terminal and X Window Clients

Windows:  Gitbash  https://git-scm.com/downloads  or MobaXterm https://mobaxterm.mobatek.net/

Mac:  use built-in ‘Terminal’ Unix Shell with XQuartz for terminal window display https://www.xquartz.org/ 

See also https://services.dartmouth.edu/TDClient/KB/ArticleDet?ID=64641