Closed astatt closed 4 years ago
Error can not be reproduced on Ubuntu 18.04.2 LTS with g++/gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0. Both internal and external compilation work without any problems.
On mac, the error persists also with g++/gcc-9 (Homebrew GCC 9.2.0_2) 9.2.0 and g++/gcc-7 (Homebrew GCC 7.5.0_1) 7.5.0.
The first error is a clang-specific error, I think, related to templates within templates. The solution is to add the template
keyword before connect
and disconnect
in BounceBackNVE.h
like here:
I honestly don't understand the second error. It looks like a linker issue or maybe like the plugin compilation somehow failed. Could you try patching as proposed above and see if it fixes your problem? I currently don't have a clang compiler in the test container, but I could add one in the future. hoomd supports clang 5, 6, 7, and 8.
Fixed by PR #27
Internal plugin v0.9.1 (commit 0c88936a) (hoomd v2.6.0) compiled on mac with Apple clang version 11.0.0 (clang-1100.0.33.17, no cuda) results in
external plugin compiles but crashes at runtime with
will test if this is mac specific, user error or something else.