dfm / python-nufft

Python bindings to a subset of the NUFFT algorithm
Other
61 stars 13 forks source link

Fortran compilation error under gcc 10 on OS X #12

Open astrobatty opened 4 years ago

astrobatty commented 4 years ago

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.