|
Information
|
How
does one set up a machine to use Maple with AFS and linux?
|
1) The first thing you
need to do in order to access your AFS Maple 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 Maple, the first
thing I would recommend doing is setting up a soft (symbolic) link. When
Maple runs, it looks for a bunch of programs under /usr/local directories
that really reside on the machine where the Maple executable lives. By
establishing the symbolic link you will set up, you will then be able to
make it look like the executables Maple needs reside on your machine.
- Open a terminal session
- log in as root "su -"
- type 'ln -s /afs/cc.lehigh.edu/common/i386_linux24/maple
/usr/local/maple'
- exit root login session
Testing to
make sure Maple runs
|
- change directory to /usr/local/maple "cd /usr/local/maple"
(If that does not work, then you may not be logged into AFS. Type
"klog YourUserID" to make sure your are logged into AFS.)
- If you were able to change directory to /usr/local/maple,
type "/usr/local/maple/bin/xmaple" to execute maple in X mode. (remember,
all you command line lovers out there, you must be in an X session to get
X screens back)
5) If you are planning to use
Maple, you can simplify your life by typing the following entry in your profile
(either .profile or .bash_profile). Type these two lines in your profile
after the last lines you see for your PATH.
PATH=$PATH:/usr/local/maple/bin
export PATH
and when you log off, log back in, make sure you are in an X session
and then klog into AFS you should then be able to just type "xmaple" and
you will get the graphical screens for Maple.
*Note: If you just type the word maple or xmaple to run
the program and if there is a local copy of a
Maple 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 maple program yiour session finds in the PATH. You can
see from which directory you are running a program by typing "which xmaple".
If it is not being run from /usr/local/maple/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 for linux.
|
|
|