The following section explains how to compile a codelet or a set of codelets. The compilation daemon must be done before performing any experiment (MAQAO, DECAN and Likwid). The compilation can be run by using a Makefile, or a compiler. Obvisouly, parameters can be given to the makefile / the compiler.
An automatic process is provided to compile a codelet on a cluster computer, choosen by the user. The computer data are saved in a platform entry. it can be the same entry used for Codelet Finder usage, but it can be a different one.
To compile the codelet, a makefile must be provided at the root of the codelet directory (it is automatically done for Codelet Finder codelets). The command used for the compilation is:
Create a Compile entry
Create a Compile entry is the first step to compile a codelet.
On the web interface, the user must display a "codelet" or a "codelet_group" entry, and then click on the compile button. If the user is on the codelet_group page, the compilation will be executed for each codelet of the group.
The codelet_group viewer
Then, he must fill in the form: the makefile parameters, the platform, etc...
The compile form
The regular expression will be used by MAQAO CQA / DECAN to find out the function name of the codelet.
For one codelet
$ cti compile init Codelet_1 nonePlease enter Mode of execution: localPlease enter Make executable: makePlease enter Make parameters: Please enter Use Likwid: falsePlease enter Compiler (produced by compiler):Please enter Compile options: Please enter Binary name: wrapperPlease enter Platform (produced by platform):Please enter Function name regexp: Please enter Slurm Partition: Please enter Load coredump?: trueThe daemon is running! DATA_CTI_UID=33d610b8-2749-11e3-bad8-6fb319f73205
N.B.: the compile process is automatically launched. However, the user can first initialize the compilation entry and then run it.
He must disable the auto_run mode: