text: user3973: I am doing linear association calculations for SNP effects, I see it take a lot of time to do, does anyone have any experience in parallelizing this job. I have used --threads <num of cores> but it says it only uses 1 thread
  here is my code for the calculation in plink:
  plink --bfile ukbb_dis --pheno phenotype_dis.pheno --mpheno 4 --allow-no-sex --covar phenotype_dis.pheno --covar-number 5-21 --missing-phenotype -10000000 --linear --adjust --out assoc_SNP_height_linear --threads 4
  
  Here is the current output:
  257682 MB RAM detected; reserving 128841 MB for main workspace.
  1133273 variants loaded from .bim file.
  284516 people (0 males, 0 females, 284516 ambiguous) loaded from .fam.
  Ambiguous sex IDs written to assoc_SNP_height_linear.nosex .
  284516 phenotype values present after --pheno.
  Using 1 thread.
  Warning: This run includes BLAS/LAPACK linear algebra operations which
  currently disregard the --threads limit.  If this is problematic, you may want
  to recompile against single-threaded BLAS/LAPACK.
  --covar: 17 out of 21 covariates loaded.
  Before main variant filters, 284516 founders and 0 nonfounders present.
  Calculating allele frequencies... done.
  Total genotyping rate is 0.992737.
  1133273 variants and 284516 people pass filters and QC.
  Phenotype data is quantitative.
  Writing linear model association results to
  assoc_SNP_height_linear.assoc.linear ... 0%
  
  Your help is really appreciated!
  
  user472: Try the latest plink 2.0 alpha build for this.  It’s an incomplete program, but its implementation of —linear is far better than v1.9’s.
  
original_text: 3973: <p>I am doing linear association calculations for SNP effects, I see it take a lot of time to do, does anyone have any experience in parallelizing this job. I have used <code>--threads &lt;num of cores&gt;</code> but it says it only uses 1 thread</p>
  
  <p>here is my code for the calculation in plink:</p>
  
  <pre><code>plink --bfile ukbb_dis --pheno phenotype_dis.pheno --mpheno 4 --allow-no-sex --covar phenotype_dis.pheno --covar-number 5-21 --missing-phenotype -10000000 --linear --adjust --out assoc_SNP_height_linear --threads 4
  </code></pre>
  
  <p>Here is the current output:</p>
  
  <pre><code>257682 MB RAM detected; reserving 128841 MB for main workspace.
  1133273 variants loaded from .bim file.
  284516 people (0 males, 0 females, 284516 ambiguous) loaded from .fam.
  Ambiguous sex IDs written to assoc_SNP_height_linear.nosex .
  284516 phenotype values present after --pheno.
  Using 1 thread.
  Warning: This run includes BLAS/LAPACK linear algebra operations which
  currently disregard the --threads limit.  If this is problematic, you may want
  to recompile against single-threaded BLAS/LAPACK.
  --covar: 17 out of 21 covariates loaded.
  Before main variant filters, 284516 founders and 0 nonfounders present.
  Calculating allele frequencies... done.
  Total genotyping rate is 0.992737.
  1133273 variants and 284516 people pass filters and QC.
  Phenotype data is quantitative.
  Writing linear model association results to
  assoc_SNP_height_linear.assoc.linear ... 0%
  </code></pre>
  
  <p>Your help is really appreciated!</p>
   472: <p>Try the latest plink 2.0 alpha build for this.  It’s an incomplete program, but its implementation of —linear is far better than v1.9’s.</p>
  