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.
Exporting results from the command line with no access to desktop app. Modifying Security preference 'File system access'.
Posted 2025/01/25 1:21 JST General Version 5.6 1 Reply
Please login with a confirmed email address before reporting spam
I am trying to run a COMSOL method on my university's super computer, so I only have access to COMSOL via the command line. My method does the following:
model.study("std1").run();
model.result().export("data1").run();
And I am executing this on the command line with
comsol batch -inputfile iso_sym.mph -methodcall methodcall1
model.study("std1").run();
seems to be executing just fine. But I get the following error when running model.result().export("data1").run();
:
AccessControlException: Security preference 'File system access' does not allow 'write' access to ...
So, I think I need to change Security preference 'File system access' to allow write to all files, but how do I do that from the command line?