Re: How reconcile openmodelica-dvel & octave dependencies on sundials vs. sundials2

2018-06-20 Thread Adam Dershowitz
h the octave Portfile to make > sundials2 support a variant. > If you want to install octave without sundials2 support (so you can use > openmodelica which needs sundials) this should allow you to do that. > > The command is: > > sudo port -v install octave -sundials2 &g

Re: How reconcile openmodelica-dvel & octave dependencies on sundials vs. sundials2

2018-06-05 Thread Ken Cunningham
Adam, Murray -- This small patch will patch the octave Portfile to make sundials2 support a variant. If you want to install octave without sundials2 support (so you can use openmodelica which needs sundials) this should allow you to do that. The command is: sudo port -v install octave

Re: How reconcile openmodelica-dvel & octave dependencies on sundials vs. sundials2

2018-06-04 Thread Ken Cunningham
On 2018-06-04, at 8:22 AM, Adam Dershowitz wrote: >>> The odd thing is that octave 4.2.2 was working fine with sundials (which is >>> version 3.1.0_1) This doesn't seem too likely, unless Octave was ignoring sundials. Why don't you try deleting the sundials dependency in the Octave portfile

Re: How reconcile openmodelica-dvel & octave dependencies on sundials vs. sundials2

2018-06-04 Thread Adam Dershowitz
th > a variant. > > you could disable sundials in octave if you don't want or need it (again, > maybe a variant). > > > ... > > > On 2018-06-04, at 5:49 AM, Adam Dershowitz wrote: > >> I’m in the same situation (I have openmodelica-devel installed and wan

Re: How reconcile openmodelica-dvel & octave dependencies on sundials vs. sundials2

2018-06-04 Thread Ken Cunningham
). ... On 2018-06-04, at 5:49 AM, Adam Dershowitz wrote: > I’m in the same situation (I have openmodelica-devel installed and want to > upgrade octave). The odd thing is that octave 4.2.2 was working fine with > sundials (which is version 3.1.0_1). But, the upgrade of octave to 4.4 &

Re: How reconcile openmodelica-dvel & octave dependencies on sundials vs. sundials2

2018-06-04 Thread Adam Dershowitz
I’m in the same situation (I have openmodelica-devel installed and want to upgrade octave). The odd thing is that octave 4.2.2 was working fine with sundials (which is version 3.1.0_1). But, the upgrade of octave to 4.4 requires the sundials2 port (2.7.0). So, somehow it seems that upgrading

Re: How reconcile openmodelica-dvel & octave dependencies on sundials vs. sundials2

2018-06-03 Thread Ken Cunningham
is often a simpler and better solution, eg the recent ffmpeg project... Ken On 2018-06-03, at 2:51 PM, Murray Eisenberg wrote: > The current octave > (@4.4.0_2+accelerate+app+docs+gfortran+graphicsmagick+qt5+sound) epends on > sundials2. > openmodelica-dvel depends on sundials.

How reconcile openmodelica-dvel & octave dependencies on sundials vs. sundials2

2018-06-03 Thread Murray Eisenberg
The current octave (@4.4.0_2+accelerate+app+docs+gfortran+graphicsmagick+qt5+sound) epends on sundials2. openmodelica-dvel depends on sundials. And sundials cannot be installed because it conflicts with sundials2. Any way to resolve this? --- Murray Eisenberg

Re: OpenModelica?

2018-04-16 Thread Murray Eisenberg
I have solved the problem by uninstalling other MacPorts that used the atlas libraries, including octave, qrupdate, and arpack; then installing those dependencies with the +accelerate variant; and finally installing openmodelica-devel+gfortran5+libraries+omnotebook+qt+sundials. I hope

Re: OpenModelica?

2018-04-16 Thread Ryan Schmidt
On Apr 16, 2018, at 15:50, Murray Eisenberg wrote: > Error: Failed to fetch qrupdate: must set at least one Fortran variant > (e.g. +gfortran, +gccX, +g95) > This message is printed by the compilers-1.0 portgroup, and is not customized for the set of variants that a particular port offers:

Re: OpenModelica?

2018-04-16 Thread Adam Dershowitz
ote: >> >> As an datapoint, but not completely answering your question. I have the >> following installed and all working: >> >> sundials @3.1.0_1+accelerate+fortran_klu+gfortran+mpich (active) >> octave @4.2.2_1+accelerate+app+docs+fltk+gfortran+graphicsmagi

Re: OpenModelica?

2018-04-16 Thread Murray Eisenberg
1+accelerate+fortran_klu+gfortran+mpich (active) > octave @4.2.2_1+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound > (active) > SuiteSparse @4.2.1_4+accelerate (active) > openmodelica-devel > @1.13.0~dev-882-g45503fc_0+gfortran5+omnotebook+qt+sundials (active) > > >

Re: OpenModelica?

2018-04-16 Thread Ken Cunningham
Whenever I get to this level of hassle, I just blow up MacPorts and start over. It takes but a few minutes to reinstall the prebuilt binaries, and then you know you're clean. Life is too short Ken

