yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #09095
Re: [Question #244322]: Compilation with Portland compiler
Question #244322 on Yade changed:
https://answers.launchpad.net/yade/+question/244322
Status: Answered => Open
Klaus Thoeni is still having a problem:
Hi Anton,
please can you have a look at the output below [1]? CMake is working
with one minor (pgcc-Error-Unknown switch: -dumpversion) error. However,
compilation fails. I am guessing because of some flags which are not
recognised by pgc++. Any idea?
Thanks,
Klaus
[1]
$export CC=/opt/pgi/linux86-64/13.3/bin/pgcc
$export CXX=/opt/pgi/linux86-64/13.3/bin/pgc++
$ cmake -DINSTALL_PREFIX=~/YADE-git/master_AMD/install ~/YADE-git/master_AMD/trunk -DENABLE_GUI=OFF -DCMAKE_C_COMPILER=/opt/pgi/linux86-64/13.3/bin/pgcc -DCMAKE_CXX_FLAGS='-tp=bulldozer-64'
-- The C compiler identification is PGI 13.3.0
-- The CXX compiler identification is PGI 13.3.0
-- Check for working C compiler: /opt/pgi/linux86-64/13.3/bin/pgcc
-- Check for working C compiler: /opt/pgi/linux86-64/13.3/bin/pgcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /opt/pgi/linux86-64/13.3/bin/pgc++
-- Check for working CXX compiler: /opt/pgi/linux86-64/13.3/bin/pgc++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.4")
-- Found PythonInterp: /usr/bin/python (found version "2.6.6")
-- Try OpenMP C flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -mp
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.6.2")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")
-- Version is set to 2014-01-25.git-22c2441
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib64/libgl2ps.so
-- Found CGAL: /usr/include/CGAL, /usr/lib64/libCGAL.so
-- Found NumPy: version "1.4.1" /usr/lib64/python2.6/site-packages/numpy/core/include
-- Found Loki: /usr/include
pgcc-Error-Unknown switch: -dumpversion
-- Boost version: 1.48.0
-- Found the following Boost libraries:
-- python
-- thread
-- date_time
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- Boost_VERSION: 104800
-- Boost_LIB_VERSION: 1_48
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib64/libboost_python-mt.so/usr/lib64/libboost_thread-mt.so/usr/lib64/libboost_date_time-mt.so/usr/lib64/libboost_filesystem-mt.so/usr/lib64/libboost_iostreams-mt.so/usr/lib64/libboost_regex-mt.so/usr/lib64/libboost_serialization-mt.so/usr/lib64/libboost_system-mt.so
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5")
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Found Eigen3
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib64/glib-2.0/include
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - found
-- Found GTS
-- GMP libs: /usr/lib64/libgmp.so /usr/lib64/libgmpxx.so
-- Found GMP: /usr/include
-- GMP libs: /usr/lib64/libgmp.so /usr/lib64/libgmpxx.so
-- Found CGAL
-- Could NOT find Cholmod (missing: CHOLMOD_LIBRARIES CHOLMOD_INCLUDE_DIR AMD_LIBRARY CAMD_LIBRARY COLAMD_LIBRARY CCOLAMD_LIBRARY)
-- Could NOT find OpenBlas (missing: OPENBLAS_LIBRARY)
-- Could NOT find Metis (missing: METIS_INCLUDE_DIR METIS_LIBRARY)
-- Missing dependency for LINSOLV, disabled
-- Found GL2PS
Yade will be installed to /home/kt748/YADE-git/master_AMD/install
-- Suffix is set to -2014-01-25.git-22c2441
-- LIBRARY_OUTPUT_PATH is set to lib64
-- runtimePREFIX is set to /home/kt748/YADE-git/master_AMD/install
-- Could NOT find gts (missing: PY_gts)
-- Use embedded version of gts. Please, consider installing the corresponding package
-- Could NOT find minieigen (missing: PY_minieigen)
-- Use embedded version of minieigen. Please, consider installing the corresponding package
-- Found Tkinter: /usr/lib64/python2.6/lib-tk/Tkinter.pyc
-- ===========================================================
-- Yade configured with following features: Eigen3 VTK OpenMP GTS CGAL PFVflow GL2PS
-- Disabled features: GUI LinSolv
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kt748/YADE-git/master_AMD/build
$ make -j6
Scanning dependencies of target miniEigen
Scanning dependencies of target _gts
Scanning dependencies of target _polyhedra_utils
Scanning dependencies of target WeightedAverage2d
Scanning dependencies of target _packObb
Scanning dependencies of target yade
[ 0%] [ 1%] Building CXX object py/CMakeFiles/WeightedAverage2d.dir/WeightedAverage2d.cpp.o
[ 1%] Building CXX object CMakeFiles/miniEigen.dir/py/mathWrap/miniEigen.cpp.o
Building CXX object py/CMakeFiles/_packObb.dir/pack/_packObb.cpp.o
[ 2%] Building CXX object py/CMakeFiles/_polyhedra_utils.dir/_polyhedra_utils.cpp.o
[ 2%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/edge.c.o
pgc++-Error-Unknown switch: -frounding-math
pgc++-Error-Unknown switch: -frounding-math
pgc++-Error-Unknown switch: -frounding-math
make[2]: *** [py/CMakeFiles/WeightedAverage2d.dir/WeightedAverage2d.cpp.o] Error 1
make[1]: *** [py/CMakeFiles/WeightedAverage2d.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/miniEigen.dir/py/mathWrap/miniEigen.cpp.o] Error 1
make[1]: *** [CMakeFiles/miniEigen.dir/all] Error 2
make[2]: *** [py/CMakeFiles/_packObb.dir/pack/_packObb.cpp.o] Error 1
make[1]: *** [py/CMakeFiles/_packObb.dir/all] Error 2
[ 3%] [ 3%] [ 4%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/face.c.o
Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/object.c.o
Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/cleanup.c.o
pgc++-Error-Unknown switch: -frounding-math
make[2]: *** [py/CMakeFiles/_polyhedra_utils.dir/_polyhedra_utils.cpp.o] Error 1
make[1]: *** [py/CMakeFiles/_polyhedra_utils.dir/all] Error 2
[ 5%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/vertex.c.o
[ 5%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/triangle.c.o
[ 6%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/point.c.o
[ 6%] [ 7%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/pygts.c.o
Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/surface.c.o
[ 7%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/segment.c.o
[ 8%] Building CXX object CMakeFiles/yade.dir/core/ThreadRunner.cpp.o
[ 8%] Building CXX object CMakeFiles/yade.dir/core/State.cpp.o
[ 9%] Building CXX object CMakeFiles/yade.dir/core/Interaction.cpp.o
[ 9%] Building CXX object CMakeFiles/yade.dir/core/Material.cpp.o
pgc++-Error-Unknown switch: -frounding-math
pgc++-Error-Unknown switch: -frounding-math
make[2]: *** [CMakeFiles/yade.dir/core/ThreadRunner.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
pgc++-Error-Unknown switch: -frounding-math
make[2]: *** [CMakeFiles/yade.dir/core/State.cpp.o] Error 1
pgc++-Error-Unknown switch: -frounding-math
make[2]: *** [CMakeFiles/yade.dir/core/Interaction.cpp.o] Error 1
make[2]: *** [CMakeFiles/yade.dir/core/Material.cpp.o] Error 1
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
Linking C shared library lib64/_gts.so
IPA inhibited: no main routine
[ 9%] Built target _gts
make: *** [all] Error 2
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.