Skip to content

QuLogic/asdf-library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Usage

The following instructions are for in-source builds.

$ cmake .
$ make

Finding the correct MPI / HDF5 libraries does not seem to be working all the same on different systems.

If the compilation complains about a missing use mpi, try the following:

$ cmake . -DCMAKE_Fortran_COMPILER=mpif90
$ make

If the compilation still complains about missing hdf5 libraries, try:

$ cmake . -DCMAKE_Fortran_COMPILER=h5pfc
$ make

If you want to get cmake to find your local boost directory, try:

$ cmake -DBoost_NO_BOOST_CMAKE=TRUE \
    -DBoost_NO_SYSTEM_PATHS=TRUE \
    -DBOOST_ROOT:PATHNAME=$TARGET \
    -DBoost_LIBRARY_DIRS:FILEPATH=${TARGET}/lib

It should create a library in lib/ examples programs are in test/ and generated there.

If documentation needs to be generated:

cmake -DBUILD_DOCUMENTATION=ON

You should have doxygen installed. Documentation will be generated in doc/.

For out-of source builds, start with:

$ mkdir build/
$ cd build/

and follow the previous instructions, replacing . with ..

Once build, you may run test with:

$ make test

To install in a nonstandard location (e.g., a user directory without root privileges), you can either set CMAKE_INSTALL_PREFIX during configuration or DESTDIR during install, e.g.,

$ cmake -DCMAKE_INSTALL_PREFIX=/path/to/toplevel/install/directory <options> .
$ make
$ make install

or

$ cmake <options> .
$ make
$ make DESTDIR=/path/to/toplevel/install/directory install

Note that the files end up in $DESTDIR/$CMAKE_INSTALL_PREFIX/*, so it is only necessary to set one of these.

Titan compilation

modules
PrgEnv-gnu/5.2.40
cray-hdf5-parallel/1.8.12
boost/1.57.0
configuration
cmake .. -DCMAKE_Fortran_COMPILER=ftn -DHDF5_LIBRARIES=/opt/cray/hdf5-parallel/1.8.12/gnu/48/lib -DHDF5_INCLUDE_DIRS=/opt/cray/hdf5-parallel/1.8.12/gnu/48/include/ -DBoost_NO_BOOST_CMAKE=TRUE -DBoost_NO_SYSTEM_PATHS=TRUE -DBOOST_ROOT:PATHNAME=/sw/xk6/boost/1.57.0/cle5.2_gnu4.8.2/  -DBoost_LIBRARY_DIRS:FILEPATH=/sw/xk6/boost/1.57.0/cle5.2_gnu4.8.2/lib

About

Adaptable Seismic Data Format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.3%
  • Shell 8.9%
  • Python 4.9%
  • C 1.3%
  • CMake 0.6%