vpc-ccg / calib

Calib clusters barcode tagged paired-end reads based on their barcode and sequence similarity.
MIT License
38 stars 9 forks source link

"Illegal instruction: 4" error while running calib_cons #48

Open kartikchandran opened 2 years ago

kartikchandran commented 2 years ago

Hi there,

I'm working on.an Apple M1 Pro Mac running OS X Monterey 12.2.1. I was able to run calib on my fastq files to generate the cluster file but calib_cons gives me an "Illegal instruction: 4" error.

I was able to run Calib fine on my previous Intel Mac so I thought this might be due to the change in chip architecture. I tried running in Rosetta mode by prefixing with "arch -x86_64" but that gave me the same error.

Look forward to your input on how to fix this.

Thanks! Kartik

kartikchandran commented 2 years ago

I ran calib_cons in lldb and got the following output:

run -c /Users/kartik/ncbi/capseq/run2/calib/1WT-S_calib_cluster -q /Users/kartik/ncbi/capseq/run2/reoriented_reads/1WT-S_reoriented_R1.fastq /Users/kartik/ncbi/capseq/run2/reoriented_reads/1WT-S_reoriented_trimmed_R2.fastq -o 1WT-S_calib_R1 1WT-S_calib_R2 Process 41055 launched: '/usr/local/bin/calib_cons' (x86_64) Reading cluster file: /Users/kartik/ncbi/capseq/run2/calib/1WT-S_calib_cluster Reading fastq file: /Users/kartik/ncbi/capseq/run2/reoriented_reads/1WT-S_reoriented_R1.fastq Writing output files: 1WT-S_calib_R1 Process 41055 stopped

baraaorabi commented 2 years ago

Hello @kartikchandran

Can share the commands used to install Calib and Calib cons module? I haven't done any testing on MACOS and I suspect this is a MACOS issue...