← Back to team overview

yade-dev team mailing list archive

Re: scons vs. openMP

 

Ah... even after installing openMP, I have this :

distcc g++ -o /home/bruno/YADE/build-trunk-opt/core/Body.o -c -O2 
-fopenmp -O3 -ffast-math -pg -pipe -Wall -DLOG4CXX -DEMBED_PYTHON 
-DMINIWM3 -DSUFFIX=\"-trunk-opt\" -DPREFIX=\"/home/bruno/YADE\" 
-DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG 
-I/home/bruno/YADE/build-trunk-opt/include/yade-trunk 
-Iinclude/yade-trunk 
-I/home/bruno/YADE/build-trunk-opt/include/yade-trunk/yade/lib-miniWm3 
-Iinclude/yade-trunk/yade/lib-miniWm3 -I/usr/share/qt3/include 
-I/usr/share/qt3/include -I/usr/include/python2.5 core/Body.cpp
cc1plus: error: unrecognized command line option "-fopenmp"
distcc g++ -o /home/bruno/YADE/build-trunk-opt/core/BodyContainer.o -c 
-O2 -fopenmp -O3 -ffast-math -pg -pipe -Wall -DLOG4CXX -DEMBED_PYTHON 
-DMINIWM3 -DSUFFIX=\"-trunk-opt\" -DPREFIX=\"/home/bruno/YADE\" 
-DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG 
-I/home/bruno/YADE/build-trunk-opt/include/yade-trunk 
-Iinclude/yade-trunk 
-I/home/bruno/YADE/build-trunk-opt/include/yade-trunk/yade/lib-miniWm3 
-Iinclude/yade-trunk/yade/lib-miniWm3 -I/usr/share/qt3/include 
-I/usr/share/qt3/include -I/usr/include/python2.5 core/BodyContainer.cpp
cc1plus: error: unrecognized command line option "-fopenmp"

Bruno


Bruno Chareyre a écrit :
> Sorry if this has been discussed already, but I think a check on OpenMP 
> is needed in scons build process.
> I had a compilation error because OpenMP was not installed, but scons 
> didn't tell that this prerequisite was missing.
>
> Bruno
>
>   


-- 
 
_______________
Chareyre Bruno
Maitre de conference

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________

_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References