GRTensor II

GRTensorII  is a tensor manipulation package originally developed for Maple V. A Mathematica version is now available, but the Maple version appears to be better. Both versions can be downloaded to your ITS account. Instructions below are for the Unix machines.


Maple Version

Go to grtensor.phy.queensu.ca/software.html. Get the version of GRTensorII appropriate for the current version of Maple at ITS. Right now, this is Maple V, Release 5, so get the file "grii5.tar.gz". Put it somewhere in your home directory, eg. in a directory called "~/Maple/grii/". Unzip and untar the file by issuing the commands

gunzip grii5.tar.gz
tar -xvf grii5.tar

Two directories called "lib5" and "metrics" are created. You can now remove "grii5.tar". You need to tell Maple where to find GRTensorII by putting the following lines in the file "~/.mapleinit" (.mapleinit in your home directory):

libname := libname, `~/Maple/grii/lib5`;
readlib(grii):
grtensor():

If the file already exists, just append the above lines. Create the file "grtensor.ini" in whatever directory you intend to start Maple from and put the following lines in it:

grmetrics:=`~/Maple/grii/metrics`;
mymetrics := `~/Maple/grii/mymetrics`;
grOptionMetricPath:=grmetrics;

You can customize both files as you wish. You are now ready to start Maple by typing 'setup maple' and then 'maple' to invoke the command-line version or 'xmaple' to start the X-Windows notebook version. The .mapleinit file given above starts up GRTensorII automatically--if you don't like that behavior, you can remove those two lines and type them in by hand when you want to use it.


Mathematica Version

Go to grtensor.phy.queensu.ca/software.html. Get GRTensorM 1.2 for Mathematica 2 and 3 on UNIX boxes (or whatever version is appropriate for the current version of Mathematica at ITS). Put the file "GrtiiM12.tar.gz" somewhere in your home directory, eg. in "~/Math/". Unzip and untar the file by issuing the commands

gunzip GrtiiM12.tar.gz
tar -xvf GrtiiM12.tar

A directory called "grii" is created. You can now remove "GrtiiM12.tar". Read the file "Readme.txt" in the directory "grii" for further instructions on installing GRTensorM.

Online documentation for the Mathematica version is available at  http://www.astro.queensu.ca/~lake/webmma/new/grtmdoc/frame.html.


Return to the Ph236 homepage.