|
[Sponsors] |
October 23, 2013, 09:39 |
OpenFOAM 2.2.2 on a server (no X)
|
#1 |
New Member
Aleksandar Popadić
Join Date: Oct 2013
Posts: 4
Rep Power: 13 |
Hi,
I'm having trouble compiling OpenFOAM and ParaView on a mchine with no Qt and X. I want to set OpenFOAM and ParaView on the server and access the results via ParaView remotely. I'm following the instructions here: http://www.openfoam.org/download/source.php OpenFOAM builds OK. The problem arises when trying to compile ParaView. In $WM_THIRD_PARTY_DIR/makeParaView I set withQT=false. It then doesn't build the gui support. The problem arises when it starts to build TestingDemo. Here's the output: Code:
Scanning dependencies of target TestingDemo [ 86%] Building CXX object Qt/Testing/Examples/CMakeFiles/TestingDemo.dir/TestingDemo.cxx.o [ 86%] Building CXX object Qt/Testing/Examples/CMakeFiles/TestingDemo.dir/moc_TestingDemo.cxx.o Linking CXX executable ../../../bin/TestingDemo [ 86%] Built target TestingDemo [ 86%] Building CXX object Qt/Widgets/CMakeFiles/pqWidgets.dir/pqHelpWindow.cxx.o /temp/saso/OpenFOAM/ThirdParty-2.2.2/ParaView-3.12.0/Qt/Widgets/pqHelpWindow.cxx:36:23: fatal error: QHelpEngine: No such file or directory compilation terminated. make[2]: *** [Qt/Widgets/CMakeFiles/pqWidgets.dir/pqHelpWindow.cxx.o] Error 1 make[1]: *** [Qt/Widgets/CMakeFiles/pqWidgets.dir/all] Error 2 make: *** [all] Error 2 --- Installation complete for paraview-3.12.0 Set environment variables: export ParaView_DIR=/temp/saso//OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc/paraview-3.12.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.12 --- Done What am I to do? Thanks, Sasha |
|
October 23, 2013, 11:17 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi Sasha,
for the GUI I think PV needs the QT libraries. You can compile it by yourself and set the path to it. I would use the source code of the official homepage or the binaries. Regards Tobi Last edited by Tobi; October 24, 2013 at 13:34. |
|
October 23, 2013, 12:28 |
|
#3 |
New Member
Aleksandar Popadić
Join Date: Oct 2013
Posts: 4
Rep Power: 13 |
||
October 23, 2013, 13:15 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi,
so you would compile PV on the server use the GUI on your local machine? Why dont you compile PV with QT on your local machine ? (thats the way I do) |
|
October 23, 2013, 13:31 |
|
#5 |
New Member
Aleksandar Popadić
Join Date: Oct 2013
Posts: 4
Rep Power: 13 |
I'd compile PV on both (remote and local) and run it as server/client. If I'd compile only on local then I'd have to copy OpenFOAM files back and forth all the time to view the results.
Regards, Sasha |
|
October 26, 2013, 15:56 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
I haven't done this in a long time (since 1.6.x). And I know I saw a report on the bug tracker about this... ah, here we go: http://www.openfoam.org/mantisbt/view.php?id=793 (edit: changes necessary are shown in the "Steps To Reproduce" section) I'm going to try and have a go at this today or tomorrow and I'll report back. Best regards, Bruno
__________________
Last edited by wyldckat; October 26, 2013 at 15:57. Reason: see "edit:" |
|
October 27, 2013, 05:11 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Report part 1:
------------------------------------ Report part 2: Follow the instructions on my comment on the bug report - http://www.openfoam.org/mantisbt/view.php?id=793 - and you're good to go!
__________________
Last edited by wyldckat; October 27, 2013 at 06:54. Reason: see "Report part 2:" |
|
October 28, 2013, 10:09 |
|
#9 |
New Member
Aleksandar Popadić
Join Date: Oct 2013
Posts: 4
Rep Power: 13 |
Thank you for this Bruno.
Regards, Sasha |
|
Tags |
no qt, paraview, server |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Memory protection in OpenFOAM / combinig with FORTRAN | botp | OpenFOAM Programming & Development | 2 | February 15, 2016 13:25 |
OpenFOAM Foundation Releases OpenFOAM® Version 2.1.1 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | May 31, 2012 10:07 |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 15:06 |
Summer School on Numerical Modelling and OpenFOAM | hjasak | OpenFOAM | 5 | October 12, 2008 14:14 |
CFD Online Server Load | Jonas Larsson | Main CFD Forum | 0 | March 13, 2001 15:29 |