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

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

Open
qfettes opened this issue Oct 25, 2018 · 0 comments
Open

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

qfettes opened this issue Oct 25, 2018 · 0 comments

Comments

@qfettes
Copy link

qfettes commented Oct 25, 2018

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!

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

1 participant