Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failure on Ubuntu #126

Open
tashrifbillah opened this issue Feb 21, 2020 · 2 comments
Open

Installation failure on Ubuntu #126

tashrifbillah opened this issue Feb 21, 2020 · 2 comments

Comments

@tashrifbillah
Copy link
Collaborator

Hi @rmukh ,

Did you ever attempt to build UKFTractography on a Ubuntu machine? Our user @jarrett-rushmore ran into the following error. Looking at the console, I am not clear about the reason or solution. Would you be able to advise?

cc @yrathi

-- Build files have been written to: /home/jarrett/pnlpipe/soft_dir/UKFTractography-build/UKFTractography-build
[ 95%] Performing build step for 'UKFTractography'
[  3%] Generating vtk2maskCLP.h
[  3%] Generating fibertractdispersionCLP.h
Scanning dependencies of target _GEN_GITVER
[  4%] Generating vtkFilterCLP.h
[  6%] Generating UKF_GIT_HASH
[  6%] Built target _GEN_GITVER
[  7%] Generating UKFTractographyCLP.h
Illegal instruction (core dumped)
vtk2mask/CMakeFiles/vtk2maskLib.dir/build.make:62: recipe for target 'vtk2mask/vtk2maskCLP.h' failed
make[5]: *** [vtk2mask/vtk2maskCLP.h] Error 132
CMakeFiles/Makefile2:1260: recipe for target 'vtk2mask/CMakeFiles/vtk2maskLib.dir/all' failed
make[4]: *** [vtk2mask/CMakeFiles/vtk2maskLib.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
Illegal instruction (core dumped)
fibertractdispersion/CMakeFiles/fibertractdispersionLib.dir/build.make:62: recipe for target 'fibertractdispersion/fibertractdispersionCLP.h' failed
make[5]: *** [fibertractdispersion/fibertractdispersionCLP.h] Error 132
CMakeFiles/Makefile2:1206: recipe for target 'fibertractdispersion/CMakeFiles/fibertractdispersionLib.dir/all' failed
make[4]: *** [fibertractdispersion/CMakeFiles/fibertractdispersionLib.dir/all] Error 2
Illegal instruction (core dumped)
vtkFilter/CMakeFiles/vtkFilterLib.dir/build.make:62: recipe for target 'vtkFilter/vtkFilterCLP.h' failed
make[5]: *** [vtkFilter/vtkFilterCLP.h] Error 132
CMakeFiles/Makefile2:1341: recipe for target 'vtkFilter/CMakeFiles/vtkFilterLib.dir/all' failed
make[4]: *** [vtkFilter/CMakeFiles/vtkFilterLib.dir/all] Error 2
Illegal instruction (core dumped)
ukf/CMakeFiles/UKFBase.dir/build.make:65: recipe for target 'ukf/UKFTractographyCLP.h' failed
make[5]: *** [ukf/UKFTractographyCLP.h] Error 132
CMakeFiles/Makefile2:1015: recipe for target 'ukf/CMakeFiles/UKFBase.dir/all' failed
make[4]: *** [ukf/CMakeFiles/UKFBase.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/UKFTractography.dir/build.make:118: recipe for target 'UKFTractography-prefix/src/UKFTractography-stamp/UKFTractography-build' failed
make[2]: *** [UKFTractography-prefix/src/UKFTractography-stamp/UKFTractography-build] Error 2
CMakeFiles/Makefile2:122: recipe for target 'CMakeFiles/UKFTractography.dir/all' failed
make[1]: *** [CMakeFiles/UKFTractography.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

@rmukh
Copy link
Contributor

rmukh commented Feb 21, 2020

Hi @tashrifbillah,

The log is not full, so it is hard to make a definitive conclusion. However, I found a line "Illegal instruction (core dumped)". That typically means that one of the CPU instructions (like AVX, SSE) is passed the test in CMake (maybe in one of the libraries), so it was included for compilation, but, in reality, target CPU does not support this instruction.

I have tried to compile on my Ubuntu machine, and compilation went smoothly with no errors. The configuration I used for the compilation test:
Ubuntu 18.04.4 LTS (4.15.0-76 x86_64)
gcc/g++ 7.4.0
CMake 3.10.2
Intel i7 4th generation

@tashrifbillah
Copy link
Collaborator Author

Closing due to no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants