next up previous contents
Next: Makefiles Up: De-bugging ASTERIX Code Previous: De-bugging ASTERIX Code

Working Libraries

An entire copy of the ASTERIX library ( libastlib.a, normally residing in /star/asterix/kernel/lib has been created in the directory adi/newsrc. This also contains various fitting and spectral library subroutines for completeness. The supplied Makefile can be used to create partial libraries (eg. all ADI subroutines in the library libadi.a) or a complete library ( libmyastlib.a) in the directory ( adi/lib) using the commands make adi and make big respectively.

A complete copy of all necessary INCLUDE files is available in adi/inc for such needs as the conversion of STRUCTURES to COMMON blocks for the Linux port. These files are automatically INCLUDE'ed during compilation.

Whilst most development work is done on the Solaris machines, it is necessary to create copies of these libraries for OSF and Linux to allow for software maintenance on all three platforms. The directory adi/newsrc contains the two sub-directories alpha_OSF1 and ix86_Linux. Each of these contains a symbolic link to all Fortran ( .f) files in the Makefile in the parent directory.

This allows for object ( .o) files to be stored for all three platforms simultaneously. The libraries thus built are stored in their respective subdirectories of adi/lib.



Asterix
Tue Jun 23 11:52:19 BST 1998