Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpi.f90 module uses non-conformant integer representation leading to error with gfortran #33

Open
letmaik opened this issue Jan 7, 2020 · 0 comments

Comments

@letmaik
Copy link
Member

letmaik commented Jan 7, 2020

Same as #14, but for mpi.f90:

$ gfortran -c -I$MINGW_PREFIX/include "$MSMPI_INC/mpi.f90"
C:\Program Files (x86)\Microsoft SDKs\MPI\Include\/mpi.f90:404:32:

  404 |        PARAMETER (MPI_FLOAT_INT=z'8c000000')
      |                                1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check'
C:\Program Files (x86)\Microsoft SDKs\MPI\Include\/mpi.f90:406:33:

  406 |        PARAMETER (MPI_DOUBLE_INT=z'8c000001')
      |                                 1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check'
C:\Program Files (x86)\Microsoft SDKs\MPI\Include\/mpi.f90:408:31:

  408 |        PARAMETER (MPI_LONG_INT=z'8c000002')
      |                               1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check'
C:\Program Files (x86)\Microsoft SDKs\MPI\Include\/mpi.f90:410:32:

  410 |        PARAMETER (MPI_SHORT_INT=z'8c000003')
      |                                1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check'
C:\Program Files (x86)\Microsoft SDKs\MPI\Include\/mpi.f90:412:38:

  412 |        PARAMETER (MPI_LONG_DOUBLE_INT=z'8c000004')
      |                                      1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant