Comments (3)
Hi,
It seems that yes your processor is not detected by default. We should set arch to auto for your configuration.
What is happening if you are just commenting the call to OptimizeForArchitecture?
from openmvg.
I commented out OptimizeForArchitecture in CMakeList and recompiled and installed the binaries. There were no speed difference. It is near identical. Also prior to your answer I tried to give every supported instruction set manually to compiler as option and it didn't change the result either.
Following is the output of cmake after commenting OptimizeForArchitecture
cmake -DCMAKE_BUILD_TYPE=RELEASE ../src/ -DOpenMVG_BUILD_TESTS=ON
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking for C++11 compiler
-- Checking for C++11 compiler - available
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Flann 1.8.4 found (include: /home/trio/dev/openMVG/src/third_party/flann/src/cpp/flann)
-- CoinUtils 2.10.13 found (include: /home/trio/dev/openMVG/src/dependencies/osi_clp/CoinUtils/src)
-- Clp 1.16.10 found (include: /home/trio/dev/openMVG/src/dependencies/osi_clp/Clp/src)
-- You are attempting to build without Osi. Please use cmake variable -DOSI_INCLUDE_DIR_HINTS:STRING="PATH" or OSI_INCLUDE_DIR_HINTS env. variable to a valid Osi path. Or install last Osi version.
CMake Deprecation Warning at dependencies/osi_clp/CMakeLists.txt:6 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Lemon found (include: /home/trio/dev/openMVG/src/third_party/lemon/lemon)
CMake Deprecation Warning at third_party/lemon/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.12")
-- Found Wget: /usr/bin/wget
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find Ghostscript (missing: GHOSTSCRIPT_EXECUTABLE)
-- Could NOT find COIN (missing: COIN_INCLUDE_DIR COIN_CBC_LIBRARY COIN_CBC_SOLVER_LIBRARY COIN_CGL_LIBRARY COIN_CLP_LIBRARY COIN_COIN_UTILS_LIBRARY COIN_OSI_LIBRARY COIN_OSI_CBC_LIBRARY COIN_OSI_CLP_LIBRARY)
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long long
-- Check size of long long - done
CMake Deprecation Warning at third_party/ceres-solver/CMakeLists.txt:32 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at third_party/ceres-solver/CMakeLists.txt:33 (cmake_policy):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
===============================================================
Ceres-solver configuration.
===============================================================
-- Detected Ceres version: 1.13.0 from /home/trio/dev/openMVG/src/third_party/ceres-solver/include/ceres/version.h
-- Eigen 3.4.0 found (include: /usr/local/include/eigen3)
-- Found Eigen version 3.4.0: /usr/local/include/eigen3
===============================================================
Enabling the use of Eigen as a sparse linear algebra library
for solving the nonlinear least squares problems. Enabling
this option results in an LGPL licensed version of
Ceres Solver as the Simplicial Cholesky factorization in Eigen
is licensed under the LGPL.
===============================================================
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found LAPACK library: /usr/lib/x86_64-linux-gnu/liblapack.so;/usr/lib/x86_64-linux-gnu/libblas.so;/usr/lib/x86_64-linux-gnu/libf77blas.so;/usr/lib/x86_64-linux-gnu/libatlas.so
-- Found BLAS library: /usr/lib/x86_64-linux-gnu/libblas.so;/usr/lib/x86_64-linux-gnu/libf77blas.so;/usr/lib/x86_64-linux-gnu/libatlas.so
-- Building without SuiteSparse.
-- Building without CXSPARSE.
-- Google Flags disabled; no tests or tools will be built!
-- Compiling minimal glog substitute into Ceres.
-- Using minimal glog substitute (include): internal/ceres/miniglog
-- Building with OpenMP.
-- Performing Test COMPILER_HAS_CXX11_FLAG
-- Performing Test COMPILER_HAS_CXX11_FLAG - Success
-- Looking for C++ include unordered_map
-- Looking for C++ include unordered_map - found
-- Performing Test HAVE_UNORDERED_MAP_IN_STD_NAMESPACE
-- Performing Test HAVE_UNORDERED_MAP_IN_STD_NAMESPACE - Success
-- Found unordered_map/set in std namespace.
-- Looking for C++ include memory
-- Looking for C++ include memory - found
-- Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE
-- Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE - Success
-- Found shared_ptr in std namespace using <memory> header.
-- Building Ceres as a static library.
-- Creating configured Ceres config.h output directory: /home/trio/dev/openMVG/make/third_party/ceres-solver/config/ceres/internal
-- Enabling CERES_USE_EIGEN_SPARSE in Ceres config.h
-- Enabling CERES_NO_SUITESPARSE in Ceres config.h
-- Enabling CERES_NO_CXSPARSE in Ceres config.h
-- Enabling CERES_USE_OPENMP in Ceres config.h
-- Enabling CERES_HAVE_PTHREAD in Ceres config.h
-- Enabling CERES_HAVE_RWLOCK in Ceres config.h
-- Enabling CERES_STD_UNORDERED_MAP in Ceres config.h
-- Do not build any example.
===============================================================
Ceres-solver configuration end.
===============================================================
CMake Deprecation Warning at third_party/flann/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
Compiler: GNU 11.4.0 (/usr/bin/c++)
-- Rerun SDK install version: 0.16.0
** Found Qt5, GUI modules will be build
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
Sphinx need to be installed to generate the sphinx documentation
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Doxygen need to be installed to generate the doxygen documentation
** OpenMVG version: 2.1.0
** Build Shared libs: OFF
** Build OpenMVG tests: ON
** Build OpenMVG softwares: ON
** Build OpenMVG GUI softwares: ON
** Build OpenMVG documentation: ON
** Build OpenMVG samples applications: ON
** Build OpenMVG openGL examples: OFF
** Enable code coverage generation: OFF
** Enable OpenMP parallelization: ON
** Build OpenCV+OpenMVG samples programs: OFF
** Use OpenCV SIFT features: OFF
** Use LiGT for global translation estimation: ON
-- CEREAL: (internal)
-- EIGEN: (external)
-- CERES: 1.13.0 (internal)
-- FLANN: 1.8.4 (internal)
-- LIBTIFF: 4.3.0 (external)
-- LIBPNG: 1.6.37 (external)
-- LIBJPEG (external)
-- CLP: 1.16.10 (internal)
-- COINUTILS: 2.10.13 (internal)
-- OSI: (internal)
-- LEMON: 1.3 (internal)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/trio/dev/openMVG/make
I'm open to trying everthing you suggest. I just want to be able to take advantage of this servers power.
from openmvg.
@pmoulon Hey I can guess you are really busy but can you please guide me when you are available? I really need some help on this.
from openmvg.
Related Issues (20)
- Reconstruct mulitple sub-models from an image set? HOT 2
- Can Triangulate2View used if the poses are known ? HOT 2
- The exif data i.e., focal length of an image is missing
- Unable to convert sfm_perspective_data.bin to OpenMVS
- retrieving point cloud after SfM from `sfm_data.bin` HOT 2
- How to use existing reconstruction to constraint a new reconstruction
- Known partial camera pose relationships HOT 1
- `openMVG_main_openMVGSpherical2Cubic` causes segmentation fault HOT 5
- SfM from known poses
- Pixi Cmake Installation HOT 1
- Issue while geo-referencing
- Masks not working when transferring to openMVS HOT 2
- The New Executable for Control Point Registration on the Command Line #1239 cannot be find in the latest develop branch
- openMVG/src/openMVG_Samples/visualize_sfm_data/visualize_sfm_data.cpp HOT 4
- New 3D reconstruction method HOT 3
- Problem with `openMVG_main_ComputeStructureFromKnownPoses`
- Specify rerun-io version in visualize_sfm_data/CMakeLists.txt HOT 1
- compile error: ‘TranslationAndMat3x3’ is not a member of ‘rerun::datatypes’ HOT 3
- Issue in geo-referencing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmvg.