- the complete GNU configure and build system;
- a working MPI-2 implementation, both libraries and compilers (OpenMPI strongly suggested);
- libconfig (http://www.hyperrealm.com/libconfig/);
- LAPACK and BLAS libraries (http://www.netlib.org);
- ScaLAPACK and BLACS libraries (http://www.netlib.org).
The installation procedure is quite straightforward.
The configure script accepts the following non-standard options:
-
--with-mpicc=<mpicc compiler> location of mpicc compiler
-
--with-libconfig=<config lib dir> location of libconfig lib
-
--with-libmysqlclient=<mysqlclient lib dir> location of MySQL client lib
-
--with-scalapack-and-blacs=<dir> location of Scalapack and BLACS libs
-
--with-lapack=<dir> location of Lapack libs (if not in search path)
-
--enable-mysql=<yes|no> if 'yes' enables the MySQL save feature. Default is 'no'
- liblapack.a
- libscalapack.a
- libblacsCinit_MPI.a
- libblacs_MPI.a
Users of libconfig version >= 1.3.2 must define the flag HAVE_LIBCONFIG_1_3_2 issuing the command
- "export CFLAGS=-DHAVE_LIBCONFIG_1_3_2" (for bash shell)
- "setenv CFLAGS -DHAVE_LIBCONFIG_1_3_2" (for csh or tcsh)
Example:
The netlib libraries are in the /usr/local/lib/netlib dir; in order to install acousto you can type the following commands:
configure --with-scalapack-and-blacs=/usr/local/lib/netlib --with-lapack-and-blas=/usr/local/lib/netlib
make
make install
This will compile and install the AcouSTO executable in the /usr/local/bin dir.
