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 More Options button (

) and select
Batch or
Batch and Cluster (if your license includes cluster computing) in the
Show More Options dialog. Then in the
Model Builder, right-click a
Study node and select
Batch. Also see
Design of Experiments (Job Configurations).
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
In the Model Builder, in the Settings window for the features Batch,
Batch Sweep,
Cluster Computing and
Cluster Sweep, it is possible to configure storage modes for models and batch data in the
Cluster computing settings section, under
Batch Settings. From the
Model storage and
Data storage lists, respectively, choose:
File system,
Database or
Same as current model.
File system uses the traditional file system for storage, while
Database uses a Model Manager database for storage.
Same as current model uses the same storage as the current desktop model, which is either the file system or database. If selecting the database storage mode, it is required that the desktop model is saved in the database. These settings are also available as preferences under
Preferences > Cluster Computing. The storage mode options are also available under the
Batch job configuration node.
When both storage options are set to Database, temporary files may still be stored on the file system in the batch directory. The
Directory and
Specify server directory path settings may still be relevant to configure if you need to look at these files, for example when troubleshooting. If
Output model to file or
Save model to file after synchronization are enabled, the model is saved to the database instead of the file system. Additionally, it is not necessary to specify file transfer commands in a
Cluster Computing node when running batch jobs on a remote computer, since models and batch data are automatically transferred from/to the database.