Skip to content

Commit

Permalink
-fixed some minor compiler issues with the Makefiles and source files
Browse files Browse the repository at this point in the history
-updated version number
  • Loading branch information
stamatak committed Jun 24, 2013
1 parent 818fab9 commit 4caba56
Show file tree
Hide file tree
Showing 41 changed files with 26 additions and 64 deletions.
2 changes: 1 addition & 1 deletion Makefile.AVX.HYBRID.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC-HYBRID-AVX

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC-HYBRID-AVX : $(objs)
$(CC) -o raxmlHPC-HYBRID-AVX $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.AVX.MPI.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC-MPI-AVX

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h

raxmlHPC-MPI-AVX : $(objs)
$(CC) -o raxmlHPC-MPI-AVX $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.AVX.PTHREADS.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-PTHREADS-AVX $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.AVX.PTHREADS.mac
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-PTHREADS-AVX $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.AVX.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h # compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-AVX $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.AVX.mac
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-AVX $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.HYBRID.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC-HYBRID

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC-HYBRID : $(objs)
$(CC) -o raxmlHPC-HYBRID $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.MPI.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC-MPI

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h

raxmlHPC-MPI : $(objs)
$(CC) -o raxmlHPC-MPI $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PTHREADS.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC-PTHREADS

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC-PTHREADS : $(objs)
$(CC) -o raxmlHPC-PTHREADS $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PTHREADS.mac
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC-PTHREADS

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC-PTHREADS : $(objs)
$(CC) -o raxmlHPC-PTHREADS $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.QuartetMPI.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-QUARTET-MPI $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SSE3.HYBRID.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC-HYBRID-SSE3

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC-HYBRID-SSE3 : $(objs)
$(CC) -o raxmlHPC-HYBRID-SSE3 $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SSE3.MPI.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC-MPI-SSE3

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h

raxmlHPC-MPI-SSE3 : $(objs)
$(CC) -o raxmlHPC-MPI-SSE3 $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SSE3.PTHREADS.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-PTHREADS-SSE3 $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SSE3.PTHREADS.mac
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h compiler.h gcc.h ll_asm.h ll_list.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-PTHREADS-SSE3 $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SSE3.QuartetMPI.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-SSE3-QUARTET-MPI $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SSE3.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-SSE3 $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SSE3.mac
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC-SSE3 $(objs) $(LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ objs = axml.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePart

all : raxmlHPC

GLOBAL_DEPS = axml.h globalVariables.h mem_alloc.h
GLOBAL_DEPS = axml.h globalVariables.h #mem_alloc.h

raxmlHPC : $(objs)
$(CC) -o raxmlHPC $(objs) $(LIBRARIES)
Expand Down
1 change: 0 additions & 1 deletion ancestralStates.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include <string.h>

#include "axml.h"
#include "mem_alloc.h"

extern char workdir[1024];
extern char run_id[128];
Expand Down
1 change: 0 additions & 1 deletion axml.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
#endif

#include "axml.h"
#include "mem_alloc.h"
#include "globalVariables.h"


Expand Down
9 changes: 7 additions & 2 deletions axml.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@
#define PointGamma(prob,alpha,beta) PointChi2(prob,2.0*(alpha))/(2.0*(beta))

#define programName "RAxML"
#define programVersion "7.6.1"
#define programDate "June 21 2013"
#define programVersion "7.6.2"
#define programDate "June 24 2013"


#define TREE_EVALUATION 0
Expand Down Expand Up @@ -1326,6 +1326,11 @@ extern void newviewGenericAncestral(tree *tr, nodeptr p, boolean atRoot);
extern void computeAncestralStates(tree *tr, double referenceLikelihood);
extern void makeP_Flex(double z1, double z2, double *rptr, double *EI, double *EIGN, int numberOfCategories, double *left, double *right, const int numStates);

extern void *rax_malloc( size_t size );
extern void *rax_realloc(void *p, size_t size, boolean needsMemoryAlignment);
extern void rax_free(void *p);
extern void *rax_calloc(size_t n, size_t size);

#ifdef _WAYNE_MPI

extern boolean computeBootStopMPI(tree *tr, char *bootStrapFileName, analdef *adef, double *pearsonAverage);
Expand Down
2 changes: 0 additions & 2 deletions bipartitionList.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ extern int processID;
extern int processes;
#endif

#include "mem_alloc.h"

#define _NEW_MRE

extern FILE *INFILE;
Expand Down
2 changes: 0 additions & 2 deletions classify.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ extern volatile int NumberOfThreads;
extern volatile int NumberOfJobs;
#endif

#include "mem_alloc.h"

static double getBranch(tree *tr, double *b, double *bb)
{
double z = 0.0;
Expand Down
1 change: 0 additions & 1 deletion evaluatePartialGenericSpecial.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#include <pmmintrin.h>
#endif

#include "mem_alloc.h"

/********************** GTRCAT ***************************************/

Expand Down
2 changes: 0 additions & 2 deletions fastDNAparsimony.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@

#include "axml.h"

#include "mem_alloc.h"

extern const unsigned int mask32[32];
/* vector-specific stuff */

Expand Down
2 changes: 0 additions & 2 deletions fastSearch.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
#include <ctype.h>
#include <string.h>

#include "mem_alloc.h"

#include "axml.h"

#define POSTERIOR_THRESHOLD 0.90
Expand Down
1 change: 0 additions & 1 deletion leaveDropping.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <math.h>
#include <assert.h>
#include "axml.h"
#include "mem_alloc.h"


/* the define below makes the algorithm run much faster and should therefore always be used :-) */
Expand Down
2 changes: 0 additions & 2 deletions makenewzGenericSpecial.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@
/*#include <tmmintrin.h>*/
#endif

#include "mem_alloc.h"

#ifdef _USE_PTHREADS
extern volatile double *reductionBuffer;
extern volatile double *reductionBufferTwo;
Expand Down
1 change: 0 additions & 1 deletion mem_alloc.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

#define MEM_ALLOC_NO_GUARDS 1

#include "mem_alloc.h"
#include "axml.h"

#include <stdio.h>
Expand Down
15 changes: 0 additions & 15 deletions mem_alloc.h

This file was deleted.

1 change: 0 additions & 1 deletion models.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include <string.h>

#include "axml.h"
#include "mem_alloc.h"

extern int optimizeRatesInvocations;
extern int optimizeRateCategoryInvocations;
Expand Down
1 change: 0 additions & 1 deletion multiple.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <ctype.h>
#include <string.h>
#include "axml.h"
#include "mem_alloc.h"

#ifdef _WAYNE_MPI
#include <mpi.h>
Expand Down
1 change: 0 additions & 1 deletion newviewGenericSpecial.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ extern volatile int NumberOfThreads;
extern pthread_mutex_t mutex;
#endif

#include "mem_alloc.h"

extern const unsigned int mask32[32];

Expand Down
1 change: 0 additions & 1 deletion optimizeModel.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <ctype.h>
#include <string.h>
#include "axml.h"
#include "mem_alloc.h"


static const double MNBRAK_GOLD = 1.618034;
Expand Down
3 changes: 0 additions & 3 deletions parsePartitions.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
#include <string.h>
#include <strings.h>


#include "mem_alloc.h"

#include "axml.h"

/*****************************FUNCTIONS FOR READING MULTIPLE MODEL SPECIFICATIONS************************************************/
Expand Down
2 changes: 0 additions & 2 deletions rapidBootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
#include <ctype.h>
#include <string.h>

#include "mem_alloc.h"

#include "axml.h"

extern int Thorough;
Expand Down
1 change: 0 additions & 1 deletion rogueEPA.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <ctype.h>
#include <string.h>
#include "axml.h"
#include "mem_alloc.h"

extern char run_id[128];
extern char workdir[1024];
Expand Down
1 change: 0 additions & 1 deletion searchAlgo.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
#include <ctype.h>
#include <string.h>

#include "mem_alloc.h"

#include "axml.h"

Expand Down
1 change: 0 additions & 1 deletion topologies.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include <string.h>

#include "axml.h"
#include "mem_alloc.h"



Expand Down
1 change: 0 additions & 1 deletion treeIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include <string.h>

#include "axml.h"
#include "mem_alloc.h"

extern FILE *INFILE;
extern char infoFileName[1024];
Expand Down

0 comments on commit 4caba56

Please sign in to comment.