The question is that I have different options of the model in a File Option.jl and would like users to modify the options before running the SoilWater-ToolBox.
The question would it be possible to compile SoilWater-ToolBox and at the same time give the users the possibilities to modify the **Option.jl** ?
Usually those options would be out in a structure, which may be set by the user and passed to the functions.
The idea of the user modifying a file that actually belongs to the package is not very nice. The alternative I think is to provide an example file that the user should follow and where those variables are defined.
(Note that defining the model with global constants won’t allow the user to run two different models in the same script. I don’t know if that is ok).
Thanks for conforming that when a function is compiled into a Package
it cannot read Julia files as input. As recommended, I will put the Options into a structure and read the parameters from a separate input file which will be object of another topic Discourse