Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortran build errors with RHEL9 based system (gfortran 11.2.1) #478

Open
birkenfeld opened this issue Oct 5, 2022 · 0 comments
Open

Fortran build errors with RHEL9 based system (gfortran 11.2.1) #478

birkenfeld opened this issue Oct 5, 2022 · 0 comments

Comments

@birkenfeld
Copy link

With RHEL9 (gfortran 11.2.1), the Fortran bindings fail to build on master.

For F90, multiple errors of the form:

/code/bindings/f90/NXmodule.f90:1052:53:

 1052 |       status = nxifputattr(file_id, NXCstring(name), value, 1, NX_FLOAT64)
      |                                                     1
......
 1068 |       status = nxifputattr(file_id, NXCstring(name), NXCstring(value), &
      |                                                     2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(1)).

and for F77:

/code/bindings/f77/napif.f:265:41:

  250 |       NXGETDATA = NXIGETDATA(FILEID, DATA)
      |                                     2    
......
  265 |       NXGETCHARDATA = NXIGETDATA(FILEID, IDATA)
      |                                         1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(1)/INTEGER(4)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant