Simbody

Introduction

 

Simbody is useful for internal coordinate and coarse grained molecule modeling, large scale mechanical models like skeletons, 
and anything else that can be modeled as bodies interconnected by joints, acted upon by forces, and restricted by constraints.
 

Usage

module load simbody/353
module load misc/simbody/3.5.4
module load simbody/360

 

Installation

export CC=/sw/gcc/4.9.3/bin/gcc
export CXX=/sw/gcc/4.9.3/bin/g++
#export LAPACK_DIR=/sw/library/lapack/lapack-3.6.0/3.6.0
#export BLAS_DIR=/sw/library/blas/CBLAS
module load gcc/4.9.3
module load cmake/3.5.0
cmake . -DLAPACK_LIBRARIES=/sw/library/lapack/lapack-3.6.0/3.6.0/lib64/liblapack.so -DBLAS_LIBRARIES=/sw/library/blas/CBLAS/lib/cblas_LINUX.so -DCMAKE_INSTALL_PREFIX=/sw/simbody/353  2>&1 | tee cmakeLog.txt
make 2>&1 | tee makelog.txt
make test 2>&1 | tee makeTestlog.txt
make install 2>&1 | tee makeInstalllog.txt

 

simbody 3.5.4

module load cmake/3.5.0
module load library/lapackBlas/3.6.0
module load gcc/4.9.3

cmake . -DCMAKE_C_COMPILER=/sw/gcc/4.9.3/bin/gcc -DCMAKE_CXX_COMPILER=/sw/gcc/4.9.3/bin/g++  -DCMAKE_INSTALL_PREFIX=/sw/misc/simbody/3.5.4   2>&1 | tee cmakeLog.txt

make 2>&1 | tee makeLog.txt
make install 2>&1 | tee makeInstallLog.txt

 

simbody 360

module list
Currently Loaded Modulefiles:
  1) library/gmp/6.0.0    2) library/mpfr/3.1.2   3) library/mpc/1.0.2    4) gcc/4.9.3            5) cmake/3.5.0

cd /sw/simbody/360/src/simbody-master
export CC=/sw/gcc/4.9.3/bin/gcc
export CXX=/sw/gcc/4.9.3/bin/g++
module load gcc/4.9.3
module load cmake/3.5.0
cmake .  -DBUILD_PYTHON_WRAPPING=on -DCMAKE_INSTALL_PREFIX=/sw/simbody/360  2>&1 | tee cmakeLog.txt
make 2>&1 | tee makelog.txt
make test 2>&1 | tee makeTestlog.txt
make install 2>&1 | tee makeInstalllog.txt

 

Reference

  1. https://simtk.org/projects/simbody/
  2. https://github.com/simbody/simbody/blob/Simbody-3.5.3/README.md#linux-or-mac-using-make