I run project in MFIX-21.3.2 under windows using command line “mfixsolver -c -f xxx.mfx” and it shown me “the process cannot access the file because it is being used by another process: ‘fort.53’” as follows.
I see that the mfixsolver -c option (clean output files before starting a run) is not compatible with SMP because the threads are all trying to delete the same files. We will fix this for the next release. Note that the -c flag is provided as a convenience but is not used in the normal operation of MFiX (launching from GUI). For now, I suggest that you simply not use the -c flag. Add something to your test script to clean up the .LOG and .OUT files before starting a run. If you’re not sure what files to delete, just start the run and see what “existing files” warnings you get.