[Kratos] Cmake support is now mature

Riccardo Rossi rrossi en cimne.upc.edu
Mie Ago 31 15:18:34 CEST 2011

Dear List,
     the support of compiling kratos with cmake is now "complete" in the
sense that the cmake should now compile everything that was previously
compiled with Jamfile, 

i would highly appreciate some testing effort.

in principle the steps needed to try it are:

1) (install cmake 2.8.x) [tested with cmake 2.8.5 but should work with
older versions)
2) cd kratos/cmake_build
3) cp example_configure.sh.do_not_touch local_configure.sh
4) edit local_configure.sh and select the applications of interest and
the local paths
5) sh local_configure.sh

there are a few important advantages of the new building system with
respect to the old one:
a) many  libraries will be detected automatically (ex MPI,OpenCL,Boost)
b) easier to use in windows (Generates a project file with all sources
for MsVC)
c) possible integration with IDEs  (i did not test this myself)
d) link errors detected that were not detected before
e) in principle the mkl_solver should now work with gcc also (before it
was needed to compile with icpc the mkl_solvers_application to have it
f) better error messages of the compilation system and more results in
googling (much much larger user-base)
g) advancement percentage (this one is cool :-D)

for all of these reasons if there is not a strong motivation against
such choice, i would like to remove the Jamfiles pretty soon in order to
minimize confusions. Of course this is something to be discussed, but at
the moment i am strongly in favour as cmake appears to be much (much!)
better than bjam

@Janosch let's stay in contact and discuss about Bochum's needs in this

@Farshid OpenCL should be tested automatically, could you find out if it
works correctly on your computer? (it does on mine)

@ALL we should think to an out-of-source install of the Kratos... 

ciao all

P.S.: i will be waiting for feedback!!

Riccardo Rossi, Ph.D, Civil Engineer
member of the Kratos Group: kratos.cimne.upc.es
Centro Internacional de Métodos Numéricos en Ingeniería (CIMNE)
Universidad Politécnica de Cataluña (UPC)
Edificio C-1, campus Norte UPC
Gran Capitan, s/n
08034 Barcelona, España
Tel. (+34) 93 401 56 96


Los datos de carácter personal contenidos en el mensaje, se registrarán
en un fichero para facilitar la gestión de las comunicaciones de CIMNE.
Se pueden ejercitar los derechos de acceso, rectificación, cancelación y
oposición por escrito, dirigiéndose a nuestras oficinas de CIMNE, Gran
Capitán s/n,  Edificio C1 - Campus Norte UPC, 08034 Barcelona, España.


Les dades de caràcter personal contingudes en aquest missatge es
registraran en un fitxer per facilitar la gestió de les comunicacions
del CIMNE. Es poden exercir els drets d'accés, rectificació,
cancel·lació i oposició, per escrit a les nostres oficines del CIMNE,
Gran Capità s/n, Edifici C1, Campus Nord UPC, 08034 Barcelona, Espanya.


All personal data contained in this mail will be processed
confidentially and stored in a file property of CIMNE in order to manage
corporate communications. You may exercise the right of access,
rectification, deletion and objection by letter sent to CIMNE, Gran
Capitán, Edificio C1 - Campus Norte UPC, 08034 Barcelona, Spain.

Más información sobre la lista de distribución Kratos