Hi, my friend
xunxun1982 has give some suggestion on change the FORTRAN file extension.
1. rename the main.f95 to main.f90.
because .f95 is not widely supported, such as Compa Visual Fortran, this compiler only support Fortran90 standard and the .f90 extension file. But .f90 is widely supported by all the fortran compiler like Fortran95 2003 2008 standard.
2. change the content of main.f90
original content
program main
implicit none
integer re_i
write(*,*) "Hello World!"
re_i = system("pause")
end
reason:the statement above:
system is not a native Fortran function, it is a compiler extension (gfortran/g95/intel supported, but not sure other fortran compiler)
changed content:
program main
implicit none
write(*,*) "Hello World!"
stop
end
Any ideas from Fortran users??
thanks.