- #1
mathia
- 15
- 0
Hi,
I have a fortran 77 code, I compiled it on cygwin in windows 7 by using f77 and gfortran, and it has been working correctly.
I should use this code on Ubuntu, so I installed f77, gfortran and gcc compiler. I tried to comile that code by using f77 but it gave me the following error:
> f77 software.f -o software
> pickup_blockiirm:
> /usr/bin/f77: aborting compilation
The code was compiled successfully when I tried gfortran and f95, but whenever I want to run the program, it gives me the following error:
> At line 172 of file software.f
> Fortran runtime error: Bad value during integer read
I should mention that I'm sure that my input data is integer, and this code and input file works on cygwin smoothly!
Can anyone help me?
Regards,
Mathia
I have a fortran 77 code, I compiled it on cygwin in windows 7 by using f77 and gfortran, and it has been working correctly.
I should use this code on Ubuntu, so I installed f77, gfortran and gcc compiler. I tried to comile that code by using f77 but it gave me the following error:
> f77 software.f -o software
> pickup_blockiirm:
> /usr/bin/f77: aborting compilation
The code was compiled successfully when I tried gfortran and f95, but whenever I want to run the program, it gives me the following error:
> At line 172 of file software.f
> Fortran runtime error: Bad value during integer read
I should mention that I'm sure that my input data is integer, and this code and input file works on cygwin smoothly!
Can anyone help me?
Regards,
Mathia