Paul -

Any chance you could grab a stack trace from the mpi app? That's probably the fastest next step


Sent with Good (

-----Original Message-----
From: Paul Hargrove []
Sent: Friday, December 20, 2013 03:33 PM Mountain Standard Time
To: Open MPI Developers
Subject: [EXTERNAL] [OMPI devel] 1.7.4rc2r30031 - OpenBSD-5 mpirun hangs

With plenty of help from Jeff and Ralph's bug fixes in the past 24 hours, I can now build OMPI for NetBSD.  However, running even a simple example fails:

Having set PATH and LD_LIBARY_PATH:
$ mpirun -np 1 examples/ring_c
just hangs

Output from "top" shows idle procs:
31841 phargrov  10    0 2140K 3960K sleep/1   nanosle   0:00  0.00% ring_c
13490 phargrov   2    0 2540K 4892K sleep/1   poll      0:00  0.00% orterun

Distrusting then env vars and relying instead on the auto-prefix behavior:
$ /home/phargrov/OMPI/openmpi-1.7-latest-openbsd5-amd64/INST/bin/mpirun -np 1 examples/ring_c
also hangs

Not sure exactly what to infer from this, but a "bogus" btl doesn't produce any complaint, which may indicate how far startup got:
$ mpirun -mca btl bogus -np 1 examples/ring_c
Still hangs, and no complaint about the blt selection

All three cases above are singleton (-np 1) runs, but the behavior with "-np 2" is the same.

This does NOT appear to be an ORTE problem:
-bash-4.2$ orterun -np 1 date
Fri Dec 20 14:11:42 PST 2013
-bash-4.2$ orterun -np 2 date
Fri Dec 20 14:11:45 PST 2013
Fri Dec 20 14:11:45 PST 2013

Let me know what sort of verbose mca parameters to set and I'll collect the info.
Compressed output of "ompi_info --all" is attached.


Paul H. Hargrove                
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900