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

Tests failing on macOS #22

Open
pjknowles opened this issue Feb 20, 2020 · 5 comments
Open

Tests failing on macOS #22

pjknowles opened this issue Feb 20, 2020 · 5 comments

Comments

@pjknowles
Copy link

Failures such as the following come after building with no options given to configure on macOS catalina.

test/1t/scale.cxx:91: FAILED:
{Unknown expression after the reported line}
with expansion:

due to a fatal error condition:
Template parameter: dcomplex
Trial 15 of 50
irrep_A = 1
dense irrep_A = 0
dense len_A =
[[2, 0], [0, 1]]
idx irrep_A = [0, 1]
idx len_A = [1, 2]
nidx_A = 1
data_A =
[0x0]
indices_A =
[[0, 0]]
idx_A = ab cd
SIGABRT - Abort (abnormal termination) signal

test3.log
test2.log
test1.log
config.log

config.status.suffix.that.github.allows.txt

@pjknowles
Copy link
Author

Not just macOS ... here on our compute cluster.
test1.log
config.log

@devinamatthews
Copy link
Owner

@pjknowles can you attach the config.log from src/external/tci?

@devinamatthews
Copy link
Owner

@pjknowles on MacOS it looks like this was a race condition in the pthreads code. I pushed a fix to the develop branch. I'm testing all the threading backends now before I push to master.

FYI using OpenMP will almost certainly be faster since the pthreads version doesn't use a thread pool. On MacOS (in develop for now) you can use OpenMP with Apple's version of clang as long as you have libomp installed (e.g. via homebrew).

@pjknowles
Copy link
Author

@pjknowles can you attach the config.log from src/external/tci?

config.log

@pjknowles
Copy link
Author

@pjknowles on MacOS it looks like this was a race condition in the pthreads code. I pushed a fix to the develop branch. I'm testing all the threading backends now before I push to master.

FYI using OpenMP will almost certainly be faster since the pthreads version doesn't use a thread pool. On MacOS (in develop for now) you can use OpenMP with Apple's version of clang as long as you have libomp installed (e.g. via homebrew).

libomp 9.0.0 is already installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants