Issue: | 2.0 |
Date: | 13 October 2000 |
http://isdc.unige.ch/index.cgi?Software+swplatform
Since Reference Platform 1.5, ROOT is required for the complete installation. ROOT support is however optional, and can be disabled. The Support Software can be compiled without it, but some tools will be missing. You can obtain ROOT from the ISDC Software WWW page. The ROOT package is considered as part of the Reference Platform like compilers. If you want to use ROOT support, ROOT must be installed before the ISDC Support Software is compiled.
# The ISDC Support Software Package version 2.0 contains the following components: # # ISDC makefiles # makefiles 2.1.1 changed # # ISDC templates # templates 2.0 changed # # ISDC libraries # cfitsio 2.0.37.1 changed cfortran 4.3 common 1.3.4 changed dal 1.4.5 changed dal3aux 3.2.0 changed dal3cat 2.4.1 changed dal3gen 3.2.1 changed dal3hk 2.6.1 changed dal3ibis 3.2.0 changed dal3jemx 3.2.0 changed dal3omc 3.1.0 changed dal3spi 3.2.0 changed ril 3.0 pil 1.5.1 changed sla_c 2.1 sla_f90 2.1.2 changed # # ISDC tools # isdcroot 1.6 changed dal_attach 1.1 dal_create 1.0 dal_detach 1.0 dal_list 1.0 dal_verify 2.0 idx_add 2.3 changed idx_find 2.1 changed
http://isdc.unige.ch/Software/sw/sys-sw/support-sw/support-sw-2.0.tar.gz
Please read sla_c/LICENSE file before installing this package.
Sun Solaris 8
It has also been tested on the following secondary platform:
(unknown) Linux 2.2.x
To successfully compile and install SUPPORT-SW one needs the following generic UNIX tools:
C compiler (required)
system utilities like make, gzip, sed and tar (required)
F90 compiler (optional)
C++ compiler (optional)
ROOT (optional)
Note: The GNU version of make v. 3.79.1 must be used.
Be aware of the fact that the version of GNU make has
changed with respect to Reference Platform 1.6.
!!!! REALLY, YOU NEED GNU MAKE !!!!
It will not work with SUN's make, for instance.
On Solaris, the C/C++ and F90 compiler should be SUN Forte 6 C/C++ and F90 Compilers. On Linux, gcc 2.95.2 C compiler, g++ 2.95.2 C compiler and Fujitsu Fortran 95 Express 1.0 F90 compiler have been used. Note that the SUN Workshop 5 C++ requires patches. Please ask your system administrator to install the patches as described on the Reference Platform definition WWW page.
SUPPORT-SW is self contained, and therefore does not require any other package apart from those listed above. SUPPORT-SW library may compile/run on other architectures, but efforts to compile, test and support any other platform than the Reference Platform are limited. To install SUPPORT-SW, about 150 MB are required temporarily for the compilation results. The installation directory will contain about 41 MB.
my_install_dir MUST BE an absolute path!
Please note that this directory (and its subdirectories) should not contain any previous version of ISDC libraries. The best solution is to have it empty (directory itself should exist).
If you have not downloaded the SUPPORT-SW package, you can grab it from the ISDC WWW Software page:
http://isdc.unige.ch/Software/sw/sys-sw/support-sw/support-sw-2.0.tar.gz
After having downloaded the SUPPORT-SW package, the user has to move it to an empty directory ("my_source_dir") in which he or she has read and write permission. It is recommended that this directory is ${ISDC_ENV}/support-sw. This way the directory layout will match that of ISDC. The user has then to enter this directory, to which she/he will also have to copy the Support Software Package tar-file:
Then the following should be done:
The first line uncompresses the distribution file, the second unpacks files from tar file, creating many files and subdirectories.
Once ROOT is installed, three points must be checked to make sure that compilation of ROOT-dependent tools will be successful:
A very convenient way to test whether the three above points are set correctly is to type:
If you indeed enter ROOT, ROOT is set correctly. (Type ".q" to exit from ROOT)
This command deletes any existing object files, executables produced by build process, config.cache, Makefile produced by previous run of configure script. This is not necessary when one untars the SUPPORT-SW in a clean directory, but it nevertheless never hurts to type this command. In the worst case, you would get the error message:
make: *** No rule to make target `distclean'. Stop
This can be safely ignored.
The auto-configuration script (being a GNU product!) favors gcc over other C compilers. So if one has gcc and other C compiler installed on the system, it is possible to force the use of another compiler by setting the CC environment variable. On the Reference Platform (SUN Solaris), the Workshop C Compiler is selected by typing:
Similarly, the Workshop F90 Compiler is selected by typing:
The compilers must be in your execution path.
Note 1:
Other combinations of C/F90 compilers may require other symbols.
For example one would have to type 'setenv NAGLIB nagff' if the site specific name is libnagff.a.
To link any component with the NAG library, one has to do the following:
In the component specific makeisdc1.in instead of 'hard-wiring' the name of the NAG library (e.g. -lnag) one should specify -l$(NAGLIB).
in the directory where SUPPORT-SW has been untarred.
Please note that all the "setenv"'s must be made before configuring. If you change your mind about the value of an environment variable, you must redo the configuration.
The configure script will recursively descend and create the Makefiles into each package.
If you don't want to compile Fortran 90 support, you can explicitly disable it by typing:
Similarly, compilation of ROOT-dependent packages is disabled by typing:
Note that you can always reconfigure your system with different options. Typing `make distclean' may however be necessary in some cases. After the first configure has been made, one can simply type: `ac_stuff/configure' instead of `makefiles/ac_stuff/configure'.
The `configure' script analyses the system on which is run and produces `Makefile' according to rules defined in `Makefile.in', adapting it to the architecture of the machine on which is run. Specifically, it checks whether C and F90 compilers are workable. If F90 compiler is not present Makefile will contain only those parts relevant to C code. If the F90 compiler does not support 8 byte, compilation will not succeed.
Note: Efforts to port ISDC libraries on other platforms and set of compilers are limited. Therefore the configure script may fail when run on unsupported platforms.
Compilation and installation of SUPPORT-SW are made in one single step by issuing the command :
This will compile all relevant source files and create the library files, the F90 modules, and the C and F90 sample executables. The installation terminates by moving the library, the C header, the F90 module and the User's Manual to the correct location in the ISDC system tree. If everything went fine, you should see the following message:
************ everything compiled and installed successfully *********** executables/parameter files are installed in : /isdc/dev/bin F90 modules are installed in : /isdc/dev/f90mod documentation, help, .txt files are installed in : /isdc/dev/help C/C++ include .h files are installed in : /isdc/dev/include .a, .so library files are installed in : /isdc/dev/lib FITS file template files are installed in : /isdc/dev/templates
Instead of /isdc/dev, you will see: `my_install_dir'
To get rid of the results of the compilation, one can type:
or even (this removes in addition the results of configure script):
These commands work recursively in the entire SUPPORT-SW tree.
Note: If you type twice `make distclean' consecutively, you may get an error message. Just re-launch configuration if needed.
It is even possible to remove completely the source tree, as the User's Manual files are copied in the ${ISDC_ENV}/help directory. It means that you can safely type:
In the directory pointed to by ISDC_ENV.
Note: DON'T CLEAN THE DIRECTORY IF YOU WANT TO PLAY WITH THE SAMPLE PROGRAMS, AS THEY ARE NOT INSTALLED. You can always re-make them, except if you remove the directory.
Information about the sample programs is to be found in the individual packages.
If you think you have the Reference Platform or the secondary platform and compilation of isdcroot fails, please make sure that you have the correct compiler, the correct version of the OS and (on Linux) of the C/C++ standard libraries.
and the following Software Change Requests (SCREW) have not been implemented:
Please refer to the ISDC Change Control WWW-pages http://isdc.unige.ch/index.cgi?Changectrl+changectrl for more details.