Skip to content

warped simulation kernel (replacement of old system, beginning with version 5.0)

License

Notifications You must be signed in to change notification settings

wilseypa/warped2

Repository files navigation

WARPED Build Status

A Parallel & Distributed Discrete Simulation Library

Building

WARPED is built with Autotools and a C++11 compiler.

Prerequisites

WARPED requires than an MPI implementation such as MPICH or OpenMPI is installed.

If building from the git repository instead of a tarball, you will also need the GNU Autotools tool-chain, including Automake, Autoconf, tclap, cereal and Libtool.

sudo apt install libtclap-dev autotools-dev autoconf automake libtool libcereal-dev 

Building from the Git repository

To build from the git repository, first clone a local copy.

git clone https://github.com/wilseypa/warped2.git 

You can run the Autotools build without any options, although specifying a prefix (install location) is recommended.

autoreconf -i
./configure --with-mpi-includedir=/usr/include/mpich --with-mpi-libdir=/usr/lib/mpich --prefix=$HOME/lib/warped2
make
make install

The --with-mpi-includedir and --with-mpi-libdir flags need to point to the MPI libraries and header files respectively.Replace the paths in the above example with the locations of the MPI libraries and headers on your machine.

Building from a tarball

To build from a source tarball, first download and extract the latest release from GitHub. cd into the directory you extracted the tarball to, and run the following commands:

export CXX=mpicxx
./configure --prefix=$HOME/lib/warped2 && make && make install

This will build and install the warped library to the path specified by the --prefix configuration option. If you omit the prefix, the library will be installed to /usr.

Silent Build Rules

Because the normal output of make is very verbose, WARPED is configured to use silent build rules by default. To disable silent rules, pass the --disable-silent-rules flag to configure or the V=1 flag to make.

./configure --prefix=$HOME/lib/warped2 --disable-silent-rules

or

make V=1

Debug Build Rules

WARPED can be configured to build in debug mode using the --enable-debug flag.

./configure --prefix=$HOME/lib/warped2 --enable-debug

License

The WARPED code in this repository is licensed under the MIT license, unless otherwise specified. The full text of the MIT license can be found in the LICENSE.txt file.

WARPED depends on some third party libraries which are redistributed in the deps/ folder. Each third party library used is licensed under a license compatible with the MIT license. The licenses for each third party library can be found in their respective directories.

About

warped simulation kernel (replacement of old system, beginning with version 5.0)

Resources

License

Stars

Watchers

Forks

Packages

No packages published