-
Notifications
You must be signed in to change notification settings - Fork 131
If a netcon_srcgid is negative, need to determine the thread. #735
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
Conversation
Only for direct transfer mode is it allowed that a negative srcgid is not in the same thread as the NetCon target. Otherwise raise an error. The test/coreneuron/test_datareturn.py for multiple threads is activated.
|
It is a puzzle to me why travis job 1378.5 is failing at Since on my desktop with I get and in test/coreneuron Note, on travis the test is number 10 instead of number 11 because rxd_mpi_tests are skipped on travis. Anyway, I know that the git versions are at least matching on travis since Retrying on my desktop with -DNRN_ENABLE_MPI=OFF to be more consistent with this travis job, I still successfully My last stab at similarity on the desktop was to build with gcc-5 and still |
alexsavulescu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
I've re-launched Travis to see if it's deterministic. |
|
So the issue appears to be non-deterministic. Job 5 was successful on 1st run and others were successful after re-launching them. |
|
I will get time to look at this more closely tomorrow morning. (#728 have different travis issue) |
|
Still puzzled by travis failures. For the one linux case, restarting the job succeeded. But for the mac 1392.9 case restarting fails. but it seems we are using the correct coreneuron |
|
I'm starting to think there is a thread race condition in the code. Strangely, I am successful with |
What if you run |
I "think" I have seen OpenMP related race condition during setup of CoreNEURON. Let me push a small change disabling OpenMP on CoreNEURON side and we will find it out. |
Also use ninja and ccache. Add better failure of the version number detection from git history in shallow clones. Slim down apt/brew install commands. Test on newer Ubuntu and macOS images in addition.
Only for direct transfer mode is it allowed that a negative srcgid is not
in the same thread as the NetCon target. Otherwise raise an error.
The test/coreneuron/test_datareturn.py for multiple threads is activated.
This pr is associated with BlueBrain/CoreNeuron#390