The configure
script supports all the standard flags defined by
the GNU Coding Standards; see the INSTALL
file in Nero2d or
the GNU web page.
Note especially --help
to list all flags. The configure
script also accepts a few Nero2d-specific flags, particularly:
--enable-debug
Build Nero2d with some debugging checks turned on. Note that enabling this setting will alter any compilation flags. If you want to add for instance "-g3"
to the compiler flags, please change CXXFLAGS
and/or FFLAGS
.
--enable-mpi
This will compile the MPI version of Nero2d. Note that even for the MPI version of Nero2d, you do not need the MPI version of FFTW
.
--enable-mpe
This will compile Nero2d with MPE logging support. If requires the libmpe
and liblmpe
libraries. The resulting output file can then be examined with jumpshot. Note that this flag requires also the --enable-mpi
flag to be enabled.
--enable-blasfunc
By default, Nero2d does not call any BLAS
functions (it does however, call several BLAS
subroutines). This is because of the fact that different Fortran compilers have different conventions for returning the function's resulting value. Enabling this flag will force Nero2d to call the BLAS
functions anyway. This is likely somewhat faster. In our experience, you can safely use this flag in quality BLAS
implementations (e.g. ACML
and MKL
). The configure script will perform a few tests and warn the user if it suspects any trouble.
--with-fftw-dir=<DIR>
Use this flag if you have a local installation of the FFTW
library. Note that you need to provide the base directory in which you install FFTW
(the same directory you used as a prefix when you compiled FFTW
). The actual FFTW
libraries will then be located in $(basedir)/lib
and the include file (fftw3.h) in $(basedir)/include
.
--with-blas-dir=<DIR>
Use this flag to specify the directory in which the BLAS
library is located.
--with-blas=<DIR>
Specify the name of the BLAS
library. Note that if you use this flag, no other BLAS
libraries will be considered. This flag can be used to force the compilation of the BLAS
library from source by setting it to an empty value.
--with-lapack-dir=<DIR>
Use this flag to specify the directory in which the LAPACK
library is located.
--with-lapack=<LIB>
Specify the name of the LAPACK
library. Note that if you use this flag, no other LAPACK
libraries will be considered. This flag can be used to force the compilation of the LAPACK
library from source by setting it to an empty value.