Re: OpenModelica?

2018-04-16 Thread David Strubbe
s @3.1.0_1+accelerate+fortran_klu+gfortran+mpich (active) > octave @4.2.2_1+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound > (active) > SuiteSparse @4.2.1_4+accelerate (active) > openmodelica-devel @1.13.0~dev-882-g45503fc_0+gfortran5+omnotebook+qt+sundials > (active) &g

Re: OpenModelica?

2018-04-16 Thread Adam Dershowitz
>> As an datapoint, but not completely answering your question. I have the >> following installed and all working: >> >> sundials @3.1.0_1+accelerate+fortran_klu+gfortran+mpich (active) >> octave @4.2.2_1+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound >>

Re: OpenModelica?

2018-04-16 Thread Murray Eisenberg
> As an datapoint, but not completely answering your question. I have the > following installed and all working: > > sundials @3.1.0_1+accelerate+fortran_klu+gfortran+mpich (active) > octave @4.2.2_1+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound > (active) > SuiteSparse @4.2

Re: OpenModelica?

2018-04-16 Thread Adam Dershowitz
(active) openmodelica-devel @1.13.0~dev-882-g45503fc_0+gfortran5+omnotebook+qt+sundials (active) I don’t recall the installation order, or if any of those are not the default variant. --Adam > On Apr 16, 2018, at 3:39 PM, Murray Eisenberg <murrayeisenb...@gmail.com> > wrote: >

Re: OpenModelica?

2018-04-16 Thread Murray Eisenberg
From a post on the OpenModelica forum, I learned that the trouble was that I did not have the lapack port installed, and so the openmodelica-devel configure was attempting to use libatlas from atlas instead. Subsequently, after cleaning everything, I did install lapack @3.8.0_0+gfortran

Re: OpenModelica?

2018-04-08 Thread Ryan Schmidt
On Apr 7, 2018, at 15:13, Murray Eisenberg wrote: > Would it be appropriate to open a ticket http://trac.macports.org? No, since we were not involved in the creation of the openmodelica portfiles nor do we host them in our repository, and we have no influence over those who do host t

Re: OpenModelica?

2018-04-08 Thread Ryan Schmidt
On Apr 7, 2018, at 15:02, Ken Cunningham wrote: > Also, installing both gcc5 and gcc7 and libgcc6 and libgcc just seems nutty, > so I added gcc6 and gcc7 to the fortran variants — but that has nothing to do > with the above. Using both gcc5 and gcc7 in a single port would indeed be nutty, if

Re: OpenModelica?

2018-04-07 Thread Michael Parson
On Sat, 7 Apr 2018, Murray Eisenberg wrote: I’m trying to install the port of OpenModelica. The instructions at https://www.openmodelica.org/download/download-mac <https://www.openmodelica.org/download/download-mac> give, as first step: echo rsync://build-openmodelica.org/ma

Re: OpenModelica?

2018-04-07 Thread Adam Dershowitz
> On Apr 7, 2018, at 4:34 PM, Ken Cunningham <ken.cunningham.web...@gmail.com> > wrote: > > > >> On Apr 7, 2018, at 1:13 PM, Murray Eisenberg <murrayeisenb...@gmail.com> >> wrote: > > With a small change in the openmodelica-devel Portfile

Re: OpenModelica?

2018-04-07 Thread Murray Eisenberg
Indeed, a major hiccup in the installation (which I did _without_ using the +clang variant). From /opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-866-gb1271a6/config.log

Re: OpenModelica?

2018-04-07 Thread Adam Dershowitz
ySize.o is_utf8.o ptolemyio_omc.o SimulationResults_omc.o > omc_communication.o omc_communication_impl.o Corba_omc.o -L > > "/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-866-gb1271a6/build/lib/x86_64-darwin17.5

Re: OpenModelica?

2018-04-07 Thread Ken Cunningham
olemyio_omc.o SimulationResults_omc.o omc_communication.o omc_communication_impl.o Corba_omc.o -L "/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-866-gb1271a6/build/lib/x86

Re: OpenModelica?

2018-04-07 Thread Adam Dershowitz
I’m not sure why you would go to Mathematic, as you can simulate them just fine in OpenModelica, if you want. --Adam > On Apr 7, 2018, at 3:54 PM, Murray Eisenberg <murrayeisenb...@gmail.com> > wrote: > > Ouch, yes, my disastrous typo in the repository name, sorry. (T

Re: OpenModelica?

2018-04-07 Thread Murray Eisenberg
nstructions. But the second time, using "sudo su -“ I just typed the command, clearly a mistake. Now the sync with that repository has completed successfully, I’m watching the long installation process proceed. (Using openmodelica will be an adventure, as I intend to use it as a source of models I

Re: OpenModelica?

2018-04-07 Thread Ken Cunningham
> On Apr 7, 2018, at 11:58 AM, Adam Dershowitz wrote: > > Did you mistype the echo command? > The rsync says build DOT openmodelica.org > while the error shows > build HYPHEN openmodelca.org > > --Adam > > > >> On

Re: OpenModelica?

2018-04-07 Thread Adam Dershowitz
Did you mistype the echo command? The rsync says build DOT openmodelica.org while the error shows build HYPHEN openmodelca.org --Adam > On Apr 7, 2018, at 2:56 PM, Ken Cunningham > wrote: > > > >> On Apr 7, 2018, at 11:51 AM, Ryan Schmidt

Re: OpenModelica?

2018-04-07 Thread Ryan Schmidt
On Apr 7, 2018, at 13:56, Murray Eisenberg wrote: > On 7 Apr2018, at 2:51 PM, Ryan Schmidt wrote: > >> On Apr 7, 2018, at 13:50, Murray Eisenberg wrote: >> >>> What’s happening now is befuddling to me. Doing the step >>> >>> echo rsync://build.openmodelica.org/macports/ >> >>>

Re: OpenModelica?

2018-04-07 Thread Ken Cunningham
> On Apr 7, 2018, at 11:51 AM, Ryan Schmidt wrote: > > > On Apr 7, 2018, at 13:50, Murray Eisenberg wrote: > >> What’s happening now is befuddling to me. Doing the step >> >> echo rsync://build.openmodelica.org/macports/ >> >>

Re: OpenModelica?

2018-04-07 Thread Murray Eisenberg
The verbose flag on selfupdate shows that rsync-ing rsync.macports.org/release/tarballs/ports.tar is OK, but then... Synchronizing local ports tree from rsync://build-openmodelica.org/macports/ rsync: getaddrinfo: build-openmodelica.org 873: nodename nor servname provided, or not known rsync

Re: OpenModelica?

2018-04-07 Thread Ryan Schmidt
On Apr 7, 2018, at 13:50, Murray Eisenberg wrote: > What’s happening now is befuddling to me. Doing the step > >echo rsync://build.openmodelica.org/macports/ >> > /opt/local/etc/macports/sources.conf > > as root (sudo su - ) seems to have worked, as >

Re: OpenModelica?

2018-04-07 Thread Murray Eisenberg
rballs/ports.tar [default] rsync://build-openmodelica.org/macports/ However, continuing as root, doing the step port selfupdate gives: Error: Synchronization of the local ports tree failed doing rsync Could there be some issue with MacPorts access to the openmodelica repository?

Re: OpenModelica?

2018-04-07 Thread Adam Dershowitz
> port install gcc44 # With the addition of llvm/clang as the default compiler >> in XCode, many ports now fail to build unless you force GCC to be used >> port install openmodelica-devel +libraries +clang >> >> …should I still stay in that root shell? > > It doe

Re: OpenModelica?

2018-04-07 Thread Adam Dershowitz
ports, in an > entirely separate ports collection that the user must load into MacPorts in > order to use. The previous messages in this thread describe Murray's attempts > to do so on his system. I don't know why the developers of openmodelica have > chosen to distribute t

Re: OpenModelica?

2018-04-07 Thread Ken Cunningham
lated ports, in an > entirely separate ports collection that the user must load into MacPorts in > order to use. The previous messages in this thread describe Murray's attempts > to do so on his system. I don't know why the developers of openmodelica have > chosen to distri

Re: OpenModelica?

2018-04-07 Thread Ryan Schmidt
ous messages in this thread describe Murray's attempts to do so on his system. I don't know why the developers of openmodelica have chosen to distribute their software in this way, rather than submit their portfiles for inclusion in the standard ports repository like everyone else does.

Re: OpenModelica?

2018-04-07 Thread Ken Cunningham
o the remaining steps… >> >> port selfupdate >> port install gcc44 # With the addition of llvm/clang as the default compiler >> in XCode, many ports now fail to build unless you force GCC to be used >> port install openmodelica-devel +libraries +clang >> &

Re: OpenModelica?

2018-04-07 Thread Murray Eisenberg
Thanks, that seems to have worked. To do the remaining steps… port selfupdate port install gcc44 # With the addition of llvm/clang as the default compiler in XCode, many ports now fail to build unless you force GCC to be used port install openmodelica-devel +libraries +clang …should I still

Re: OpenModelica?

2018-04-07 Thread David Herron
enb...@gmail.com> wrote: > I’m trying to install the port of OpenModelica. The instructions at > https://www.openmodelica.org/download/download-mac give, as first step: > > echo rsync://build-openmodelica.org/macports/ >> > /opt/local/etc/macports/sources.conf > >

OpenModelica?

2018-04-07 Thread Murray Eisenberg
I’m trying to install the port of OpenModelica. The instructions at https://www.openmodelica.org/download/download-mac <https://www.openmodelica.org/download/download-mac> give, as first step: echo rsync://build-openmodelica.org/macports/ >> /opt/local/etc/macports/sources.co