[Kratos] Cmake support is now mature

Farshid Mossaiby mossaiby en yahoo.com
Mie Ago 31 22:39:41 CEST 2011


Dear Riccardo, all,

First of all, CMake building was very nice, it needed almost no configuration ;) Thanks!

@Riccardo:
OpenCL stuff works fine if you install driver 280.13 or later (on Linux) which supports OpenCL 1.1, otherwise one must point OpenCL include directory to ~/NVIDIA_GPU_Computing_SDK/OpenCL/common/inc for things to work.


Best regards,
Farshid Mossaiby



________________________________
From: Riccardo Rossi <rrossi en cimne.upc.edu>
To: kratos en listas.cimne.upc.edu
Sent: Wednesday, August 31, 2011 5:48 PM
Subject: [Kratos] Cmake support is now mature

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
working
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
sense

@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
Riccardo

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
________________________________________________________________

AVISO IMPORTANTE

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.

AVÍS IMPORTANT

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.

IMPORTANT NOTICE

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.





_______________________________________________
Kratos mailing list
Kratos en listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/kratos
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20110831/cf3134e1/attachment.htm 


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