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

We have multiple results even if we only run the simulation once #2

Open
mariopaolucci opened this issue Mar 13, 2020 · 2 comments
Open

Comments

@mariopaolucci
Copy link
Contributor

.. and we're pretty clueless about why right now (number of processors?)

@mariopaolucci
Copy link
Contributor Author

This behavior really puzzles me. I have run the current simulation and I get only one print of


                            __________   ____ 
          ________ __ _____/ ____/   |  / __ \
         / ___/ __` / __  / /   / /| | / / / /
        / /__/ /_/ / /_/ / /___/ ___ |/ /_/ / 
        \___/\__,_/\__,_/\____/_/  |_/_____/  
        by BlockScience
        
Execution Mode: single_proc: [<cadCAD.configuration.Configuration object at 0x7f38df8672d0>]

However, if I add just one print statement, I suddenly get five of them! I have prepared a branch to show that - The line to blame is

print(opportunistic_agents_claiming)
.

I remain quite puzzled. However, the number of lines in the json results file doesn't seem to change..

@pardianabele
Copy link
Member

I posted a question about this on the cadCAD forum. Feel free to jump in or check the replies here: https://community.cadcad.org/t/multiple-execution-of-simulation-when-one-expected/138

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