What is PerlMLX?
PerlMLX is a helper tool that can be used to run one, several, or an user defined list of project files. PerlMLX can be executed on Windows and Linux platforms (Matlab and standalone version of Monolix are supported) and it can launch multiple runs simultaneously (which can reduce drastically processing time). All these features make PerlMLX a very efficient tool for mass processing.
Notice that PerlMLX relies on Perl scripts (hence its name !) which supposes of course that Perl
has been installed on the platform.
Environment variables
When PerlMLX is used in command-line mode, it is recommended to setup environment variables (nothing mandatory but as will be seen later these variables will make the scripts easier to write):
- “MONOLIX” to: “/My/Path/To/MonolixSuite2016R1”
- “MONOLIXDATA” to: “/MyPath/To/runtime/resources”
These environment variables can be set with the shell commands below:
Under Linux:
– type the command lines:
gandalf#> export MONOLIX=/My/Path/To/MonolixSuite2016R1
– or add the following lines in your ‘.bashrc’ config file
gandalf#> gedit /.bashrc
add the following line at the end of the file ‘.bashrc’:
export MONOLIX=/My/Path/To/MonolixSuite2016R1
Under Windows
– type the command lines:
set MONOLIX=C:\My\Path\To\MonolixSuite2016R1
– or use the graphical environment to set up the path and the variable Monolix to
C:\My\Path\To\MonolixSuite2016R1
Note: by default Monolix is installed beneath C:\ProgramData\Lixoft which is a hidden directory (so please refer to your operating system’s documentation if Monolix directory does not show in your explorer)