Passing parameters to .egoml using a command line

12 views
Skip to first unread message

Adrian Ghilardi

unread,
May 1, 2025, 11:55:48 AMMay 1
to Dinamica EGO
Hi everyone, 

I need to pass Dinamica EGO (version 2.4.1...🙈) a set of parameters from the command line in a windows environment, as a .bat file. 

However, this doesn't seem to work:
"C:\Program Files\Dinamica EGO\DinamicaConsole.exe" -processors 0 -log-level 4 ^
-set MC_runs 50 ^
"F:\XTest\7_FW_dyn_lulcc_Sc16b_luc1.egoml"
pause

Being "MC_runs" the alias of the functor. In anycase the -set function is not recognized by Dinamica neither. 

One last note: "7_FW_dyn_lulcc_Sc16b_luc1.egoml" is a complex script developed over the course of a few years and is being upgraded to the latest version of Dinamica for Linux. But this will take a few months. With the above fix we would have this working in a blink of an eye, while we upgrade and improve the code. So, upgrading to a new Dinamica version is not a good option in this case. Sorry about this...

THANK YOU! 
Adrian




Reply all
Reply to author
Forward
0 new messages