Running COMSOL Multiphysics > Running COMSOL Multiphysics > COMSOL Batch

COMSOL Batch
The COMSOL Multiphysics batch mode provides a way to run COMSOL Multiphysics without a graphical user interface. The COMSOL batch mode allows you to run both Model MPH-files and compiled model files for Java (class files).
You can control the options for running the COMSOL software in batch mode from the Study node in the Model Builder. To enable the Batch feature, click the Show button () and select Advanced Study Options. Then in the Model Builder, right-click a Study node and select Batch. Also see Batch (Job Configurations).
You can also run COMSOL batch entirely from a command prompt.
In batch mode, you can monitor the memory usage reported in the log as lines of the form
Memory: RAM/MAXRAM VIRT/MAXVIRT
where RAM is the current memory usage in MB, and VIRT is the current virtual memory usage in MB. The maximum measured usage is reported in MAXRAM and MAXVIRT, respectively. The log only reports changes to the memory usage. You can also monitor the current progress, which is reported as lines in the log of the form
Current Progress: 53%
where the percentage indicates the currently estimated progress.
For options for controlling the batch command, see the section The COMSOL Commands for your platform.
COMSOL Batch under a Floating Network License
If you have licensed a floating network license, you are allowed to run a simultaneous “batch job” along with your COMSOL Multiphysics GUI. Such batch jobs have the capacity to run parametric sweeps on multiple computers, as long as the changes to your model include only changes to parameters. This batch license functionality is only available for Cluster Computing and Cluster Sweep nodes, and you must select the Use batch license check box in the Cluster Computing and Cluster Sweep nodes’ Settings windows. It is not necessary to use the same user account for the Multiphysics GUI and the batch job. However, the same account must be used by all process instances of a batch job. Each additional floating network license lets you run a separate independent batch job (with different models) on multiple computers.