allow to parse extra options to PETSc in case of debugging
This commit is contained in:
parent
80c8c9e51e
commit
b7ae2c72f5
|
@ -50,7 +50,11 @@ subroutine parallelization_init
|
||||||
if (threadLevel<MPI_THREAD_FUNNELED) error stop 'MPI library does not support OpenMP'
|
if (threadLevel<MPI_THREAD_FUNNELED) error stop 'MPI library does not support OpenMP'
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
call PetscInitializeNoArguments(petsc_err) ! first line in the code according to PETSc manual
|
#if defined(DEBUG)
|
||||||
|
call PetscInitialize(PETSC_NULL_CHARACTER,petsc_err)
|
||||||
|
#else
|
||||||
|
call PetscInitializeNoArguments(petsc_err)
|
||||||
|
#endif
|
||||||
CHKERRQ(petsc_err)
|
CHKERRQ(petsc_err)
|
||||||
|
|
||||||
#if defined(DEBUG) && defined(__INTEL_COMPILER)
|
#if defined(DEBUG) && defined(__INTEL_COMPILER)
|
||||||
|
|
Loading…
Reference in New Issue