MATLAB DCS
https://docs.rc.uab.edu/
Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.
As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.
Thank you,
The Research Computing Team
Stub
Steps to run Matlab
Once you log into Cheaha, set up your environment with the command:
module load mathworks/matlab-r2009a
You can run MatLab and access your license server with
matlab -c port@license-server -nodesktop
This will start matlab in an interactive shell. This is good just to verify things work, but running significant computations on Cheaha is best done in batch mode via the SGE scheduler
You can create a simple SGE script with:
#$ -S /bin/bash #$ -cwd # #$ -N testMatLab #$ -l h_rt=2:00:00,s_rt=1:55:00 #$ -j y # #$ -M tjannett@uab.edu #$ -m eas # module load mathworks/matlab-r2009a #$ -V matlab -c port@license-server -nodesktop -r matlab-script