FEMM icon indicating copy to clipboard operation
FEMM copied to clipboard

Cannot create multiple instances in FEMM running with Octave on Wine

Open amunozh opened this issue 2 years ago • 0 comments

Current setup

I need to run FEMM on a Linux container using Octave scripts to run a motor simulator on the cloud (I think it would be a nice application for FEMM on the world of Digital Twins). To do it, I installed FEMM using Wine and I'm using Octave to run Matlab scripts that executes the FEMM commands. I configured the openfemm functions as explained in your documentation.

Problem

However, there is a big problem with this setup, Octave and FEMM interact using the filelink FEMM feature, therefore, they are talking through files (ifile and ofile). It makes imposible to run two instances in parallel. Is there any way to run two instances on parallel with this setup? Maybe I'm missing something.

Possible solution

If there is any possible solution with the current version of FEMM. I was thinking into the possibility to specify the ifile and ofile when calling FEMM with the filelink option. What do you think?

I'd be really happy to contribute. Thanks!

amunozh avatar Aug 04 '22 14:08 amunozh