Skip to content

Commit 2556fe4

Browse files
CHG: clarified error message
1 parent 62c2398 commit 2556fe4

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/troubleshooting/matlab.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,18 +234,16 @@ MPIDI_CH3_Init(89).................:
234234
MPID_nem_init(320).................:
235235
MPID_nem_tcp_init(173).............:
236236
MPID_nem_tcp_get_business_card(420):
237-
MPID_nem_tcp_init(379).............: gethostbyname failed, MT-<integers> (errno 1)
237+
MPID_nem_tcp_init(379).............: gethostbyname failed, MACHINENAME (errno 1)
238238
loading results from cluster
239239
````
240-
This issue has been observed on more recent versions of MacOS, on both the precompiled and compiled-from-source versions of ISSM.
241-
242-
The fix involves modifying the hosts file, `sudo vi /etc/hosts` and adding a line that reads,
240+
This issue has been observed on more recent versions of MacOS, on both the precompiled and compiled-from-source versions of ISSM typically when users use a VPN. MPI does not know if you are running on your local machine or on a remote server. The fix involves modifying the hosts file, `sudo vi /etc/hosts` and adding a line that reads,
243241
````
244-
127.0.0.1 MT-<integers>
242+
127.0.0.1 MACHINENAME
245243
````
246-
where `MT-<integers>` is what is display in the original error message.
244+
where `MACHINENAME` is what is display in the original error message.
247245

248-
After saving the changes to `/etc/hosts` and restarting MATLAB, the issue should be resolved.
246+
After saving the changes to `/etc/hosts`, the issue should be resolved.
249247
## MATLAB crashes unexpectedly
250248
There are many causes that might make MATLAB crash. A possible cause is that PETSc is conflicting with Java (this happens on some Linux machines). The workaround is to use MATLAB in command line by deactivating the GUI,
251249
````

0 commit comments

Comments
 (0)