aboutsummaryrefslogtreecommitdiff
path: root/test/dev_test_suite.sh
diff options
context:
space:
mode:
authorPjotr Prins2018-07-27 01:29:50 +0000
committerPjotr Prins2018-07-27 01:29:50 +0000
commit70f419673d5d3e49a3eada70c70c2d284b502d7b (patch)
treef4e9457e2d90bce195fdb3fae286611d554e1d6a /test/dev_test_suite.sh
parent15cf2344547bcd4d300aba22a96e9897153e50e1 (diff)
downloadpangemma-70f419673d5d3e49a3eada70c70c2d284b502d7b.tar.gz
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
Diffstat (limited to 'test/dev_test_suite.sh')
-rwxr-xr-xtest/dev_test_suite.sh5
1 files changed, 3 insertions, 2 deletions
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