h5fortran
h5fortran copied to clipboard
[Bug]: PowerPC: test 5 - cast (Failed), few tests get disabled
What happened?
One test fails and a few are disabled. Could this be fixed?
---> Testing h5fortran
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build" && ctest test
Test project /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build
Start 1: minimal
1/27 Test #1: minimal .......................... Passed 0.06 sec
Start 2: array
2/27 Test #2: array ............................ Passed 0.08 sec
Start 3: attributes
3/27 Test #3: attributes ....................... Passed 0.07 sec
Start 4: attributes_read
4/27 Test #4: attributes_read ..................***Not Run (Disabled) 0.00 sec
Start 5: cast
5/27 Test #5: cast .............................***Failed 0.15 sec
Start 6: deflate_write
6/27 Test #6: deflate_write .................... Passed 0.26 sec
Start 7: deflate_read
7/27 Test #7: deflate_read ..................... Passed 0.07 sec
Start 8: deflate_props
8/27 Test #8: deflate_props .................... Passed 0.06 sec
Start 9: destructor
9/27 Test #9: destructor ....................... Passed 0.06 sec
Start 10: exist
10/27 Test #10: exist ............................ Passed 0.07 sec
Start 11: groups
11/27 Test #11: groups ........................... Passed 0.06 sec
Start 19: write
12/27 Test #19: write ............................ Passed 0.06 sec
Start 12: layout
13/27 Test #12: layout ........................... Passed 0.06 sec
Start 13: lt
14/27 Test #13: lt ............................... Passed 0.08 sec
Start 14: scalar
15/27 Test #14: scalar ........................... Passed 0.06 sec
Start 15: shape
16/27 Test #15: shape ............................ Passed 0.06 sec
Start 16: string
17/27 Test #16: string ........................... Passed 0.06 sec
Start 17: string_read
18/27 Test #17: string_read ......................***Not Run (Disabled) 0.00 sec
Start 18: version
19/27 Test #18: version .......................... Passed 0.05 sec
Start 20: fail_read_size_mismatch
20/27 Test #20: fail_read_size_mismatch .......... Passed 0.13 sec
Start 21: fail_read_rank_mismatch
21/27 Test #21: fail_read_rank_mismatch .......... Passed 0.13 sec
Start 22: fail_nonexist_variable
22/27 Test #22: fail_nonexist_variable ........... Passed 0.12 sec
Start 23: fill
23/27 Test #23: fill ............................. Passed 0.06 sec
Start 24: PythonAttributes
24/27 Test #24: PythonAttributes .................***Not Run (Disabled) 0.00 sec
Start 25: PythonShape
25/27 Test #25: PythonShape ......................***Not Run (Disabled) 0.00 sec
Start 26: PythonString
26/27 Test #26: PythonString .....................***Not Run (Disabled) 0.00 sec
Start 27: h5ls
27/27 Test #27: h5ls ............................. Passed 0.07 sec
95% tests passed, 1 tests failed out of 22
Label Time Summary:
h5fortran = 1.85 sec*proc (27 tests)
python = 0.00 sec*proc (3 tests)
shaky = 0.37 sec*proc (3 tests)
Total Test time (real) = 1.89 sec
The following tests did not run:
4 - attributes_read (Disabled)
17 - string_read (Disabled)
24 - PythonAttributes (Disabled)
25 - PythonShape (Disabled)
26 - PythonString (Disabled)
The following tests FAILED:
5 - cast (Failed)
Errors while running CTest
macOS 10.6, gcc
12.2.0, cmake
3.26, hdf5
@1.14.0_0+cxx+fortran+gfortran+hl+mpich+szip
Relevant log output
Start testing: Apr 20 23:06 CST
----------------------------------------------------------
1/27 Testing: minimal
1/27 Test: minimal
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_minimal"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"minimal" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
minimal: created test_minimal.h5
minimal: created variable
minimal: closed test_minimal.h5
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"minimal" end time: Apr 20 23:06 CST
"minimal" time elapsed: 00:00:00
----------------------------------------------------------
2/27 Testing: array
2/27 Test: array
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_array"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"array" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
1 2 3 4
2 4 6 8
3 6 9 12
4 8 12 16
PASSED: array write
PASSED: slice read
PASSED: create dataset and write slice 1D
PASSED: overwrite slice 1d, stride=1
PASSED: overwrite slice 1d, no stride
h5fortran:TRACE:create: deflate: /int32a-2d
create and write slice 2d, stride=1
PASSED: slice write
PASSED: array write / read
<end of output>
Test time = 0.08 sec
----------------------------------------------------------
Test Passed.
"array" end time: Apr 20 23:06 CST
"array" time elapsed: 00:00:00
----------------------------------------------------------
3/27 Testing: attributes
3/27 Test: attributes
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_attributes"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"attributes" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
PASSED: HDF5 write attributes
PASSED: HDF5 read attributes
<end of output>
Test time = 0.07 sec
----------------------------------------------------------
Test Passed.
"attributes" end time: Apr 20 23:06 CST
"attributes" time elapsed: 00:00:00
----------------------------------------------------------
4/27 Testing: attributes_read
4/27 Test: attributes_read
Command: ""
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"attributes_read" start time:
Output:
----------------------------------------------------------
<end of output>
Test time = 0.00 sec
----------------------------------------------------------
Test Passed.
"attributes_read" end time: Apr 20 23:06 CST
"attributes_read" time elapsed: 00:00:00
----------------------------------------------------------
5/27 Testing: cast
5/27 Test: cast
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_cast"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"cast" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: cast write
OK: class method
OK: dtype method
ERROR STOP scalar cast int32 => int64
Error termination. Backtrace:
#0 0xf19db
<end of output>
Test time = 0.15 sec
----------------------------------------------------------
Test Failed.
"cast" end time: Apr 20 23:06 CST
"cast" time elapsed: 00:00:00
----------------------------------------------------------
6/27 Testing: deflate_write
6/27 Test: deflate_write
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_deflate_write"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"deflate_write" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: HDF5 write deflate
#2 filesize (Mbytes): 0.27 compression ratio: 6.0
OK: HDF5 compress whole
#3 file opened
#3 written slice of A
#3 filesize (Mbytes): 0.01 compression ratio: 18.7
OK: HDF5 compress slice
<end of output>
Test time = 0.26 sec
----------------------------------------------------------
Test Passed.
"deflate_write" end time: Apr 20 23:06 CST
"deflate_write" time elapsed: 00:00:00
----------------------------------------------------------
7/27 Testing: deflate_read
7/27 Test: deflate_read
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_deflate_read"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"deflate_read" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: HDF5 read deflate
<end of output>
Test time = 0.07 sec
----------------------------------------------------------
Test Passed.
"deflate_read" end time: Apr 20 23:06 CST
"deflate_read" time elapsed: 00:00:00
----------------------------------------------------------
8/27 Testing: deflate_props
8/27 Test: deflate_props
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_deflate_props"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"deflate_props" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
#1 filesize (Mbytes): 0.03 compression ratio: 7.8
OK: HDF5 read deflate properties
OK: HDF5 get deflate
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"deflate_props" end time: Apr 20 23:06 CST
"deflate_props" time elapsed: 00:00:00
----------------------------------------------------------
9/27 Testing: destructor
9/27 Test: destructor
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_destructor"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"destructor" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
auto-closing test_destruct.h5
OK: destructor write
auto-closing test_destruct.h5
OK: destructor read
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"destructor" end time: Apr 20 23:06 CST
"destructor" time elapsed: 00:00:00
----------------------------------------------------------
10/27 Testing: exist
10/27 Test: exist
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_exist"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"exist" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: is_hdf5
test_exist: creating file exist.h5
TRACE:h5fortran:h5open: initializing HDF5 library
creating test dataset /x
test_exist: closing file exist.h5
test_exist: attemping to open file: exist.h5
test_exist: library still initialized: T
test_exist: check h5exist() on file: exist.h5
OK: exist
OK: softlink
OK: multiple files open at once
<end of output>
Test time = 0.07 sec
----------------------------------------------------------
Test Passed.
"exist" end time: Apr 20 23:06 CST
"exist" time elapsed: 00:00:00
----------------------------------------------------------
11/27 Testing: groups
11/27 Test: groups
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_groups"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"groups" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
TRACE:h5fortran:h5open: initializing HDF5 library
OK: HDF5 group
OK: write existing variable
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"groups" end time: Apr 20 23:06 CST
"groups" time elapsed: 00:00:00
----------------------------------------------------------
19/27 Testing: write
19/27 Test: write
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_write"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"write" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: test simple write
OK: test layout write
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"write" end time: Apr 20 23:06 CST
"write" time elapsed: 00:00:00
----------------------------------------------------------
12/27 Testing: layout
12/27 Test: layout
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_layout"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"layout" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: test layout
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"layout" end time: Apr 20 23:06 CST
"layout" time elapsed: 00:00:00
----------------------------------------------------------
13/27 Testing: lt
13/27 Test: lt
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_lt"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"lt" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
<end of output>
Test time = 0.08 sec
----------------------------------------------------------
Test Passed.
"lt" end time: Apr 20 23:06 CST
"lt" time elapsed: 00:00:00
----------------------------------------------------------
14/27 Testing: scalar
14/27 Test: scalar
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_scalar"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"scalar" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: scalar and vector: write and rewrite
OK: scalar and vector: read
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"scalar" end time: Apr 20 23:06 CST
"scalar" time elapsed: 00:00:00
----------------------------------------------------------
15/27 Testing: shape
15/27 Test: shape
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_shape"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"shape" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: test_shape
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"shape" end time: Apr 20 23:06 CST
"shape" time elapsed: 00:00:00
----------------------------------------------------------
16/27 Testing: string
16/27 Test: string
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_string"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"string" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: HDF5 string write
OK: HDF5 string read
OK: string overwrite
PASSED: HDF5 string write/read
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"string" end time: Apr 20 23:06 CST
"string" time elapsed: 00:00:00
----------------------------------------------------------
17/27 Testing: string_read
17/27 Test: string_read
Command: ""
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"string_read" start time:
Output:
----------------------------------------------------------
<end of output>
Test time = 0.00 sec
----------------------------------------------------------
Test Passed.
"string_read" end time: Apr 20 23:06 CST
"string_read" time elapsed: 00:00:00
----------------------------------------------------------
18/27 Testing: version
18/27 Test: version
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_version"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"version" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
1.14.0
<end of output>
Test time = 0.05 sec
----------------------------------------------------------
Test Passed.
"version" end time: Apr 20 23:06 CST
"version" time elapsed: 00:00:00
----------------------------------------------------------
20/27 Testing: fail_read_size_mismatch
20/27 Test: fail_read_size_mismatch
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_fail_read_size_mismatch"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"fail_read_size_mismatch" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
ERROR:h5fortran:shape_check: shape mismatch /int32-1d = 2 variable shape = 1
ERROR STOP
Error termination. Backtrace:
#0 0xf19db
<end of output>
Test time = 0.13 sec
----------------------------------------------------------
Test Passed.
"fail_read_size_mismatch" end time: Apr 20 23:06 CST
"fail_read_size_mismatch" time elapsed: 00:00:00
----------------------------------------------------------
21/27 Testing: fail_read_rank_mismatch
21/27 Test: fail_read_rank_mismatch
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_fail_read_rank_mismatch"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"fail_read_rank_mismatch" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
ERROR:h5fortran:rank_check: rank mismatch /int32-1d = 1 variable rank =2
ERROR STOP
Error termination. Backtrace:
#0 0xf19db
<end of output>
Test time = 0.13 sec
----------------------------------------------------------
Test Passed.
"fail_read_rank_mismatch" end time: Apr 20 23:06 CST
"fail_read_rank_mismatch" time elapsed: 00:00:00
----------------------------------------------------------
22/27 Testing: fail_nonexist_variable
22/27 Test: fail_nonexist_variable
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_fail_nonexist_variable"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"fail_nonexist_variable" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
ERROR STOP ERROR:h5fortran:open: action=r not an HDF5 file: bad.h5
Error termination. Backtrace:
#0 0xf19db
<end of output>
Test time = 0.12 sec
----------------------------------------------------------
Test Passed.
"fail_nonexist_variable" end time: Apr 20 23:06 CST
"fail_nonexist_variable" time elapsed: 00:00:00
----------------------------------------------------------
23/27 Testing: fill
23/27 Test: fill
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_fill"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"fill" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
OK: fill value
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"fill" end time: Apr 20 23:06 CST
"fill" time elapsed: 00:00:00
----------------------------------------------------------
24/27 Testing: PythonAttributes
24/27 Test: PythonAttributes
Command: ""
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"PythonAttributes" start time:
Output:
----------------------------------------------------------
<end of output>
Test time = 0.00 sec
----------------------------------------------------------
Test Passed.
"PythonAttributes" end time: Apr 20 23:06 CST
"PythonAttributes" time elapsed: 00:00:00
----------------------------------------------------------
25/27 Testing: PythonShape
25/27 Test: PythonShape
Command: ""
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"PythonShape" start time:
Output:
----------------------------------------------------------
<end of output>
Test time = 0.00 sec
----------------------------------------------------------
Test Passed.
"PythonShape" end time: Apr 20 23:06 CST
"PythonShape" time elapsed: 00:00:00
----------------------------------------------------------
26/27 Testing: PythonString
26/27 Test: PythonString
Command: ""
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"PythonString" start time:
Output:
----------------------------------------------------------
<end of output>
Test time = 0.00 sec
----------------------------------------------------------
Test Passed.
"PythonString" end time: Apr 20 23:06 CST
"PythonString" time elapsed: 00:00:00
----------------------------------------------------------
27/27 Testing: h5ls
27/27 Test: h5ls
Command: "/opt/local/bin/h5ls" "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_shape.h5/d7"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test
"h5ls" start time: Apr 20 23:06 CST
Output:
----------------------------------------------------------
d7 Dataset {5, 6, 7, 4, 3, 1, 2}
<end of output>
Test time = 0.07 sec
----------------------------------------------------------
Test Pass Reason:
Required regular expression found. Regex=[{5, 6, 7, 4, 3, 1, 2}]
"h5ls" end time: Apr 20 23:06 CST
"h5ls" time elapsed: 00:00:00
----------------------------------------------------------
End testing: Apr 20 23:06 CST
h5fortran = 1.85 sec*proc
python = 0.00 sec*proc
shaky = 0.37 sec*proc
I don't see this on macOS with Apple Silicon. I wonder if it's a bug with HDF5 itself for Apple PowerPC?
I don't see this on macOS with Apple Silicon. I wonder if it's a bug with HDF5 itself for Apple PowerPC?
@scivision Well, I will run the test-suite for hdf5
now and update you.
@scivision Indeed may be the case, since while everything else passes, specifically Fortran ones do not:
:info:test Making check in fortran
:info:test Making check in src
:info:test /usr/bin/make check-am
:info:test /usr/bin/make check-TESTS
:info:test make[6]: Nothing to be done for `_exec_check-s'.
:info:test Making check in test
:info:test /usr/bin/make fortranlib_test fflush1 fflush2 fortranlib_test_1_8 fortranlib_test_F03 vol_connector
:info:test make[3]: `fortranlib_test' is up to date.
:info:test make[3]: `fflush1' is up to date.
:info:test make[3]: `fflush2' is up to date.
:info:test make[3]: `fortranlib_test_1_8' is up to date.
:info:test make[3]: `fortranlib_test_F03' is up to date.
:info:test make[3]: `vol_connector' is up to date.
:info:test /usr/bin/make check-TESTS
:info:test ===Serial tests in test begin Mon Apr 24 19:10:34 CST 2023===
:info:test ============================
:info:test Fortran API: Testing fortranlib_test
:info:test ============================
:info:test Fortran API: Test log for fortranlib_test
:info:test ============================
:info:test Program received signal SIGBUS: Access to an undefined portion of a memory object.
:info:test Backtrace for this error:
:info:test #0 0xf19db
:info:test Command terminated abnormally.
:info:test 8.39 real 0.03 user 0.09 sys
:info:test make[5]: *** [fortranlib_test.chkexe_] Error 1
:info:test make[4]: *** [build-check-s] Error 2
Open an issue with upstream: https://github.com/HDFGroup/hdf5/issues/2799
@scivision More detailed output:
36-118% sudo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0/fortran/test/fortranlib_test
==========================
FORTRAN tests
==========================
h5open/h5close test PASSED
FORTRANLIB_TEST is linked with HDF5 Library version 1.14 release 0
Mounting test PASSED
Reopen test PASSED
Get name test PASSED
File open/close test PASSED
File free space test PASSED
Dataset test PASSED
Extendible dataset test PASSED
Dataset offset with user block PASSED
Program received signal SIGBUS: Access to an undefined portion of a memory object.
Backtrace for this error:
#0 0xf19db
zsh: bus error sudo
36-118% sudo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0/fortran/test/fortranlib_test_F03
==============================
FORTRAN 2003 tests
==============================
FORTRANLIB_TEST is linked with HDF5 Library version 1.14 release 0
Testing 1-D Array of Compound Datatypes Functionality PASSED
Testing 1-D Array of Compound Array Datatypes Functionality PASSED
Testing 3-D array by dataset, using C_LOC PASSED
Testing writing/reading enum dataset, using C_LOC PASSED
Testing enumeration conversions PASSED
Testing writing/reading bitfield dataset, using C_LOC PASSED
Testing writing/reading opaque datatypes, using C_LOC PASSED
Testing writing/reading object references, using C_LOC PASSED
Testing writing/reading region references, using C_LOC PASSED
Testing writing/reading variable-length datatypes, using C_LOC PASSED
Testing writing/reading variable-string datatypes, using C_LOC PASSED
Testing variable-string write/read, using h5dwrite_f/h5dread_f PASSED
Testing writing/reading string datatypes, using C_LOC PASSED
Testing string datatypes containing control characters PASSED
Testing filling functions PASSED
Program received signal SIGBUS: Access to an undefined portion of a memory object.
Backtrace for this error:
#0 0xf19db
zsh: bus error sudo
36-118% sudo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0/fortran/test/fortranlib_test_1_8
==========================
FORTRAN 1.8 tests
==========================
FORTRANLIB_TEST is linked with HDF5 Library version 1.14 release 0
Testing with new file format:
- Tests INT attributes on both datasets and groups PASSED
- Testing with shared attributes:
- Testing INT attributes on both datasets and groups PASSED
- Testing storing attribute with "null" dataspace PASSED
- Testing storing lots of attributes PASSED
- Testing creating objects with attribute creation order PASSED
- Testing compact storage on objects with attribute creation order PASSED
- Testing querying attribute info by index PASSED
- Testing deleting attribute by index PASSED
- Testing Creating Attributes By Name w/o Creation Order Index
- Testing Creating Attributes By Name w/Creation Order Index
- Testing creating attributes by name PASSED
- Testing renaming shared attributes in "compact" & "dense" storage PASSED
- Testing deleting shared attributes in "compact" & "dense" storage PASSED
- Testing without shared attributes:
- Testing INT attributes on both datasets and groups PASSED
- Testing storing attribute with "null" dataspace PASSED
- Testing storing lots of attributes PASSED
- Testing creating objects with attribute creation order PASSED
- Testing compact storage on objects with attribute creation order PASSED
- Testing querying attribute info by index PASSED
- Testing deleting attribute by index PASSED
- Testing Creating Attributes By Name w/o Creation Order Index
- Testing Creating Attributes By Name w/Creation Order Index
- Testing creating attributes by name PASSED
Testing with old file format:
- Tests INT attributes on both datasets and groups PASSED
Testing attributes PASSED
link creation (w/new group format)
Testing building a file with assorted links PASSED
Testing links are correct and building assorted links PASSED
Testing create group with creation order indices, test querying group info PASSED
Testing disabling tracking timestamps for an object PASSED
Testing moving and renaming links preserves their properties PASSED
Testing deleting links by index PASSED
Testing link creation property lists PASSED
Testing object copy PASSED
Testing adding links to a group follow proper "lifecycle" PASSED
Testing groups PASSED
Testing object interface PASSED
Testing data transform PASSED
Testing dataspace encoding and decoding PASSED
Testing scaleoffset filter PASSED
Testing basic generic property list class creation functionality PASSED
============================================
FORTRAN tests completed with 0 error(s) !
============================================
@scivision Could you say what specifically this test depends on?
call h%read('/scalar_int32', i64)
if(i64 /= 42) error stop 'scalar cast int32 => int64'
At this point we are pretty sure it is an upstream bug, but tracking it will be helpful.