I need to use the r.inund.fluv add-on in GRASS. I installed the gfortran compiler in order to use the script. The problem is, I do not know how to compile the files in gfortran. Im using windows
Here are the files for r.inund.fluv.
I emailed the author of the script, Roberto Marzocchi and he instructed me to do the following and I was stuck at step 4.:
Try the following way:
1) save the file r.inund.fluv within the folder named scripts within the grass main folder
2) create a file r.inund.fluv.bat in the folder named bin and copy the following row:
@"%GRASS_SH%" -c '"%GISBASE%/scripts/r.inund.fluv" %*'
3) save the file r.inund.fluv.html within the folder named doc
4) create a folder named fortran_code within your etc folder and save the four fortran code 2d_path.f90, etc etc. then try to compile the 4 fortran codes using for the binary file the same name of the source code without any extension e.g (2d_path.f90 become 2d_path)