Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

From source code building, an error occurred while executing the "f2py".

未关闭
#206 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
fortran, python
领域
build-system

调研方向

首先重现安装教程中 fortran/build_help 的源代码构建步骤,然后对列出的 .f90 文件运行报告中的 f2py 命令。检查有关 wrf_constants 和 omp_lib 的结果消息,并比较建议的 -I、-L、numpy.f2py 和 f2py3 方法。完成的标准是确定受支持的构建路径,并解决报告的 f2py 错误或将其清楚地记录下来。

由索引模型根据 Issue 内容生成。

描述

  1. I did not report any errors when executing the following code in the installation tutorial:
    cd ./fortran/build_help
    gfortran -o sizes -fopenmp omp_sizes.f90
    python sub_sizes.py
    cd ..
    gfortran -E ompgen.F90 -fopenmp -cpp -o omp.f90
  2. when i excute " f2py *.f90 -m _wrffortran -h wrffortran.pyf --overwrite-signature " , these are errors
    Reading fortran codes...
    Reading file 'calc_uh.f90' (format:free)
    Reading file 'eqthecalc.f90' (format:free)
    Reading file 'omp.f90' (format:free)
    Reading file 'rip_cape.f90' (format:free)
    Reading file 'wrf_cloud_fracf.f90' (format:free)
    Reading file 'wrf_constants.f90' (format:free)
    Reading file 'wrf_fctt.f90' (format:free)
    Reading file 'wrf_pvo.f90' (format:free)
    Reading file 'wrf_pw.f90' (format:free)
    Reading file 'wrf_relhl.f90' (format:free)
    Reading file 'wrf_rip_phys_routines.f90' (format:free)
    Reading file 'wrf_testfunc.f90' (format:free)
    Reading file 'wrf_user_dbz.f90' (format:free)
    Reading file 'wrf_user.f90' (format:free)
    Reading file 'wrf_user_latlon_routines.f90' (format:free)
    Reading file 'wrf_vinterp.f90' (format:free)
    Reading file 'wrf_wind.f90' (format:free)
    Post-processing...
    Block: _wrffortran
    Block: dcalcuh
    Block: deqthecalc
    In: :_wrffortran:eqthecalc.f90:deqthecalc
    get_useparameters: no module wrf_constants info used by deqthecalc
    Block: omp_constants
    In: :_wrffortran:omp.f90:omp_constants
    get_useparameters: no module omp_lib info used by omp_constants
    Block: fomp_enabled
    Block: fomp_set_num_threads
    In: :_wrffortran:omp.f90:fomp_set_num_threads
    get_useparameters: no module omp_lib info used by fomp_set_num_threads
    Block: fomp_get_num_threads
    ........
  3. The method I am trying to use
    Add this Fortran folder through - I or - L. Use Python - m numpy.f2py. Using f2py3
主要语言
Python
星标
498
派生
178
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NCAR/wrf-python 的其他 Issue

查看 NCAR/wrf-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。