You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MLC is a framework designed to solve chaotic problems related with the field of fluodynamics.
23
23
The input of the system it's an script which models a problem. This problem is solved evolving populations, which are groups of non related individuals, through the use of a set of genetic algorithms. Every individual is modeled as a linear combination of diffenrent operators (-,+, sin, cos, exp, etc.).
24
24
25
-
<divid='project_structure'/>
26
25
## Project Structure
27
26
***[MLC](MLC)**: The files inside this path are related with the Python code use
28
27
***[conf](conf)**: Directory where the differents config files of the project are stored. For the moment, the app read config files from this directory, so be sure to persist your desired configuration within them.
@@ -31,19 +30,15 @@ The input of the system it's an script which models a problem. This problem is s
31
30
***[tests](tests)**: Tests related with the project (functional, unit tests, etc.) can be found here.
32
31
***[tools](tools)**: Additional scripts and files are stored in this directory.
33
32
34
-
<divid='installation'/>
35
33
## Installation
36
34
37
-
<divid='python_engine_and_mlc_python'/>
38
35
### Python Engine and MLC Python
39
36
Previous versions of MLC ran in MATLAB®. The last version is being ported to Python, so the actual implementation is a hybrid between this two languages.
40
37
41
-
<divid='matlab_versions_supported'/>
42
38
#### MATLAB versions supported
43
39
The main program starts running in Python and make calls to MATLAB® when it is needed. To be able to run MATLAB® code inside Python, the module [Python Engine](http://www.mathworks.com/help/matlab/matlab-engine-for-python.html) is used.
44
40
Python Engine is available in versions of MATLAB® 2014b and ahead.
45
41
46
-
<divid='mlc_python'/>
47
42
#### MLC Python
48
43
In order to succesfully run the [Python Engine Module](http://www.mathworks.com/help/matlab/matlab-engine-for-python.html), Python must compiled in a special way. For more details, the [Python Engine Documentation](http://www.mathworks.com/help/matlab/matlab_external/system-requirements-for-matlab-engine-for-python.html) can be inspected.
49
44
A pre-compiled version of Python can be found in the following [link](https://drive.google.com/file/d/0B1yBBZBneUgZb2gwb1hOTDF4Tjg/view). The file it's a .deb package and it was succesfully installed in the following operating systems:
@@ -87,17 +82,14 @@ The new Python is installed in the directory **/opt/mlc-python-2.7.11**. This ve
87
82
***/opt/mlc-python-2.7.11/bin/mlc_pip**: All new Python dependencies that would like to be installed, must be installed with this version of pip. In other case, the dependencies must be built and installed with the mlc_python script.
88
83
***/opt/mlc-python-2.7.11/bin/mlc_nosetests**: The project tests must be executed with the following script.
89
84
90
-
<divid='configuration'/>
91
85
## Configuration
92
86
*All the configuration files of the application can be found in the [conf directory](conf). **MLC consumes them directly
93
87
from there,*** so beware of make all your desired changes in files inside this folder.
94
88
95
-
<divid='parameters'/>
96
89
### Parameters
97
90
All the parameters associated with the MLC must be set in the file [configuration.conf](conf/configuration.conf).
98
91
A short description of every parameter and also the valid values supported can be found in the [Wiki](https://github.com/Ezetowers/taller3_final/wiki/Configuration-Parameters).
99
92
100
-
<divid='logging'/>
101
93
### Logging
102
94
MLC provides log facilities based on the [Python Logging Module](https://docs.python.org/2/library/logging.html). The application consumes the file [logging.conf](conf/logging.conf) in order to retrieve the different log configuration available. The present available log configuration are the following:
103
95
***console**: Redirects the output of the MLC to standard output. The log-level is set to *DEBUG*.
@@ -109,7 +101,6 @@ content is stored in */tmp/mlc.log*.
109
101
The log configuration can be changed modifying the parameter **logmode** in the **LOGGING** section of the
110
102
[config file](conf/configuration.conf). Take care to put a valid value in order to avoid problems running the application.
111
103
112
-
<divid='how_to_run_mlc'/>
113
104
## How to Run MLC
114
105
For the moment, MLC does not receive any parameters to run. As it was said in previous sections, it retrieves the
115
106
desired configuration from the [configuration file](conf/configuration.conf) and redirects the output obeying the rules dictated by the [logging config file](conf/logging.conf).
0 commit comments