|
[Sponsors] |
June 3, 2008, 12:53 |
ParaFoam does not launch
|
#1 |
New Member
Lawrence
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
Hi People,
with great help from the FOAMer here, i managed to install paraFOAM -1.4.1, however, after i test run the icoFOAM cavity case and typed "paraFoam ./ cavity" the paraview launch picture appeared for less than a second and then this is the msg i get. > " Xlib: extension "GLX" missing on display ":0.0". > Xlib: extension "GLX" missing on display ":0.0". > Xlib: extension "GLX" missing on display ":0.0". > /root/OpenFOAM/OpenFOAM-1.4.1/bin/paraFoam:line75: > 21024 Aborted paraview paraFoam.pvs" i read some of the earleir discussion and found this : The proposed workaround is to add the following line to the 'ServerLayout' section in your /etc/X11/xorg.conf. Please make sure to create a backup before you modify it. For Example: Section "ServerLayout" Option "AIGLX" "false" EndSection does anyone knows that this is also the right thing to try for my case above? also, i have downloaded and installed paraview in windows version but have no idea which file should i click on "open", i.e. for the cavity case under icoFoam, which file is stored as the data file to be opened with paraview in windows? any help and suggestion will be very much appreciated. cheers Lawrence |
|
June 3, 2008, 13:38 |
Try paraFoam . cavity NOT para
|
#2 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Try paraFoam . cavity NOT paraFoam ./ cavity
does anyone knows that this is also the right thing to try for my case above? Not yet. Try that only if paraFoam crashes when trying to save images. If you are comfortable with GNU/Linux, then don't waste time trying the setup OpenFOAM in Windows using Cygwin. I don't think it is that trivial. |
|
June 3, 2008, 13:40 |
Oh and a word of advise. Pleas
|
#3 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Oh and a word of advise. Please stop working as root user. It isn't safe at all.
|
|
June 4, 2008, 09:22 |
Hi Srinath,
i tried the par
|
#4 |
New Member
Lawrence
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
Hi Srinath,
i tried the paraFoam . cavity and the same error is reported. can u please kindly suggest what should i do with the Xlib error? thanks a lot. Lawrence |
|
June 4, 2008, 09:48 |
I used to think that paraView
|
#5 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
I used to think that paraView would automatically default to software rendering should it not find any hardware GLX support in the Xserver. Maybe I was wrong. You could always try enabling software rendering in the Xserver by turning off the hardware cursor in xorg.conf. Alternately, you might wish to wait for some more time and see if anyone else in this forum can offer a better solution.
|
|
June 4, 2008, 10:38 |
Hi Srinath,
thanks for your
|
#6 |
New Member
Lawrence
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
Hi Srinath,
thanks for your reply. please bear with me as i am completely new to these. may i know how do i turn the hardware cursor off? do you mean i comment out a particular line in the file? if so, which one is that? Thanks again. any suggestion from anyone is very much needed and appreciated. Cheers Lawrence |
|
June 4, 2008, 13:34 |
Look for a section called Devi
|
#7 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Look for a section called Device in your /etc/xorg.conf file. Just before the EndSection part, add the SWCursor line as shown below:
Section "Device" ----- ----- ----- Option "SWCursor" "True" EndSection Remember that this should only be a last resort as it will severely degrade graphics performance. For all I know you may just be missing some OpenGL libs or using the incorrect driver. Unfortunately I cannot go into details of the same. If you are infamiliar with GNU/Linux, I recommend getting help from someone who knows how to tweak these settings. |
|
July 20, 2008, 10:32 |
hi srinath,
i have installe
|
#8 |
Senior Member
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17 |
hi srinath,
i have installed openfoam-1.4.1 on macintosh as a disk image. i have installed paraview 3.2.1 separately everything seems to be working fine but the paraFoam command gives me an error mayank-guptas-macbook:icoFoam mayankgupta$ paraFoam ~/openfoam/mayank/run/icoFoam cavity /Users/mayankgupta/OpenFOAM/OpenFOAM-1.4.1/bin/paraFoam: line 75: paraview: command not found i am putting the complete putput of my console also... mayank-guptas-macbook:~ mayankgupta$ . ~/openfoam/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc Executing: /Users/mayankgupta/OpenFOAM/OpenFOAM-1.4.1/.bashrc Executing: /Users/mayankgupta/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/ensightFoam/bash rc Executing: /Users/mayankgupta/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/paraview/bashrc mayank-guptas-macbook:~ mayankgupta$ cd openfoam/mayank/run/icoFoam mayank-guptas-macbook:icoFoam mayankgupta$ blockMesh . cavity/*------------------------------------------------------------------------ ---*\ Creating patches Creating block mesh topology Default patch type set to empty Creating merge patch pairs Writing polyMesh end mayank-guptas-macbook:icoFoam mayankgupta$ checkMesh . cavity/*-------------.... Mesh OK. End mayank-guptas-macbook:icoFoam mayankgupta$ paraFoam ~/openfoam/mayank/run/icoFoam cavity /Users/mayankgupta/OpenFOAM/OpenFOAM-1.4.1/bin/paraFoam: line 75: paraview: command not found i have looked in the forums everywhere relating to this and tried the helps on wiki but i cant seem to get around this problem and when i view the line 75 in the paraFoam file it is as below.. paraview parafoam.pvs kindly help. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Unable to launch parafoam & | boonhow | ParaView | 5 | March 23, 2022 09:09 |
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] | u2berggeist | OpenFOAM Installation | 2 | July 2, 2018 18:03 |
[OpenFOAM] Problem with spaces in paraFoam execution | chrisb2244 | ParaView | 1 | November 9, 2013 16:06 |
[OpenFOAM] How to use paraFoam on a cluster | andreas | ParaView | 1 | March 6, 2013 18:11 |
[OpenFOAM] OpenFoam (Ubuntu): paraFoam via Xming+PuTTY | raketenmaid | ParaView | 4 | February 5, 2013 06:20 |