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

GCC 8.3.0 bug (GCC 8.5.0 and others work) #31

Closed
scivision opened this issue Jul 6, 2022 · 0 comments
Closed

GCC 8.3.0 bug (GCC 8.5.0 and others work) #31

scivision opened this issue Jul 6, 2022 · 0 comments
Labels
compiler workarounds for compiler bugs

Comments

@scivision
Copy link
Member

scivision commented Jul 6, 2022

On multiple CentOS computers with GCC 8.3.0, this build error is observed since after h5fortran v4.4.4

h5fortran/src/write_scalar.f90:32:118:

   call hdf_create(self, dname, H5T_NATIVE_CHARACTER, dims, dims, file_space_id, dset_id, dtype_id, charlen=len(value))

                  1
Error: Type mismatch in argument 'charlen' at (1); passed INTEGER(8) to INTEGER(4)

I initially think this may be a compiler bug, let's see if we can make a workaround.
For whatever reason, various HPC default to GCC 8.3.0.

ref: gemini3d/external#4

@scivision scivision added the compiler workarounds for compiler bugs label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler workarounds for compiler bugs
Projects
None yet
Development

No branches or pull requests

1 participant