Skip to content

Instantly share code, notes, and snippets.

@zbyerly
Created August 28, 2014 18:48
Show Gist options
  • Save zbyerly/fb0be4cd6ec54498d52d to your computer and use it in GitHub Desktop.
Save zbyerly/fb0be4cd6ec54498d52d to your computer and use it in GitHub Desktop.
[13:42:32]:durandal:~/research/libgeodecomp/build:0:$ cmake -DWITH_MPI=false -DWITH_SILO=false ..
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- system
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- serialization
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- thread
-- Could NOT find Boost
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- mpi
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- Could NOT find OpenCL (missing: OPENCL_LIBRARIES OPENCL_INCLUDE_DIRS)
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so;/usr/lib/openmpi/lib/libopen-rte.so;/usr/lib/openmpi/lib/libopen-pal.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libnsl.so;/usr/lib/x86_64-linux-gnu/libutil.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libdl.so
-- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so;/usr/lib/openmpi/lib/libopen-rte.so;/usr/lib/openmpi/lib/libopen-pal.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libnsl.so;/usr/lib/x86_64-linux-gnu/libutil.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libdl.so
-- WARNING: OpenCV was not found. Please specify OpenCV directory using OpenCV_DIR env. variable
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version "2.7.3", required is "2")
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- Checking for package 'SCOTCH-PT'
-- SCOTCH could not be found. Be sure to set SCOTCH_DIR. (missing: SCOTCH_LIBRARIES SCOTCH_INCLUDE_DIRS SCOTCH_TEST_RUNS)
-- Found Silo: /usr/lib/x86_64-linux-gnu/libsiloh5.so
-- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTOPENGL_INCLUDE_DIR QT_QTOPENGL_LIBRARY QT_QTGUI_INCLUDE_DIR QT_QTGUI_LIBRARY QT_QTCORE_INCLUDE_DIR QT_QTCORE_LIBRARY QT_UIC_EXECUTABLE)
-- Could NOT find VisIt (missing: VisIt_INCLUDE_DIRS VisIt_LIBRARIES)
-- Performing Test SUPPORTS_MARCH_NATIVE
-- Performing Test SUPPORTS_MARCH_NATIVE - Success
-- The following options have been configured:
* ADDITIONAL_COMPILE_FLAGS=" -Wall -Wno-sign-promo -Wnon-virtual-dtor -march=native",
default=" -Wall -Wno-sign-promo -Wnon-virtual-dtor -march=native"
Add these flags when compiling.
* CMAKE_BUILD_TYPE="Release",
default="Release"
Sets the compile/link options, e.g. Debug, Release... Refer to the cmake documentation for more details.
* CAKE_CXX_COMPILER="/usr/bin/c++",
default="/usr/bin/c++"
Select the C++ compiler
* CMAKE_INSTALL_PREFIX="/usr/local",
default="/usr/local"
Path for installation
* DEBUG_LEVEL="0 ",
default="0 "
Configure the amount/verbosity of debug output
* LIB_LINKAGE_TYPE="SHARED",
default="SHARED"
Controls which type of library to build. Suggested: SHARED on Linux (creates a shared object "libgeodecomp.so"), STATIC should work for builds on Cray and Windows.
* LIMIT_TESTS="false",
default="false"
Limit the directories of tests to run. Only tests matching the specified pattern will be run.
* UNITEXEC="",
default=""
May be used to specify a wrapper which then calls a unit test executable. Handy if for instance the unit tests shall be run on a remote machine.
* WITH_BOOST_MOVE="false",
default="false"
Enable/disable Boost.Move for move semantics (e.g. to avoid copies of vectors).
* WITH_BOOST_MPI="ON",
default="ON"
Enable/disable Boost.MPI related code.
* WITH_BOOST_SERIALIZATION="ON",
default="ON"
Explicitly disable Boost.Serialization, which isn't available on some machines (e.g. woody.rrze.uni-erlangen.de). Don't do this if you need the HPX backend.
* WITH_CUDA="FALSE",
default="FALSE"
Enable modules which harness Nvidia CUDA GPUs
* WITH_HPX="false",
default="false"
Build those modules which require HPX
* WITH_INTRINSICS="true",
default="true"
Switch on/off the code parts which require SSE or AVX intrinsics
* WITH_LAX_VISIT_TESTS="false",
default="false"
Remove some of the stricter assertions from VisIt related unit tests -- VisIt sometimes produces erroneous results when running on a remote machine (e.g. for autobuilds)
* WITH_LIBPTHREAD="true",
default="true"
Use this option to avoid linking against libpthread but instead adding -pthread to the compiler options (the former is required for CUDA when using nvcc, the latter for Android with gcc).
* WITH_MPI="false",
default="TRUE"
If set, all MPI related components will be built. This option is required for the MPI unit tests.
* WITH_OPENCL="false",
default="false"
Enable modules for delegating to OpenCL devices
* WITH_OPENCV="false",
default="false"
Build those modules which require OpenCV
* WITH_QT="FALSE",
default="FALSE"
Build example codes which rely on QT4 for the GUI
* WITH_SCOTCH="FALSE",
default="FALSE"
Enables LibGeoDecomp to use Scotch and PT-Scotch for domain decomposition.
* WITH_SILO="false",
default="YES"
Silo is a flexible output library developed by LLNL.
* WITH_THREADS="true",
default="true"
Lets you control whether we'll use threads (e.g. boost::thread)
* WITH_TYPEMAPS="FALSE",
default="FALSE"
Controls whether the build system should regenerate typemaps.{h,cpp}. Requires Ruby and some Unix tools.
* WITH_VISIT="FALSE",
default="FALSE"
Activate code parts which use VisitWriter and SerialVisitWriter
Files "/home/zbyerly/research/libgeodecomp/src/config.h" to "/home/zbyerly/research/libgeodecomp/src/config.h.new" are different.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zbyerly/research/libgeodecomp/build
[13:46:00]:durandal:~/research/libgeodecomp/build:0:$ make
Scanning dependencies of target code_generation
Code generation done.
[ 0%] Built target code_generation
Scanning dependencies of target geodecomp
[ 7%] Building CXX object src/CMakeFiles/geodecomp.dir/communication/typemaps.cpp.o
[ 7%] Building CXX object src/CMakeFiles/geodecomp.dir/io/mockinitializer.cpp.o
[ 14%] Building CXX object src/CMakeFiles/geodecomp.dir/io/mockwriter.cpp.o
[ 14%] Building CXX object src/CMakeFiles/geodecomp.dir/geometry/partitions/hilbertpartition.cpp.o
[ 21%] Building CXX object src/CMakeFiles/geodecomp.dir/geometry/partitions/hindexingpartition.cpp.o
[ 21%] Building CXX object src/CMakeFiles/geodecomp.dir/loadbalancer/biasbalancer.cpp.o
[ 28%] Building CXX object src/CMakeFiles/geodecomp.dir/loadbalancer/mockbalancer.cpp.o
[ 28%] Building CXX object src/CMakeFiles/geodecomp.dir/loadbalancer/oozebalancer.cpp.o
[ 35%] Building CXX object src/CMakeFiles/geodecomp.dir/loadbalancer/randombalancer.cpp.o
[ 42%] Building CXX object src/CMakeFiles/geodecomp.dir/misc/color.cpp.o
[ 42%] Building CXX object src/CMakeFiles/geodecomp.dir/misc/patternoptimizer.cpp.o
[ 50%] Building CXX object src/CMakeFiles/geodecomp.dir/misc/random.cpp.o
[ 50%] Building CXX object src/CMakeFiles/geodecomp.dir/misc/tempfile.cpp.o
[ 57%] Building CXX object src/CMakeFiles/geodecomp.dir/parallelization/hpxsimulator.cpp.o
[ 57%] Building CXX object src/CMakeFiles/geodecomp.dir/parallelization/mocksimulator.cpp.o
[ 64%] Building CXX object src/CMakeFiles/geodecomp.dir/parallelization/hpxsimulator/createupdategroups.cpp.o
[ 64%] Building CXX object src/CMakeFiles/geodecomp.dir/storage/image.cpp.o
Linking CXX shared library libgeodecomp.so
[ 64%] Built target geodecomp
Scanning dependencies of target ants
[ 64%] Building CXX object src/examples/ants/CMakeFiles/ants.dir/main.cpp.o
In file included from /home/zbyerly/research/libgeodecomp/src/libgeodecomp/parallelization/serialsimulator.h:10:0,
from /home/zbyerly/research/libgeodecomp/src/examples/ants/main.cpp:1:
/home/zbyerly/research/libgeodecomp/src/libgeodecomp/storage/updatefunctor.h: In member function ‘void LibGeoDecomp::UpdateFunctorHelpers::Selector<CELL>::SoARegionUpdateHelper::operator()(LibFlatArray::soa_accessor<CELL1, MY_DIM_X1, MY_DIM_Y1, MY_DIM_Z1, INDEX1>&, long int*, LibFlatArray::soa_accessor<CELL2, MY_DIM_X2, MY_DIM_Y2, MY_DIM_Z2, INDEX2>&, long int*) const’:
/home/zbyerly/research/libgeodecomp/src/libgeodecomp/storage/updatefunctor.h:65:90: error: type/value mismatch at argument 7 in template parameter list for ‘template<class CELL, class TOPOLOGY, long int DIM_X, long int DIM_Y, long int DIM_Z, long int INDEX, template<class CELL2, long int DIM_X2, long int DIM_Y2, long int DIM_Z2, long int INDEX2> class SOA_ACCESSOR_IN, template<class CELL3, long int DIM_X3, long int DIM_Y3, long int DIM_Z3, long int INDEX3> class SOA_ACCESSOR_OUT> class LibGeoDecomp::FixedNeighborhood’
/home/zbyerly/research/libgeodecomp/src/libgeodecomp/storage/updatefunctor.h:65:90: error: expected a template of type ‘template<class CELL2, long int DIM_X2, long int DIM_Y2, long int DIM_Z2, long int INDEX2> class SOA_ACCESSOR_IN’, got ‘template<class CELL, int DIM_X, int DIM_Y, int DIM_Z, int INDEX> class LibFlatArray::soa_accessor’
/home/zbyerly/research/libgeodecomp/src/libgeodecomp/storage/updatefunctor.h:65:90: error: type/value mismatch at argument 8 in template parameter list for ‘template<class CELL, class TOPOLOGY, long int DIM_X, long int DIM_Y, long int DIM_Z, long int INDEX, template<class CELL2, long int DIM_X2, long int DIM_Y2, long int DIM_Z2, long int INDEX2> class SOA_ACCESSOR_IN, template<class CELL3, long int DIM_X3, long int DIM_Y3, long int DIM_Z3, long int INDEX3> class SOA_ACCESSOR_OUT> class LibGeoDecomp::FixedNeighborhood’
/home/zbyerly/research/libgeodecomp/src/libgeodecomp/storage/updatefunctor.h:65:90: error: expected a template of type ‘template<class CELL3, long int DIM_X3, long int DIM_Y3, long int DIM_Z3, long int INDEX3> class SOA_ACCESSOR_OUT’, got ‘template<class CELL, int DIM_X, int DIM_Y, int DIM_Z, int INDEX> class LibFlatArray::soa_accessor_light’
/home/zbyerly/research/libgeodecomp/src/libgeodecomp/storage/updatefunctor.h:65:106: error: invalid type in declaration before ‘(’ token
make[2]: *** [src/examples/ants/CMakeFiles/ants.dir/main.cpp.o] Error 1
make[1]: *** [src/examples/ants/CMakeFiles/ants.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment