Skip to content

Fortran compilation error under gcc 10 on OS X #12

Description

@astrobatty

I tried to install nufft using gfortran which comes with gcc version 10, but due to the following errors it failed:

   16 |       call dcftb1 (n,c,wsave,wsave(iw1),wsave(iw2))
      |                                                                        
Error: Type mismatch in argument 'ifac' at (1); passed REAL(8) to INTEGER(4)
src/nufft/dfftpack.f:27:72:

   27 |       call dcftf1 (n,c,wsave,wsave(iw1),wsave(iw2))
      |                                                                        
Error: Type mismatch in argument 'ifac' at (1); passed REAL(8) to INTEGER(4)
src/nufft/dfftpack.f:38:72:

   38 |       call dcfti1 (n,wsave(iw1),wsave(iw2))
      |                                                                        
Error: Type mismatch in argument 'ifac' at (1); passed REAL(8) to INTEGER(4)

However if I downgrade gcc to version 6 it compiles.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions