Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92689555
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 22, 19:28
Size
776 B
Mime Type
text/x-makefile
Expires
Sun, Nov 24, 19:28 (2 d)
Engine
blob
Format
Raw Data
Handle
22488091
Attached To
rPNBODY pNbody
Makefile
View Options
CC = mpicc
PGM = ptreelib
#INCLUDEPY = /usr/include/python2.5/
INCLUDEPY = /usr/include/python2.5/
INCLUDENUMPY = /usr/lib/python2.5/site-packages/numpy/core/include/
INCLUDENUMARRAY = /usr/lib/python2.5/site-packages/numpy/numarray/
MPI_LIB = -L/home/revaz/local/mpich2-1.0.6shm/lib/ -lmpich
MPI_INC = /home/revaz/local/mpich2-1.0.6shm/include/
OPTIONS =
OBJS = ptreelib.o endrun.o domain.o peano.o system.o forcetree.o ngb.o potential.o gravtree.o
INCL = ptreelib.h allvars.h proto.h Makefile
CFLAGS = -fPIC $(OPTIONS) -I$(INCLUDEPY) -I$(INCLUDENUMPY) -I$(INCLUDENUMARRAY) -I$(MPI_INC)
LIBS = -g $(MPI_LIB)
$(PGM): $(OBJS)
$(CC) -shared $(OBJS) $(MPI_LIB) -o $(PGM).so
$(OBJS): $(INCL)
clean:
rm -f *.o $(EXEC)
Event Timeline
Log In to Comment