2 .. include:: ./rst_prolog.rst
6 ***************************
7 Solverlab code compilation
8 ***************************
10 SolverlabGUI uses a specific version of Solverlab code, modified by J.P. Crocombette (cea),
11 which is tagged version 1.1.x for now.
12 This code comes from original version 1.0.8 by Christian Borschel.
14 Users find two current compiled executable files, which are used by solverlabGUI, located at
15 *.../solverlabGUI/solverlabCode*.
17 #. *solverlab_mingw64.exe*, compiled by MinGW_ gcc compiler, for Windows (64 bits).
18 #. *solverlab_linux64.exe*, compiled by GNU_ `gcc <GNUgcc_>`_ compiler, for Linux (64 bits).
20 A development installation of Solverlab code allows programmer improvments.
21 The following chapters explain Solverlab code compilation processes.
24 .. _iraSolverlabCodeSources:
26 Solverlab code sources
27 ============================
29 With GPL licence, sources are available in solverlabGUI directory tree, located at
30 *.../solverlabGUI/solverlabCodes/solverlab_cea*.
32 User find also the useful Corteo_ data base, located at
33 *.../solverlabGUI/solverlabCodes/data_4bit*
37 .../solverlabCodes > tree
46 │ ├── 20140804_solverlab_manual.pdf
47 │ ├── Corteo20160816.pdf
48 │ ├── solverlab-1-s2.0-S0168583X11006318-main.pdf
49 │ └── Solverlab_tuto_installation.pdf
51 │ ├── compileSolverlab.bat
58 │ ├── indexvalues6bit.h
70 ├── compileSolverlab.lnk
75 .. _iraSolverlabCodeCompilation_linux:
77 Solverlab code compilation Linux
78 ==================================
80 Example of compilation *(Linux-bash)*:
84 # this is your location
85 cd .../solverlabGUI/solverlabCodes/solverlab_cea
89 make -f makefile_cea clean
90 make -f makefile_cea solverlab
91 make -f makefile_cea installGUI # install executable in solverlabGUI/solverlabCode
95 .. _iraSolverlabCodeCompilation_windows:
97 Solverlab code compilation Windows7-10
98 =======================================
100 .. warning:: #. MinGW_ is supposed to be set
101 and useful in environment path, at an usual location
102 *C:\\MinGW* (for example).
103 #. Git-windows_ is supposed to be set
104 and useful in environment path, at an usual location
105 *C:\\Program Files\\Git* (for example).
106 In order to use like-Linux commands.
109 Example of compilation *(Windows7/10-cmd.exe shell)*:
113 # this is mandatory location
115 cd C:\Users\Public\solverlab\solverlabGUI\solverlabCodes\solverlab_cea
117 where make # --> C:\MinGW\bin\make.exe
118 where gcc # --> C:\MinGW\bin\gcc.exe
119 where uname # --> C:\Program Files\Git\usr\bin\uname.exe
121 make -f makefile_cea clean
122 make -f makefile_cea solverlab
123 make -f makefile_cea installGUI # install executable in solverlabGUI/solverlabCode
126 .. note:: To launch Solverlab code compilation, you may use Windows shortcut
127 *C:\\User\\Public\\solverlab\\solverlabGUI\\solverlabCodes\\compileSolverlab(.lnk)*