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

No Format
module load misc/opensim/3.2.0

...

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
module load python/2.7.10
module load library/swig/2.0.12

download 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/
mv /sw/misc/opensim/3.2.0/src/opensim-core-3.2.0 /sw/misc/opensim/3.2.0/Models

>>>>>>>>>>>BEGIN: These steps are not needed<<<<<<<<<<<<<<<<<<<<<<<<<<<<
##cd  /sw/misc/opensim/3.2.0/src/opensim-core-3.2.0/opensim-models-master
cmake##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
##make make 2>&1 | tee makeLog.txt
make##make install 2>&1 | tee makeInstallLog.txt
>>>>>>>>>>>>>>>>>>>>>>>>END>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Next
 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 edit 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

...