<br>
(Wolfgang Bangerth, 2011/09/26)
+<li> Removed: Utilities::System::program_uses_mpi does exactly the same thing
+as Utilities::System::job_supports_mpi. The former has therefore been
+deprecated.
+<br>
+(Wolfgang Bangerth, 2011/09/26)
+
<li> New: When using a new enough version of GCC, debug sections in
object files are now compressed using the <code>-Wa,--compress-debug-sections</code>
flag, resulting in savings in disk space on the order of 230 MB.
*/
bool job_supports_mpi ();
+ /**
+ * Alias for job_supports_mpi().
+ *
+ * @deprecated
+ */
+ bool program_uses_mpi();
+
+ /**
+ * @name Functions that work
+ * in parallel via MPI. The
+ * functions following here
+ * are all deprecated and have
+ * been moved to namespace
+ * Utilities::MPI.
+ */
+ /** @{ */
+
/**
* This function is an alias for
* Utilities::MPI::n_mpi_processes.
const double my_value,
MinMaxAvg & result);
+ /** @} */
/**
*/
const bool owns_mpi;
};
-
- /**
- * Returns whether deal.II has been
- * configured to use MPI and if so
- * whether MPI has already been
- * initialized using MPI_Init().
- */
- bool program_uses_mpi();
}
}
-#ifdef DEAL_II_COMPILER_SUPPORTS_MPI
-
bool job_supports_mpi ()
{
- int MPI_has_been_started = 0;
- MPI_Initialized(&MPI_has_been_started);
-
- return (MPI_has_been_started > 0);
+ return program_uses_mpi;
}
-#else
-
- bool job_supports_mpi ()
- {
- return false;
- }
-
-#endif
-
-
MPI_InitFinalize::MPI_InitFinalize (int &argc,
char** &argv)