Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F119017715
old.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, Jun 24, 05:50
Size
833 B
Mime Type
text/x-makefile
Expires
Thu, Jun 26, 05:50 (1 d, 17 h)
Engine
blob
Format
Raw Data
Handle
26963868
Attached To
rPNBODY pNbody
old.Makefile
View Options
CC = mpicc
PGM = pmlib
#INCLUDEPY = /home/revaz/local/include/python2.4
INCLUDEPY = /usr/include/python2.5/
INCLUDENUMPY = /usr/lib/python2.5/site-packages/numpy/core/include/
INCLUDENUMARRAY = /usr/lib/python2.5/site-packages/numpy/numarray/
FFTW_INCL = /home/epfl/revaz/local/include
FFTW_LIB = -L/home/epfl/revaz/local/lib -lsrfftw_mpi -lsfftw_mpi -lsrfftw -lsfftw
MPI_LIB = -L/home/epfl/revaz/local/openmpi/lib/ -lmpi
#MPI_INC = /home/epfl/revaz/local/openmpi/include/
CFLAGS= -fPIC -I$(INCLUDEPY) -I$(INCLUDENUMARRAY) -I$(INCLUDENUMPY) -I$(FFTW_INCL) -I$(MPI_INC)
LIBS = -g $(MPI_LIB) $(FFTW_LIB)
$(PGM).so : $(PGM).o
$(CC) -shared $(PGM).o $(LIBS) -o $(PGM).so
$(PGM).o : $(PGM).c
$(CC) $(CFLAGS) -c $(PGM).c
clean:
rm -f *.o *.exe *.so
Event Timeline
Log In to Comment