1. petsc
  2. PETSc
  3. petsc

Commits

BarryFSmith  committed f4202a4

need to start AMS server after Xvfb or else Xvfb cannot load keyboading mapping, no idea why.

  • Participants
  • Parent commits 4b91bfc
  • Branches master

Comments (0)

Files changed (1)

File src/sys/objects/pinit.c

View file
  • Ignore whitespace
   ierr = MPI_Type_commit(&MPIU_2INT);CHKERRQ(ierr);
 #endif
 
-#if defined(PETSC_HAVE_AMS)
-  ierr = AMS_Initialize();CHKERRQ(ierr);
-#endif
 
   /*
      Attributes to be set on PETSc communicators
   }
   ierr = PetscOptionsCheckInitial_Private();CHKERRQ(ierr);
 
+#if defined(PETSC_HAVE_AMS)
+  ierr = AMS_Initialize();CHKERRQ(ierr);
+#endif
+
   /* SHOULD PUT IN GUARDS: Make sure logging is initialized, even if we do not print it out */
 #if defined(PETSC_USE_LOG)
   ierr = PetscLogBegin_Private();CHKERRQ(ierr);
   }
 
 #if defined(PETSC_HAVE_AMS)
-  AMS_Finalize();CHKERRQ(ierr);
+    AMS_Finalize();CHKERRQ(ierr);
 #endif
 
   {