gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Custom Output Directory

TS
Thomas, Samuel
Thu, Feb 8, 2024 11:52 PM

Hi all,

This may be a really dumb question, but I've been a user of v22.0.0.2 for a
while and need to use v23.1.0.0 for a new project. How am I supposed to
send the output from a simulation to a custom directory (previously "-d
<dirname>") in this new version? Do I have to add an option in my config
script and then update the m5.options.outdir field? Also, is there
documentation for this anywhere?

Thank you for your help!

Best,
Sam

Hi all, This may be a really dumb question, but I've been a user of v22.0.0.2 for a while and need to use v23.1.0.0 for a new project. How am I supposed to send the output from a simulation to a custom directory (previously "-d <dirname>") in this new version? Do I have to add an option in my config script and then update the m5.options.outdir field? Also, is there documentation for this anywhere? Thank you for your help! Best, Sam
M
muke101
Thu, Feb 8, 2024 11:56 PM

Hi, you need the --outdir flag and it has to come before you specify the config script (like se.py), so it's passed to the gem5 binary directly:)

so:
./build/X86/gem5.fast --outdir=results configs/example/se.py ....

Sent from Proton Mail mobile

-------- Original Message --------
On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users wrote:

Hi all,

This may be a really dumb question, but I've been a user of v22.0.0.2 for a while and need to use v23.1.0.0 for a new project. How am I supposed to send the output from a simulation to a custom directory (previously "-d <dirname>") in this new version? Do I have to add an option in my config script and then update the m5.options.outdir field? Also, is there documentation for this anywhere?
Thank you for your help!
Best,
Sam

Hi, you need the --outdir flag and it has to come before you specify the config script (like se.py), so it's passed to the gem5 binary directly:) so: ./build/X86/gem5.fast --outdir=results configs/example/se.py .... Sent from Proton Mail mobile -------- Original Message -------- On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users wrote: > Hi all, > > This may be a really dumb question, but I've been a user of v22.0.0.2 for a while and need to use v23.1.0.0 for a new project. How am I supposed to send the output from a simulation to a custom directory (previously "-d <dirname>") in this new version? Do I have to add an option in my config script and then update the m5.options.outdir field? Also, is there documentation for this anywhere? > Thank you for your help! > Best, > Sam
ST
Samuel Thomas
Fri, Feb 9, 2024 2:30 AM

This used to be true in older versions (I would use this in my older projects), but it seems as though the “outdir” flag is no longer in Options.py for version 23.1.0.0.

Which version are you working from?

On Feb 8, 2024, at 6:56 PM, muke101 muke101@protonmail.com wrote:

Hi, you need the --outdir flag and it has to come before you specify the config script (like se.py), so it's passed to the gem5 binary directly:)

so:
./build/X86/gem5.fast --outdir=results configs/example/se.py ....

Sent from Proton Mail mobile

-------- Original Message --------
On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < gem5-users@gem5.org> wrote:

Hi all,

This may be a really dumb question, but I've been a user of v22.0.0.2 for a while and need to use v23.1.0.0 for a new project. How am I supposed to send the output from a simulation to a custom directory (previously "-d <dirname>") in this new version? Do I have to add an option in my config script and then update the m5.options.outdir field? Also, is there documentation for this anywhere?

Thank you for your help!

Best,
Sam

This used to be true in older versions (I would use this in my older projects), but it seems as though the “outdir” flag is no longer in Options.py for version 23.1.0.0. Which version are you working from? > On Feb 8, 2024, at 6:56 PM, muke101 <muke101@protonmail.com> wrote: > > Hi, you need the --outdir flag and it has to come before you specify the config script (like se.py), so it's passed to the gem5 binary directly:) > > so: > ./build/X86/gem5.fast --outdir=results configs/example/se.py .... > > > Sent from Proton Mail mobile > > > > -------- Original Message -------- > On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < gem5-users@gem5.org> wrote: > > Hi all, > > This may be a really dumb question, but I've been a user of v22.0.0.2 for a while and need to use v23.1.0.0 for a new project. How am I supposed to send the output from a simulation to a custom directory (previously "-d <dirname>") in this new version? Do I have to add an option in my config script and then update the m5.options.outdir field? Also, is there documentation for this anywhere? > > Thank you for your help! > > Best, > Sam
JP
James Pangia
Fri, Feb 9, 2024 2:24 PM

Can confirm that invocations such as ./build/X86/gem5.debug --outdir="$some_directory" <config file and other arguments> will work.

My gem5 version: gem5 version 23.0.1.0

On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users <
gem5-users@gem5.org> wrote:

This used to be true in older versions (I would use this in my older
projects), but it seems as though the “outdir” flag is no longer in
Options.py for version 23.1.0.0.

Which version are you working from?

On Feb 8, 2024, at 6:56 PM, muke101 muke101@protonmail.com wrote:

Hi, you need the --outdir flag and it has to come before you specify the
config script (like se.py), so it's passed to the gem5 binary directly:)

so:
./build/X86/gem5.fast --outdir=results configs/example/se.py ....

Sent from Proton Mail mobile

-------- Original Message --------
On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < gem5-users@gem5.org>
wrote:

Hi all,

This may be a really dumb question, but I've been a user of v22.0.0.2 for
a while and need to use v23.1.0.0 for a new project. How am I supposed to
send the output from a simulation to a custom directory (previously "-d
<dirname>") in this new version? Do I have to add an option in my config
script and then update the m5.options.outdir field? Also, is there
documentation for this anywhere?

Thank you for your help!

Best,
Sam


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Can confirm that invocations such as `./build/X86/gem5.debug --outdir="$some_directory" <config file and other arguments>` will work. My gem5 version: gem5 version 23.0.1.0 On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users < gem5-users@gem5.org> wrote: > This used to be true in older versions (I would use this in my older > projects), but it seems as though the “outdir” flag is no longer in > Options.py for version 23.1.0.0. > > Which version are you working from? > > On Feb 8, 2024, at 6:56 PM, muke101 <muke101@protonmail.com> wrote: > > Hi, you need the --outdir flag and it has to come before you specify the > config script (like se.py), so it's passed to the gem5 binary directly:) > > so: > ./build/X86/gem5.fast --outdir=results configs/example/se.py .... > > > Sent from Proton Mail mobile > > > > -------- Original Message -------- > On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < gem5-users@gem5.org> > wrote: > > > Hi all, > > This may be a really dumb question, but I've been a user of v22.0.0.2 for > a while and need to use v23.1.0.0 for a new project. How am I supposed to > send the output from a simulation to a custom directory (previously "-d > <dirname>") in this new version? Do I have to add an option in my config > script and then update the m5.options.outdir field? Also, is there > documentation for this anywhere? > > Thank you for your help! > > Best, > Sam > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
TS
Thomas, Samuel
Fri, Feb 9, 2024 2:41 PM

Which config file are you using, and which options is it importing?

Best,
Sam

On Fri, Feb 9, 2024 at 9:24 AM James Pangia jpangia@ncsu.edu wrote:

Can confirm that invocations such as ./build/X86/gem5.debug --outdir="$some_directory" <config file and other arguments> will work.

My gem5 version: gem5 version 23.0.1.0

On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users <
gem5-users@gem5.org> wrote:

This used to be true in older versions (I would use this in my older
projects), but it seems as though the “outdir” flag is no longer in
Options.py for version 23.1.0.0.

Which version are you working from?

On Feb 8, 2024, at 6:56 PM, muke101 muke101@protonmail.com wrote:

Hi, you need the --outdir flag and it has to come before you specify the
config script (like se.py), so it's passed to the gem5 binary directly:)

so:
./build/X86/gem5.fast --outdir=results configs/example/se.py ....

Sent from Proton Mail mobile

-------- Original Message --------
On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < gem5-users@gem5.org>
wrote:

Hi all,

This may be a really dumb question, but I've been a user of v22.0.0.2 for
a while and need to use v23.1.0.0 for a new project. How am I supposed to
send the output from a simulation to a custom directory (previously "-d
<dirname>") in this new version? Do I have to add an option in my config
script and then update the m5.options.outdir field? Also, is there
documentation for this anywhere?

Thank you for your help!

Best,
Sam


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Which config file are you using, and which options is it importing? Best, Sam On Fri, Feb 9, 2024 at 9:24 AM James Pangia <jpangia@ncsu.edu> wrote: > Can confirm that invocations such as `./build/X86/gem5.debug > --outdir="$some_directory" <config file and other arguments>` will work. > > My gem5 version: gem5 version 23.0.1.0 > > On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users < > gem5-users@gem5.org> wrote: > >> This used to be true in older versions (I would use this in my older >> projects), but it seems as though the “outdir” flag is no longer in >> Options.py for version 23.1.0.0. >> >> Which version are you working from? >> >> On Feb 8, 2024, at 6:56 PM, muke101 <muke101@protonmail.com> wrote: >> >> Hi, you need the --outdir flag and it has to come before you specify the >> config script (like se.py), so it's passed to the gem5 binary directly:) >> >> so: >> ./build/X86/gem5.fast --outdir=results configs/example/se.py .... >> >> >> Sent from Proton Mail mobile >> >> >> >> -------- Original Message -------- >> On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < gem5-users@gem5.org> >> wrote: >> >> >> Hi all, >> >> This may be a really dumb question, but I've been a user of v22.0.0.2 for >> a while and need to use v23.1.0.0 for a new project. How am I supposed to >> send the output from a simulation to a custom directory (previously "-d >> <dirname>") in this new version? Do I have to add an option in my config >> script and then update the m5.options.outdir field? Also, is there >> documentation for this anywhere? >> >> Thank you for your help! >> >> Best, >> Sam >> >> _______________________________________________ >> gem5-users mailing list -- gem5-users@gem5.org >> To unsubscribe send an email to gem5-users-leave@gem5.org >> >
TS
Thomas, Samuel
Fri, Feb 9, 2024 2:49 PM

Apologies. This was a user error! 😬

Thank you all for your help!

On Fri, Feb 9, 2024 at 9:41 AM Thomas, Samuel samuel_thomas@brown.edu
wrote:

Which config file are you using, and which options is it importing?

Best,
Sam

On Fri, Feb 9, 2024 at 9:24 AM James Pangia jpangia@ncsu.edu wrote:

Can confirm that invocations such as ./build/X86/gem5.debug --outdir="$some_directory" <config file and other arguments> will work.

My gem5 version: gem5 version 23.0.1.0

On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users <
gem5-users@gem5.org> wrote:

This used to be true in older versions (I would use this in my older
projects), but it seems as though the “outdir” flag is no longer in
Options.py for version 23.1.0.0.

Which version are you working from?

On Feb 8, 2024, at 6:56 PM, muke101 muke101@protonmail.com wrote:

Hi, you need the --outdir flag and it has to come before you specify
the config script (like se.py), so it's passed to the gem5 binary
directly:)

so:
./build/X86/gem5.fast --outdir=results configs/example/se.py ....

Sent from Proton Mail mobile

-------- Original Message --------
On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users <
gem5-users@gem5.org> wrote:

Hi all,

This may be a really dumb question, but I've been a user of v22.0.0.2
for a while and need to use v23.1.0.0 for a new project. How am I supposed
to send the output from a simulation to a custom directory (previously "-d
<dirname>") in this new version? Do I have to add an option in my config
script and then update the m5.options.outdir field? Also, is there
documentation for this anywhere?

Thank you for your help!

Best,
Sam


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Apologies. This was a user error! 😬 Thank you all for your help! On Fri, Feb 9, 2024 at 9:41 AM Thomas, Samuel <samuel_thomas@brown.edu> wrote: > Which config file are you using, and which options is it importing? > > Best, > Sam > > On Fri, Feb 9, 2024 at 9:24 AM James Pangia <jpangia@ncsu.edu> wrote: > >> Can confirm that invocations such as `./build/X86/gem5.debug >> --outdir="$some_directory" <config file and other arguments>` will work. >> >> My gem5 version: gem5 version 23.0.1.0 >> >> On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users < >> gem5-users@gem5.org> wrote: >> >>> This used to be true in older versions (I would use this in my older >>> projects), but it seems as though the “outdir” flag is no longer in >>> Options.py for version 23.1.0.0. >>> >>> Which version are you working from? >>> >>> On Feb 8, 2024, at 6:56 PM, muke101 <muke101@protonmail.com> wrote: >>> >>> Hi, you need the --outdir flag and it has to come before you specify >>> the config script (like se.py), so it's passed to the gem5 binary >>> directly:) >>> >>> so: >>> ./build/X86/gem5.fast --outdir=results configs/example/se.py .... >>> >>> >>> Sent from Proton Mail mobile >>> >>> >>> >>> -------- Original Message -------- >>> On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < >>> gem5-users@gem5.org> wrote: >>> >>> >>> Hi all, >>> >>> This may be a really dumb question, but I've been a user of v22.0.0.2 >>> for a while and need to use v23.1.0.0 for a new project. How am I supposed >>> to send the output from a simulation to a custom directory (previously "-d >>> <dirname>") in this new version? Do I have to add an option in my config >>> script and then update the m5.options.outdir field? Also, is there >>> documentation for this anywhere? >>> >>> Thank you for your help! >>> >>> Best, >>> Sam >>> >>> _______________________________________________ >>> gem5-users mailing list -- gem5-users@gem5.org >>> To unsubscribe send an email to gem5-users-leave@gem5.org >>> >>
JP
James Pangia
Fri, Feb 9, 2024 3:32 PM

Glad you figured it out. What error were you making in case anybody else
makes a similar mistake?

On Fri, Feb 9, 2024 at 9:49 AM Thomas, Samuel samuel_thomas@brown.edu
wrote:

Apologies. This was a user error! 😬

Thank you all for your help!

On Fri, Feb 9, 2024 at 9:41 AM Thomas, Samuel samuel_thomas@brown.edu
wrote:

Which config file are you using, and which options is it importing?

Best,
Sam

On Fri, Feb 9, 2024 at 9:24 AM James Pangia jpangia@ncsu.edu wrote:

Can confirm that invocations such as ./build/X86/gem5.debug --outdir="$some_directory" <config file and other arguments> will work.

My gem5 version: gem5 version 23.0.1.0

On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users <
gem5-users@gem5.org> wrote:

This used to be true in older versions (I would use this in my older
projects), but it seems as though the “outdir” flag is no longer in
Options.py for version 23.1.0.0.

Which version are you working from?

On Feb 8, 2024, at 6:56 PM, muke101 muke101@protonmail.com wrote:

Hi, you need the --outdir flag and it has to come before you specify
the config script (like se.py), so it's passed to the gem5 binary
directly:)

so:
./build/X86/gem5.fast --outdir=results configs/example/se.py ....

Sent from Proton Mail mobile

-------- Original Message --------
On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users <
gem5-users@gem5.org> wrote:

Hi all,

This may be a really dumb question, but I've been a user of v22.0.0.2
for a while and need to use v23.1.0.0 for a new project. How am I supposed
to send the output from a simulation to a custom directory (previously "-d
<dirname>") in this new version? Do I have to add an option in my config
script and then update the m5.options.outdir field? Also, is there
documentation for this anywhere?

Thank you for your help!

Best,
Sam


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Glad you figured it out. What error were you making in case anybody else makes a similar mistake? On Fri, Feb 9, 2024 at 9:49 AM Thomas, Samuel <samuel_thomas@brown.edu> wrote: > Apologies. This was a user error! 😬 > > Thank you all for your help! > > > On Fri, Feb 9, 2024 at 9:41 AM Thomas, Samuel <samuel_thomas@brown.edu> > wrote: > >> Which config file are you using, and which options is it importing? >> >> Best, >> Sam >> >> On Fri, Feb 9, 2024 at 9:24 AM James Pangia <jpangia@ncsu.edu> wrote: >> >>> Can confirm that invocations such as `./build/X86/gem5.debug >>> --outdir="$some_directory" <config file and other arguments>` will work. >>> >>> My gem5 version: gem5 version 23.0.1.0 >>> >>> On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users < >>> gem5-users@gem5.org> wrote: >>> >>>> This used to be true in older versions (I would use this in my older >>>> projects), but it seems as though the “outdir” flag is no longer in >>>> Options.py for version 23.1.0.0. >>>> >>>> Which version are you working from? >>>> >>>> On Feb 8, 2024, at 6:56 PM, muke101 <muke101@protonmail.com> wrote: >>>> >>>> Hi, you need the --outdir flag and it has to come before you specify >>>> the config script (like se.py), so it's passed to the gem5 binary >>>> directly:) >>>> >>>> so: >>>> ./build/X86/gem5.fast --outdir=results configs/example/se.py .... >>>> >>>> >>>> Sent from Proton Mail mobile >>>> >>>> >>>> >>>> -------- Original Message -------- >>>> On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < >>>> gem5-users@gem5.org> wrote: >>>> >>>> >>>> Hi all, >>>> >>>> This may be a really dumb question, but I've been a user of v22.0.0.2 >>>> for a while and need to use v23.1.0.0 for a new project. How am I supposed >>>> to send the output from a simulation to a custom directory (previously "-d >>>> <dirname>") in this new version? Do I have to add an option in my config >>>> script and then update the m5.options.outdir field? Also, is there >>>> documentation for this anywhere? >>>> >>>> Thank you for your help! >>>> >>>> Best, >>>> Sam >>>> >>>> _______________________________________________ >>>> gem5-users mailing list -- gem5-users@gem5.org >>>> To unsubscribe send an email to gem5-users-leave@gem5.org >>>> >>>
TS
Thomas, Samuel
Fri, Feb 9, 2024 3:40 PM

An inability to spell. I think everything is working fine as per the
documentation.

On Fri, Feb 9, 2024 at 10:32 AM James Pangia jpangia@ncsu.edu wrote:

Glad you figured it out. What error were you making in case anybody else
makes a similar mistake?

On Fri, Feb 9, 2024 at 9:49 AM Thomas, Samuel samuel_thomas@brown.edu
wrote:

Apologies. This was a user error! 😬

Thank you all for your help!

On Fri, Feb 9, 2024 at 9:41 AM Thomas, Samuel samuel_thomas@brown.edu
wrote:

Which config file are you using, and which options is it importing?

Best,
Sam

On Fri, Feb 9, 2024 at 9:24 AM James Pangia jpangia@ncsu.edu wrote:

Can confirm that invocations such as ./build/X86/gem5.debug --outdir="$some_directory" <config file and other arguments> will work.

My gem5 version: gem5 version 23.0.1.0

On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users <
gem5-users@gem5.org> wrote:

This used to be true in older versions (I would use this in my older
projects), but it seems as though the “outdir” flag is no longer in
Options.py for version 23.1.0.0.

Which version are you working from?

On Feb 8, 2024, at 6:56 PM, muke101 muke101@protonmail.com wrote:

Hi, you need the --outdir flag and it has to come before you specify
the config script (like se.py), so it's passed to the gem5 binary
directly:)

so:
./build/X86/gem5.fast --outdir=results configs/example/se.py ....

Sent from Proton Mail mobile

-------- Original Message --------
On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users <
gem5-users@gem5.org> wrote:

Hi all,

This may be a really dumb question, but I've been a user of v22.0.0.2
for a while and need to use v23.1.0.0 for a new project. How am I supposed
to send the output from a simulation to a custom directory (previously "-d
<dirname>") in this new version? Do I have to add an option in my config
script and then update the m5.options.outdir field? Also, is there
documentation for this anywhere?

Thank you for your help!

Best,
Sam


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

An inability to spell. I think everything is working fine as per the documentation. On Fri, Feb 9, 2024 at 10:32 AM James Pangia <jpangia@ncsu.edu> wrote: > Glad you figured it out. What error were you making in case anybody else > makes a similar mistake? > > On Fri, Feb 9, 2024 at 9:49 AM Thomas, Samuel <samuel_thomas@brown.edu> > wrote: > >> Apologies. This was a user error! 😬 >> >> Thank you all for your help! >> >> >> On Fri, Feb 9, 2024 at 9:41 AM Thomas, Samuel <samuel_thomas@brown.edu> >> wrote: >> >>> Which config file are you using, and which options is it importing? >>> >>> Best, >>> Sam >>> >>> On Fri, Feb 9, 2024 at 9:24 AM James Pangia <jpangia@ncsu.edu> wrote: >>> >>>> Can confirm that invocations such as `./build/X86/gem5.debug >>>> --outdir="$some_directory" <config file and other arguments>` will work. >>>> >>>> My gem5 version: gem5 version 23.0.1.0 >>>> >>>> On Thu, Feb 8, 2024 at 9:32 PM Samuel Thomas via gem5-users < >>>> gem5-users@gem5.org> wrote: >>>> >>>>> This used to be true in older versions (I would use this in my older >>>>> projects), but it seems as though the “outdir” flag is no longer in >>>>> Options.py for version 23.1.0.0. >>>>> >>>>> Which version are you working from? >>>>> >>>>> On Feb 8, 2024, at 6:56 PM, muke101 <muke101@protonmail.com> wrote: >>>>> >>>>> Hi, you need the --outdir flag and it has to come before you specify >>>>> the config script (like se.py), so it's passed to the gem5 binary >>>>> directly:) >>>>> >>>>> so: >>>>> ./build/X86/gem5.fast --outdir=results configs/example/se.py .... >>>>> >>>>> >>>>> Sent from Proton Mail mobile >>>>> >>>>> >>>>> >>>>> -------- Original Message -------- >>>>> On 8 Feb 2024, 23:52, Thomas, Samuel via gem5-users < >>>>> gem5-users@gem5.org> wrote: >>>>> >>>>> >>>>> Hi all, >>>>> >>>>> This may be a really dumb question, but I've been a user of v22.0.0.2 >>>>> for a while and need to use v23.1.0.0 for a new project. How am I supposed >>>>> to send the output from a simulation to a custom directory (previously "-d >>>>> <dirname>") in this new version? Do I have to add an option in my config >>>>> script and then update the m5.options.outdir field? Also, is there >>>>> documentation for this anywhere? >>>>> >>>>> Thank you for your help! >>>>> >>>>> Best, >>>>> Sam >>>>> >>>>> _______________________________________________ >>>>> gem5-users mailing list -- gem5-users@gem5.org >>>>> To unsubscribe send an email to gem5-users-leave@gem5.org >>>>> >>>>