0

when I execute sim.run_simulation() error is showing "The program mf6 does not exist or is not executable".

1 Answers1

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.

DuDa
  • 3,718
  • 4
  • 16
  • 36
Jacob
  • 58
  • 9