Downloading, Installing and Testing:
- Download the source and executable for either
- Linux and Solaris: af2_configure.tar.gz
This gzip-ed tar file contains the source and the precompiled Linux (i686) and Solaris (SunOS sun4u) executables. The executable was created under Redhat Enterprise but should work without recompiling in many other distributions.
- fetch the newest version of
small_fibres.dat
and
wht_prime.dat
- unpack it in a directory of your choice
for GNU tar: gtar -zxf af2_configure.tar.gz
for Solaris tar: gzip -cd af2_configure.tar.gz | tar -xf -
- Copy the newest versions of the files you downloaded
in step 2 to af2_configure/bin/.
cp small_fibres.dat af2_configure/bin/
cp wht_prime.dat af2_configure/bin/
- go into the test directory
cd af2_configure/test
- execute af2_configure (default answers are fine, you will be asked
for a .fld file, a few of which you find in the test directory)
../bin/af2_configure
Note: the executable is dynamically linked. You can check if all libraries
to run it are available on your system with the following command:
ldd ../bin/af2_configure.x
Check the output carefully for error messages. In case there are any,
follow the guidelines to compile the package below.
- documentation is in af2_configure/doc. Also make sure to check the
AF2/WYFFOS page.
Compiling (only if necessary):
- set the SYSTEM environment variable
setenv SYSTEM sun4_Solaris
- go into the source directory for af2_configure
cd af2_configure/src/af2
- ./mk deinstall
- go into the source directory for chr
cd ../chr
- ./mk deinstall
- go into the source directory for sla
cd ../sla
- ./mk deinstall
- change back into the src directory
cd ..
- undefine the SYSTEM environment variable
unsetenv SYSTEM
- run the build command
./build
(answer 'y' to the question about using internal versions of chr and sla
libraries)