There are 2 ways to start a model simulation:
1. Inside the iMOD-GUI:
In section 7.9 detailed instructions are given on how to interactively configure the model location, model grid size and model output, including a description of how to specify necessary settings for either the PCG-solver or the Parallel Krylov Solver in the ’Solver settings’-tab of the ’Start Model Simulation’ window.
2. Outside the iMOD-GUI:
• By entering the appropriate command manually at the DOS-prompt in a ’Window Command Processor’-box; an example of such a command is:
d:\iMOD\iMODFLOW_V5_1_METASWAP_SVN1523_X64R.exe model.run
• By specifying and storing such a command in a batch-file, e.g. run.bat, and double-clicking this run.bat file or typing run.bat at the DOS-prompt and pressing Enter.
The content of such a batch file should have the following structure:
On line one: [name of iMODFLOW-executable] [name of the model runfile]
On line two: pause
The Pause-statement causes the command tool to remain visible after the simulation has finished; this is handy for reasons of inspection in cases you invoke the run.bat file by double-clicking it; omitting the ’Pause’-statement causes the ’Windows Commander Processor’-box to close immediately as soon as the model simulation has finished.
• When using the PKS-package:
Prior to using the PKS-package MPI software has to be installed, see section 2.3. Here’s an example of how to start a multi-core model simulation from outside the iMOD-GUI by entering the following command in a ’Windows Command Processer’-box:
"C:\Program Files\MPICH2\bin\mpiexec.exe" -localonly 2 iMODFLOW.exe iMODFLOW.run
In this example MPI launches two processes of iMODFLOW.exe instances on two computational cores, meaning that the model runs using two subdomains. The -localonly option ensures that you should not necessarily have to be connected to your network for running with MPI.