Hi, Chuck!

Thank you for the response, unfortunately it doesn't help:
1. during the cmake step now I see a lot of messages:
{{{
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES)
}}}
2. however, I see "Configuring done" message at the end and
3. then a lot of dev-messages like this one:
{{{
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in Plugins/SciberQuestToolKit/CMakeLists.txt:
Policy CMP0021 is not set: Fatal error on relative paths in
INCLUDE_DIRECTORIES target property. Run "cmake --help-policy CMP0021" for
policy details. Use the cmake_policy command to set the policy and
suppress this warning.

Found relative path while evaluating include directories of
"vtkSciberQuestCS":

"option"
}}}
4. OK, configuring done, so I type "make" and see this:
{{{
CMake Error: Parse error in cache file /home/gennadiy/bin/pv.build/CMakeCache.txt. Offending entry: /usr/lib/../lib64/crt1.o:;In;function;`_start': CMake Error: Parse error in cache file /home/gennadiy/bin/pv.build/CMakeCache.txt. Offending entry: /usr/src/packages/BUILD/glibc-2.11.1/csu/../sysdeps/x86_64/elf/start.S:109:;undefined;reference;to;`main' CMake Error: Parse error in cache file /home/gennadiy/bin/pv.build/CMakeCache.txt. Offending entry: /usr/lib/../lib64/crt1.o:;In;function;`_start': CMake Error: Parse error in cache file /home/gennadiy/bin/pv.build/CMakeCache.txt. Offending entry: /usr/src/packages/BUILD/glibc-2.11.1/csu/../sysdeps/x86_64/elf/start.S:109:;undefined;reference;to;`main' CMake Error: Parse error in cache file /home/gennadiy/bin/pv.build/CMakeCache.txt. Offending entry: /common/intel/composer_xe_2015.0.090/compiler/lib/intel64/for_main.o:;In;function;`main': CMake Error: Parse error in cache file /home/gennadiy/bin/pv.build/CMakeCache.txt. Offending entry: /export/users/nbtester/efi2linux_nightly/branch-15_0/20140724_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x2a):;undefined;reference;to;`MAIN__'
}}}
5. and then cmake (not make!) continues from HDF5 tests and
6. finally
{{{
-- Configuring incomplete, errors occurred!
See also "/home/gennadiy/bin/pv.build/CMakeFiles/CMakeOutput.log".
See also "/home/gennadiy/bin/pv.build/CMakeFiles/CMakeError.log".
}}}



On 19.02.2016 19:42, Chuck Atkins wrote:
Hi Gena,

Sometime oddities like this show up when different compiler wrappers are
being used.  In this case, your using the Intel MPI wrappers for all
compilations.  Try bypassing them for the main compilation and only using
them for MPI detection:

CC=icc CXX=icpc FC=ifort \
cmake \
   -DMPI_C_COMPILER=mpiicc \
   -DMPI_CXX_COMPILER=mpiicpc \
   -DMPI_Fortran_COMPILER=mpiifort \
   <rest_of_cmake options>

- Chuck

On Fri, Feb 19, 2016 at 5:13 AM, Gena Bug <[email protected]> wrote:

Hi!

I was trying to build pv5 with mpi and osmesa and couldn't pass cmake
step. I use this command:

~/bin/cmake/bin/cmake -G "Unix Makefiles" \
-DBUILD_TESTING=OFF \
-DPARAVIEW_USE_MPI=ON \
-DPYTHON_LIBRARY="/home/gennadiy/bin/python/lib/libpython2.7.a" \
-DPYTHON_INCLUDE_DIR="/home/gennadiy/bin/python/include/python2.7" \
-DPYTHON_EXECUTABLE="/home/gennadiy/bin/python/bin/python" \
-DPARAVIEW_ENABLE_PYTHON=ON \
-DPARAVIEW_BUILD_QT_GUI=OFF \
-DVTK_USE_X=OFF \
-DOPENGL_INCLUDE_DIR="/home/gennadiy/bin/mesa/include" \
-DOPENGL_gl_LIBRARY="/home/gennadiy/bin/mesa/lib/libOSMesa.so" \
-DOPENGL_glu_LIBRARY="" \
-DVTK_OPENGL_HAS_OSMESA=ON \
-DOSMESA_INCLUDE_DIR="/home/gennadiy/bin/mesa/include" \
-DOSMESA_LIBRARY="/home/gennadiy/bin/mesa/lib/libOSMesa.so" \
-DCMAKE_INSTALL_PREFIX="/home/gennadiy/bin/paraview" \
-DCMAKE_CXX_COMPILER="mpiicpc" \
-DCMAKE_C_COMPILER="mpiicc" \
-DCMAKE_Fortran_COMPILER="mpiifort" \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_CXX_FLAGS_RELEASE=" -O2 -DNDEBUG " \
-DCMAKE_C_FLAGS_RELEASE=" -O2 -DNDEBUG " \
<path>

(cmake 3.4.1, 3.4.3 and 3.5rc3 downloaded from the site, custom python
2.7.11 and mesa 11.1.2 were used.)

and at the end of its output I see this:
{{{
...
-- Configuring incomplete, errors occurred!
See also "/home/gennadiy/bin/pv.build/CMakeFiles/CMakeOutput.log".
See also "/home/gennadiy/bin/pv.build/CMakeFiles/CMakeError.log".
}}}

Both log-files contain a lot of information however I can't figure out the
real problem -- both contain the output from failed tests and nothing about
why configuration failed.

Stdout also looks normal except messages about sizeof types:
{{{
...
-- HDF5: Performing Other Test HAVE_STAT64_STRUCT - Success
-- Looking for fstat64
-- Looking for fstat64 - found
-- Looking for stat64
-- Looking for stat64 - found
-- Check size of char
CMake Error at
/home/gennadiy/bin/cmake/share/cmake-3.4/Modules/CheckTypeSize.cmake:124
(try_compile):
   Cannot copy output executable

     ''

   to destination specified by COPY_FILE:


'/home/gennadiy/bin/pv.build/CMakeFiles/CheckTypeSize/H5_SIZEOF_CHAR.bin'

   Unable to find the executable at any of:

     /home/gennadiy/bin/pv.build/CMakeFiles/CMakeTmp/cmTC_bf5e7
     /home/gennadiy/bin/pv.build/CMakeFiles/CMakeTmp/Debug/cmTC_bf5e7
     /home/gennadiy/bin/pv.build/CMakeFiles/CMakeTmp/Development/cmTC_bf5e7

Call Stack (most recent call first):

/home/gennadiy/bin/cmake/share/cmake-3.4/Modules/CheckTypeSize.cmake:249
(__check_type_size_impl)
   VTK/ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake:512
(CHECK_TYPE_SIZE)
   VTK/ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake:519
(H5_CHECK_TYPE_SIZE)
   VTK/ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:276 (include)
...
}}}

Can anyone point me to a real problem?

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview



_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to