When I tried to install a numerical code in cluster, I encountered the following error. Based on the error message, I understood that the installed gnu fortran version do not recognize the command option -r8.
Error message
gfortran: error: unrecognized command line option ‘-r8’; did you mean ‘-k8’? gfortran: error: unrecognized command line option ‘-i-dynamic’; did you mean ‘-rdynamic’?
Fortran version
GNU Fortran (GCC) version 7.2.0
Can you please help me with this? In addition, do you know how to change the flag -r8 to -fdefault-real-8?
Please let me know for any other question.
Thanks in advance,
Ram
Error message
gfortran: error: unrecognized command line option ‘-r8’; did you mean ‘-k8’? gfortran: error: unrecognized command line option ‘-i-dynamic’; did you mean ‘-rdynamic’?
Fortran version
GNU Fortran (GCC) version 7.2.0
Can you please help me with this? In addition, do you know how to change the flag -r8 to -fdefault-real-8?
Please let me know for any other question.
Thanks in advance,
Ram