This article explains how to load dynamic model code you have written to be used in Smarts domains.
There are two ways Smarts dynamic model files can be loaded into a server from the command line:
-
Specifying the --dynamic option for the command will load local/model/*.ldm
-
Specifying theĀ -c <config> (or --conf=<config>) option will load local/model/<config>/*.ldm. For example, specifying -c icf will load local/model/icf/*.ldm, whether or not you specify the --dynamic option.
Models that you want every type of Smarts server to load should be put into the
local/model directory,
and models that are specific to a particular Smarts configuration should be put into the
local/model/<config> directory.