2018-05-25 10:05 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002831OpenFOAM[All Projects] Bugpublic2018-02-12 17:08
Reporterkkkokkjq 
Assigned Tochris 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSMac OSOS VersionHigh Sierra
Product Version5.0 
Target VersionFixed in Version 
Summary0002831: Paraview cannot be included in Docker
DescriptionI have installed all the required apps, like Docker, Paraview and XQuartz, but when I open the paraFoam, it says 'ParaView is not in the Docker container. Install on the host machine or run the launch script with -p option'. But several days ago I have successfully installed this software. My Paraview edition is 5.4.1.
Steps To ReproducekoujiaqingdeMacBook-Air:~ koujiaqing$ cd $HOME/openfoam
koujiaqingdeMacBook-Air:openfoam koujiaqing$ openfoam5-macos –p
Launching /usr/local/bin/openfoam5-macos
User: "koujiaqing" (ID 501, group ID 20)
192.168.0.12 being added to access control list
Welcome to the OpenFOAM v5 Docker Image

Provides bash terminal with OpenFOAM 5.0 and some graphical applications

Produced and maintained by CFD Direct (http://cfd.direct), on behalf of the
OpenFOAM Foundation (http://openfoam.org), the owner and distributor of
OpenFOAM as free, open source software under the General Public Licence v3.

Further Resources:
* OpenFOAM User Guide: http://cfd.direct/openfoam/user-guide
* C++ Source Guide: http://cpp.openfoam.org
* OpenFOAM Training: http://cfd.direct/openfoam-training
* Running in the Cloud: http://cfd.direct/cloud
* Issue (Bug) Reporting: http://bugs.openfoam.org
* Subscribe to Newsletter: http://cfd.direct/news
* Contributors to OpenFOAM: http://openfoam.org/dev/contributors

OpenFOAM-5.0(213) paraFoam
ParaView is not in the Docker container. Install on the host machine or run the launch script with -p option
Tagsparaview
Attached Files

-Relationships
+Relationships

-Notes

~0009278

wyldckat (updater)

@kkkokkjq: It took me a couple of reads to spot the typo... fortunately you've made a perfect copy-paste of the steps you've taken!

If you take a close look at step 6 here: https://openfoam.org/download/5-0-macos/ - "Step 6: Launching openfoam5-macos", you will see that the command should be:

  openfoam5-macos -p

However, the command you've used is:

  openfoam5-macos –p

It's really hard to spot, but the last "p" is preceded by a long dash "–" in your command, while in the original instructions it uses a short dash "-".


@Chris: In the script "openfoam5-macos" (and possibly in the other sibling scripts for other operating systems), the "*)" case option should not default to "break" and it should instead give a similar error message as for "-*)", given that any arguments that don't have the dash are ignored, but as we can see in this situation, they should be pointed out as wrong or unknown.

~0009279

kkkokkjq (reporter)

@wyldckat
Many thanks! The problem is solved! It took me several weeks but I still cannot find the problem...
Thank you for your help!

~0009306

chris (manager)

Updated the scripts with case statement that stops with error for anything that is not an option - with *).
+Notes

-Issue History
Date Modified Username Field Change
2018-02-07 03:44 kkkokkjq New Issue
2018-02-07 03:44 kkkokkjq Tag Attached: paraview
2018-02-07 21:36 wyldckat Note Added: 0009278
2018-02-07 21:36 wyldckat Assigned To => chris
2018-02-07 21:36 wyldckat Status new => assigned
2018-02-08 05:15 kkkokkjq Note Added: 0009279
2018-02-12 17:08 chris Note Added: 0009306
2018-02-12 17:08 chris Status assigned => closed
2018-02-12 17:08 chris Resolution open => fixed
+Issue History