Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.
/ libxdrfile Public archive

Fork of library used in reading xtc files from GROMACS simulations

License

Notifications You must be signed in to change notification settings

wesbarnett/libxdrfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libxdrfile

Fork of MDAnalysis's implementation of xdrfile, which itself is a fork of GROMACS's implementation. I forked MDAnalysis' version because they have made several improvements that were never merged upstream. Additionally I wanted xdrfile to be a separate package that was easy to link other libraries to.

This version of xdrfile is required for libgmxfort.

Compilation

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
make

Installation

make install

Testing

To test the library capabilities, do:

make test

Linking other cmake projects

A file is included to easily link other cmake projects to the xdrfile installation. Use find_package ( xdrfile ) and the variables xdrfile_INCLUDE_DIRS and xdrfile_LIBRARIES.

pkg-config

A pkg-config file is included for use in compiling other programs. You may need to set PKG_CONFIG_PATH to its location (by default /usr/local/lib/pkgconfig).