Skip to content

Issue detected by nvidia (nvhpc) compiler with -O2 or greater #627

Description

@nmizukami

nvhpc compiler option uses the following flags for optimization mode now:

FLAGS = -fast -O3 -Mdclchk

For some reason, -O3 or -O2 flag cause index error at line reachID(1:nRch) = reachID( ixRch_order ) in mpi_process.f90.

Looks like ixRch_order get zero values for some reason.

With this flag,

FLAGS = -O1 -Mdclchk

works fine. Also, MODE=debug works fine.

Will need to look into this more why ixRch_order gets zero values with higher optimization mode.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions