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

fixed nvidia compiler issue #3527

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions fortran/test/tH5L_F03.F90
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,9 @@ INTEGER(KIND=C_INT) FUNCTION lvisit_cb(group, name, link_info, op_data) bind(C)
IF(nlen.NE.0)THEN
istart = (op_data%n_obj-1)*MAX_CHAR_LEN + 1
iend = istart + MAX_CHAR_LEN - 1
!PRINT*,istart, iend, name(1:nlen)
op_data%name(istart:istart+nlen-1) = name(1:nlen)
!op_data%name((op_data%n_obj-1)*MAX_CHAR_LEN)(1:nlen) = name(1:nlen)
!PRINT*,op_data%name(istart:istart+nlen)
ENDIF

! PRINT*,op_data%name
lvisit_cb = 0

END FUNCTION lvisit_cb
Expand Down Expand Up @@ -210,10 +206,10 @@ SUBROUTINE test_iter_group(cleanup, total_error)

INTEGER(HID_T) :: fapl
INTEGER(HID_T) :: file ! File ID
INTEGER(hid_t) :: dataset ! Dataset ID
INTEGER(hid_t) :: datatype ! Common datatype ID
INTEGER(hid_t) :: filespace ! Common dataspace ID
INTEGER(hid_t) :: grp ! Group ID
INTEGER(HID_T) :: dataset ! Dataset ID
INTEGER(HID_T) :: datatype ! Common datatype ID
INTEGER(HID_T) :: filespace ! Common dataspace ID
INTEGER(HID_T) :: grp ! Group ID
INTEGER i,j ! counting variable
INTEGER(hsize_t) idx ! Index in the group
CHARACTER(LEN=11) :: DATAFILE = "titerate.h5"
Expand Down Expand Up @@ -541,7 +537,7 @@ SUBROUTINE test_visit(cleanup, total_error)
EXIT
ENDIF
ENDDO
IF( TRIM(tmp) .NE. TRIM(obj_list(i)(:)) )THEN
IF( TRIM(tmp) .NE. TRIM(obj_list(i)) )THEN
CALL check("h5lvisit_f: Wrong object list from visit", -1, total_error)
EXIT
ENDIF
Expand Down Expand Up @@ -570,7 +566,7 @@ SUBROUTINE test_visit(cleanup, total_error)
EXIT
ENDIF
ENDDO
IF( TRIM(tmp) .NE. TRIM(obj_list(i)(:)) )THEN
IF( TRIM(tmp) .NE. TRIM(obj_list(i)) )THEN
CALL check("h5lvisit_by_name_f: Wrong object list from visit", -1, total_error)
EXIT
ENDIF
Expand Down