problem of compiling, thank you!

168 views
Skip to first unread message

Xin Chen

unread,
Jul 10, 2014, 12:39:45 PM7/10/14
to dppdiv...@googlegroups.com
Hi Tracy,
I just download the new version of DPPDiv. When I compiled it (I just type "make" or "make all"), it gave me the error like:
 Model_likelihood.cpp: In member function ‘double Model::lnLikelihood()’:
Model_likelihood.cpp:164:41: error: ‘__m256d’ was not declared in this scope
Model_likelihood.cpp:165:49: error: expected ‘;’ before ‘cll’
Model_likelihood.cpp:174:41: error: ‘cll’ was not declared in this scope
Model_likelihood.cpp:174:72: error: ‘_mm256_load_pd’ was not declared in this scope
Model_likelihood.cpp:175:41: error: ‘clr’ was not declared in this scope
Model_likelihood.cpp:179:41: error: ‘l1’ was not declared in this scope
Model_likelihood.cpp:179:95: error: ‘_mm256_mul_pd’ was not declared in this scope
Model_likelihood.cpp:180:41: error: ‘l2’ was not declared in this scope
Model_likelihood.cpp:181:41: error: ‘l3’ was not declared in this scope
Model_likelihood.cpp:182:41: error: ‘l4’ was not declared in this scope
Model_likelihood.cpp:184:41: error: ‘l12’ was not declared in this scope
Model_likelihood.cpp:184:71: error: ‘_mm256_hadd_pd’ was not declared in this scope
Model_likelihood.cpp:185:41: error: ‘l34’ was not declared in this scope
Model_likelihood.cpp:187:41: error: ‘blnd’ was not declared in this scope
Model_likelihood.cpp:187:83: error: ‘_mm256_blend_pd’ was not declared in this scope
Model_likelihood.cpp:188:41: error: ‘perm’ was not declared in this scope
Model_likelihood.cpp:188:88: error: ‘_mm256_permute2f128_pd’ was not declared in this scope
Model_likelihood.cpp:189:41: error: ‘l1234’ was not declared in this scope
Model_likelihood.cpp:189:76: error: ‘_mm256_add_pd’ was not declared in this scope
Model_likelihood.cpp:193:41: error: ‘r1’ was not declared in this scope
Model_likelihood.cpp:194:41: error: ‘r2’ was not declared in this scope
Model_likelihood.cpp:195:41: error: ‘r3’ was not declared in this scope
Model_likelihood.cpp:196:41: error: ‘r4’ was not declared in this scope
Model_likelihood.cpp:198:41: error: ‘r12’ was not declared in this scope
Model_likelihood.cpp:199:41: error: ‘r34’ was not declared in this scope
Model_likelihood.cpp:203:41: error: ‘r1234’ was not declared in this scope
Model_likelihood.cpp:205:41: error: ‘r’ was not declared in this scope
Model_likelihood.cpp:208:70: error: ‘_mm256_store_pd’ was not declared in this scope
Model_likelihood.cpp:319:17: error: ‘__m256d’ was not declared in this scope
Model_likelihood.cpp:320:25: error: expected ‘;’ before ‘m’
Model_likelihood.cpp:323:17: error: ‘m’ was not declared in this scope
Model_likelihood.cpp:323:60: error: ‘_mm256_set_pd’ was not declared in this scope
Model_likelihood.cpp:325:17: error: ‘p1’ was not declared in this scope
Model_likelihood.cpp:325:63: error: ‘_mm256_load_pd’ was not declared in this scope
Model_likelihood.cpp:325:68: error: ‘_mm256_mul_pd’ was not declared in this scope
Model_likelihood.cpp:326:17: error: ‘p2’ was not declared in this scope
Model_likelihood.cpp:327:17: error: ‘p3’ was not declared in this scope
Model_likelihood.cpp:328:17: error: ‘p4’ was not declared in this scope
Model_likelihood.cpp:331:46: error: ‘_mm256_hadd_pd’ was not declared in this scope
Model_likelihood.cpp:336:78: error: ‘_mm256_permute2f128_pd’ was not declared in this scope
Model_likelihood.cpp:336:81: error: ‘_mm256_add_pd’ was not declared in this scope
Model_likelihood.cpp:341:51: error: ‘_mm256_store_pd’ was not declared in this scope
make: *** [Model_likelihood-seq-avx.o] Error 1

I am not sure I did it correctly. I tried it on linux OS. 
Also, I have a large dataset (hundreds of loci, over 80 taxa). May I ask how long it make take to finish the analysis?

Thank you so much!

Tracy Heath

unread,
Jul 10, 2014, 5:16:22 PM7/10/14
to dppdiv...@googlegroups.com
These errors seem to be related to the compilation of the AVX-optimized version, which may not be available on your machine. Try compiling using:

make dppdiv-seq
or
make dppdiv-seq-sse

Cheers,
Tracy


--
You received this message because you are subscribed to the Google Groups "dppdiv-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Xin Chen

unread,
Jul 10, 2014, 9:23:06 PM7/10/14
to dppdiv...@googlegroups.com
Thanks!
Reply all
Reply to author
Forward
0 new messages