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

Running ExecutionManager with more than 2 threads fails #14

Open
jyotikab opened this issue Apr 3, 2023 · 1 comment
Open

Running ExecutionManager with more than 2 threads fails #14

jyotikab opened this issue Apr 3, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jyotikab
Copy link
Collaborator

jyotikab commented Apr 3, 2023

When the command - results = cbgt.ExecutionManager(cores=7).run([pl]*3,[environment]*3) is called, the simulation fails with an error at random places but mostly involving commands that use the object 'par' or 'popconstruct'
import init_params_direct_indirect as par
import popconstruct_direct_indirect as popconstruct

The hypothesis is that for some reason for number of threads more than 2, the function "choose_pipeline" is not executed and these objects do not get initialized to a non - "None" value.

@jyotikab jyotikab added bug Something isn't working help wanted Extra attention is needed labels Apr 3, 2023
@jyotikab
Copy link
Collaborator Author

jyotikab commented May 2, 2023

Solved ! Saving the imported variables as pipeline variables and calling them via the pipeline in codeblocks.

@jyotikab jyotikab added bug Something isn't working and removed bug Something isn't working help wanted Extra attention is needed labels May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant