Apple OS X 10.11.3 installation ctest failures

Discussion about building and installing Elmer
Post Reply
sbishop58
Posts: 4
Joined: 15 Mar 2016, 04:09
Antispam: Yes

Apple OS X 10.11.3 installation ctest failures

Post by sbishop58 »

I wanted to learn more about Elmer and attempted an installation on my MacBook Pro running OS X 10.11.3. The installation went smoothly with several warning message but received some ctest errors as given below. Given the names of the failed tests I wonder if there is some commonality that one could point to as the culprit. I would appreciate comments to help me obtain an failure free installation.

96% tests passed, 16 tests failed out of 361

Label Time Summary:
aster = 63.56 sec (5 tests)
benchmark = 669.13 sec (14 tests)
contact = 561.62 sec (13 tests)
eliminate = 0.73 sec (1 test)
elmerice = 974.77 sec (1 test)
heateq = 140.33 sec (7 tests)
particle = 211.21 sec (8 tests)
quick = 278.63 sec (194 tests)
serial = 6261.14 sec (362 tests)

Total Test time (real) = 1687.91 sec

The following tests FAILED:
157 - HarmonicNS (Failed)
175 - HelmholtzFEM (Failed)
179 - HelmholtzStructure2 (Failed)
180 - HelmholtzStructure3 (Failed)
183 - InductionHeating3 (Failed)
196 - linearsolvers_cmplx (Failed)
201 - mgdyn2D_em_harmonic (Failed)
203 - mgdyn_3phase (Failed)
209 - mgdyn_harmonic (Failed)
210 - mgdyn_harmonic_loss (Failed)
211 - mgdyn_lamstack_lowfreq_harmonic (Failed)
213 - mgdyn_lamstack_widefreq_harmonic (Failed)
219 - mgdyn_torus_harmonic (Failed)
250 - ParticleAdvector2 (Failed)
305 - RotatingBCPoisson3DGeneric (Failed)
356 - VectorHelmholtzWaveguide (Failed)
Errors while running CTest
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Apple OS X 10.11.3 installation ctest failures

Post by raback »

Hi

Almost all seem to involve complex valued linear systems. Two of the cases have a senstive norm which seem to cause problems in some other platforms as well.

You could print out the output of "linearsolver_cmplx".

-Peter
sbishop58
Posts: 4
Joined: 15 Mar 2016, 04:09
Antispam: Yes

Re: Apple OS X 10.11.3 installation ctest failures

Post by sbishop58 »

Peter,
Thanks for the feedback. As I am new to Elmer I will first need to learn how to "print out the output of linearsolver_cmplx". But your suggestion seems well founded.

Steve
kataja
Posts: 74
Joined: 09 May 2014, 16:06
Antispam: Yes

Re: Apple OS X 10.11.3 installation ctest failures

Post by kataja »

Hi!

In my experience the OS X's Accelerate framework does not work with elmer. Instead I'd suggest using OpenBLAS (www.openblas.net) or reference blas/lapack for blas and lapack library. OpenBLAS installed with homebrew should work so long as you provide cmake with variables "BLAS_LIBRARIES" and "LAPACK_LIBRARIES" that point to the correct files.

Cheers,
Juhani
sbishop58
Posts: 4
Joined: 15 Mar 2016, 04:09
Antispam: Yes

Re: Apple OS X 10.11.3 installation ctest failures

Post by sbishop58 »

Hi Juhani,
Thank you for your thoughtful suggestion. I'll give this a try.

Steve
CrocoDuck
Posts: 79
Joined: 12 May 2016, 13:15
Antispam: Yes

Re: Apple OS X 10.11.3 installation ctest failures

Post by CrocoDuck »

Hi there. This procedure seemed to install elmer jsut fine on my mac (hopefully I did not just glimpsed over errors):

Code: Select all

$ brew tap homebrew/science
$ brew install openblas
$ brew install sip
$ brew install pyqt
$ brew tap elmercsc/homebrew-elmerfem
$ brew install elmer --HEAD --with-elmergui
jvelasco
Posts: 10
Joined: 03 Feb 2021, 16:45
Antispam: Yes

Re: Apple OS X 10.11.3 installation ctest failures

Post by jvelasco »

Here's a series of videos on how to install Elmer on macOS.

The first one shows how to use Homebrew's gcc compiler and the second one how to install a full fledge version of Elmer with MPI and ElmeGUI

https://www.youtube.com/watch?v=rQhSYKHw3HM&t=13s

https://www.youtube.com/watch?v=h7PswPM9qtk

Cheers,

Jon
Post Reply