From a881205561dee2b2eadef7875792c3d645a8343f Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 3 May 2019 06:21:43 +0200 Subject: [PATCH] CLI options not used to control PETSc --- src/DAMASK_interface.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DAMASK_interface.f90 b/src/DAMASK_interface.f90 index 87a73af37..a3996c417 100644 --- a/src/DAMASK_interface.f90 +++ b/src/DAMASK_interface.f90 @@ -45,7 +45,7 @@ contains !> @brief initializes the solver by interpreting the command line arguments. Also writes !! information on computation to screen !-------------------------------------------------------------------------------------------------- -subroutine DAMASK_interface_init() +subroutine DAMASK_interface_init use, intrinsic :: & iso_fortran_env use, intrinsic :: & @@ -134,7 +134,7 @@ subroutine DAMASK_interface_init() call quit(1) endif #endif - call PETScInitialize(PETSC_NULL_CHARACTER,petsc_err) ! according to PETSc manual, that should be the first line in the code + call PETScInitializeNoArguments(petsc_err) ! according to PETSc manual, that should be the first line in the code CHKERRQ(petsc_err) ! this is a macro definition, it is case sensitive call MPI_Comm_rank(PETSC_COMM_WORLD,worldrank,mpi_err)