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

Fortran compilation error under gcc 10 on OS X #12

Open
astrobatty opened this issue May 25, 2020 · 0 comments
Open

Fortran compilation error under gcc 10 on OS X #12

astrobatty opened this issue May 25, 2020 · 0 comments

Comments

@astrobatty
Copy link

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.

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