Skip to content

Commit

Permalink
FDS Source : Adress undefined IERR var issue, pres.f90.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosvanella committed Dec 3, 2024
1 parent ab3df28 commit 45e38f1
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Source/pres.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3890,24 +3890,21 @@ SUBROUTINE GET_H_MATRIX_LUDCMP
#endif

! Local Variables:
INTEGER :: INNZ, IROW, JCOL
#ifdef WITH_MKL
INTEGER :: PHASE, PERM(1)
INTEGER :: I, IPROC
#endif
!.. All other variables
INTEGER MAXFCT, MNUM, NRHS, ERROR
#ifdef WITH_MKL
INTEGER, ALLOCATABLE, DIMENSION(:,:) :: MB_FACTOR
INTEGER :: IERR
#endif
#ifdef WITH_HYPRE
INTEGER :: ONEV(1)
REAL(EB) :: ZEROV(1)
#endif
!.. All other variables
INTEGER :: INNZ, IROW, JCOL, IERR
INTEGER MAXFCT, MNUM, NRHS, ERROR

! Define parameters:
INNZ = 0; IROW = 0; JCOL=0
INNZ = 0; IROW = 0; JCOL = 0; IERR = 0
NRHS = 1
MAXFCT = 1
MNUM = 1
Expand All @@ -3924,7 +3921,7 @@ SUBROUTINE GET_H_MATRIX_LUDCMP
#endif
CASE(HYPRE_FLAG)
#ifdef WITH_HYPRE
IERR=0; CALL HYPRE_INITIALIZE(IERR)
CALL HYPRE_INITIALIZE(IERR)
IF (IERR==1) THEN
IF(MY_RANK==0) WRITE(LU_ERR,'(A)') 'Error: HYPRE pressure solver initialization error.'
STOP_STATUS = SETUP_STOP
Expand Down

0 comments on commit 45e38f1

Please sign in to comment.