如习惯使用gfortran,可以查看笔者另一文章SWAT源码编译方法(gfortran)
说明
SWAT源码采用Fortran语言编写,官方源码仓库为:https://bitbucket.org/blacklandgrasslandmodels/swat_development/src/master/
尝试使用官方源码编译:
报错过多,放弃了。
解决办法
https://zhiqiangyu.wordpress.com/2014/01/05/compile-and-run-swat-with-photran-mingw-the-easiest-way-to-remove-mathematical-errors-from-swat/
修改后的