- 积分
- 11391
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-5-7
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2018-9-4 15:35:18
|
显示全部楼层
本帖最后由 Dahoe 于 2018-9-4 15:36 编辑
先说下做到了哪一步,根据官网教程下载了mingw-w64-install.exe,但是不知道有没有在windows上安装了gfortranCOMPILING ON WINDOWS
1) Get and install gfortran for Windows.
http://gcc.gnu.org/wiki/GFortranBinaries
http://users.humboldt.edu/finneyb/gfortran-windows-20130301.exe
2) Get pre-compiled NetCDF from UCAR.
ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.6.2-beta5_pgi_w32bin.zip
3) Extract "netcdf-3.6.2-beta5_pgi_w32bin.zip" into the same directory
as the CALWRF source code ("code" directory).
4) Run "compile.bat"
5) When running CALWRF, make sure the following 4 DLL files stay in same
directory as "calwrf.exe":
Three gcc/gfotran DLL files:
* libgcc_s_dw2-1.dll
* libgfortran-3.dll
* libquadmath-0.dll
Available at:
C:\Program Files\gfortran\bin\
or
C:\Program Files (x86)\gfortran\bin\
See "GCC Runtime Library Exception.pdf" for license to redistribute.
One NetCDF DLL file:
* libnetcdf-0.dll
See "netcdf.h" for license to redistribute.
|
|