Forums

Flopy and mf6.exe

How can i run this executable? ... sim.run_simulation()

Exception Traceback (most recent call last) <ipython-input-13-1e86b5798175> in <module>() ----> 1 sim.run_simulation()

/home/PavelWide/.local/lib/python3.7/site-packages/flopy/mf6/modflow/mfsimulation.py in run_simulation(self, silent, pause, report, normal_msg, use_async, cargs) 916 self.simulation_data.mfpath.get_sim_path(), 917 silent=silent, pause=pause, report=report, --> 918 normal_msg=normal_msg, use_async=use_async, cargs=cargs) 919 920 def delete_output_files(self):

/home/PavelWide/.local/lib/python3.7/site-packages/flopy/mbase.py in run_model(exe_name, namefile, model_ws, silent, pause, report, normal_msg, use_async, cargs) 1374 s = 'The program {} does not exist or is not executable.'.format( 1375 exe_name) -> 1376 raise Exception(s) 1377 else: 1378 if not silent:

Exception: The program /home/PavelWide/Exe/mf6.exe does not exist or is not executable.

You can't run windows .exe files on linux.