【发布时间】:2022-12-31 03:00:29
【问题描述】:
第一次使用ifort。
试图抑制此错误。
ifort -c -fpp -DRADM_WRF_FIM -O2 -convert big_endian -warn none -I../../aux_src/utils/include -I/home/workhorse/WRFCHEM/WRF_CHEM_Tools/Libs/NETCDF/include -I/home/workhorse/WRFCHEM/WRF_CHEM_Tools/Libs/grib2/include convert_edgar_to_RELACS_REAC.f90
抛出这个错误:
convert_edgar_to_RELACS_REAC.f90(17): error #6405: The same named entity from different modules and/or program units cannot be referenced.
我对 ifort -warn 不够熟悉,不知道哪个选项会将其更改为警告。
【问题讨论】:
-
尝试使用 -diag-disable 6405 并且终端显示:无法禁用 Fortran 错误消息 6405
标签: ubuntu intel-fortran