[Zaphod-Users] compiling c++ code that uses MPI on Zaphod

Sadaf Shams soj2 at cisunix.unh.edu
Thu Oct 19 13:14:28 EDT 2006


Hi,

I am trying to compile my C++ code that uses MPI on Zaphod. I tried to 
use the compilation instructions at the following page but they do not 
work since they are for C code.

------------------
http://www.zaphod.sr.unh.edu/wiki/index.php?title=Run_an_MPI_job

kai at h101:~> make CC=mpicc CFLAGS=-Wall hello
mpicc -Wall    hello.c   -o hello
-------------------

How do I compile C++ code that uses MPI on Zaphod?

thanks,
Sadaf Shams


More information about the Zaphod-Users mailing list