Skip to content

NRQPO not correctly initialized #1518

@mickaelaccensi

Description

@mickaelaccensi

Describe the bug
when running ww3_multi with gnu compiler with debug option, ww3_multi if DOMAIN%UNIPTS = T

To Reproduce
Steps to reproduce the behavior.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
adding print out in wmwavemd :

                  IF ( NRQPO.NE.0 ) THEN
                     WRITE(*,*) 'size IRQPO1 : ', SIZE(IRQPO1)
                     WRITE(*,*) 'NRQPO : ', NRQPO, IRQPO1
                     CALL MPI_STARTALL ( NRQPO, IRQPO1, IERR_MPI )
                  END IF

shows the output :

  MWW3 calculating for 1968/06/06 00:00:00 UTC at 19:06:54  status [ 0- 0]

  Updating input for grid  1 at 1968/06/06 00:00:00 UTC

  Updating input for grid  2 at 1968/06/06 00:00:00 UTC
 size IRQPO1 :            4
 NRQPO :            2  -335535185  -335535186           0           0
 size IRQPO1 :            4
 NRQPO :            1  -335535189       23254           0           0
 size IRQPO1 :            4
 NRQPO :            1  -335535189       23124           0           0
 size IRQPO1 :            4
 NRQPO :  -2092945856  -335535189       23124           0           0
 size IRQPO1 :            4
 NRQPO :   1714975840  -335535189       23254           0           0
Abort(872046850) on node 3 (rank 3 in comm 0): Fatal error in internal_Startall: Invalid count, error stack:
internal_Startall(105): MPI_Startall(count=-2092945856, array_of_requests=0x5a519725f9d0) failed
internal_Startall(81).: Negative count, value is -2092945856

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions