Fwd: OpenModelica?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: OpenModelica?

Murray Eisenberg-2


Begin forwarded message:

From: Murray Eisenberg <[hidden email]>
Subject: Re: OpenModelica?
Date: 7April 2018 at 5:32:11 PM EDT
To: Ken Cunningham <[hidden email]>

Nope, config failure.

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 :

config.status:752: creating Makefile
configure:4318: === configuring in OMCompiler (/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/OMCompiler)
configure:4381: running /bin/sh ./configure --disable-option-checking '--prefix=/opt/local'  '--disable-python-interface' '--disable-modelica3d' '--with-lapack=-llapack -lblas' '--without-omc' '--without-omlibrary' 'OMPCC=/opt/local/bin/gcc-mp-7 -fopenmp -mno-avx' 'GNUCXX=/opt/local/bin/g++-mp-7' '--with-omniORB=/opt/local' 'CC=/usr/bin/clang' 'CFLAGS=-pipe -Os -arch x86_64' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' 'CPPFLAGS=-I/opt/local/include' '--with-ombuilddir=/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' --cache-file=/dev/null --srcdir=.
configure:4386: error: ./configure failed for OMCompiler


And from /opt/local/var/macports/logs/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/main.log:

:info:configure checking LAPACK/BLAS flags... configure: error: dgesv (LAPACK) linking failed using -llapack -lblas
:info:configure configure: error: ./configure failed for OMCompiler
:info:configure Command failed:  cd "/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" && ./configure --prefix=/opt/local --disable-python-interface --disable-modelica3d --with-lapack="-llapack -lblas" --without-omc --without-omlibrary OMPCC="/opt/local/bin/gcc-mp-7 -fopenmp -mno-avx" GNUCXX=/opt/local/bin/g++-mp-7 --with-omniORB=/opt/local 


On 7 Apr2018, at 5:17 PM, Ken Cunningham <[hidden email]> wrote:

not 100% sure, sorry. I’d just go for it. hope it works for you!

Ken

On Apr 7, 2018, at 2:09 PM, Murray Eisenberg <[hidden email]> wrote:

OK, I made those edits to the portfile. I’m going to be using:

 sudo port install openmodeler +libraries

Anything I should uninstall before cleaning everything and then trying that install?


On 7 Apr2018, at 4:34 PM, Ken Cunningham <[hidden email]> wrote:



On Apr 7, 2018, at 1:13 PM, Murray Eisenberg <[hidden email]> wrote:

With a small change in the openmodelica-devel Portfile that I did prior to starting the build (so it would use gcc7 for fortran), all of openmodelica-devel built through to completion for me on a current Xcode and 10.13 system, using no compiler variants, and only +libraries.

set gfortran_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6 7}
set default_fortran_variant +gfortran7


Ken

---
Murray Eisenberg [hidden email]
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334




---
Murray Eisenberg [hidden email]
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334



---
Murray Eisenberg [hidden email]
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334