ESIO uses the GNU autotools suite (autoconf, automake, and libtool) for its development build system.
This system is popular among the Linux development community and provides a familiar build environment for end users.
To build ESIO starting from a release distribution, untar the distribution and enter the top-level directory.
gcc
/gfortran
) and Intel (icc
/ifort
) compilers are supported. If ESIO's configure script cannot automatically detect the correct compiler location, try setting $CC and $FC environment variables prior to running configure. –enable-parallel
option for details). HDF5 Fortran support is notrequired. The same MPI stack and Fortran compiler used to compile HDF5 must be used to build ESIO. ESIO's configure script should detect the appropriate information if HDF5's h5pcc
compiler wrapper is in your path. If your HDF5 installation is not detected correctly, you may use ESIO's –with-hdf5
option to specify a location. –with-grvy
option to specify a location. To configure ESIO, within the esio-0.1.9 directory issue
where you should add any additional configure options at the end of the command. One very useful option is the –prefix=DIR
which sets your desired top-level installation directory for ESIO.
By default, ESIO builds both a shared and static library (for example, libesio.so
and libesio.a
, respectively). This will only succeed if your HDF5 installation was configured with –enable-shared
. To disable one or the other, use the –disable-shared
or –disable-static
option to configure.
Once configured, issue a make
to build the software. If successful, this will build the ESIO library (static and dynamic versions), several examples, and some additional ESIO-related utilities.
If you see error messages regarding -fPIC
, see the above configuration hints regarding building shared versus static versions of ESIO.
To optionally verify that the software is working properly, a check target is provided to run a suite of functionality tests against the local build. To run these tests, issue
Many of the tests require your MPI installation's mpiexec
command to be usable. Such tests may not be executable on many public high performance computing platform login nodes.
After the build is complete, issue
to install the library. The installation will consist of three top-level directories housing ESIO's include files, compiled libraries, and utilities.