Suppress recovery files writing from Matlab

Please login with a confirmed email address before reporting spam

Dear Support, I'm running Comsol 6.1, and doing simulations from Matlab. I am running a different Matlab/Comsol instance for each of the 32 cores of my workstation, and each is running a loop. The problem I have is that each is loading the hard drive with writing recovery files. Besides of the wasted space, I worry this is going to reduce its life, and I want to suppress all unnecessary writing. How can it be done? Looking at the names of the files, there seem to be geometry files, mesh files, etc. I got the impression that each Comsol server instance opened its own folder in the AppData/Local/Temp folder, and wrote recovery information for each loop step, which quickly amounted more than 100Gb of unneeded data.

Best regards, Javier


1 Reply Last Post 31 juil. 2025, 14:19 UTC+2
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 57 minutes ago 31 juil. 2025, 14:19 UTC+2
Updated: 32 minutes ago 31 juil. 2025, 14:44 UTC+2

Hi Javier

You can use the -autosave argument when starting COMSOL with Matlab.

https://doc.comsol.com/6.3/docserver/#!/com.comsol.help.comsol/comsol_ref_running.38.31.html?highlight=autosave

-------------------
Lars Gregersen
Comsol Denmark
Hi Javier You can use the -autosave argument when starting COMSOL with Matlab. https://doc.comsol.com/6.3/docserver/#!/com.comsol.help.comsol/comsol_ref_running.38.31.html?highlight=autosave

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.