Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

 

Introduction

OpenSim is software that lets users develop models of musculoskeletal structures and create dynamic simulations of movement

Usage

 

Installation

No Format
module load cmake/3.5.0
module load  library/lapackBlas/3.6.0
module load gcc/4.9.3
module load misc/simbody/3.5.4

download and copy the models first to: /sw/misc/opensim/3.2.0/src/opensim-core-3.2.0
cd  /sw/misc/opensim/3.2.0/src/opensim-core-3.2.0/opensim-models-master
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/opensim/3.2.0/Models  2>&1 | tee cmakeLog2.txt

Next if CFSQ file source is not available in /sw/misc/opensim/3.2.0/src/opensim-core-3.2.0/Vendors, edit the CMakeLists.txt and commentedit out reference to CFSQ. (Not sure about the implication of this but would love to get feedback)
##SUBDIRS(CFSQP lepton)
SUBDIRS(lepton)

cd /sw/misc/opensim/3.2.0/src/opensim-core-3.2.0
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/opensim/3.2.0 -DSimbody_INCLUDE_DIR=/sw/misc/simbody/3.5.4/include 2>&1 | tee cmakeLog1.txt


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

...

  1.  https://github.com/opensim-org/opensim-core/releases/tag/v3.2.0
  2. https://github.com/opensim-org/opensim-core
  3. https://github.com/opensim-org/opensim-models