Installation under UNIX
In the following all citations refer to the manual
in file manual.ps.
There are also hints for fine tunining the installation (Sec. 5.4).
Unpacking the files
After
downloading
the compressed source code and manual
the files have to be treated as follows.
Installation of shared objects (or ordinary libraries)
Switch to directory CANDYS_DIR
(the main directory of the installation).
Create the libraries and the post-processor by commands
configure
The result is several makefiles drawn from template files and
adapted to your platform.
make
The result is the shared objects
(or ordinary libraries in case of GYGWIN)
in subdirectory lib and (if X11 is available)
the server of the online graphics bin/ogserver.
After that you may remove intermediate files by command
make clean
Preparing an executable program
Switch to the directory where your model and the
result files should reside.
Prepare the source code of your model
(c.f. Sections 7.1 through 7.4) and place it into the that directory.
Henceforth, the name Model denotes the file name
of your module without the extension .cxx.
Enter command
CANDYS_DIR/makecandys Model
The result is the executable program Model.
Upgrading an existing executable program
Executable programs installed for CANDYS/QA version 4.4.6.4
should be upgraded to be fully compatible with the current version.
Switch to the directory where the source code
Model.cxx and the result files reside.
Enter command
CANDYS_DIR/remake Model
The result is a new executable program Model
as well as upgraded result files (adapted to new file structure).
Running an executable program
Switch to the directory where your Model program resides.
Enter command
Model
Go up