phlawd compiling from src on Mac

92 views
Skip to first unread message

Milton Tan

unread,
Feb 11, 2015, 4:39:57 PM2/11/15
to phl...@googlegroups.com
Hello,

I'm compiling from source I just downloaded today on a Mac running Yosemite 10.10. I have dependencies muscle, mafft, quicktree, and sqlite3 in path, and I made the sqlitewrapped files from the MAC.tar.gz and copied the .a and .h files to phlawd/libsqlitewrapped.h and the phlawd/deps/mac/libsqlitewrapped.a.

When I try to make phlawd I get the following output, which I assume is bad. I couldn't find much on omp.h online so I don't know what that is or how to fix this. Am I doing something wrong?

$ make -f Makefile.MAC

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"genedb.d" -MT"genedb.d" -o"genedb.o" "genedb.cpp"

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"sequence.d" -MT"sequence.d" -o"sequence.o" "sequence.cpp"

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"tree.d" -MT"tree.d" -o"tree.o" "tree.cpp"

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"tree_reader.d" -MT"tree_reader.d" -o"tree_reader.o" "tree_reader.cpp"

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"node.d" -MT"node.d" -o"node.o" "node.cpp"

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"tree_utils.d" -MT"tree_utils.d" -o"tree_utils.o" "tree_utils.cpp"

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"fasta_util.d" -MT"fasta_util.d" -o"fasta_util.o" "fasta_util.cpp"

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"SQLiteDBController.d" -MT"SQLiteDBController.d" -o"SQLiteDBController.o" "SQLiteDBController.cpp"

g++ -msse3 -DSSE2 -O3 -g -w -Wall -arch x86_64 -fopenmp -c -fmessage-length=0 -MMD -MP -MF"SQLiteConstructor.d" -MT"SQLiteConstructor.d" -o"SQLiteConstructor.o" "SQLiteConstructor.cpp"

SQLiteConstructor.cpp:48:10: fatal error: 'omp.h' file not found

#include "omp.h"

         ^

1 error generated.

make: *** [SQLiteConstructor.o] Error 1

Message has been deleted

Milton Tan

unread,
Feb 16, 2015, 11:02:14 AM2/16/15
to phl...@googlegroups.com
Apparently you can use homebrew, so I brewed it. It appears to be installed now. 

Raymond Moran

unread,
Jan 26, 2016, 7:42:48 AM1/26/16
to phlawd
Hi Milton, 

I am having the same issue as you.  

Can you tell me exactly how you got around it ? 

Thanks, 
R
Reply all
Reply to author
Forward
0 new messages