Welcome to MilkyWay@home

Posts by Markus Torstensson

1) Message boards : Number crunching : Multiple CPU tasks stall (Message 69765)
Posted 30 Apr 2020 by Markus Torstensson
Post:
It smells like a deadlock issue.
Multi thread programming is hard to get right.

I force them to run with a single thread only, and then it works.

Place this in a file called app_config.xml in the project folder
<app_config>
   <app_version>
       <app_name>milkyway_nbody</app_name>
       <plan_class>mt</plan_class>
       <avg_ncpus>1</avg_ncpus>
       <cmdline>--nthreads 1</cmdline>
   </app_version>
</app_config>




©2024 Astroinformatics Group