Don't use fah_fsync
[alexxy/gromacs.git] / src / gromacs / utility / init.cpp
index 07d87b8f2fc7115fba749b3fe20d8e80756db381..b9ee23851725d1f39b7fb8483162d520efb6e5c3 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2013,2014,2015,2016,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2018,2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -81,10 +81,7 @@ void init(int* argc, char*** argv) // NOLINT(readability-non-const-parameter)
     }
     else
     {
-#    if GMX_FAHCORE
-        fah_MPI_Init(argc, argv);
-#    else
-#        if GMX_OPENMP
+#    if GMX_OPENMP
         /* Formally we need to use MPI_Init_thread and ask for MPI_THREAD_FUNNELED
          * level of thread support when using OpenMP. However, in practice we
          * have never seen any problems with just using MPI_Init(), and some MPI
@@ -113,9 +110,8 @@ void init(int* argc, char*** argv) // NOLINT(readability-non-const-parameter)
                     "the MPI library. Keep your fingers crossed.");
             MPI_Init(argc, argv);
         }
-#        else
+#    else
         MPI_Init(argc, argv);
-#        endif
 #    endif
     }
     // Bump the counter to record this initialization event