View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002963||OpenFOAM||[All Projects] Bug||public||2018-05-30 08:11||2018-06-15 10:13|
|Platform||Unix||OS||Other||OS Version||(please specify)|
|Fixed in Version|
|Summary||0002963: openfoam5-macos: Never continue after Launching|
|Description||I followed the instructions in this page https://openfoam.org/download/5-0-macos/|
to install Openfoamv5 on my Mac Pro.
However, after I operated openfoam5-macos in $HOME/openfoam, it never continues and the screen displays: "Launching /usr/local/bin/openfoam5-macos
User: "HL" (ID 501, group ID 20)".
|Steps To Reproduce||cd $HOME/openfoam|
User: "HL" (ID 501, group ID 20)
|Tags||No tags attached.|
pic.png (107,004 bytes)
pic.png (107,004 bytes)
My Mac Pro version is macOS High Sierra 10.13.4.
My docker version is Version 18.03.1-ce-mac65, which is running well.
We do not have access to a machine to test this which makes it very hard to diagnose.
Are you certain docker is running OK? The reason for asking is that the openfoam5-macos script has been used by mac users for almost a year and this is the first report of its kind. There is a reported problem with High Sierra 10.13.4, with docker 18.03.0:
If that issue is not related, can you go through the troubleshoot guide:
I have noted this paragraph in openfoam5-macos：
#[ "$IP" ] || \
# usage "Cannot find a network IP for DISPLAY with ifconfig" \
# "Please report an issue at http://bugs.openfoam.org" \
# " providing the output of the command: ifconfig"
# xhost + "$IP"
Then the image downloading process begun.
@Han2018: From your description and latest workaround, it seems that the wrong IP address was retrieved by the 'openfoam5-macos' script.
If you run "ifconfig" in the usual terminal on your Mac OS X (not within the Docker container), it should provide a list of Ethernet connections, from which the script looks for the lines that start with "en".
From what I can see in the script code, it seems like the script will use the first valid-looking IP address on the list for an entry starting with the name "en". If you check this yourself, perhaps the first IP it finds is protected by a firewall or it's simply a dead/fake Ethernet connection?
You say the image downloaded. Did it run, i.e. could you use OpenFOAM?
Type the following command and let us know the output:
Also before "xhost + $IP", insert in the script:
The echo command will print the $IP; please send the output. exit will exit the script prematurely while you are testing. You can remove it later.
||@Han2018: are you going to respond to your reported issue?|
Yes, I can use OpenFoam now.
The output of "ifconfig" is:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
XHC20: flags=0<> mtu 0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::10f1:20cc:7326:1db0%en0 prefixlen 64 secured scopeid 0x5
inet6 2001:da8:201:3204:186c:a120:3e99:7f17 prefixlen 64 autoconf secured
inet6 2001:da8:201:3204:dc68:a060:94bd:fcc4 prefixlen 64 autoconf temporary
inet 10.0.204.166 netmask 0xfffffc00 broadcast 10.0.207.255
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
inet6 fe80::c89:fff:feaf:ebc1%awdl0 prefixlen 64 scopeid 0x7
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
media: autoselect <full-duplex>
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
media: autoselect <full-duplex>
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x2
member: en1 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 8 priority 0 path cost 0
member: en2 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 9 priority 0 path cost 0
media: <unknown type>
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
inet6 fe80::333b:1a10:d0a0:a8a1%utun0 prefixlen 64 scopeid 0xb
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
inet6 fe80::418e:ccb8:a313:96bf%utun1 prefixlen 64 scopeid 0xc
inet6 fdb6:58e2:e830:df4a:418e:ccb8:a313:96bf prefixlen 64
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
inet6 fe80::cb74:a95:323a:fee%utun2 prefixlen 64 scopeid 0xd
utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
inet6 fe80::79c7:b7f9:cd2e:7525%utun3 prefixlen 64 scopeid 0xe
The output of "echo $IP" is :
Another problem is, my OS is Mac High Sierra 10.13.4.
It seems that XQuartz can not be opened in this version and I cannot open paraview by command "paraFoam". The output is " paraview: cannot connect to X server 10.0.204.166:0" .
@Han2018: Thank you.
Can you please give me feedback on 3 questions:
1) Can you confirm that you originally could only run the OpenFOAM Docker image by commenting out the following line? (yes/no)
# xhost + "$IP"
2) Do you still need to comment out this line for the OpenFOAM Docker image to run? (yes/no)
3) Does XQuartz simply not run on 10.13.4? Which version of XQuartz?
2)Yes, I tried.
3)I don't know whether it is available on lower version.
XQuartz: the latest version from https://www.xquartz.org/
I would strongly advise you not to run paraview through XQuartz but instead to launch paraview directly on your Mac (as opposed to in the Docker). You can do the same with gnuplot.
Since all your results will be in the run directory and you have direct access, this will be way more efficient than going through a X window.
If I understand well you still have an issue with xhost + "$IP"?
I can't reproduce your problem on my machine and I don't really understand it either since you have no problem with the variable $IP.
Maybe this is related to the VPN I'm using.
Thank for your advice!
@Han2018 : that's a possibility, could you try without it so we can close this thread?
I can't because I'm in China and I have to use it to access this website.
I guess this is the reason. You can close it.
|2018-05-30 08:11||Han2018||New Issue|
|2018-05-30 08:11||Han2018||File Added: pic.png|
|2018-05-30 08:14||Han2018||Note Added: 0009673|
|2018-05-30 08:42||henry||Priority||urgent => normal|
|2018-05-30 08:42||henry||Severity||major => minor|
|2018-05-30 19:19||chris||Note Added: 0009676|
|2018-06-01 05:38||Han2018||Note Added: 0009680|
|2018-06-01 22:14||wyldckat||Note Added: 0009686|
|2018-06-02 00:20||wyldckat||Summary||Never continue after Launching => openfoam5-macos: Never continue after Launching|
|2018-06-02 09:55||chris||Note Added: 0009692|
|2018-06-13 18:21||chris||Note Added: 0009757|
|2018-06-14 06:53||Han2018||Note Added: 0009759|
|2018-06-14 15:14||chris||Note Added: 0009764|
|2018-06-14 15:22||Han2018||Note Added: 0009765|
|2018-06-14 16:23||fcontino||Note Added: 0009767|
|2018-06-14 16:28||Han2018||Note Added: 0009768|
|2018-06-15 09:42||fcontino||Note Added: 0009773|
|2018-06-15 09:46||Han2018||Note Added: 0009774|
|2018-06-15 10:13||chris||Assigned To||=> chris|
|2018-06-15 10:13||chris||Status||new => resolved|
|2018-06-15 10:13||chris||Resolution||open => fixed|