Mac OS X JModelica Installation Success

4 posts / 0 new
Last post
cxbrooks
Offline
Joined: 2012-02-19
Mac OS X JModelica Installation Success

After a bunch of fooling around, I was able to build JModelica from source under Mac OS X 10.7.3.
My stream of consciousness notes are at
http://chess.eecs.berkeley.edu/ptexternal/wiki/Main/JModelica
The biggest issue that I had was that CaSDI wanted to use the default version of Python, not the devel version that I had installed.  The fix rquired editing CMakeCache.txt
_Christopher

jakesson
Offline
Joined: 2009-03-14
Hi Christopher,   Wow, you

Hi Christopher,
 
Wow, you went through quite some hassles here!
 
Some comments:

  • I used Mac ports to install all dependencies except for Ipopt, including a fresh Python 2.7 distribution and all the needed Python packages. I experienced no glitches along the way and I think that the mac ports way is very convenient.
  • Sundials will no longer be needed in JModelica.org version 1.7, it is built from sources as part of JModelica.org.
  • Some Python packages in JModelica.org have changed name, which was not reflected in the INSTALL file.
  • Currently, CasADi has issues on Mac systems. These are known and documented in http://sourceforge.net/apps/trac/casadi/ticket/201.

I have updated the INSTALL file to take into account the changes we have made for the upcoming 1.7 release. Your input was most helpful. We will work on further improving the installation instructions for Mac.
 
May I kindly ask you to make a comment on your wiki page about the possibility to use mac ports to install the JModelica.org dependencies? I fear that some Mac users will be discouraged by your experiences - and the mac ports way saves them the trouble :-).
 
Anyway, I hope that you will find your efforts worthwile when you get to using JModelica.org.
 
Best
/Johan

cxbrooks
Offline
Joined: 2012-02-19
Re: Mac OS X JModelica Installation Success

Sure, no problem, I updated
http://chess.eecs.berkeley.edu/ptexternal/wiki/Main/JModelica
with your response.
 
I'm going to leave that page mostly as is because the error messages are useful.
 
No worries on the difficulty here, part of the issue was not having a devel version of Python 2.7 installed.
 
_Christopher

paulrusu
Offline
Joined: 2016-10-12
Running JModelica on Mac OS Sierra

Hi, 

I tried to get JModelica.org running on my Mac following cxbrookses steps, but at the point where he says to install jhbuilder and change the target to 10.7 and I try to put in 10.12 for the current version, it gives me the error:

              MacOSX10.12.sdk not found

Does anyone know a workaround for this?    

Thanks a lot.

Login or register to post comments