Working makefile for A1

jkapp@uoguelph.ca's picture

Just in case some of you are still stuck trying to get A1 to compile, here's a more or less working makefile. I discovered that mpicc is really picky about where your library flags are put.

thumbpeg.o:
[tab]mpicc -I/opt/pilot/include/ -c thumbpeg.c

thumbpeg: thumbpeg.o
[tab]mpicc -o thumbpeg thumbpeg.o -L/opt/pilot/lib/ -lpilot