Closed mictadlo closed 6 years ago
Hello Michal, the error illegal instruction means that racon was run on a machine which does not support the same SIMD instruction set as the machine it was compiled on. Are you running it with a job scheduler on a cluster of dissimilar machines?
Best regards, Robert
Hi Robert, Yes, I am using racon from bioconda
> source activate racon
(racon) > which racon
/work/waterhouse_team/miniconda2/envs/racon/bin/racon
(racon) > racon --version
v1.2.1
Do you think the package has a mistake?
Thank you in advance,
Michal
The package should be alright. Are you using a cluster?
Yes, I am. PBSpro and SuSe 12.
Is it possible that your cluster is not homogeneous, i.e. machines have different CPUs/compilers? Racon uses SIMD instructions and you sometimes can't compile it on one machine and run it on another. The illegal instruction error indicates that this might be happening.
yes, the cluster is not homogeneous. How can I find out which CPU time is supported by racon?
All should be compatible, try compiling racon on each machine individually.
Has been solved with #PBS -l cpuarch=avx2
Hi @rvaser, I'm getting the same error while recon installed with anaconda. (base) [pls@carinata R3]$ racon -t 12 R3.fastq draft_assembly.paf miniasm1.fa > draft_assembly.racon.fasta Illegal instruction
however i try racon installed locally, I am getting different error. racon -t 12 R3.fastq draft_assembly.paf miniasm1.fa > draft_assembly.racon.fasta ERROR: Not all required arguments specified. Parameter 'reads' missing a value. Exiting.
@mictadlo could u pls give more explanation about this #PBS -l cpuarch=avx2.
could you plz help me to fix this issue. Thanks sam
Hi @bioteksampath, which version of racon are you using?
Best regards, Robert
Hi Thanks for your prompt response. Appreciated! Im using 1.2.1 for both cases.
Sam
The error message that is printed (ERROR: Not all required arguments specified. Parameter 'reads' missing a value. Exiting.) is present before version 1.0.0. (all above have a different argument parser and all error messages start with [racon::
). Please check whether you have an older racon version installed on your computer (somewhere in PATH) which is called before the new one.
Best regards, Robert
yes.. Im sorry it was an old verion. I uninstalled older versions and installed racon 1.3.0 through conda. [pls@carinata R3]$ racon -t 12 R3.fastq draft_assembly.paf miniasm1.fa > draft_assembly.racon.fasta Illegal instruction
but i'm still getting Error.
Regards sam
Did you by any chance compile racon on one machine and run it on another? If not, could you please provide your OS version and compiler version? Illegal instruction means that the generated SIMD instructions are not compatible.
Best regards, Robert
Hi,
Is that information you are looking for?
gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)
Linux xxx.agr.gc.ca 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug 23 19:58:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Thanks & regards sampath
Racon requires gcc 4.8+ (c++11 standard) but it is weird that gcc 4.4.7, which has experimental support (c++0x), compiled. Can you try with a newer compiler? Although, I am not sure that this is the main reason for the illegal instruction error.
Best regards, Robert
yes .. i had reinstalled the older version and installed racon with conda (new environment) and it worked! Thanks for you help @rvaser
Have a great day!
Hi, I got the below error when I tried to assemble genomic R genes
What did I miss?
Thank you in advance,
Michal