Posted Fri, 22 Apr 2022 14:49:44 GMT by Giovanni Formentin
Hello,
I put a script in my .FEM file to calibrate parameters through the Python API.
In the script, I refer to the .FPI file using its full path to the master folder (e.g.  FPIFile = r'C:\Model\M1'  ).
I'm running PEST in parallel.

1. The FPI file is not present in the master folder. I can find it in the agent folders though. Is it a bug? If it happens, am I to put the .FPI manually into the master folder?
2. In some agents, FePEST issues an error that it cannot find that .FPI file (in the Result files panel)
3. Running in parallel, do agents use the .FPI file in the master folder, or do each agent work with the FPI file in each specific folder? In this case, shouldn't the path to the .FPI file be specific to each agent folder?

Thanks for any advice,
Giovanni
Posted Thu, 02 Feb 2023 12:23:28 GMT by Ivan Rastorguev Hydroproject
Hi,<br> 1. In parallel calculations fpi-file is located only in agent folders.<br> 2-3. Could you try to check enviroment (working path): <pre style="background-color:#ffffff;color:#000000;font-family:'JetBrains Mono',monospace;"><span style="color:#808080;font-style:italic;">import os print os.getcwd() </span>def preEnterSimulator(doc): #your code </pre> <br> BR,<br> Ivan

You must be signed in to post in this forum.