On 3 Nov 2010, at 10:10, jessica.alfonsi@unipd.it wrote:
Hi again Matthias, I've tried your suggestion below in CMakeLists.txt, compilation is successful (as always) but in the file include.mk there is no openmp flag appearing in the compiler flags. It's strange since in the configuration process with ccmake the build system correctly recognizes the openmp flag appropriate for the compiler. This is my include.mk :
# shell
# path
prefix = /home/alfonsi/alps-2.0.0b5-r5017 exec_prefix = /home/alfonsi/alps-2.0.0b5-r5017 bindir = /home/alfonsi/alps-2.0.0b5-r5017/bin datadir = /home/alfonsi/alps-2.0.0b5-r5017 datarootdir = /home/alfonsi/alps-2.0.0b5-r5017/share libdir = /home/alfonsi/alps-2.0.0b5-r5017/lib includedir = /home/alfonsi/alps-2.0.0b5-r5017/include docdir = /home/alfonsi/alps-2.0.0b5-r5017/doc
# Makefiles
INCLUDE_MK = $(datadir)/alps/include.mk
# tools
AR = /usr/bin/ar RANLIB = /usr/bin/ranlib
# base
BASE_CPPFLAGS = BASE_LDFLAGS = BASE_LIBS =
Do you want it in the BASE_CPPFLAGS or in some extra OPENMP_CPP_FLAGS variable?
Matthias