I can not compile the fortran program on ubuntu. please see attchement for next post, I tried to use f77,g77,ifort, but none of them work
I do not use fortran so I do not know how to debug the program, anyone can help me? it looks very easy,
I do have those files in the same directory, for example, a file classify2d.f:
/tmp/ccOQ8XAw.o: In function `MAIN__':
contour2d.f:(.text+0x1e4): undefined reference to `classify_'
contour2d.f:(.text+0x47d): undefined reference to `draw_'
contour2d.f:(.text+0x482): undefined reference to `sum_'
contour2d.f:(.text+0x487): undefined reference to `out_'
collect2: ld returned 1 exit status
c--- classify: classify cells as high or low density
I guess this is a different complier error? in my ubuntu, it can not recognize the subroutine classify?
please let me know, thank you