Batch Utility for Meshing and Executing Projects

The newFASANT batch utility can be called from the command line or terminal to mesh and execute several jobs one after another. It expands the capabilities of the GUI by letting you use the mesher and kernels without launching the newFASANT GUI.

To specify the number of processors, threads and the different MPI options, you must set up the following environment variables:
  • NF_PROCS
    Overwrites the number of MPI tasks stored in the project. In Linux, it works similarly but also can be filled with --use-job-scheduler to call feko_parallel with this parameter.
  • NF_THREADS
    Overwrites the number of OpenMP threads stored in the project. It works similarly in Linux.
  • NF_MPI_OPTIONS
    Defines additional options for MPI. In Windows, these options are supplied as an input parameter for MPIexec. Linux works in a similar way, but instead of supplying them to MPIexec it goes to feko_parallel1.
Launch the newFASANT batch utility using the command:
newfasant <"project file path"> [options]
project file path
The path to the project file inside “”.
The command line options are:
-mesh
Mesh the project.
For example:
newfasant "/home/newfasant/MyProject.nfp" -mesh
-calculate
Execute the project.
For example:
newfasant "/home/newfasant/MyProject.nfp" -calculate
-update
Mesh and execute the project.
For example:
newfasant "/home/newfasant/MyProject.nfp" -update
For more information on how to use the batch utility:
newfasant_batch.exe -h
1 See the Feko User Guide for more information: Running the Parallel Version.