How to install ?
Quick Start: on a rs6000 (RS6K)
> setenv GIVARO_DIR /users/toto/Givaro > setenv GIVARO_ARCH RS6K > cd /users/toto/Givaro > installGIVARO > make all |
Environment Variables :
GIVARO_DIR must punch on the Givaro directory,
GIVARO_ARCH must contain your Hosttype.
The best thing to do is to add to your .cshrc or .login file those two lines :
setenv GIVARO_DIR /users/toto/Givaro |
Configuration :
Four configurations are available: Solaris, RS6K, SunOS, linux.
It is possible to add a new architecture, you just have to edit one of the Givaro/Config/config.ARCH files and modify some lines.
The GIVARO_ARCH variable must then be set to the extention of your new config file.
This file has to be inserted in the beginning of every Makefile (there are examples in Givaro/Examples).
It is possible to use gmake (GNU make) instead of make, you just have to add the file Givaro/Config/config.gmake.ARCH in your Makefile instead of Givaro/Config/config.ARCH.
It is possible to use Givaro with the Athapascan Environment too. Then just add the file Givaro/Config/config.ath1b.ARCH in your Makefile instead of Givaro/Config/config.ARCH.
Compilation :
> cd /users/toto/Givaro |
It is possible to optimize the code : every file can be compiled with the OPTFLAGS macro set to -O3 in the file $GIVARO_DIR/Config/config.$GIVARO_ARCH