Commit 29993d13 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

corrections and further notes

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3389
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 0982f51c
......@@ -19,6 +19,9 @@ variables. Some deprecated features (like TF_FALLBACK and TF_LIBREGEXX) will
be discarded. For some time, you might find my code in an intermediate
transitional stage.
There is a trac system installed for the software repository. Have a look at
http://gpitrsvn.gpi.uni-karlsruhe.de:8000/TFSoftware
Make
----
In many cases you will need gmake (GNU make) to use the provided Makefiles.
......@@ -99,7 +102,7 @@ Environment variables in Makefiles
To the following variables local values may be appended in Makefiles:
FLAGS general flags (will be appended to other flag variables)
CFLAGS flags to C compiler
FCLAGS flags to Fortran compiler
FFLAGS flags to Fortran compiler
CPPFLAGS flags to preprocessor
CXXFLAGS flags to C++ compiler
LDFLAGS flags to linker
......@@ -124,24 +127,39 @@ Libraries
cross-dependency of libraries. This situation will be improved in the
future.
Have a look at README.dependencies and the Makefile in subdirectory libs
too.
The code also depends on some external libraries:
liblapack, libblas, libgslcblas, libgsl, libboost, libfftw3
The libraries required are usually listed in the preamble of the individual
Makefiles.
tfmacros.h
----------
The file tfmacros.h is available in package thofdevel########.tar.gz.
It is used by several packages. Download and unpack this package and call
/bin/cp -vpd tfmacros.h $LOCINCLUDEDIR
Use of this header file is deprecated and it will vanish in the future.
If you come across this header at any location, consider it as a bug and
create a ticket.
Compilers
---------
With the transition to 64-bit systems, the default method to compile Fortran
files will be gfortran (Fortran compiler in the GNU compiler collection).
Most code will still compile with g77 if used consistently for all libraries
too. Please use the FC environment variable to select your preferred Fortran
cpmpiler. Notice that *all* code must be compiled with the -ff2c option set,
to ensure proper interlanguage linking.
Most code will still compile with g77 and gfortran if used consistently for
all libraries too. Please use the FC environment variable to select your
preferred Fortran cpmpiler. Notice that *all* code must be compiled with the
-ff2c option set, to ensure proper interlanguage linking.
Recommended compiler flags for gfortran are:
-ff2c -Wall -ffixed-line-length-0 -fno-backslash
The options -ff2c and -fno-backslash have to be used consistently for
libraries and main programs.
Since I experience problems with return values from libf2c-functions on
64-bit systems (see below), the support for f2c is discontinued. Some
libraries which provide features for inter-language linking (like libtime.a)
......@@ -198,6 +216,10 @@ Shell scripts
this shell-script, since you will not use the make rules for package
creation.
The use of these shell scripts is deprecated. They will vanish in the
future. If you come across one of them in a Makefile consider it as a bug
and create a ticket.
Fortran plot programs
---------------------
Plot programs usually link against PGPLOT (see below). When compiling the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment