how to enable formatted save mode from windows cmd line

AL U.
AL U. New Altair Community Member
edited October 2020 in Community Q&A

I enabled formatted save mode in the debug options in Flux Supervisor (v2019.1.1) and it writes in formatted mode when solving with a python script in batch mode from Flux Supervisor.  When I try to run the same python script using a Windows .bat script it writes the output files in binary mode.  Is there an environment variable or command to force it to write output in formatted mode when calling Flux from a .bat script?

Tagged:

Answers

  • asoualmi
    asoualmi
    Altair Employee
    edited May 2020

    .

    Hi,

    Sorry for my late answer. You need to put this “Set FLUX_FORMATTED_FILE=YES” in your bat file.

    Best regards.