For Solaris/Linux an installation script is available. It installs and configures SH/SHM on Solaris or Linux machines. It was tested on Solaris 7/8 and Suse Linux 8.1/9.3/10.0 using the gcc compiler. Please 'chmod a+x SHM-install.csh' after copying it. Please make sure that you are an in a (t)csh and have the openmotif libraries including development package installed on your system (and, of course, the C-compiler gcc. The compiler packages are not in the default packages of Suse distributions any more). The manual installation without this script is as follows:
select parent for SH directory
tree
% cd
<parent-dir>
tar all files from tar archive to
this directory, uncompress with gzip
before if necessary
% gzip
-d <tarfile>.gz
% tar xvf <tarfile>
change directory to new created sh
directory
% cd shfiles
Edit the file setup/shsetup
and set the root path shcroot
to the actual value. If you need to compile the source you also
should set the correct compiler (must be an ANSI compiler like gcc
or acc)
and the appropriate compiler switches.
% vi setup/shsetup
run shsetup.
This should create two directories ~/shfiles/shscratch
and ~/shfiles/private
and define environment variables SH_...
This works on (t)csh-shells only, sorry for this.
% source
setup/shsetup
If you
are able to use the executables (if provided in the tar-file) you
are finished with installation and should be able to run the program
by typing SH.
If you have to recompile the source you have to continue.
cd
to the root directory and make SH
for SH alone:
% cd $SH_ROOT
% make depend
% make
%
make world
for SH and SHM:
% cd $SH_ROOT
% make depend_shm
% make shm
%
make world
Now you may start shc_world by the alias SH and shc by SH_N. Similarly, use SHM for shm_world and SHM_N for shm. Please note that two menu entries of SHM, LocSAT and FK, call external programs. These external programs are not part of the SHM-distribution. Some precompiled versions of these programs may be downloaded separately from our ftp server. Available are currently versions for Sun (Solaris 2) and HP and Linux.
This page last modified 22-Nov-2005