Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#206 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
fortran, python
Lĩnh vực
build-system

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện các bước build mã nguồn trong hướng dẫn cài đặt tại fortran/build_help, sau đó chạy lệnh f2py được báo cáo trên các tệp .f90 được liệt kê. Xem xét các thông báo kết quả về wrf_constants và omp_lib, đồng thời so sánh các cách tiếp cận được đề xuất với -I, -L, numpy.f2py và f2py3. Được xem là hoàn tất khi đã xác định được đường dẫn build được hỗ trợ và các lỗi f2py được báo cáo đã được giải quyết hoặc ghi chép rõ ràng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

  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
Ngôn ngữ chính
Python
Star
498
Fork
178
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NCAR/wrf-python

Tất cả issue của NCAR/wrf-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.