[mpich-discuss] Make check failure: macOS Big Sur intel gcc 10.2

Blaise A Bourdin bourdin at lsu.edu
Mon Mar 8 11:10:04 CST 2021


Hi,

The test_json_pointer test in make check fails with mpich-3.4.1 MacSO Big Sur intel and gcc-10.2 (home-brew compilers):

MacBookGray:tests $ ./test_json_pointer
PASSED - GET - LOADED TEST JSON
{ "foo": [ "bar", "baz" ], "": 0, "a\/b": 1, "c%d": 2, "e^f": 3, "g|h": 4, "i\\j": 5, "k\"l": 6, " ": 7, "m~n": 8 }
PASSED - GET - ENTIRE OBJECT WORKED
PASSED - GET - /foo == ['bar', 'baz']
PASSED - GET - /foo/0 == 'bar'
PASSED - GET -  / == 0
PASSED - GET -  /a~1b == 1
PASSED - GET -  /c%d == 2
PASSED - GET -  /e^f == 3
PASSED - GET -  /g|h == 4
PASSED - GET -  /i\j == 5
PASSED - GET -  /k"l == 6
PASSED - GET -  /  == 7
PASSED - GET -  /m~0n == 8
{ "arr": [ { "obj": [ { }, { }, { "obj1": 0, "obj2": "1" } ] } ], "obj": { "obj": { "obj": [ { "obj1": 0, "obj2": "1" } ] } } }
Assertion failed: (0 == json_pointer_getf(jo1, &jo2, "/%s/%d/%s/%d/%s", "arr", 0, "obj", 2, "obj2")), function test_recursion_get, file test_json_pointer.c, line 136.
Abort trap: 6

Strangely enough, the same test works fine under arm64.

Any suggestion?

Regards,
Blaise


-- 
A.K. & Shirley Barton Professor of  Mathematics
Adjunct Professor of Mechanical Engineering
Adjunct of the Center for Computation & Technology
Louisiana State University, Lockett Hall Room 344, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 Web http://www.math.lsu.edu/~bourdin



More information about the discuss mailing list