Tags: server,matlab,ssh,remote
Grasp Linux Server
grasp-l.cis.upenn.edu
You can use the grasp server to run heavy applications, long jobs or anything else that needs to run and you don't want it to run on your computer.
Logging in
Use SSH to log in to the server with your SEAS account.
Running a job on the server without being connected.
A lot of times you want to start running an heavy and long job, and just leave it there until it finishes. You don't want to be connected for 3 days, you want to come back after the job stop and collect the results. How can you do this?
You need to fool the server to think you are still there, although you are at home sleeping. For that there is the Unix command screen. Screen creates a virtual session, where you can run your jobs. When you disconnect from the server the virtual server continue to run until you stop it.
So here is what you need to do:
- ssh to the server
- create a virtual session
>>screen
- run your job
>>matlab &
- disconnect from the server and go to sleep.
- ssh again to the server
- reconnect to the virtual session
>>screen -r
