I recently upgraded openmpi and octave and found some minor issues using 
openmpi_ext.

Compiling stops in MPI_Probe.cc and MPI_Iprobe.cc.
Both files contains the function put_MPI_Stat(const MPI_Status&)
and in that function there are references to MPI_Status._count and 
MPI_Status._cancelled.
The problem is that those fields are not defined in the MPI specs and were 
specific to openmpi 1.3.3 implementation. The correct way to get those 
informations is by calling the corresponding functions (MPI_Get_count and 
MPI_Test_cancelled).
Since I do not use those functions I simply commented those lines and 
everything worked (clearly not the rigth solution). 

With octave 3.4.0 if I try to launch a parallel octave work I get the following 
error that I did not get with older versions:
octave: symbol lookup error: /usr/lib/openmpi/openmpi/mca_paffinity_hwloc.so: 
undefined symbol: mca_base_param_reg_int

I have found with google that it is due to an incorrect loading order of the 
openmpi libraries and can be solved in many ways. The easiest is preloading 
openmpi.so by using LD_PRELOAD environment variable. Set LD_PRELOAD to the full 
path of openmpi.so before calling mpirun. Maybe it is worth mentioning in the 
README.

Hope this is useful

Andrea Bressan

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to