HowTo:MatlabOnRocks
From Greg Porter's Wiki
Contents |
Matlab on Rocks
Insert meaningful discussion here.
Maybe some of the matlab threads from the Rocks list.
This is a nice page on installing Matlab on a cluster (not Rocks, boo.)
Assumes you have, and are used to, a functioning Matlab license server. The basic process is outlined in the Matlab document "MATLABĀ® & SimulinkĀ® Release 2010b Installation Guide". Since I have a network license server available, I used Section 2, "Installing Network License Options", and the basic install steps on starting at "Installing MathWorks Software on Client Systems" on page 2-26.
Get Matlab
On my campus, we have a group that manages what software we have licenses for, and they helped me to get Matlab R2010b in a .iso download files, and had some helpful hints on how to get the licensing going.
Get Matlab somehow. Like I said, I got an .iso, and a license file that referenced the functioning license server that was all ready available.
Once I got the .iso, I first tried to burn it. It's a dual layer DVD about 8GB, and I don't have a burner like that. Boo. So I copied it to the head node of the cluster and put the .iso in /tmp/matlab/R2010b_UNIX.iso.
Once it was on the head node, I mounted the .iso as so:
[root@ravel matlab]# mount -o loop /tmp/matlab/R2010b_UNIX.iso /mnt [root@ravel matlab]# mount /dev/sda1 on / type ext3 (rw) ... <snip> ... /tmp/matlab/R2010b_UNIX.iso on /mnt type iso9660 (rw,loop=/dev/loop0)
Yes, it's mounted. Now you can start the installation steps as outlined in the manual, except use the mounted file system, not the DVD path like to book says.
Start the installer
I started the installer, and got a splash screen and then moments later the installer crashed.
[root@ravel matlab]# /mnt/install Preparing installation files ... Installing ... # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000357307270e, pid=756, tid=1110587712 # # JRE version: 6.0_17-b04 # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.3-b01 mixed mode linux-amd64 ) # Problematic frame: # C [libc.so.6+0x7270e] cfree+0x1e # # An error report file with more information is saved as: # /tmp/hs_err_pid756.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # /mnt/install: line 562: 756 Aborted /tmp/mathworks_723/java/jre/glnxa64/jre/bin/java -Djava.ext.dirs=/tmp/mathworks_723/java/jre/glnxa64/jre/lib/ext:/tmp/mathworks_723/java/jar:/tmp/mathworks_723/java/jarext -jar /tmp/mathworks_723/java/jar/installwizard.jar -root /mnt Finished
Hmm. Maybe I should have looked at the system requirements. I bet I need some happy library or something.
Satisfy the system requirements
Look at the system requirements.

