Insalling on Ubuntu 17.04

Discussion about building and installing Elmer
Post Reply
Msegade
Posts: 1
Joined: 30 Jul 2017, 22:22
Antispam: Yes

Insalling on Ubuntu 17.04

Post by Msegade » 30 Jul 2017, 22:32

Hi

I'm trying to compile elmer, the Release branch, in ubuntu 17.04. I want ElmerGUI with step support, so I activate OCC and VTK in cmake:

Code: Select all

CMAKE_BUILD_TYPE                 Release                                                                                                                                                     
 CMAKE_Fortran_MODULE_DIRECTORY   /home/miguel/src/elmerfem/build/fmodules                                                                                                                    
 CMAKE_INSTALL_PREFIX             /opt/elmerfem                                                                                                                                               
 CPACK_PACKAGE_FILE_NAME          elmerfem-8.3-de6b3bad-20170730_Linux-x86_64                                                                                                                 
 ELMER_SOLVER_HOME                /opt/elmerfem                                                                                                                                               
 INSTALL_OLD_TESTS                OFF                                                                                                                                                         
 MPI_TEST_MAXPROC                 8                                                                                                                                                           
 MPI_TEST_MINPROC                 1                                                                                                                                                           
 OCE_DIR                          /usr/lib/x86_64-linux-gnu/oce-0.17                                                                                                                          
 QT_QMAKE_EXECUTABLE              /usr/bin/qmake                                                                                                                                              
 Qt5Core_DIR                      /usr/lib/x86_64-linux-gnu/cmake/Qt5Core                                                                                                                     
 Qt5Gui_DIR                       /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui                                                                                                                      
 Qt5Network_DIR                   /usr/lib/x86_64-linux-gnu/cmake/Qt5Network                                                                                                                  
 Qt5WebKit_DIR                    /usr/lib/x86_64-linux-gnu/cmake/Qt5WebKit                                                                                                                   
 VTK_DIR                          /usr/lib/cmake/vtk-6.3                                                                                                                                      
 WITH_CONTRIB                     OFF                                                                                                                                                         
 WITH_ELMERGUI                    ON                                                                                                                                                          
 WITH_ELMERGUILOGGER              OFF                                                                                                                                                         
 WITH_ELMERGUITESTER              OFF                                                                                                                                                         
 WITH_ElmerIce                    OFF                                                                                                                                                         
 WITH_FETI4I                      OFF                                                                                                                                                         
 WITH_Hypre                       OFF                                                                                                                                                         
 WITH_MATC                        OFF                                                                                                                                                         
 WITH_MKL                         OFF                                                                                                                                                         
 WITH_MPI                         ON                                                                                                                                                          
 WITH_Mumps                       OFF                                                                                                                                                         
 WITH_OCC                         ON                                                                                                                                                          
 WITH_OpenMP                      OFF                                                                                                                                                         
 WITH_PARAVIEW                    OFF                                                                                                                                                         
 WITH_PYTHONQT                    OFF                                                                                                                                                         
 WITH_QWT                         OFF                                                                                                                                                         
 WITH_Trilinos                    OFF                                                                                                                                                         
 WITH_VTK                         ON                                                                                                                                                          
the compilation fails with the following output:

http://paste.ubuntu.com/25207807/

It seems that is something related with Qt and moc, but I cannot figure out how to solve it.

Thanks

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

Re: Insalling on Ubuntu 17.04

Post by kataja » 14 Aug 2017, 15:16

Try using option "WITH_QT5". There is a tentative qt5 support in the ElmerGUI available, which might help.

Cheers

Post Reply