Description of problem: When trying to launch paraFoam, a FATAL_ERROR Paraview reader module libraries do not exist is printed and paraView won't launch. It is due to the absence of paraView in the Mageia openFOAM package because the system paraview is normally used but the link is not properly found. An easy workaround is to modify the etc/bashrc OpenFOAM script by adding the following line : alias paraFoam='paraFoam -builtin' Version-Release number of selected component (if applicable): 6 How reproducible: Always Steps to Reproduce: 1. Launch openfoam 2. Go to any tutorial case 3. Launch paraFoam
Cyril : thank you for the report, and your suggestion. OpenFoam has no registered maintainer, so assigning this globally; CC'ing ChrisD who has seen it before.
Assignee: bugsquad => pkg-bugsCC: (none) => eatdirt
See also bug 25446.
CC: (none) => lewyssmith
See also bug 25443. I do not think these are duplicates, even though the solution may prove to be common.
This bug is not a duplicate of #25443 and it is not a bug at all. OpenFOAM in Mageia, as any other program, is compiled against system libraries, which means you should be using: paraFoam -builtin You're of course free to set up an alias into your environment, but we're not changing the default behaviour/configuration of OpenFOAM, nor overloading the choices made by the OpenFOAM developers. As a matter of fact, OpenFOAM also destroys all environment variables set by Mageia. If you have accelerated drivers, paraFoam -builtin may still fail with some error GLX missing messages. If you have nvidia drivers, you should actually preload the libGL libs using: LD_PRELOAD=/usr/lib(64)/nvidia-current/libGL.so.1 paraFoam -builtin The LD_PRELOAD= should be accordingly modified if your proprietary lib resides elsewhere. Unfortunately, we cannot "fix" the funny choices made by the OpenFOAM people. Even if your Mageia system is well configured, it will be overloaded by the OpenFOAM environment. I marking this bug as WONTFIX for these reasons. Good luck.
Resolution: (none) => WONTFIXStatus: NEW => RESOLVED
Thank you for your answer. I will use your trick. I understand your point of view even if I disagree with it.
Well, if you're motivated enough, you can register of the dev mailing list and become a mageia packager, and then take over the packaging of OpenFOAM. No one is currently maintaining it :( In that case, you'll be free to tune it to Mageia and distribute your expertise to the world :) We're always looking for packagers using their packages on a daily basis. Cheers, Chris.