Multi2Sim / multi2sim

Multi2Sim source code
GNU General Public License v3.0
115 stars 66 forks source link

Splash2 Barnes benchmark with m2s, Error: Division by 0 #70

Open qfettes opened 5 years ago

qfettes commented 5 years ago

When running the command:

m2s --ctx-config benchmark.ini --x86-config x86-config.ini

where these are the config files: benchmark.ini [ Context 0 ] Exe = barnes.i386 Args = $NTHREADS Stdin = input

x86-config.ini [ General ] Cores = 16 Threads = 2

I get the following error as console output: ` Multi2Sim 5.0 - A Simulation Framework for CPU-GPU Heterogeneous Computing Please use command 'm2s --help' for a list of command-line options. Simulation alpha-numeric ID: 567Ca

            Hack code: Plummer model

 nbody     dtime       eps       tol     dtout     tstop    fcells     NPROC
  2048   0.02500    0.0500      1.00     0.250     0.075      2.00         0

[x86] [pid 1000] [eip 0x80499f4] Error: Division by 0`

I understand that this is due to NPROC being 0; however, I had thought that by setting the number of cores to 2 and the number of threads to 2, NPROC would be 4. Any help would be appreciated!