elmer 8.2 can't be installed on Mac OS 10.12.1 Xcode 8.1

Discussion about building and installing Elmer
Post Reply
uww
Posts: 2
Joined: 29 Oct 2016, 16:37
Antispam: Yes

elmer 8.2 can't be installed on Mac OS 10.12.1 Xcode 8.1

Post by uww »

Hi,

I try to install elmer 8.2 via homebrew.

I updated gcc version 6 and Xcode is on version 8.1.

I used:

Code: Select all

brew install elmer --HEAD --verbose
However, I get a lot of warnings and building fails with an error.

Code: Select all

...
cd /tmp/elmer-20161104-89980-1y3vdru/build/mathlibs/src/arpack && /usr/local/bin/gfortran  -DCONTIG=,CONTIGUOUS -DHAVE$
/tmp/elmer-20161104-89980-1y3vdru/elmergrid/src/metis/balance.c:21:18: error: unknown type name 'CtrlType'
 void Balance2Way(CtrlType *ctrl, GraphType *graph, int *tpwgts, float ubfactor)
                  ^~~~~~~~
...
Here is the link to the log file.
https://www.dropbox.com/s/mtr7kc3npq970 ... 4.txt?dl=0

It looks like a problem with the c-files. What could be the reason?

Best regards.
kataja
Posts: 74
Joined: 09 May 2014, 16:06
Antispam: Yes

Re: elmer 8.2 can't be installed on Mac OS 10.12.1 Xcode 8.1

Post by kataja »

uww
Posts: 2
Joined: 29 Oct 2016, 16:37
Antispam: Yes

Re: elmer 8.2 can't be installed on Mac OS 10.12.1 Xcode 8.1

Post by uww »

It seems that the problem is related to the metis libraries shipped with elmer.
https://github.com/ElmerCSC/homebrew-elmerfem/issues/5
Not sure where to ask for a solution on that issue.
Post Reply