Skip to content

Download and Setup

akwilson19 edited this page Jul 31, 2019 · 18 revisions

1. Download

Non-GIT users:

  1. Click the "Code" tab in the GitHub toolbar at the top of this page
  2. Click the green "Clone or Download" button on the right-hand side of the "Code" tab page
  3. Select "Download ZIP"

Git Users

Clone the repository in a directory on your computer
git clone https://github.com/grtensor/grtensor.git

2. Setup

GRTensorIII is downloaded as a package in the lib/ directory of the Maple project. This lib directory needs to be included in your Maple library path. This can be done one of two ways:

1. In a Maple session change the path to the directory on your system:

(each worksheet is considered a separate session, so if this method is used the path must be set for each new worksheet)

libname := libname,"/User/peter/maple/grtensor/lib";

If the library is not found Maple will report the cryptic error message:
Library not found

2. Place the path, to your directory, in the Maple init file in the home directory on your computer.

See Maple Init File for more information.

GRIII can then be loaded via:

with(grtensor);

And the output will be:

                  `  "GRTensor III"`

"Copyright 2016, Peter Musgrave, Denis Pollney, Kayll Lake"

                    `"grtensor.org"`

[autoalias, gralter, grcalc, grcalcalter, grcomponent, grdebug,

grdef, grdisplay, grinit, grload, grloaddef, grmap, groptions,

grsavedef, grtestinput, makeg, nptetrad, qload]

GRTensor III is now ready to use. For details on how to proceed see Getting Started.