CXX = mpicxx
FC = mpif90

all: hello_cpp hello_f

submit: hello_cpp
	qsub mpich2.pbs

hello_cpp: ../hello.cpp
	$(MPI_MPICH2_PATH)/bin/$(CXX) $< -o $@

hello_f: ../hello.f
	$(MPI_MPICH2_PATH)/bin/$(FC) $< -o $@

clean:
	@rm -f hello_*
