From 70f419673d5d3e49a3eada70c70c2d284b502d7b Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 27 Jul 2018 01:29:50 +0000 Subject: Add floating point hardware checking for Intel on GNU compilers When using the -check function (the default) it is enabled for Kinship computation and LM/LMM up to individual SNP computation. This means there can no longer be NaN values for matrices that are reused for every SNP, but it is possible to have NaN for individual SNPs. Fixes #161 --- test/dev_test_suite.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/dev_test_suite.sh') diff --git a/test/dev_test_suite.sh b/test/dev_test_suite.sh index 0d3d8a0..ad743ff 100755 --- a/test/dev_test_suite.sh +++ b/test/dev_test_suite.sh @@ -14,6 +14,7 @@ testBXDStandardRelatednessMatrixKSingularError() { -c ../example/BXD_covariates.txt \ -a ../example/BXD_snps.txt \ -gk \ + -no-check \ -o $outn assertEquals 22 $? # should show singular error } @@ -56,7 +57,7 @@ testBXDLMMLikelihoodRatio() { -c ../example/BXD_covariates2.txt \ -a ../example/BXD_snps.txt \ -k ./output/BXD.cXX.txt \ - -lmm 2 -maf 0.1 \ + -lmm 2 -no-check -maf 0.1 \ -o $outn assertEquals 0 $? @@ -89,7 +90,7 @@ testUnivariateLinearMixedModelLOCO1() { -a ../example/mouse_hs1940.anno.txt \ -k ./output/mouse_hs1940_LOCO1.cXX.txt \ -snps ../example/mouse_hs1940_snps.txt -lmm \ - -nind 400 \ + -nind 400 -no-check \ -o $outn assertEquals 0 $? grep "total computation time" < output/$outn.log.txt -- cgit v1.2.3