Control: reopen -1

Hi,

On 03/08/2014 22:24, Debian Bug Tracking System wrote:
> #736842: ipopt: should not call MPI_Init
> 
> It has been closed by [email protected] (Roberto C. Sanchez).

I later noticed that MPI_Finalize is also called, but forgot to send an
updated patch (attached).

Ansgar

diff -Nru coinor-ipopt-3.11.7/debian/changelog coinor-ipopt-3.11.7/debian/changelog
--- coinor-ipopt-3.11.7/debian/changelog	2014-03-08 21:10:43.000000000 +0100
+++ coinor-ipopt-3.11.7/debian/changelog	2014-03-10 10:20:23.000000000 +0100
@@ -1,3 +1,11 @@
+coinor-ipopt (3.11.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Also do not call MPI_Finalize() from within library. (Closes: #736842)
+    + Update patch mpi-init.patch
+
+ -- Ansgar Burchardt <[email protected]>  Mon, 10 Mar 2014 10:19:32 +0100
+
 coinor-ipopt (3.11.7-1) unstable; urgency=low
 
   * New upstream release
diff -Nru coinor-ipopt-3.11.7/debian/patches/mpi-init.patch coinor-ipopt-3.11.7/debian/patches/mpi-init.patch
--- coinor-ipopt-3.11.7/debian/patches/mpi-init.patch	2014-03-08 20:45:21.000000000 +0100
+++ coinor-ipopt-3.11.7/debian/patches/mpi-init.patch	2014-03-10 10:19:26.000000000 +0100
@@ -19,3 +19,12 @@
      mumps_->n = 0;
      mumps_->nz = 0;
      mumps_->a = NULL;
+@@ -84,7 +84,7 @@
+     DMUMPS_STRUC_C* mumps_ = (DMUMPS_STRUC_C*)mumps_ptr_;
+     mumps_->job = -2; //terminate mumps
+     dmumps_c(mumps_);
+-    MPI_Finalize();
++    // MPI_Finalize();
+     delete [] mumps_->a;
+     delete mumps_;
+   }

Reply via email to