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
test3D fails on several arches #1674
Comments
This is actually pretty weird, since a debug session does not reach anything suspicious:
Maybe the problem lies with the TEST_ASSERT macro? If so, I can't see how this can be specific of some platoforms and not others |
Hitting the same problem on PPC64le |
Two suggestions to try here (I don't have access to a machine that has the problem, so I can't do this myself):
just above line 456 and replacing the 1e-4 on line 456 with 1e-3 (or 1e-2 or whatever).
|
I get the same failure on a Skylake node when setting |
@smoors what is the compiler you are using? There was a reported clang bug where it couldn't pick up the right arch. |
@bp-kelley GCC-8.3.0 on CentOS 7.7
|
Just to be sure: do you have the same problem when you just use |
FWIW: my new linux box has a Coffee Lake CPU and I see the error when I compile with:
but I do not see it with
Since I can reproduce things now, it means that I at least have a chance to try and track this down/fix it. |
GCC 8.3.0 says $ g++ -march=avx2 -xc++ /dev/null
cc1plus: error: bad value ('avx2') for '-march=' switch
cc1plus: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server bonnell atom silvermont slm knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2 native
|
@e-kwsm my bad, I actually used |
Currentlly, test3D fails on ppc64, ppc64le, aarc64 and s390x arches.
The log from the test is:
test 65
Start 65: test3D
65: Test command: /home/fedora/giallu/rdkit/Code/GraphMol/Descriptors/test3D
65: Test timeout computed to be: 9.99988e+06
65: [11:17:31] -------------------------------------
65: [11:17:31] Basic PMI tests.
65: [11:17:31] done
65: [11:17:31] -------------------------------------
65: [11:17:31] More PMI/NPR tests.
65: [11:17:31] done
65: [11:17:31] -------------------------------------
65: [11:17:31] Basic NPR tests.
65: [11:17:31] done
65: [11:17:31] -------------------------------------
65: [11:17:31] PMI edge cases.
65: [11:17:31] done
65: [11:17:31] -------------------------------------
65: [11:17:31] NPR edge cases.
65: [11:17:31] done
65: [11:17:31] -------------------------------------
65: [11:17:31] 3D descriptors.
65: [11:17:31] done
65: [11:17:31] -------------------------------------
65: [11:17:31] 3D descriptor edge cases.
65: [11:17:31]
65:
65: ****
65: Test Assert
65: Expression Failed:
65: Violation occurred on line 456 in file /home/fedora/giallu/rdkit/Code/GraphMol/Descriptors/test3D.cpp
65: Failed Expression: fabs(val) < 1e-4
65: ****
65:
65: terminate called after throwing an instance of 'Invar::Invariant'
65: what(): Test Assert
1/1 Test #65: test3D ...........................***Exception: Other 0.70 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.72 sec
The following tests FAILED:
65 - test3D (OTHER_FAULT)
The text was updated successfully, but these errors were encountered: