Improve code portability
Add new test in subroutine read_hilbert_keys_raw to correct a problem with ios error catching with some intel versions.
Add new test in subroutine read_hilbert_keys_raw to correct a problem with ios error catching with some intel versions.