Skip to content

Commit

Permalink
First upload of the Code
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwkuepper committed May 16, 2013
1 parent aa73431 commit bbda86b
Show file tree
Hide file tree
Showing 28 changed files with 14,399 additions and 4 deletions.
33 changes: 33 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
IGNORE:
FC = gfortran -O2 #-ffast-math
#FC = gfortran-mp-4.4 -O2 #-ffast-math
#use of -ffast-math may cause problems on some machines

LFLAGS = const_bse.h zdata.h

CC = cc -O2 -fopenmp #-ffast-math
#use "-D NOOMP" and remove "-fopenmp" for compilation without OpenMP

#CFLAGS = -L/opt/local/lib/gcc44/ -lgfortran
CFLAGS = -L/usr/lib/ -lgfortran

.f.o:
$(FC) -c $<

SOURCE = \
deltat.f evolv1.f hrdiag.f kick.f mlwind.f mrenv.f \
ran3.f star.f zcnsts.f zfuncs.f\
comenv.f corerd.f dgcore.f evolv2.f gntage.f \
instar.f mix.f rl.f

OBJECTS = $(SOURCE:.f=.o)

mcluster_sse: $(OBJECTS) $(LFLAGS)
$(CC) -c main.c -D SSE -lm
$(CC) $(CFLAGS) $(OBJECTS) main.o -o mcluster_sse -lm

mcluster:
$(CC) -o mcluster main.c -lm

clean:
rm *.o mcluster_sse mcluster
Binary file added McLusterManual.pdf
Binary file not shown.
360 changes: 360 additions & 0 deletions McLusterManual.tex

Large diffs are not rendered by default.

Loading

0 comments on commit bbda86b

Please sign in to comment.