gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Issues faced while running STREAM benchmark in SE mode.

PA
Pooja Allampallewar
Wed, Feb 21, 2024 2:16 PM

Hi,

I am trying to execute Stream benchmark in SE mode, however there are
several errors encountered in the code files. Is there a change in the
command or way to execute the benchmarks? Here are the detailed steps I
followed:

  • Compiled Stream benchmark for ARM to get the stream-arm-c binary.
  • Then executing the command :

./build/ARM/gem5.fast --outdir=m5out-stream configs/example/se.py
--cpu-type=DerivO3CPU --caches -c ../benchmarks/Stream/stream-arm-c

The command gives the error in CacheConfig file (attached with the mail).

However if i am not specifying CPU, then the command gives an error message
in se.py:
run() supports 5 inputs, only 4 provided

Any guidance along these lines is really appreciated.

Regards

Hi, I am trying to execute Stream benchmark in SE mode, however there are several errors encountered in the code files. Is there a change in the command or way to execute the benchmarks? Here are the detailed steps I followed: - Compiled Stream benchmark for ARM to get the stream-arm-c binary. - Then executing the command : ./build/ARM/gem5.fast --outdir=m5out-stream configs/example/se.py --cpu-type=DerivO3CPU --caches -c ../benchmarks/Stream/stream-arm-c The command gives the error in CacheConfig file (attached with the mail). However if i am not specifying CPU, then the command gives an error message in se.py: run() supports 5 inputs, only 4 provided Any guidance along these lines is really appreciated. Regards
GT
Giacomo Travaglini
Wed, Feb 21, 2024 2:30 PM

Hi Pooja,

It looks like an old version of gem5 (considering configs/example/se.py has been moved to configs/deprecated/example/se.py). As you are trying to run an Arm simulation, can I suggest you to use
configs/example/arm/starter_se.py instead?

Kind Regards

Giacomo

From: Pooja Allampallewar via gem5-users gem5-users@gem5.org
Date: Wednesday, 21 February 2024 at 14:20
To: gem5-users@gem5.org gem5-users@gem5.org
Cc: RICHA K richa@cs.iitr.ac.in, Pooja Allampallewar poojasa718@gmail.com
Subject: [gem5-users] Issues faced while running STREAM benchmark in SE mode.
Hi,

I am trying to execute Stream benchmark in SE mode, however there are several errors encountered in the code files. Is there a change in the command or way to execute the benchmarks? Here are the detailed steps I followed:

  • Compiled Stream benchmark for ARM to get the stream-arm-c binary.
  • Then executing the command :

./build/ARM/gem5.fast --outdir=m5out-stream configs/example/se.py --cpu-type=DerivO3CPU --caches -c ../benchmarks/Stream/stream-arm-c

The command gives the error in CacheConfig file (attached with the mail).

However if i am not specifying CPU, then the command gives an error message in se.py:
run() supports 5 inputs, only 4 provided

Any guidance along these lines is really appreciated.

Regards

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Hi Pooja, It looks like an old version of gem5 (considering configs/example/se.py has been moved to configs/deprecated/example/se.py). As you are trying to run an Arm simulation, can I suggest you to use configs/example/arm/starter_se.py instead? Kind Regards Giacomo From: Pooja Allampallewar via gem5-users <gem5-users@gem5.org> Date: Wednesday, 21 February 2024 at 14:20 To: gem5-users@gem5.org <gem5-users@gem5.org> Cc: RICHA K <richa@cs.iitr.ac.in>, Pooja Allampallewar <poojasa718@gmail.com> Subject: [gem5-users] Issues faced while running STREAM benchmark in SE mode. Hi, I am trying to execute Stream benchmark in SE mode, however there are several errors encountered in the code files. Is there a change in the command or way to execute the benchmarks? Here are the detailed steps I followed: - Compiled Stream benchmark for ARM to get the stream-arm-c binary. - Then executing the command : ./build/ARM/gem5.fast --outdir=m5out-stream configs/example/se.py --cpu-type=DerivO3CPU --caches -c ../benchmarks/Stream/stream-arm-c The command gives the error in CacheConfig file (attached with the mail). However if i am not specifying CPU, then the command gives an error message in se.py: run() supports 5 inputs, only 4 provided Any guidance along these lines is really appreciated. Regards IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
PA
Pooja Allampallewar
Wed, Feb 21, 2024 4:57 PM

