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 <muke...@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-le...@gem5.org
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to