Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Change location of COMSOL's out-of-core file

Jean-Baptiste Béguin

Please login with a confirmed email address before reporting spam

The below post is related to an archived discussion


In absence of a posted answer to the question of changing the location of the out-of-core files due to memory limitations, here is a proposed solution:

When MUMPS switches to out-of-core mode due to in-core memory limitations, data will be written on the disk in the default temporary folder defined in the Comsol preferences, until the disk space becomes saturated and Comsol throws an out-of-core memory error.

If you want to specify a different location (e.g to a larger drive other than the default installation drive), you can launch Comsol from the terminal with the command:

$>comsol -tmpdir pathtofolder/

(Or from the software GUI interface, Options>Preferences>Files => modify path for "Folder for temporary files")

Beside being used for mesh data, this folder is where multiple out-of-core MUMPS files will be created while in out-of-core mode.


0 Replies Last Post May 29, 2019, 11:03 p.m. EDT
COMSOL Moderator

Hello Jean-Baptiste Béguin

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.