Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Cluster Support
 Matlab 2009a
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

petty
BIAC Staff

USA
453 Posts

Posted - May 26 2009 :  09:49:52 AM  Show Profile  Reply with Quote

The newest version of matlab is installed on all the cluster nodes (and is the default version). There is no license manager requirement, therefore more than one person can use matlab at a time.

to run a job using matlab through qsub you need to change to the directory where your script is, then:
matlab -nodisplay < yourscriptname.m


your script needs to have the paths completed before execution (using a search/replace routine in some scripting language), this needs to include the evaluated path from your $EXPERIMENT/Analysis/ETC variable.

Also, the 64bit version of the BIAC tools are located here: /usr/local/packages/MATLAB/BIAC

to use them, add
run /usr/local/packages/MATLAB/BIAC/startup.m
to the first line of your matlab script.

petty
BIAC Staff

USA
453 Posts

Posted - May 26 2009 :  5:07:14 PM  Show Profile  Reply with Quote
forgot to mention that you should do an exit, or force quit at the end of the matlab script or the matlab session will never end.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.47 seconds. Snitz Forums 2000