Getting started

 

The following is tried out with csh on Sun Solaris, on other systems details may differ.

 

  1. Download/copy the directory femLego_dist from ~irina/femLego to a convenient location in your home directory.
  2. If you do not have a .mapleinit file in your $HOME, copy femLego_dist/.mapleinit to your $HOME. Otherwise, add the contents of femLego_dist/.mapleinit to the existing $HOME/.mapleinit file.
  3. Find out if a compiled version of the linear algebra library SLAP exists on the system. Otherwise, compile it according to instructions in femLego_dist/SLAP2.0, and put it in a convenient place.
  4. Set the unix environment variable SLAP_LIB to the path for the directory where the SLAP library (i.e. libslap.a) is located, as determined above. This is preferably done by entering the line
    setenv SLAP_LIB <actual path>
    in your $HOME/.cshrc
  5. If necssary load Maple, typically by typing
    module add maple
    or something similar depending on the local system.
  6. Go to femLego_dist/little_example. Open the file example.mws in Maple by typing
    xmaple example.mws &
    and execute it step by step, following instructions and comments there. This directory, as well as the other examples in femLego_dist, can be used as a template for new problems.