Page 1 of 1

Apple OS X 10.11.3 installation ctest failures

Posted: 15 Mar 2016, 21:22
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

Re: Apple OS X 10.11.3 installation ctest failures

Posted: 15 Mar 2016, 23:47
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

Re: Apple OS X 10.11.3 installation ctest failures

Posted: 17 Mar 2016, 03:43
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

Re: Apple OS X 10.11.3 installation ctest failures

Posted: 21 Mar 2016, 14:19
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

Re: Apple OS X 10.11.3 installation ctest failures

Posted: 03 Jun 2016, 03:49
by sbishop58
Hi Juhani,
Thank you for your thoughtful suggestion. I'll give this a try.

Steve

Re: Apple OS X 10.11.3 installation ctest failures

Posted: 09 Jun 2016, 19:00
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

Re: Apple OS X 10.11.3 installation ctest failures

Posted: 23 Mar 2021, 22:26
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