next up previous contents
Next: On-line help and ALIAS-On-Line Up: Introduction Previous: Preliminaries   Contents


Installing the Maple library

It is assumed here that you have installed the ALIAS-C++ library together with the Profil for example, in the directory /u/ALIAS. To install the MAPLE library you need first to copy the library ALIAS.m and the sub-directory ALIAS in some specific directory, say /u/ALIAS-MAPLE. You end up with:

To use the ALIAS MAPLE library you must first update your libname variable by:
libname:=libname,"/u/ALIAS-MAPLE":
Then you will have to indicate where the ALIAS-C++ libraries are located. This is done by:
`ALIAS/profil`:="/u/ALIAS/Profil":
`ALIAS/lib`:="/u/ALIAS/Lib":
You must also indicate the full path of your C++ compiler using the variable `ALIAS/gpp_sun` (if you are using a SUN computer) or `ALIAS/make_linux` (for a Linux computer).

Note that if you are planning to use the parallel implementation of the algorithms (see the corresponding chapter) on a network of heterogeneous machines (PC's and SUN), then you must indicate the locations of the Profil and ALIAS libraries for the machines whose architecture is different from the machine that you are using with the variable `ALIAS/libN` and `ALIAS/profilN`.

Thus a typical Maple file for using the ALIAS-Maple library with Maple 5.5 on a SUN computer will begin with:

libname:=libname,"/u/ALIAS-MAPLE":
with(ALIAS):
`ALIAS/profil`:="/u/ALIAS/Profil":
`ALIAS/lib`:="/u/ALIAS/Lib":
`ALIAS/gpp_sun`:="/usr/local/bin/g++":
Alternatively you may choose to initialize these variables in your .mapleinit file. The only difference when using Maple9.5 is that you cannot use the Maple command with for compatibility problem with Maple 5.5. For Maple9.5 and a linux workstation loading and starting the library is done as follows:
libname:=libname,"/u/ALIAS-MAPLE":
read "Start_ALIAS.maple"
`ALIAS/profil`:="/u/ALIAS/Profil":
`ALIAS/lib`:="/u/ALIAS/Lib":
`ALIAS/gpp_linux`:="/usr/local/bin/g++":
The Maple version is given in the global variable `ALIAS/maple_version`. Beside this loading difference there is no other difference between the use of ALIAS version 5.5 and version 9.5 (apart of the fact that linear algebra in the procedure uses the linalg package instead of the newer LinearAlgebra which is much less efficient for the operations involved in the procedure).


next up previous contents
Next: On-line help and ALIAS-On-Line Up: Introduction Previous: Preliminaries   Contents
Jean-Pierre Merlet 2012-12-20