Hi Giacomo,

We tried running the starter_se.py but it doesn't accept the -c flag which
we want to use for accepting different binaries. Attached a screenshot
for your reference.

Could you provide some insight on this?

Regards,
Pooja A.

On Wed, 21 Feb 2024, 20:00 Giacomo Travaglini, Giacomo.Travaglini@arm.com
wrote:

Hi Pooja,

It looks like an old version of gem5 (considering configs/example/se.py
has been moved to configs/deprecated/example/se.py). As you are trying to
run an Arm simulation, can I suggest you to use

configs/example/arm/starter_se.py instead?

Kind Regards

Giacomo

*From: *Pooja Allampallewar via gem5-users gem5-users@gem5.org
*Date: *Wednesday, 21 February 2024 at 14:20
*To: *gem5-users@gem5.org gem5-users@gem5.org
*Cc: *RICHA K richa@cs.iitr.ac.in, Pooja Allampallewar <
poojasa718@gmail.com>
*Subject: *[gem5-users] Issues faced while running STREAM benchmark in SE
mode.

Hi,

I am trying to execute Stream benchmark in SE mode, however there are
several errors encountered in the code files. Is there a change in the
command or way to execute the benchmarks? Here are the detailed steps I
followed:

  • Compiled Stream benchmark for ARM to get the stream-arm-c binary.

  • Then executing the command :

./build/ARM/gem5.fast --outdir=m5out-stream configs/example/se.py
--cpu-type=DerivO3CPU --caches -c ../benchmarks/Stream/stream-arm-c

The command gives the error in CacheConfig file (attached with the mail).

However if i am not specifying CPU, then the command gives an error
message in se.py:

run() supports 5 inputs, only 4 provided

Any guidance along these lines is really appreciated.

Regards

IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy the
information in any medium. Thank you.

Hi Giacomo, We tried running the starter_se.py but it doesn't accept the -c flag which we want to use for accepting different binaries. Attached a screenshot for your reference. Could you provide some insight on this? Regards, Pooja A. On Wed, 21 Feb 2024, 20:00 Giacomo Travaglini, <Giacomo.Travaglini@arm.com> wrote: > Hi Pooja, > > > > It looks like an old version of gem5 (considering configs/example/se.py > has been moved to configs/deprecated/example/se.py). As you are trying to > run an Arm simulation, can I suggest you to use > > configs/example/arm/starter_se.py instead? > > > > Kind Regards > > > > Giacomo > > > > *From: *Pooja Allampallewar via gem5-users <gem5-users@gem5.org> > *Date: *Wednesday, 21 February 2024 at 14:20 > *To: *gem5-users@gem5.org <gem5-users@gem5.org> > *Cc: *RICHA K <richa@cs.iitr.ac.in>, Pooja Allampallewar < > poojasa718@gmail.com> > *Subject: *[gem5-users] Issues faced while running STREAM benchmark in SE > mode. > > Hi, > > > > I am trying to execute Stream benchmark in SE mode, however there are > several errors encountered in the code files. Is there a change in the > command or way to execute the benchmarks? Here are the detailed steps I > followed: > > - Compiled Stream benchmark for ARM to get the stream-arm-c binary. > > - Then executing the command : > > > > ./build/ARM/gem5.fast --outdir=m5out-stream configs/example/se.py > --cpu-type=DerivO3CPU --caches -c ../benchmarks/Stream/stream-arm-c > > > > The command gives the error in CacheConfig file (attached with the mail). > > > > However if i am not specifying CPU, then the command gives an error > message in se.py: > > run() supports 5 inputs, only 4 provided > > > > Any guidance along these lines is really appreciated. > > > > Regards > > > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. >
PA
Pooja Allampallewar
Wed, Feb 21, 2024 5:50 PM

