How to submit Matlab jobs from eddie
Step 1. Login to eddie with X Window forwarding
$ ssh -X eddie.ecdf.ed.ac.uk
Step 2. Launch an interactive session on eddie
$ qlogin
local configuration frontend01.ecdf.ed.ac.uk not defined - using global configuration
Your job 4190350 ("QLOGIN") has been submitted
waiting for interactive job to be scheduled ...
Your interactive job 4190350 has been successfully scheduled.
Establishing /usr/local/Cluster-Apps/sge/cvos/qlogin_wrapper session to host node002.beowulf.cluster ...
Last login: Mon Nov 12 10:16:58 2007 from frontend01.ecdf.ed.ac.uk
##############################################
# ______ __ __ __ ______ #
# | ___| | | | | |__| | ___| #
# | |___ ___| | ___| | __ | |___ #
# | ___| | _ | | _ | | | | ___| #
# | |___ | |_| | | |_| | | | | |___ #
# |______| |______| |______| |__| |______| #
# #
##############################################
______________________________________________
WELCOME TO EDDIE - PART OF THE ECDF PROJECT
www.is.ed.ac.uk/ecdf
______________________________________________
ALERTS / ANNOUNCEMENTS
Service alerts will be announced here, on the
ecdf-alerts mailing list, and on the IS alerts
website (www.ucs.ed.ac.uk/alerts)
______________________________________________
Eddie Interactive Session
______________________________________________
[ywan@node002 ~]$
Step 3. Load matlab module
$ module load matlab/3.1-r2007a
Step 4. Start Matlab
$ matlab
Note: if you cannot open Matlab graphics interface, check your DISPLAY.
Step 5. Submit Matlab jobs
The following two samples show how to submit a Matlab distributed job and a Matlab Parallel job to eddie, and retrieve results from a client session.