Input file

The Input file can be created automatically by using the command Generate zip file for PBS in Flux, or by clicking on a button in Flux e-Machine Toolbox. It can either be a single Python file, or a zip file containing a .FLU folder and/or Python file(s), which can also be created manually.

Create automatically input file by using command Generate zip file for PBS in Flux

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.

Create automatically input file in Flux e-Machine Toolbox

From Flux 2022.1, is now possible to run tests via PBS in FeMT to save computation time.

Once the project has been correctly defined in FeMT, the different steps are as follows:
  1. In FeMT, export the necessary files for PBS by clicking on button 1 in the image below;
  2. In PBS, run the computation through a cluster;
  3. In FeMT, import the PBS result by clicking the button 3 in the image below.

Create manually input file with 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.

Create manually input file with a 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.