Hi every one,

As I was working and testing on the pml_monitoring mca component, I was surprised to discover a failure in the error returning process.

As an example, using the ompi/test/monitoring/monitoring_test.c example, if the directory does not exists, an error should be returned to the user but none is (returned value : MPI_SUCCESS). The output function properly returns -1, and so does the "mca_pml_monitoring_notify_flush function (in ompi/mca/pml/monitoring/pml_monitoring_component.c:82), but this error seems to get lost somewhere in the process of returning the error. Neither during the call to MPI_T_pvar_write(session, flush_handle, filename) (in ompi/test/monitoring_test.c:162), nor in MPI_T_pvar_stop(session, flush_handle) (in ompi/test/monitoring_test.c:168), which is supposed to dump the monitored values.

Anyhow, it seems that the error code that would be returned by mca_pml_monitoring_notify_flush() are never propagated. Is it a normal behavior?

Thanks,

Clement

_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

Reply via email to