|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 2.4.x and OpenFOAM 3.0.x on openSUSE Leap 42.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 18, 2016, 12:18 |
OpenFOAM 2.4.x and OpenFOAM 3.0.x on openSUSE Leap 42.1
|
#1 |
New Member
Chris Coutinho
Join Date: Jan 2015
Location: Netherlands
Posts: 28
Rep Power: 11 |
I'm having an issue with the OpenFOAM environmental variables when calling ParaView. I installed both OF 2.4.x and OF 3.0.x in my /opt/OpenFOAM directory, as well as the respective third party software for each version. I also set aliases for each OF version in my ~/.bashrc
Running either version of ParaView without calling the alias works fine, using either of the two lines: Code:
user@hostname:~> /opt/OpenFOAM/ThirdParty-2.4.x/build/linux64Gcc/ParaView-4.1.0/bin/paraview user@hostname:~> /opt/OpenFOAM/ThirdParty-3.0.x/build/linux64Gcc/ParaView-4.4.0/bin/paraview Code:
user@hostname:~> of30x user@hostname:~> /opt/OpenFOAM/ThirdParty-3.0.x/build/linux64Gcc/ParaView-4.4.0/bin/paraview AutoMPI: SUCCESS: command is: "/usr/lib64/mpi/gcc/openmpi/bin/mpiexec" "-np" "2" "/opt/OpenFOAM/ThirdParty-3.0.x/build/linux64Gcc/ParaView-4.4.0/bin/pvserver" "--server-port=57912" AutoMPI: starting process server -------------- server output -------------- Waiting for client... AutoMPI: server successfully started. libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast X Error: BadValue (integer parameter out of range for operation) 2 Extension: 154 (Uknown extension) Minor opcode: 3 (Unknown request) Resource id: 0x0 Cheers, Chris |
|
March 20, 2016, 16:55 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Chris,
Does this also happen when you don't have the automatic multi-core feature turned on in ParaView? Best regards, Bruno
__________________
|
|
March 21, 2016, 08:46 |
|
#3 | |
New Member
Chris Coutinho
Join Date: Jan 2015
Location: Netherlands
Posts: 28
Rep Power: 11 |
Quote:
I just checked both aliases and the behavior remains the same whether or not the multi-core option is set or not. Cheers, Chris |
||
March 24, 2016, 08:44 |
|
#4 |
New Member
Chris Coutinho
Join Date: Jan 2015
Location: Netherlands
Posts: 28
Rep Power: 11 |
Is this a bug in OpenFOAM or is it an openSUSE issue? Should I post it in the bug report?
|
|
March 26, 2016, 08:02 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Chris,
Sorry, I'm rarely able to answer during the week days. I mostly only am able to answer on weekends and it's if I'm lucky enough to be able to do so Simply reporting this as a bug report won't do us much good, because we haven't isolated yet the specific origin of the problem. I've noticed that there is an inconsistency in the path you're using: Code:
... ThirdParty-3.0.x/build/linux64Gcc/ ... Code:
which paraview echo $ParaView_DIR/bin/paraview Code:
/opt/OpenFOAM/ThirdParty-2.4.x/platforms/linux64Gcc/ParaView-4.1.0/bin/paraview /opt/OpenFOAM/ThirdParty-3.0.x/platforms/linux64Gcc/ParaView-4.4.0/bin/paraview Please run the following command before you've activated the OpenFOAM 3.0.x shell environment: Code:
ldd /opt/OpenFOAM/ThirdParty-3.0.x/platforms/linux64Gcc/ParaView-4.4.0/lib/paraview-4.4/libvtkGUISupportQt-pv4.4.so.1 > log.vtkQt.before Code:
ldd $ParaView_DIR/lib/paraview-4.4/libvtkGUISupportQt-pv4.4.so.1 > log.vtkQt.after Code:
zip log.vtkQt.zip log.vtkQt.after log.vtkQt.before The other thing I ask you is to start another terminal window/tab and run the following commands: Code:
export > log.env.before of30x export > log.env.after With these log files, I should be able to figure out what's happening. Best regards, Bruno
__________________
|
|
March 31, 2016, 07:28 |
|
#6 |
New Member
Chris Coutinho
Join Date: Jan 2015
Location: Netherlands
Posts: 28
Rep Power: 11 |
Howdy Bruno,
Attached are two zip files containing the outputs of those commands. I really would like to understand the output in these files but I am at a loss. If I can help you with any more errors, please let me know. Cheers, Chris |
|
April 9, 2016, 20:00 |
|
#7 |
New Member
Chris Coutinho
Join Date: Jan 2015
Location: Netherlands
Posts: 28
Rep Power: 11 |
Anyone able to take a look at this?
Cheers, Chris |
|
April 10, 2016, 16:15 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Chris,
Sorry, I did manage to take a quick look into the log files you've attached during the week, but only today did I finally manage to take a better look into solving one of the potential problems. Based on the log files, my suspicion is that the problem is related to how CGAL was hacked into the build system, which relied on creating symbolic links from the folders where CGAL was actually installed, to the ones where OpenFOAM would look for them. But this potentially broke the search path, because libraries that were meant to show up at "/usr/lib64", were now appearing at where CGAL was installed, at the really long path into OpenFOAM's ThirdParty folder, e.g.: Code:
/opt/OpenFOAM/ThirdParty-3.0.x/platforms/linux64Gcc/CGAL-4.7/lib/
If I'm not mistaken, the following steps should solve the problem and hopefully they work the same for both OpenFOAM installations that you currently have:
Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] OpenFoam installation V6 on opensuse leap 15 | sjohn2 | OpenFOAM Installation | 20 | February 21, 2020 20:08 |
[OpenFOAM.org] Install OpenFOAM 2.4.x using system Scotch | cbcoutinho | OpenFOAM Installation | 7 | October 16, 2019 20:12 |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
[OpenFOAM.org] OpenFOAM 4.1 on OpenSUSE Leap 42.2 | KateEisenhower | OpenFOAM Installation | 2 | July 18, 2017 02:58 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |