Using Linux Compute Resources
Body
-
Compute Resources
- College Wide
- riptide - graduate students only
- whirlpool - undergraduate students only
- Department level
- AAE
- ABE - danpatch
- CE - moonbase
- EE - ececomp, eceprog, ece-batch
- IE - barany
- ME - americano, bolt, caffeine, coffeeexpress, galileo, nut, tfm, pin, rivet, slot, tab, widget
-
Network Connection
You will need to be connected to the Purdue network in some way.
If you are on campus, you are mostly liked using a wired connection or wireless.
If you are off campus, you will need to connect to the Purdue VPN before establishing an SSH connection.
-
SSH
If you are on a Linux host ssh is typically available.
For Windows hosts, you can use SecureCRT or PuTTY.
-
Linux/Unix/Shell
Once you are logged into a host you will be in a Linux environment.
-
Screen/tmux
If you have long-running jobs, the screen or tmux command is very useful.
-
In a screen session, it behaves like a normal shell session, but you can "detach" from it. Leave it running. Log out. Then come back to it later
-
Starting a screen session is as simple as running the screen command
-
If it's the first time running the screen, it will give some very brief intro text
-
If you want to leave the session running, and whatever might be running "inside" that session, you will need to "detach" from it by entering ctrl-a then ctrl-d.
-
You should get a message above your prompt about being detached.
-
Now you can log out of an ssh session and it won't hang waiting for a process or job to finish.
-
When you log back into that host, you can "re-attach" to that session with the command: screen -R
-
If you want to run more than 1 screen session, or might have started more than 1 you can list all screen sessions you have with the command screen -ls
-
You can give your sessions a more meaningful name with the -S flag: screen -S job_20190610
-
After you've detached from it and want to re-attach, you can specify it: screen -R job_20190610
-
tmux is very similar to screen but has some differences that make it a bit more powerful than screen.
-
X Windows
Some applications will require a GUI to run. For example, to do pre- or post-processing for Abaqus, you will need to bring up a GUI to create the model, mesh it, and prepare it before you run your solve/simulation.
To do this remotely, you will need to have an X server running on your local host.
If you are using Linux, it should already be running.
Max OSX needs a little configuration sometimes.
With Windows, you will need to do a bit more.
In your ssh client, you will want to have "X11 forwarding" enabled. If you are starting ssh from a command line/terminal application, be sure to use the -X flag, which enables X11 forwarding.
-
Specific Applications
-
-
-
-
Other Resources
- University of Surrey, UNIX Tutorial for Beginners
Details
Details
Article ID:
2138
Created
Tue 1/13/26 10:08 AM
Modified
Tue 1/13/26 2:30 PM