Hello all,

gem5 version: 23.0.1.0
target ISA: x86

I am trying to set up NPB to run in gem5 SE mode.
However, NPB uses openmp. Whenever I simulate a program that uses openmp in
gem5, the program will execute correctly until the end, but terminate with
a seg fault, and the following error:

```
gem5.debug: src/cpu/simple/timing.cc:258: virtual void
gem5::TimingSimpleCPU::suspendContext(gem5::ThreadID): Assertion `_status
== BaseSimpleCPU::Running' failed.
```

I have tried following this guide:
https://github.com/WeijingShi/playground/blob/master/Run-openmp-code-in-gem5.md

This post on this list seems to indicate that OpenMP should be supported by
SE mode, unless I'm mistaken:
https://www.mail-archive.com/gem5-users@gem5.org/msg21927.html
Though I did not understand Dr. Lowe-Power's response.

All the information I could find on the gem5 website pertained to running
NPB in FS mode, which I would like to avoid.

Could someone please explain how to correctly run an OpenMP program in gem5
SE mode, or confirm that OpenMP is not supported?

Thank you,
-James Pangia
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to