Input file

The Input file can either be a single Python file or a zip file containing a .FLU folder and/or Python file(s). You can automatically create it by using the command Generate zip file for PBS.

Using python file(s)

If the project is completely defined by your Python script, you can submit a job using only this script.

If your project is defined by several Python scripts, you can also zip all the Python scripts and use the zip file as the input for your job submission. The main Python script, which will be the first to be called, must be named as your zip file.

Using FLU folder

If you have a Flux project ready to be solved, you can zip it and use the zip file as an input to your job. Flux will solve all the scenarios of the project.

You can also zip a Flux project along with one or several Python files. Name the main Python script as your zip file, as it will be the first to be called.

Important: Other cases are not supported and may lead to errors.

Using command Generate zip file for PBS

From Flux 2022.3, generate the input file for PBS from a Flux project:

Solving > Generate zip file for PBS

Note: This command Generate zip file for PBS coupling is compatible with Flux and PBS 2022.3 and later versions.

When selecting this command, the following dialog window is displayed:

You have to select the scenarios to solve with PBS.

The zip file *.zip is created in the working directory, with the Flux project *.FLU and the Python *.py inside.