GENSYS is written in order to be used in many different computers. The computer and compiler dependent parameters are stored in a file named Makeoptions which is common for all programs in GENSYS. The file Makeoptions is located in the $gensys/scripts-directory. The GENSYS-files can be obtained in many ways, so please look in the $gensys/README.*-files how to copy the GENSYS-package into your computer.
The compilation of all programs in GENSYS, is performed by script Install_gensys located in directory $gensys/code. All compiling options for the compilation are defined in the file Makeoptions which is also located in the directory $gensys/code. Please edit the file Makeoptions so the compiling options will be the optimum for your computer. In the header lines of file Makeoptions is an explanation of used environment variables.
If you not are sure how to select graphic library, subroutines for time and date. please jump to the next paragraph.
When the Makeoptions-file has been optimized for your computer and compiler, please execute the script Install_gensys. The results from script Install_gensys is redirected to the file Comp.mesg. To follow the compilation procedure write "tail -f Comp.mesg". If a fatal error is encountered, script Install_gensys will be interrupted. When script Install_gensys is restarted, it will continue from the same location where is was previously interrupted.
In directory $gensys/fortbibl/ctest the user have a simple program,
for testing graphics, time and date in the users computer.
Before the tests can start, the preprocessor gencpp, and the libraries
fortbibl and plotbibl has to be loaded.
This can be done by writing the command make in the
$gensys/fortbibl/gencpp directory,
and the command makef in the directories $gensys/fortbibl/fortbibl
and $gensys/plotbibl/plotbibl.
Move to directory $gensys/fortbibl/ctest and load program ctest with
the command "makef".
Run the test program by writing "../../../exe/misc/ctest" in the
$gensys/fortbibl/ctest directory.
The output from program ctest can look as follows:
Before calling datim:
Datim:010625 12.1525002
Clockb before : 993463750.
Clockb after : 993463752.
Clockb diff : 1.25690603
In the end program ctest plots a square with the coordinates of the corners.
Change the environment variable $gensys in your $HOME/.profile-file, so it will points to the directory where GENSYS is installed. Rerun the $HOME/.profile-file or log out and in to the system again, and continue with the testing below.
When script Install_gensys has fully been executed without any errors the GENSYS package is now ready for calculations, please run the test cases which are located in intro_tutor.html and in the $gensys/verif-directories.