Using TACC
Many of the analyses performed in the lab require significant computational resources. For this reason, you should become familiar with using TACC resources to run your analyses. This will speed up computational time for time-intensive processes, like permutation tests or machine learning algorithms. All command line text is highlighted in bold.
Request a TACC account via the TACC user portal
Ask Dr. Hussain to add you to an existing project allocation
Typically, our project allocations allow us to run analyses on Stampede2.
Review Stampede2's documentation to become familiar with its capabilities and hardware structure.
If a project allocation does not exist for your project, you can request one here: https://portal.tacc.utexas.edu/allocations-overview
TACC requires multi-factor authentication to log in. Choose your preferred method and set it up.
Follow the directions at this link: https://portal.tacc.utexas.edu/tutorials/multifactor-authentication
If you are on a windows machine, download and install Putty. Putty allows you to remotely log into the Stampede2 supercomputer and run analyses on it.
Open Putty (if on a windows machine) or terminal (if on a mac)
Log into stampede2 using the following commands
ssh -X username@stampede2.tacc.utexas.edu
Complete multi-factor authentication
enter your account password
enter TACC passcode
Copy data folder from Box to your TACC scratch directory
rsync -a /local_directory/local_folder remote_username@stampede2.tacc.utexas.edu:/remote_directory/remote_folder
Having trouble? Check out these resources:
Request compute nodes
idev -N #nodes -t hh:mm:ss -p skx-normal
here, #nodes = the number of compute nodes you want to request, and hh:mm:ss = the time you need those nodes to be available for
If you are running parallel processes on stampede2, try to use SKX nodes instead of KNL nodes. These typically perform better.
Wait for resources to become available. This can take awhile, especially if you are requesting a large number of nodes.
Load matlab
module load matlab
matlab
If matlab does not open or gives you a license error, contact the TACC helpdesk to ask them to activate your license on stampede2. Provide as much detail as you can when describing the problem.
Run your analysis in matlab as you normally would, saving the data to your scratch folder
When finished, copy the newly saved data from your scratch folder back to Box
rsync -a remote_username@remote_host:/remote_directory/remote_folder/local_directory/local_folder
PRO TIP: When running a long analysis, caffeinate your machine to make sure it does not go to sleep and cause the TACC session to close
PC: download and install this app
Mac: open a new window in terminal
type caffeinate