View Issue Details

IDProjectCategoryView StatusLast Update
0002587OpenFOAMBugpublic2017-06-27 10:38
Reporterhimanshumangla Assigned Tochris  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0002587: Trouble opening openfoam results in paraview
DescriptionI have downloaded openfoam 4.1 on a Mac OS. I have also downloaded the recommended Docker for Mac and Paraview. I am able to run the recommended tutorial "simpleFoam" however when I type in "paraFoam" I receive the following error:

No protocol specified
paraview: cannot connect to X server 143.215.57.249:0

Steps To ReproduceFollow steps for downloading the Openfoam 4.1 for Mac.

https://openfoam.org/download/4-1-macos/

When attempting to run step 7, paraFoam will not run. An error will pop up.
TagsNo tags attached.

Activities

wyldckat

2017-06-20 23:08

updater   ~0008233

A few questions:

 1- Which specific Mac OS X version are you using?

 2- When following the step #4 on the instructions page - https://openfoam.org/download/4-1-macos/ - were there any error messages?

 3- Have you tried rebooting your machine, to ensure that every service is fully operational?

 4- Before running ParaView, are you able to open gedit? In other words, what happens if you run:

    gedit

himanshumangla

2017-06-21 15:21

reporter   ~0008234

I am using 10.11.6 El Capitan.

I received no error when following step #4.

I rebooted my machine and my previous issue has resolved. Now I am receiving a new error.

When I run the command "paraFoam" I receive the following:

OpenFOAM-4.1(14) paraFoam
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: 149 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id: 0x0

wyldckat

2017-06-24 20:55

updater   ~0008243

After a bit of Googling for "El Capitan Xquartz swrast", I found the following details:

 1- This issue started occurring as of Xquartz 2.7.9, therefore the simplest hypothesis would be to downgrade the Xquartz installation (found about this in a blog post).

 2- Or try following the instructions from the following bug report: https://cdcvs.fnal.gov/redmine/issues/13941#note-1 - namely in the first note. I'll copy/adapt from there the instructions that seem relevant for future record (the original instructions there were written by Kyle Knoepfel some 9 months ago):

   1. Modify the "startx" file after saving the old "startx" to something else (eg startx.orig). There are two sections to add in a few new lines of code, as indicated by the '+' signs in the patch notes.

   2. Launch XQuartz.

   3. Type the following in the XQuartz xterm window:

      defaults write org.macosforge.xquartz.X11 enable_iglx -bool true



I don't have access to a machine with Mac OS X, therefore I'm unable to test these steps.
@chris: Any chance we can also get feedback on this from the people that contributed to the instructions page at https://openfoam.org/download/4-1-macos/ ?

chris

2017-06-26 09:20

manager   ~0008253

Which version of Xquartz are you using?

chris

2017-06-27 10:38

manager   ~0008271

I think this issue was fixed in XQuartz 2.7.10 and the current version is 2.7.11.

XQuartz is an open source project that receives no support from Apple who reported a profit of $17.9 billion last quarter. If Apple don't care, why should we?

Issue History

Date Modified Username Field Change
2017-06-20 19:12 himanshumangla New Issue
2017-06-20 23:08 wyldckat Note Added: 0008233
2017-06-20 23:08 wyldckat Priority immediate => normal
2017-06-21 15:21 himanshumangla Note Added: 0008234
2017-06-24 20:55 wyldckat Note Added: 0008243
2017-06-26 09:20 chris Note Added: 0008253
2017-06-27 10:38 chris Assigned To => chris
2017-06-27 10:38 chris Status new => closed
2017-06-27 10:38 chris Resolution open => fixed
2017-06-27 10:38 chris Note Added: 0008271