0.0
No commit activity in last 3 years
No release in over 3 years
A module to allow CodeRunner to run the integrated tokamak modelling suite Cronos. Requires matlab and matlab-ruby (Cronos also requires Matlab).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.3
~> 3.12
~> 3.5

Runtime

 Project Readme

cronoscrmod

A module to allow CodeRunner to run the integrated tokamak modelling suite Cronos

cronoscrmod requires matlab-ruby, but for technical reasons, you must install this yourself manually.

Try:

gem install matlab-ruby

If this fails, see the notes below.

Notes

Instructions for Mac OS X

You need to install matlab-ruby for cronoscrmod, but gem install matlab-ruby does not in general work. It is recommended that you install it yourself like this:

git clone git@github.com:edmundhighcock/matlab-ruby.git

cd matlab-ruby

ruby setup.rb config -- --with-matlab-include=/Applications/MATLAB_R2012a.app/extern/include/ --with-matlab-lib=/Applications/MATLAB_R2012a.app/bin/maci64/

ruby setup.rb setup

sudo ruby setup.rb install

You also need to make sure the Matlab libraries are in the linker path:

Add these lines to your login script:

export PATH=$PATH:/Applications/MATLAB_R2012a.app/bin/

export DYLD_LIBRARY_PATH=/Applications/MATLAB_R2012a.app/bin/maci64:$DYLD_LIBRARY_PATHo