Author Topic: Decoupled Batch  (Read 281 times)

Decoupled Batch
« on: January 30, 2020, 04:36:27 pm »
Hi.  Trying to run an FM AD run with the hydrodynamics decoupled.  Runs fine when started through the GUI or MzLaunch tool, but throws up a fatal error when I try to run it with the standard batch script:

set Path=%Path%;%DHI_MIKE_2019%

start /w MzLaunch.exe runid.m21fm -x

Do I need to add a line to call the decoupled HDs first???  or some other solution?

Thanks.

MSA

  • Posts: 2
    • View Profile
Re: Decoupled Batch
« Reply #1 on: February 03, 2020, 11:45:09 am »
Hey there

my scripts usually look the following way:

path=%path%;%DHI_MIKE_2017%;
set OMP_NUM_THREADS=4

Start /wait Mzlaunch.exe "c:\ompletepath\to\model.m21fm" -gpu -x

and they work. So maybe add the full path to your model within "".

Hope this helps :)