UNCERT Installation Instructions Update for Versions 1.30+ October 31, 2001
Most of the installation instructions at:
http://www.uncert.com/uncert/install/frame.html
are still valid. There have been a few changes on compiling the package for versions 1.30a and newer. There are no longer "set_make" or "build" scripts. The build is done now using only Makefiles and "make." There are three key Makefiles for building UNCERT on any platform.
With the new design, ideally the user will only have to edit one or two files, and these edits should be minor. The Makefile descriptions follow:
Do NOT Edit:
uncert/src/Makefile: This file directs the compliation
of all the UNCERT modules. You
should NOT edit this file.
uncert/src/*/Makefile: These files direct the compilation
of each module. You should NOT
edit these files.
- Edit
uncert/src/Makefile.inc: This file ties all the platformindepentent features needed for the make together. It does one other thing. It defines the platform being built. Starting at about line 23, various OS specific OS Makefiles are defined:
include $(RELATION)/Makefile.cygwin.inc
#include $(RELATION)/Makefile.dec.inc
#include $(RELATION)/Makefile.hp.inc
#include $(RELATION)/Makefile.ibm.inc
#include $(RELATION)/Makefile.linux.inc
#include $(RELATION)/Makefile.linux.suse.inc
#include $(RELATION)/Makefile.sco.inc
#include $(RELATION)/Makefile.sgi.inc
#include $(RELATION)/Makefile.solaris.inc
Uncomment the platform closest to
your system (remove #). Make sure
only one of these line is
uncommented. If you OS is not
listed here, you may have to make
an OS specific Makefile. These is
not a lot to this. Ideally with
this change, you will be able to
compile the software.
Edit if there are problems:
uncert/src/Makefile.<OS>.inc: These files list OS specific
flags for various UNIX
platforms. The main issue is
usually where the libraries
and include files are located
on your specific system. If
you can't determine reasonable
values for the parameters,
your system administrator
should be able to help you.
The other main thing set here
is the name of your C and
FORTRAN compiler.
Once the Makefile's are correctly defined, to build the software, type:
make
With luck, everything should compile. If there is a problem, for may need to reset some variables in your OS specific Makefile (e.g. Makefile.sgi.inc). If you change OS specific Makefiles mid-build, I recommend you start with a fresh build; type:
make clean
make
There is no "make install". You can copy the entire uncert directory tree where ever is convienient. Users will have to define several environment variables. These are described in:
http://www.uncert.com/uncert/install/frame.html
I hope to update the on-line installation pages soon.
