Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F113630834
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
Mon, May 19, 20:09
Size
749 B
Mime Type
text/x-makefile
Expires
Wed, May 21, 20:09 (2 d)
Engine
blob
Format
Raw Data
Handle
26286526
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 =
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 density.o sph.o io.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