ElmerGUI renders 3D model for one user but not for the other

Discussion about building and installing Elmer
Post Reply
dvlierop
Posts: 15
Joined: 16 Feb 2011, 23:21

ElmerGUI renders 3D model for one user but not for the other

Post by dvlierop »

Hi all,

Elmer and ElmerGUI seem to be running just fine on Ubuntu 14.10. I've installed everything using cmake (see details below), and all our test benches have passed the tests. However, there's this one annoying glitch that I haven't been able to work around. For one user (the one under which everything was compiled and installed) ElmerGUI works flawlessly, but under another user (also with admin rights), it doesn't render any 3D models. It does show the compass, the element numbers, and two lines, but it does not show the mesh. The weird thing is that this only happens for one user, but not for the user who compiled and installed Elmer. Running it as root doesn't make a difference, and the output to the terminal is identical in both cases (I'll post it below). I've also attached a screenshot. Does anyone have a clue as how to fix this, or maybe just where to start looking and debugging?

Thanks!

Details:
- OS: Ubuntu 14.10, kernel 3.16.0-25, 64 bits
- Video driver: Gallium 0.4 on AMD RV730
- Elmer: from git, November 14th 2014

This is how I installed Elmer:

Code: Select all

sudo apt-get install git cmake g++ gfortran qt4-qmake libqt4-dev
sudo apt-get install mpi-default-dev libatlas-dev liblapack-dev libmumps-dev libparmetis-dev

git clone https://www.github.com/ElmerCSC/elmerfem 

cd elmerfem
cmake -D WITH_Mumps=TRUE . 		
make -j4
sudo make install

mkdir elmer-gui-build
cd elmer-gui-build
cmake ../ElmerGUI
make -j4
sudo make install
This is the output of ElmerGUI

Code: Select all

Load /usr/local/bin/../share/ElmerGUI/edf/egini.xml... done
Load tetgen plugin... not found
Tetgen functionality unavailable
Constructing ElmergridAPI... done
Load /usr/local/bin/../share/ElmerGUI/edf/edf.xml... done
Load /usr/local/bin/../share/ElmerGUI/edf/navier-stokes.xml... done
Load /usr/local/bin/../share/ElmerGUI/edf/helmholtz.xml... done
Load /usr/local/bin/../share/ElmerGUI/edf/linearelasticity.xml... done
Load /usr/local/bin/../share/ElmerGUI/edf/resultoutput.xml... done
Load /usr/local/bin/../share/ElmerGUI/edf/meshdeform.xml... done
Load /usr/local/bin/../share/ElmerGUI/edf/heatequation.xml... done
Load /usr/local/bin/../share/ElmerGUI/edf/electrostatics.xml... done
Initialize GL
Vendor: X.Org
Renderer: Gallium 0.4 on AMD RV730
Version: 3.0 Mesa 10.3.0
Selected elmergrid

ElmerGrid checking filename suffix for file: /home/leander/Innoluce/Vacuumload@dt1/Assembly_Boolean@dt1.msh
Filetype determined by suffix: 14
Initialized the filetype

ElmerGrid loading data from file: /home/leander/Innoluce/Vacuumload@dt1/Assembly_Boolean@dt1.msh
Format chosen using the first line: $MeshFormat
Loading mesh in Gmsh format 2.0 from file /home/leander/Innoluce/Vacuumload@dt1/Assembly_Boolean@dt1.msh
Allocating for 93971 knots and 84482 elements.
Making elements to boundary conditions
Leading bulk elementtype is 510
Trailing bulk elementtype is 306
There are 26948 (out of 84482) lower dimensional elements.
Node 65974 belongs to maximum of 58 elements
Found 9738 side elements that have two parents.
Found correctly 26948 side elements.
Parent elements were reordered up to indx 57534.
Moved 57534 elements (out of 84482) to new positions
All done
Successfully read the mesh from the Gmsh input file.

ElmerGrid manipulating and importing data
Setting elements of 3dim
Done converting mesh
Found 38191 edges on boundary
Bcs/materials on surface elements: 5
Bcs/materials on edge elements: 0
Bcs/materials on point elements: 0
Generating  lists to display
Generated 12 lists
Apply 0 operations
Attachments
Screenshot.png
(64.15 KiB) Not downloaded yet
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: ElmerGUI renders 3D model for one user but not for the other

Post by mzenker »

Hi,

I don't use Elmer under Linux (although I would love to do so, but my company won't let me...). But I would suspect an initalization problem. Under Windoze, there is a file egini.xml in the share/elmergui/edf directory of the Elmer installation. If ElmerGUI doesn't find it, it issues a warning and will even not load the mesh at all. So maybe Under Linux it stores some configuration in the user's home directory (is there a .elmer or something similar?) and shows a different/strange behaviour if it is started as another user.
What happens if you check View->Volume mesh?

HTH,

Matthias
dvlierop
Posts: 15
Joined: 16 Feb 2011, 23:21

Re: ElmerGUI renders 3D model for one user but not for the other

Post by dvlierop »

Hi Matthias,

Thanks for your feedback!

"View -> volume mesh" didn't do anything, neither did the other options in the view menu. I already looked at the egini.xml file, but that appeared to be loading just fine. I will recheck that though.

Diederik
Post Reply