Public bug reported:
According to the standard
(http://www-unix.mcs.anl.gov/mpi/mpi-standard/mpi-report-1.1/node143.htm#Node144):
"""Tag values range from 0 to the value returned for MPI_TAG_UB
inclusive. These values are guaranteed to be unchanging during the
execution of an MPI program. In addition, the tag upper bound value must
be at least 32767. An MPI implementation is free to make the value of
MPI_TAG_UB larger than this; for example, the value 230-1 is also a
legal value for MPI_TAG_UB. """
However, in Ubuntu Hardy, MPI::TAG_UB is < 32767:
[16:[EMAIL PROTECTED]:~]$ cat tagub.cpp
#include <mpi.h>
#include "iostream"
using namespace std;
int main(int argc, char **argv)
{
MPI::Init(argc, argv);
cout << MPI::TAG_UB << endl;
MPI::Finalize();
return 0;
}
[16:[EMAIL PROTECTED]:~]$ mpiCC -o tagub tagub.cpp
[16:[EMAIL PROTECTED]:~]$ ./tagub
libibverbs: Fatal: couldn't read uverbs ABI version.
--------------------------------------------------------------------------
[0,0,0]: OpenIB on host turing was unable to find any HCAs.
Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------
0
[16:[EMAIL PROTECTED]:~]$
This isn't compliant with my reading of the standard. I expected
an output >= 32767, but 0 was returned.
[16:[EMAIL PROTECTED]:~]$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
[16:[EMAIL PROTECTED]:~]$ apt-cache policy openmpi-common
openmpi-common:
Installed: 1.2.5-1ubuntu1
Candidate: 1.2.5-1ubuntu1
Version table:
*** 1.2.5-1ubuntu1 0
500 http://gb.archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status
Thanks,
Patrick Farrell
** Affects: openmpi (Ubuntu)
Importance: Undecided
Status: New
--
MPI::TAG_UB has a value not allowed by the standard
https://bugs.launchpad.net/bugs/225269
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs