This repository provides a collection of codes for the analysis of GPS/RO observations.
This documentation describes the installation on a Linux system. A number of standard tools such as the GNU Compiler Collection (gcc) and 'make' are required for installation.
Start by downloading the source code from the git repository:
git clone https://jugit.fz-juelich.de/slcs/gps
Change to the directory gps/ which holds source codes, libraries, documentation, etc:
cd gps
The GNU Scientific Library (https://www.gnu.org/software/gsl) is required for numerical calculations and the Unidata netCDF library (http://www.unidata.ucar.edu/software/netcdf) is needed for file-I/O. Copies of these libraries can be found in the repository, if they are not available on your system. A script is provided to build the libraries:
cd lib
./build.sh
Next, change to the source directory and edit the Makefile according to your needs. In particular, check the paths to the libraries (INCDIR and LIBDIR). Then try to compile the code:
cd ../src
emacs Makefile
make
The binaries will be linked statically, i.e., they can be copied to other machines. Sometimes static compilations causes problems, in particular in combination with MPI. In this case remove the '-static' flag from the CFLAGS in the Makefile and compile again.
By default we use rather strict compiler warnings. All warning messages will be turned into errors and no binaries will be produced. This behavior is enforced by the flag '-Werror'.
The binaries will remain in the src/ directory.
We are interested in sharing the GPS code for research applications.
Please do not hesitate to contact us if you have any further questions:
Dr. Lars Hoffmann
Forschungszentrum Jülich
Jülich Supercomputing Centre
52425 Jülich
Germany
e-mail: l.hoffmann@fz-juelich.de
The GPS Code Collection is distributed under the GNU GPL v3. Software libraries distributed along with this software package may have their own licenses and copyrights, please see corresponding documentation.