Hi,

We tried running the starter_se.py but it doesn't accept the -c flag which
we want to use for accepting different binaries. Attached a screenshot for
your reference.

Could you provide some insight on this?

Regards,
Pooja A.

On Wed, 21 Feb 2024, 20:00 Giacomo Travaglini, Giacomo.Travaglini@arm.com
wrote:

Hi Pooja,

It looks like an old version of gem5 (considering configs/example/se.py
has been moved to configs/deprecated/example/se.py). As you are trying to
run an Arm simulation, can I suggest you to use

configs/example/arm/starter_se.py instead?

Kind Regards

Giacomo

*From: *Pooja Allampallewar via gem5-users gem5-users@gem5.org
*Date: *Wednesday, 21 February 2024 at 14:20
*To: *gem5-users@gem5.org gem5-users@gem5.org
*Cc: *RICHA K richa@cs.iitr.ac.in, Pooja Allampallewar <
poojasa718@gmail.com>
*Subject: *[gem5-users] Issues faced while running STREAM benchmark in SE
mode.

Hi,

I am trying to execute Stream benchmark in SE mode, however there are
several errors encountered in the code files. Is there a change in the
command or way to execute the benchmarks? Here are the detailed steps I
followed:

  • Compiled Stream benchmark for ARM to get the stream-arm-c binary.

  • Then executing the command :

./build/ARM/gem5.fast --outdir=m5out-stream configs/example/se.py
--cpu-type=DerivO3CPU --caches -c ../benchmarks/Stream/stream-arm-c

The command gives the error in CacheConfig file (attached with the mail).

However if i am not specifying CPU, then the command gives an error
message in se.py:

run() supports 5 inputs, only 4 provided

Any guidance along these lines is really appreciated.

Regards

IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy the
information in any medium. Thank you.

Hi, We tried running the starter_se.py but it doesn't accept the -c flag which we want to use for accepting different binaries. Attached a screenshot for your reference. Could you provide some insight on this? Regards, Pooja A. On Wed, 21 Feb 2024, 20:00 Giacomo Travaglini, <Giacomo.Travaglini@arm.com> wrote: > Hi Pooja, > > > > It looks like an old version of gem5 (considering configs/example/se.py > has been moved to configs/deprecated/example/se.py). As you are trying to > run an Arm simulation, can I suggest you to use > > configs/example/arm/starter_se.py instead? > > > > Kind Regards > > > > Giacomo > > > > *From: *Pooja Allampallewar via gem5-users <gem5-users@gem5.org> > *Date: *Wednesday, 21 February 2024 at 14:20 > *To: *gem5-users@gem5.org <gem5-users@gem5.org> > *Cc: *RICHA K <richa@cs.iitr.ac.in>, Pooja Allampallewar < > poojasa718@gmail.com> > *Subject: *[gem5-users] Issues faced while running STREAM benchmark in SE > mode. > > Hi, > > > > I am trying to execute Stream benchmark in SE mode, however there are > several errors encountered in the code files. Is there a change in the > command or way to execute the benchmarks? Here are the detailed steps I > followed: > > - Compiled Stream benchmark for ARM to get the stream-arm-c binary. > > - Then executing the command : > > > > ./build/ARM/gem5.fast --outdir=m5out-stream configs/example/se.py > --cpu-type=DerivO3CPU --caches -c ../benchmarks/Stream/stream-arm-c > > > > The command gives the error in CacheConfig file (attached with the mail). > > > > However if i am not specifying CPU, then the command gives an error > message in se.py: > > run() supports 5 inputs, only 4 provided > > > > Any guidance along these lines is really appreciated. > > > > Regards > > > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. >