when I execute sim.run_simulation() error is showing "The program mf6 does not exist or is not executable".
Asked
Active
Viewed 688 times
1 Answers
0
You need to set the model executable to a valid executable path. If your model is a MODFLOW 6 model, then you should set your executable path to the MODFLOW 6 executable.
Example:
import flopy
mf = flopy.modflow.Modflow.load('model.nam', exe_nam='my-modflow6-executable')
Replace my-modflow6-executable
with the full file path (including the file name and extension) to the appropriate executable.
You can see the attribute here.