Commit d3f5269d authored by LIGNEUL CLEMENT's avatar LIGNEUL CLEMENT
Browse files

moove executable in main dir

parent 7a36654a
......@@ -3,4 +3,5 @@ dist/
deploy/
node_modules/
package-lock.json
plotting/
\ No newline at end of file
plotting/
EASEA-compiler-app/
\ No newline at end of file
all:
@echo "\n##### Début du packaging #####\n"
@echo "\n##### Start the packaging #####\n"
@echo "\n##### Initialisation #####\n"
@echo "\n##### Initialization #####\n"
rm -rf deploy dist
npx nodegui-packer --init EASEA-compiler-app
@echo "\n##### Build de dist #####\n"
@echo "\n##### Build dist #####\n"
npm run build
@echo "\n##### Packaging en cours #####\n"
@echo "\n##### Packaging in progress #####\n"
npx nodegui-packer --pack ./dist
@echo "\n##### Copie des scripts de graphe #####\n"
@echo "\n##### Copy additional files #####\n"
find 'deploy/' -type d -name doc | sed 's/doc//' | xargs -n 1 cp -v src/plot.py
find 'deploy/' -type d -name doc | sed 's/doc//' | xargs -n 1 cp -v src/3D_plot.py
@echo "\n##### Packaging terminé #####\n"
find 'deploy/' -type d -name doc | sed 's/doc//' | xargs -n 1 cp -rv documentation/
ifneq ($(TYPE), DEV)
find 'deploy/' -type d -name doc | sed 's/doc//' | xargs -n 1 cp -rt ./
rm -rf deploy/
endif
@echo "\n##### Packaging finished #####\n"
clean:
rm -rf deploy dist
\ No newline at end of file
rm -rf deploy dist EASEA-compiler-app
\ No newline at end of file
= EASEA Compiler App Documentation
Clément Ligneul <clement.ligneul@etu.unistra.fr>
v1.0 2021-07-13
:toc:
:toclevels: 4
:hide-uri-scheme:
== About
=== About EASEA
EASEA (EAsy Specification of Evolutionary Algorithms) is an Artificial Evolution platform that allows scientists with only basic skills in computer science to implement evolutionary algorithms and to exploit the massive parallelism of many-core architectures in order to optimize virtually any real-world problems (continous, discrete, combinatorial, mixed and more (with Genetic Programming)), typically allowing for speedups up to x500 on a $3,000 machine, depending on the complexity of the evaluation function of the inverse problem to be solved.
More informations http://easea.unistra.fr/index.php/EASEA_platform[here, window=_blank].
=== About this application
This application simplifies the compilation and execution process by implementing a user interface. This way it is possible to compile and run a `.ez` programs with just a few clicks.
== Base
=== Installation
You must install EASEA to use this application. To do this, clone the https://github.com/EASEA/easea[following repository, window=_blank] and follow the README.
Once you have it installed :
- clone https://git.unistra.fr/ligneul/easea-compiler-app[this repository, window=_blank]
- run `npm install` in the main directory
- compile this app running `make dist` in the main directory
- run the executable in [red]#mettre le path ici#
=== Run dev version
Running `npm start` in the main directory will allow you to see all the debugging information in the terminal. This is useful if you have any problems. This command recompiles everything each time you use it.
== Quick start
=== Compilation
=== Run
=== Plot results
== Interface explanation
When you open the app, you go to the first view which allows you to compile.
The second lets you select your options and run.
The last one is dedicated to plotting the results according to the compilation and execution options.
=== Compile tab
image::empty_compile.png[empty compilation image, 700, align=center]
① Load your file
② Choose your compilation options. The `cuda` and `cuda_gp` options appear only if you have installed CUDA SDK and `nvcc` (https://developer.nvidia.com/cuda-downloads[ window=_blank])
③ You can add more options to get a detailed compilation.
④ Run the compilation
⑤ Once you have compiled/runned your project, a Makefile with other files will be generated. To remove these files click on `Make clean` button (note that the `.log` files will not be deleted).
EASEA offers many options for compiling your `.ez` projects. If you want to see them in detail, check out http://easea.unistra.fr/index.php/EASEA_command_line[easea commands, window=_blank].
=== Run tab
image::islands_activated.png[empty compilation image, 700, align=center]
You must compile your project before running it.
① Size of the batch (see <<Run in batch>>)
② Activate the island model
③ Options for running the island model. This button appear only when you activate the island model
④ General options. Here you will find all the options regarding the global execution. This menu is more detailed <<General options, here>>.
⑤ Parents options. Here you will find all the options regarding the parents settings. This menu is more detailed <<Parents options, here>>.
⑥ Offsping options. Here you will find all the options regarding the offspring settings. This menu is more detailed <<Offspring options, here>>.
⑦ The number of plots desired. The number entered gives the number of violin plots to be traced and distribute generations in these graphs (e.g if you have a total of 100 generations and you want 10 plots you will have 10 graphs of 10 generations). This option is only available if you are not running a program with the `nsgaii`, `nsgaiii` or `cdas` options.
==== General options
==== Parents options
==== Offspring options
==== Island model options
=== Result Plot tab
=== Run in batch
\ No newline at end of file
This diff is collapsed.
......@@ -40,8 +40,8 @@ help_action.addEventListener('triggered', () => {
} else if (os.type() === 'Darwin') {
command = 'open';
}
spawn(command, ['https://git.unistra.fr/ligneul/easea-compiler-app'], { detached: true });
// spawn(command, ['https://git.unistra.fr/ligneul/easea-compiler-app'], { detached: true });
spawn(command, [process.cwd() + '/documentation/english.html'], { detached: true });
});
const EASEA_action = new QAction();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment