internal compiler error in c_binding.f90
Mattiads1 opened this issue · 8 comments
Hi, I already compiled and used the library on my personal computer, and it works very well!!
But when I try to compile the library on another computer (I'm not the administrator) I get
f951: internal compiler error: Segmentation fault, when gfortran try to compile c_binding.f90.
The version of gfortran is GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28).
What do I need to solve this problem?
Then, there is no way to solve the problem?
Which are the relevant lines in SConstruct?
I'm not good with SConstruct
In that case it will be best to upgrade your compiler. 4.8 is old and not supported any more.
I tried to compile the library with ifort, version 17.0.4 20170411, and now I get this error:
./poisfft-inc.f90(45): error #6406: Conflicting attributes or multiple declaration of name. [POISFFT_SOLVER3D]
interface PoisFFT_Solver3D
------------^
./poisfft-inc.f90(45): error #6406: Conflicting attributes or multiple declaration of name. [POISFFT_SOLVER3D]
interface PoisFFT_Solver3D
------------^
Unfortunately, I'm not the administrator of the computer where I want to compile the library, and I cannot upgrade the compilers.
On my laptop, I have ifort version 19.1.1.217 20200306 and it works perfectly.