Lehigh Logo
Linux Information Page
How to set a machine up to use Matlab with AFS on linux
Linux Info
SNA Info
Lehigh Valley Linux Users' Group
RedHat
Open AFS Organization
Mathworks (Matlab)
Waterloo Maple Inc.


Information

How do I set a machine up to use Matlab with AFS and linux?
1) The first thing you need to do in order to access your AFS Matlab Directories from linux is set up AFS on your machine.  Please see How does one load AFS on their linux box topic for more information.

2) After loading AFS on your machine and rebooting, log back into your userid.

3) After logging back into your user ID, then type 'klog YourUserID' to log into AFS.  After you finish with your AFS session, type unlog to log yourself off AFS.


4) In order to run Matlab, you can change directory directly into the AFS directory where Matlab is running by typing:
cd /afs/cc.lehigh.edu/common/i386_linux24/mathworks/bin

and then type ./matlab and the Matlab program should run across the network for you.

If you were not able to change into the mathworks directory, you may not be currently logged into AFS.  Try logging into AFS again and then changing into the AFS directory.

5) To simplify your life, you may wish to set up a soft link at an appropriate place on your machine.  To do this log in as root on your machine and type the following command
:
ln -s /afs/cc.lehigh.edu/common/i386_linux24/mathworks/bin/matlab /usr/local/bin/matlab

*Note:
If you just type the word matlab to run the program and if there is a local copy of a matlab program on your computer already, you may be running the local copy of the program.  The program that will run will be the first occurence of the matlab program it finds in your PATH.  You can see from which directory you are running a program by typing "which matlab".  If it is not being run from /usr/local/bin, then you are probably running a local copy of the program.

A special note of thanks to Steve L and Jim E for getting applications mounted on AFS space.




Last Update November 14, 2002