View Issue Details

IDProjectCategoryView StatusLast Update
0002831OpenFOAMBugpublic2018-02-12 17:08
Reporterkkkokkjq Assigned Tochris  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSMac OSOS VersionHigh Sierra 
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

Activities

wyldckat

2018-02-07 21:36

updater   ~0009278

@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.

kkkokkjq

2018-02-08 05:15

reporter   ~0009279

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

chris

2018-02-12 17:08

manager   ~0009306

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

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