int main(int argc, char *argv[])
{
Utilities::MPI::MPI_InitFinalize mpi (argc, argv);
- PetscInitialize(&argc,&argv,0,0);
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
- PetscFinalize();
+
return 0;
}
int main (int argc, char **argv)
{
- PetscInitialize(&argc,&argv,0,0);
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
deallog.push(Utilities::int_to_string(myid));
else
test();
- PetscFinalize();
+
}
int main(int argc, char *argv[])
{
- PetscInitialize(&argc,&argv,0,0);
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
deallog.push(Utilities::int_to_string(myid));
test<3>();
}
- PetscFinalize();
+
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
}
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
deallog.pop();
}
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
deallog.pop();
}
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<3>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
}
else
test<3>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<3>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<3>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<3>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<3>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<3>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
-
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
+
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- PetscInitialize(&argc,&argv,0,0);
-
-// MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- //MPI_Finalize();
- PetscFinalize();
-
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- PetscInitialize(&argc,&argv,0,0);
-
-// MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- //MPI_Finalize();
- PetscFinalize();
-
-#endif
}
int main (int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- PetscInitialize (&argc, &argv, 0, 0);
-
-// MPI_Init (&argc,&argv);
-#else
- (void) argc;
- (void) argv;
-#endif
-
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
+
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- //MPI_Finalize();
- PetscFinalize();
-
-#endif
}
int main(int argc, char *argv[])
{
- PetscInitialize(&argc,&argv,0,0);
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
{
else
test();
- PetscFinalize();
+
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
Utilities::MPI::MPI_InitFinalize mpi (argc, argv);
-#else
- (void)argc;
- (void)argv;
- compile_time_error;
-
-#endif
if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
{
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
{
else
test<2>();
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_COMPILER_SUPPORTS_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_COMPILER_SUPPORTS_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_COMPILER_SUPPORTS_MPI
- MPI_Init (&argc,&argv);
-#else
- (void)argc;
- (void)argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
else
test();
-
-#ifdef DEAL_II_COMPILER_SUPPORTS_MPI
- MPI_Finalize();
-#endif
}
int main (int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc, &argv);
-#else
- (void) argc;
- (void) argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
}
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main (int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
- MPI_Init (&argc, &argv);
-#else
- (void) argc;
- (void) argv;
-#endif
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
}
else
test<2>();
-
-#ifdef DEAL_II_WITH_MPI
- MPI_Finalize();
-#endif
}
int main(int argc, char *argv[])
{
-#ifdef DEAL_II_WITH_MPI
Utilities::MPI::MPI_InitFinalize mpi (argc, argv);
-#else
- (void)argc;
- (void)argv;
- compile_time_error;
-
-#endif
if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
{
int main(int argc, char *argv[])
{
- PetscInitialize(&argc,&argv,0,0);
+ Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
test<3>();
}
- PetscFinalize();
+
}