-
Notifications
You must be signed in to change notification settings - Fork 58
Illegal instruction (was: cmake error - build from source on linux centOS6) #157
Comments
CMakeOutput.log |
As you probably noted in the Shasta documentation on building from source, the only Linux system on which we support building the code is Ubuntu. The static executable built on Ubuntu 20.04 (distributed in the latest release as Porting to CentOS 6 is a non-trivial project because of the Shasta dependencies. The message you posted seems to indicate an old |
HI Chan, yes, I actually followed the shasta/scripts/InstallPrerequisites-macos/ubuntu.sh and installed all the prerequisite packages. It took me a while but I was able to install all of them. Yet it still failed. While writing this email, I tried './shasta-OldLinux-0.5.0 -h', miraculously it seems working by printing out usage without exporting any error. I would assume it is working tentatively. I would let you know if I run additional package related issues during running, which I hope won't happen. thanks a lot for your answer and patience. best, |
However, during the run process, it still reported errors:/. so the shasta-OldLinux-0.5.0 might still have errors. |
Please post the complete assembly log ( |
PBS_shasta_oldLinux2.o1764341.txt |
Thank you. I suspect a problem in the Spoa library and filed an issue there. We will need an additional piece of information from you: the
Depending on how long it takes to diagnose and fix the Spoa issue, we may have to downgrade Shasta back to an older version of Spoa, or perhaps just create for you a temporary Shasta build done with an older version of Spoa. |
It turns out that the problem is on our side, not the Spoa library. We will provide soon a fixed executable for you to test. |
@zhenzhenyang-psu : Could you please download the Shasta binary from https://github.com/bagashe/shasta/suites/827089314/artifacts/9192038 and test it out? Clicking on that link will download |
@zhenzhenyang-psu, once we know that this fixed executable works for you we will create a new Shasta release with the fix. |
sounds great! let me try the new link first.
thanks,
zhenzhen
获取 Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: paoloczi <[email protected]>
Sent: Tuesday, June 23, 2020 1:12:05 AM
To: chanzuckerberg/shasta <[email protected]>
Cc: zhenzhenyang-psu <[email protected]>; Mention <[email protected]>
Subject: Re: [chanzuckerberg/shasta] Illegal instruction (was: cmake error - build from source on linux centOS6) (#157)
@zhenzhenyang-psu<https://github.com/zhenzhenyang-psu>, once we know that this fixed executable works for you we will create a new Shasta release with the fix.
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#157 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACFCJW2L6QJ4OWMCD7F2ETTRX6GGLANCNFSM4ODZQAUQ>.
|
hello Chan, this version seems to work well. See the output: I don't understand about this: thanks, |
Great, thank you for letting us know that the The memory options only affect assembly performance (that is, speed), not assembly quality. If you don't have The assembly is fragmented because you used Shasta default parameters, which are optimized for coverage 60x. Based on our previous discussion in issue #156, you are operating at coverage around 10x. There are some suggestions in issues #156 and #7 on how to optimize assembly parameters for low coverage, but we have not had the time to pursue that. |
@zhenzhenyang-psu - We just released version 0.5.1 to include a fix for this issue. Thank you for bringing it to our attention and helping test the fix. |
sure, no problem. Thanks for resolving this issue for me. With the optimized parameters for 10x coverage, the result is improved: And the commands are: Thanks, |
Thanks for the info @zhenzhenyang-psu . This is progress, but certainly not a useful assembly. Can I ask why you insist on assembling at such low coverage? No matter what, the quality of the assembly will certainly be inferior to what you can achieve at at a more standard 60x. The cost of obtaining additional coverage with nanopore data is not prohibitive, so increasing coverage seems the most logical option. If assembling at low coverage is an important application, at some point we can look at making Shasta better for this mode of operation. So far, all of our efforts have been on optimizing assembly quality at coverage around 60x. |
hi Chan,
the reason is that only so much nanopore data was generated from our collaborator.
We actually have another species with a genome size of 7Gb, sequencing with 60x coverage would be a lot more expensive.
it would be good to know the minimum coverage required for moderate assembly quality.
thanks, zhenzhen
获取 Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: paoloczi <[email protected]>
Sent: Wednesday, June 24, 2020 10:02:37 PM
To: chanzuckerberg/shasta <[email protected]>
Cc: zhenzhenyang-psu <[email protected]>; Mention <[email protected]>
Subject: Re: [chanzuckerberg/shasta] Illegal instruction (was: cmake error - build from source on linux centOS6) (#157)
Thanks for the info @zhenzhenyang-psu<https://github.com/zhenzhenyang-psu> . This is progress, but certainly not a useful assembly. Can I ask why you insist on assembling at such low coverage? No matter what, the quality of the assembly will certainly be inferior to what you can achieve at at a more standard 60x. The cost of obtaining additional coverage with nanopore data is not prohibitive, so increasing coverage seems the most logical option.
If assembling at low coverage is an important application, at some point we can look at making Shasta better for this mode of operation. So far, all of our efforts have been on optimizing assembly quality at coverage around 60x.
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#157 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACFCJW5AMW2YWYNRLRGRGQTRYIBP3ANCNFSM4ODZQAUQ>.
|
Hopefully at some point we will find some time to investigate and improve lower coverage assemblies. |
thanks! |
Hi Chan,
I had an error during cmake while trying to install from source.
I have installed all the prerequisite packages listed on your website and followed the following link:
https://chanzuckerberg.github.io/shasta/BuildingFromSource.html
module load apps/cmake/3.7.0-rc3
module load compiler/gnu/5.5.0
module load apps/glib/2.14
conda activate graphviz
cmake -DCMAKE_C_COMPILER=/public/software/compiler/gnu/5.5.0/bin/gcc -DCMAKE_CXX_COMPILER=/public/software/compiler/gnu/5.5.0/bin/g++ ../shasta_github
cmake -DCMAKE_C_COMPILER=/public/software/compiler/gnu/5.5.0/bin/gcc -DCMAKE_CXX_COMPILER=/public/software/compiler/gnu/5.5.0/bin/g++ ../shasta
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /public/software/compiler/gnu/5.5.0/bin/gcc
-- Check for working C compiler: /public/software/compiler/gnu/5.5.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /public/software/compiler/gnu/5.5.0/bin/g++
-- Check for working CXX compiler: /public/software/compiler/gnu/5.5.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SYSTEM_NAME is Linux
-- MACOS is OFF
cat: /etc/os-release: No such file or directory
-- BUILD_USE_SPOA_WITH_CPU_DISPATCH is OFF
-- BUILD_STATIC_LIBRARY is ON
-- BUILD_STATIC_EXECUTABLE is ON
-- BUILD_DYNAMIC_LIBRARY is ON
-- BUILD_DYNAMIC_EXECUTABLE is ON
-- BUILD_APPIMAGE is OFF
-- BUILD_NATIVE is OFF
-- BUILD_DEBUG is OFF
-- BUILD_ID is: Shasta development build. This is not a released version.
CMake Error at dynamicLibrary/CMakeLists.txt:74 (string):
string sub-command STRIP requires two arguments.
-- Configuring incomplete, errors occurred!
See also "/public/home/yangzhzh/tools_zz/shasta-build/CMakeFiles/CMakeOutput.log".
Do you have any idea why?
'cat: /etc/os-release: No such file or directory' not sure if it has something to do with this?
thanks a lot,
zhenzhen
The text was updated successfully, but these errors were encountered: