By the way, when I try exhaustive matching on another dataset, it crashed with following output:
Matching block [1/27, 1/27]MultiplyDescriptor: an illegal memory access was encountered
*** Aborted at 1484844693 (unix time) try "date -d @1484844693" if you are using GNU date ***
MultiplyDescriptor: an illegal memory access was encountered
MultiplyDescriptor: an illegal memory access was encountered
PC: @ 0x5cd1d4 colmap::TwoViewGeometry::EstimateCalibrated()
*** SIGSEGV (@0x7f5e240a6e80) received by PID 48737 (TID 0x7f5e617fa700) from PID 604663424; stack trace: ***
@ 0x7f5ed9868330 (unknown)
@ 0x5cd1d4 colmap::TwoViewGeometry::EstimateCalibrated()
MultiplyDescriptor: an illegal memory access was encountered
MultiplyDescriptor: an illegal memory access was encountered
@ 0x5117a5 colmap::SiftFeatureMatcher::VerifyImagePair()
@ 0x5254ee std::_Function_handler<>::_M_invoke()
@ 0x548cb9 _ZNSt5_BindIFSt8functionIFvN6colmap18SiftFeatureMatcher25GeometricVerificationDataERKNS1_16SiftMatchOptionsEPNS1_15TwoViewGeometryEEES3_S4_S8_EE6__callIvJEJLm0ELm1ELm2EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
@ 0x548d68 std::_Function_handler<>::_M_invoke()
@ 0x522ede std::_Function_handler<>::_M_invoke()
@ 0x5234fe std::__future_base::_State_base::_M_do_set()
MultiplyDescriptor: an illegal memory access was encountered
@ 0x7f5ed9865a80 __GI___pthread_once
@ 0x53ba9f std::__future_base::_Task_state<>::_M_run()
@ 0x5276f5 _ZNSt17_Function_handlerIFvvEZN6colmap10ThreadPool7AddTaskIRSt8functionIFvNS1_18SiftFeatureMatcher25GeometricVerificationDataERKNS1_16SiftMatchOptionsEPNS1_15TwoViewGeometryEEEJRS6_S9_SB_EEESt6futureINSt9result_ofIFT_DpT0_EE4typeEEOSI_DpOSJ_EUlvE_E9_M_invokeERKSt9_Any_data
@ 0x59e023 colmap::ThreadPool::WorkerFunc()
@ 0x7f5ed6913a60 (unknown)
@ 0x7f5ed9860184 start_thread
@ 0x7f5ed607b37d (unknown)
@ 0x0 (unknown)
Segmentation fault (core dumped)
The command I used is:
./src/exe/exhaustive_matcher --General.database_path /phoenix/S2/zl548/colmap_image/0040/db.db --MatchOptions.gpu_index 0
In addition, I used a database I run on my own laptop where I finished feature extraction and matching and I have no problem with SfM part using CUDA in the cluster so I don't think the reason comes from CUDA.
Thanks