Helping to get freekitesim working on OSX

74 views
Skip to first unread message

Brennan Gantner

unread,
Dec 11, 2015, 2:10:14 PM12/11/15
to Free KiteSim
Good morning,
I saw earlier that someone had asked about this and it was being worked on. I would like to see if I could get it working on mac and was wondering if there was anything I could do to help. I'm new to conda, so the hang up on trying right now is that it won't install the files on my machine (since its a linux build, it won't even put the files on my mac machine). But the rest of the dependancies can be handled with MacPorts and I'd like to be able to post a step-by-step instructions for a Mac build if/when I can get it running myself.

Any hints for conda work around or 'convert' tips for someone else's packages would be appreciated. Or if Uwe could convert the package for me, I would love to get it a shot.

Thanks,
Brennan

Uwe Fechner

unread,
Dec 15, 2015, 6:04:08 AM12/15/15
to Free KiteSim
I created an issue:
https://bitbucket.org/ufechner/freekitesim/issues/8/support-for-os-x

Could you please check, which of the needed packages you can also install with conda on OS X
and add a comment to the issue to document your findings?

Furthermore, which version of OS X shall be supported?

Best regards:

Uwe

Brennan Gantner

unread,
Dec 15, 2015, 11:37:52 PM12/15/15
to Free KiteSim
Yes, I'll start going through the list.  I leave for a week for Christmas, so I may not finish in the next few days, but will continue work when I return.

Brennan Gantner

unread,
Dec 18, 2015, 1:04:06 PM12/18/15
to Free KiteSim
Ok, I found OSX copies of each of the necessary packages, made sure that versions were all compatible and matches your required versions listed on bitbucket.  Kitesim starts running and then crashes out with the following error:

m_k:  0.2
MODEL:  KPS4
Traceback (most recent call last):
  File "RTSim.py", line 65, in <module>
    from assimulo.solvers import Radau5DAE
  File "/Users/bgantner/anaconda/envs/myenv/lib/python2.7/site-packages/assimulo/solvers/__init__.py", line 23, in <module>
    from .radau5 import Radau5ODE, Radau5DAE, _Radau5ODE, _Radau5DAE 
  File "/Users/bgantner/anaconda/envs/myenv/lib/python2.7/site-packages/assimulo/solvers/radau5.py", line 29, in <module>
    from assimulo.lib import radau5
ImportError: dlopen(/Users/bgantner/anaconda/envs/myenv/lib/python2.7/site-packages/assimulo/lib/radau5.so, 2): Library not loaded: /usr/local/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib
  Referenced from: /Users/bgantner/anaconda/envs/myenv/lib/python2.7/site-packages/assimulo/lib/radau5.so
  Reason: image not found


I read that as the python packages expecting gfortran to be in a somewhat odd location (at least to me): /usr/local/Cellar.  If you recognize this, please let me know.  Otherwise I'll try to track down what it is expecting or make a link there next week after the holidays.
Brennan

Uwe Fechner

unread,
Jan 3, 2016, 9:45:12 AM1/3/16
to Free KiteSim
Hello,

First of all, happy new year!

Tomorrow, two new PhD students start at TU Delft, who will work on kite power system simulation and control.
I hope to see good progress this year.

With respect to your installation problem on OSX I currently cannot help you myself, because I do not have access
to an OSX computer. Because your problem is related to the "assimulo" software package I suggest you ask in the
assimulo forum:

http://www.jmodelica.org/forums/jmodelicaorg-platform/assimulo

This are friendly guys from Sweden. Good luck!

Uwe Fechner

Brennan Gantner

unread,
Jan 7, 2016, 2:38:15 PM1/7/16
to Free KiteSim
Happy new year!  I traced the path back to a package manager for OSX that I'm not actually using.  I will have to ping the assimulo group to see how/why a package manager path is hard coded into the software, seems like a pretty big blunder so I assume that I'm missing something and not them.  I'll let you know what I find.  
Thanks,
Brennan

fro...@gmail.com

unread,
Dec 25, 2016, 5:07:33 PM12/25/16
to Free KiteSim
Thanks for sharing FreeKiteSim!
I tried installing now, but stranded at a different point than Brennan. Probably due to not working much on OS X and Python at all. So maybe somebody can easily show how to proceed.

I can not find sdl for OSX, only sdl2. I don´t know how to force a download when the ´platforms´information says Linux-64. Many libraries list multiple platforms.

I tried to prepare my Python 3.4.3 installation, starting with gfortran. I use the large anaconda installation, and these are the default installed libraries in the environment I would use:

cycler==0.10.0', 'matplotlib==1.5.3', 'numpy==1.11.3', 'pip==6.0.8', 'pyparsing==2.1.10', 'python-dateutil==2.6.0', 'pytz==2016.10', 'scipy==0.18.1', 'setuptools==12.0.5', 'six==1.10.0'
Reply all
Reply to author
Forward
0 new messages