Skip to content

Known issues and fixes

Thomas Poulet edited this page Mar 17, 2016 · 21 revisions

###The postprocessor in Peacock doesn't work

See this thread: https://groups.google.com/forum/#!topic/moose-users/VzU3yapallM

To fix, uninstall PyQt4.

OSX:

sudo conda uninstall pyqt

Linux/VM:

cd ~/../../opt/moose/miniconda
sudo ./conda uninstall pyqt

###MPI error

If you see an MPI error like this one (obtained on a Mac) when running a moose or redback simulation:

MPIR_Init_thread(498)..............: 
MPID_Init(187).....................: channel initialization failed
MPIDI_CH3_Init(89).................: 
MPID_nem_init(320).................: 
MPID_nem_tcp_init(171).............: 
MPID_nem_tcp_get_business_card(418): 
MPID_nem_tcp_init(377).............: gethostbyname failed, boquier-ri (errno 1)

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 42430 RUNNING AT boquier-ri
=   EXIT CODE: 1
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================```

A working solution (even though not the best or cleanest, so please help improve if you can) is to edit the file `/etc/hosts` (`sudo vi /etc/hosts`) and replace the name `localhost in the `line `127.0.0.1       localhost` with the name of your machine, which you can find in the error message displayed above (in my case `boquier-ri`). In practise you should keep the line and simply comment it with a `#` sign, giving you the following content
 
```(...)
#127.0.0.1       boquier-ri
127.0.0.1       localhost
(...)```