Skip to content

incf-music/music-adapters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music-adapters

A collection of adapters for the MUSIC library (https://github.com/INCF/MUSIC).

Run 'doxygen' to create the documentation including example configurations.

Installing requirements with conda

conda install pkg-config jsoncpp blas gsl
conda install -c conda-forge cppzmq

Installing requirements with apt

sudo apt install pkg-config libjsoncpp-dev libzmq3-dev libblas-dev libgsl-dev

Compiling and making

cmake -DCMAKE_INSTALL_PREFIX:PATH=<PREFIX> -DMUSIC_ROOT_DIR=<MUSIC_INSTALL_PREFIX> <music-adapters_SOURCE>
make
make install

If the compiler runs into trouble because it can't find a file "json.h", try

# if libjsoncpp was installed with apt
cp -r /usr/include/jsoncpp/json <music-adapters_SOURCE>/base
# if libjsoncpp was installed with anaconda
cp -r ~/anaconda2/pkgs/jsoncpp-<SUFFIX>/include/jsoncpp/json <music-adapters_SOURCE>/base

or copying any other folder "json" containing a file "json.h" to the source directory.

Sometimes, cmake does not find mpi.h because it selects the wrong compilers. In this case try:

cmake -DCMAKE_INSTALL_PREFIX:PATH=<PREFIX> -DMUSIC_ROOT_DIR=<MUSIC_INSTALL_PREFIX> -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpic++ <music-adapters_SOURCE>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published