A simple record, although there are still some doubts not resolved.
Before installing Openmpi is installed with the command, the version is relatively low, mfix in parallel total deadlock problem, so want to see if it is Openmpi version caused, although there is no specific reason, but first recorded the pit tread.
Download Openmpi Latest Version: https://www.open-mpi.org/software/ompi/v3.0/
Installation Openmpi specific methods see: http://www.cnblogs.com/platero/p/4182436.html
The main installation is the following commands:
./configure--prefix="/usr/local/openmpi"makesudo make install
Then add the ~/.BASHRC:
Export path=$PATH:/usr/local/openmpi/binexport Ld_library_path=$LD _library_path:/usr/local /openmpi/lib/
Final execution Command:
~/.bashrc
After installation, run the Mfix in parallel.
8 ./mfixsolver-f CLC.MFX
Result Error:
There is not enough slots available in the system to satisfy the 8 slotseither request fewer slots for your application, or make more slots available for use.
The computer is a 6-core 12 thread that did not appear before this problem. If you run with less than 6 threads there is no problem, check that you can request hyper-threading with the--oversubscribe parameter, so write the command:
8 ./mfixsolver-f CLC.MFX
You can do it. See also: https://stackoverflow.com/questions/35704637/mpirun-not-enough-slots-available
But here's the problem:
6-Core 12 threads for MPI, whether the available threads are 6 threads or 12 threads. The low version of Openmpi does not have this problem. And since the--oversubscribe parameter is turned on, it is not a good choice to begin frequent segment errors.
Temporarily doubtful.
There is, in the ubuntu16.04 on the parallel deadlock problem case, on the ubuntu14.04 but everything is normal, really is no language ~ ~
openmpi-3.0.1 Hyper-Threading Error problem