Skip to content

Commit

Permalink
Update Makefile, make openmp as default
Browse files Browse the repository at this point in the history
update document and README
  • Loading branch information
liwz authored and liwz committed May 13, 2015
1 parent 4705865 commit 0d1764a
Show file tree
Hide file tree
Showing 4 changed files with 744 additions and 186 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ CC = g++ -pg
CC = g++

# without OpenMP
CCFLAGS = -DNO_OPENMP

# with OpenMP
# in command line:
# make openmp=yes
ifeq ($(openmp),yes)
CCFLAGS = -fopenmp
ifeq ($(openmp),no)
CCFLAGS = -DNO_OPENMP
else
CCFLAGS = -fopenmp
endif

# support debugging
Expand Down
8 changes: 4 additions & 4 deletions README
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
For cd-hit

How to compile?
1. Compile without multi-threading support: make
2. Compile with multi-threading support: make openmp=yes

1. Compile with multi-threading support (default): make
2. Compile without multi-threading support (if you are on very old systems): make openmp=no


For cd-hit-auxtools
Expand All @@ -15,7 +14,8 @@ For psi-cd-hit
please download legacy BLAST (not BLAST+) and install the executables in your $PATH


For more information, please visit http://cd-hit.org or please read the cd-hit-users-guide.pdf.
For more information, please visit http://cd-hit.org or please read the cdhit-users-guide.pdf.
Most up-to-date documents are available at http://weizhongli-lab.org/cd-hit/wiki/doku.php?id=cd-hit_user_guide.

cd-hit was originally hosted at Google Code, some of the old releases are still available from https://code.google.com/p/cdhit/.

Expand Down
Binary file modified doc/cdhit-user-guide.pdf
Binary file not shown.
Loading

0 comments on commit 0d1764a

Please sign in to comment.