Skip to content
Snippets Groups Projects
Commit 3496b96d authored by Juan Escobar's avatar Juan Escobar
Browse files

Juan 12/07/2016 : add test on NRIMY & change the one on NRIMX with >=

parent 7717ffe6
No related branches found
No related tags found
No related merge requests found
......@@ -187,6 +187,7 @@ END MODULE MODI_SPAWN_MODEL2
!! Modification 05/02/2015 (M.Moge) parallelization of SPAWNING
!! J.Escobar : 15/09/2015 : WENO5 & JPHEXT <> 1
!! J.Escobar 02/05/2016 : test ZZS_MAX in //
!! J.Escobar 12/07/2016 : add test on NRIMY & change the one on NRIMX with >=
!-------------------------------------------------------------------------------
!
!* 0. DECLARATIONS
......@@ -622,9 +623,15 @@ IF ( .NOT. L2D ) THEN
ELSE
NRIMY=0
END IF
IF (NRIMX == IIU/2-1) THEN ! Error ! this case is not supported - it should be, but there is a bug
WRITE(*,*) "Error : The size of the LB zone is too big for the size of the subdomains"
WRITE(*,*) "Try with less cores, a smaller LB size, or a bigger grid"
IF (NRIMX >= IIU/2-1) THEN ! Error ! this case is not supported - it should be, but there is a bug
WRITE(*,*) "Error : The size of the LBX zone is too big for the size of the subdomains"
WRITE(*,*) "Try with less cores, a smaller LBX size, or a bigger grid in X "
CALL ABORT
STOP
ENDIF
IF ( ( .NOT. L2D ) .AND. (NRIMY >= IJU/2-1) ) THEN ! Error ! this case is not supported - it should be, but there is a bug
WRITE(*,*) "Error : The size of the LBY zone is too big for the size of the subdomains"
WRITE(*,*) "Try with less cores, a smaller LBY size, or a bigger grid in Y "
CALL ABORT
STOP
ENDIF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment