[gem5-users] Re: [SE Multicore Ruby] Assertion failed for multicore simulation

2020-06-04 Thread Taiyu Zhou via gem5-users
Hi Carlos I had the same problem “ std::shared_ptr FDArray::getFDEntry(int): Assertion `0 <= tgt_fd && tgt_fd < _fdArray.size()' failed. ” Have you solved it? Thanks! ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an em

[gem5-users] Re: std::thread can not use in SE mode?

2020-06-04 Thread Taiyu Zhou via gem5-users
Thank you so much ! It works. ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: std::thread can not use in SE mode?

2020-06-04 Thread Daniel Gerzhoy via gem5-users
It should be able to run std::thread. Make sure you have enough cores set in the simulation command. (E.g. -n 4) Cheers, Dan On Fri, Jun 5, 2020 at 12:50 AM Taiyu Zhou via gem5-users < gem5-users@gem5.org> wrote: > Hi guys! > I am trying to run a Muti-thread program in SE mode. But It can’t wor

[gem5-users] std::thread can not use in SE mode?

2020-06-04 Thread Taiyu Zhou via gem5-users
Hi guys! I am trying to run a Muti-thread program in SE mode. But It can’t work in SE mode. It is gem5 se mode can’t support std::thread? My program is simple: " void th(){ printf("thread\n"); } int main(){ std::thread t1(th); std::thread t2(th);

[gem5-users] Re: Newly copied files are truncated in gem5 FS mode

2020-06-04 Thread Ciro Santilli via gem5-users
Are you mounting and modifying the disk on the host while gem5 is using it at the same time? That likey cannot work because the Linux kernel representation of guest and host will differ. Also gem5 does not write back to disk. The file sharing mechanisms I know to modify guest visible files from ho

[gem5-users] Newly copied files are truncated in gem5 FS mode

2020-06-04 Thread VAUMOURIN, GREGORY via gem5-users
Hi guys, I did not use gem5 for a long time and I try to get back at it. I am also new to full system simulations. I am facing a problem when I try to copy files on on my gem5 image disk and access them through my gem5 simulation. I have an ubuntu 16 img for ARM 64bits that boots and I can chec

[gem5-users] Re: Building Gem5 on Mac

2020-06-04 Thread Bobby Bruce via gem5-users
Gourav, I've just fixed this issue. Thanks for making us aware of those broken lines. Those were the Dockerfiles though, you should be able to pull the docker images just fine and run gem5 within a Docker container. Please let me know if you run into any other issues. Kind regards, Bobby -- Dr.