Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79608155
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
Tue, Aug 27, 08:29
Size
776 B
Mime Type
text/x-makefile
Expires
Thu, Aug 29, 08:29 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20211362
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