Error: Failed to create thread.

20 views
Skip to first unread message

Cheng Long

unread,
Jul 28, 2024, 7:29:58 PM7/28/24
to SAMSA bioinformatics group
Hi Sam,

Thank you for your nice pipeline!

After installing, when I run both master_script_for_sample_file.bash and test_of_master_script_tiny.bash, I got the same error. 

#CPU threads: 64
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
#Target sequences to report alignments for: 1
Temporary directory: ./
Opening the database...  [9.91399s]
Opening the input file...  [0.00156s]
Opening the output file...  [0.022887s]
Loading query sequences...  [0.00556s]
Running complexity filter...  [0.010321s]
Building query histograms...  [0.014297s]
Allocating buffers...  [0.003s]
Loading reference sequences...  [55.0843s]
Building reference histograms...  [9.00006s]
Error: Failed to create thread.
'/scratch/clong2/samsa2/programs/diamond blastx --db /scratch/clong2/samsa2/full_databases/RefSeq_bac -q /home/clong2/scratch/samsa2/output/step_3_output/control_1_TINY.merged.ribodepleted.fastq -a /home/clong2/scratch/samsa2/output/step_3_output/control_1_TINY.merged.ribodepleted.fastq.RefSeq -t ./ -k 1' exited with non-zero status 1

Can you please help me with this!Thank you very much!

Regards,
Cheng

Sam Westreich

unread,
Jul 29, 2024, 4:02:40 PM7/29/24
to Cheng Long, SAMSA bioinformatics group
Hi Cheng,

Where are you running this?  This looks like a local system error (the execution doesn't have permission to create a new CPU thread).

A search showed a similar error from another bioinformatics associated group when the user was operating on a shared machine: https://groups.google.com/g/plink2-users/c/rm_ULNhSOFg?pli=1 

Is it possible to try this again and potentially allocate more memory?

Best,
Sam

--
You received this message because you are subscribed to the Google Groups "SAMSA bioinformatics group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to samsa-bioinformatic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/samsa-bioinformatics-group/54dc00ee-0c94-4187-a4d4-f9b845ad45dbn%40googlegroups.com.


--
Sam Westreich, PMP, PhD
Microbiome Scientist, DNAnexus

Andrew Forgie

unread,
Jul 29, 2024, 4:26:36 PM7/29/24
to Sam Westreich, Cheng Long, SAMSA bioinformatics group
Hi Cheng and Sam,

From what I remember the master script will not work on compute Canada because of permissions. 

I’ll have to check my scripts. The directories need to be customized depending on where they are in your scratch folder and you have to work in your scratch folder (gets deleted every month or so keep a backup). 

I broke down the master script into 3 parts to run on compute Canada. That being said, there may be another work around with compute Canada with requesting cpu or permission as Sam has stated. 

Cheers,
Andrew



On Jul 29, 2024, at 5:02 PM, Sam Westreich <swest...@gmail.com> wrote:



Cheng Long

unread,
Jul 29, 2024, 11:50:27 PM7/29/24
to SAMSA bioinformatics group
Hi Andrew and Sam,

Thanks for your reply, I ran in Compute Canada,

I used your three steps scripts, Andrew, when ran the Step 1, it worked, But when I ran Step2, it got the same error. 

So, do you all think it is a system? Then I will contact Compute Canada to ask for more resources.

Regards,
Cheng

Andrew Forgie

unread,
Jul 31, 2024, 3:36:11 PM7/31/24
to Cheng Long, SAMSA bioinformatics group
Might have to load diamond to compute Canada.?

Should be able to type in diamond —version or something to see what is loaded. 

I had to use v2.0.2 to create and run diamond database on cc.

On Jul 30, 2024, at 12:50 AM, Cheng Long <lomgch...@gmail.com> wrote:

Hi Andrew and Sam,

Incredible Budget

unread,
Jan 8, 2025, 12:23:25 AM1/8/25
to SAMSA bioinformatics group

SHOP BELOW
weldingsupplyshop.com .
Buy discounted welders, plasma cutters and welding safety gear by premium brands like Miller, Lincoln Electric, Hypertherm, Hobart and Black Stallion - from the mouse with over 86 years of welding experience.
Where to order welding machines and accessories online with safe shipping.
WEBSITE... weldingsupplyshop.com .
we have the best welding tools like reels,miller remote,pipe bender,welding cable, lincoln rods,leads,miller welding helmet,mig guns,tig torches,plasma torches,welding cables,mig welders,tig welders,Etc.
Order now from our website below with safe and guaranteed shipping.
WEBSITE... weldingsupplyshop.com .
https://weldingsupplyshop.com/product/lincoln-viking-3350-mojo-auto-darkening-welding-helmet-w-4c-lens-k3101-4-for-sale-online/
https://weldingsupplyshop.com/product/lincoln-viking-3350-series-steampunk-auto-darkening-welding-helmet-k3428-4-for-sale-online/
https://weldingsupplyshop.com/product/100-ft-stick-welding-leads-100-cable-holder-ground-clamp-for-sale/
https://weldingsupplyshop.com/product/diamond-lead-reels-hd-fixed-base-reel-fbdxxblk-for-sale-online/
https://weldingsupplyshop.com/product/best-welds-1-4-bb-t-grade-50-oxy-acetylene-hose-1-4x50bbt-for-sale/
https://weldingsupplyshop.com/product/steelmax-120v-14-metal-cutting-chop-saw-sm-s-14-for-sale-online/
https://weldingsupplyshop.com/product/zoom-steelmax-115v-d1-portable-magnetic-drill-sm-d1-for-sale-online/
https://weldingsupplyshop.com/product/miller-wireless-hand-control-301582-for-sale-online/
https://weldingsupplyshop.com/product/victor-medalist-250-classic-welding-and-cutting-outfit-0384-2581-for-sale-online/
https://weldingsupplyshop.com/product/victor-edge-2-0-series-ess4-oxygen-regulator-0781-3601-for-sale-online/
https://weldingsupplyshop.com/product/victor-315-plus-ca-2460-plus-replacement-cutting-torch-0381-1937-for-sale-online/
https://weldingsupplyshop.com/product/miller-big-blue-400-pipepro-mitsubishi-stainless-welder-generator-w-wic-907805/
https://weldingsupplyshop.com/product/lincoln-cross-country-300-kubota-cc-cv-welder-generator-w-125-ft-remote-k4166-7/
https://weldingsupplyshop.com/product/miller-bobcat-200-air-pak-welder-generator-907771-for-sale/
https://weldingsupplyshop.com/product/buy-hobart-ironman-240-mig-wire-welder-with-spoolrunner-200-spool-gun-500574001-online/
https://weldingsupplyshop.com/product/miller-weldcraft-w-250-water-cooled-torch-kit-300185/
https://weldingsupplyshop.com/product/weldtec-225a-flex-head-tig-torch-water-cooled-rubber-hoses-25-ft-wt-20f-25r/
Reply all
Reply to author
Forward
0 new messages