>Thank you, everyone.I have successfully installed the openmpi pkg in
>my ubuntu hardy heron for gcc( HP Compaq Dual-core notebook) following
>the instructions in the FAQ page.I still need to install the
>libopenmpi-dev header file pkg.Will come back after doing that.
I've installed the libopenmpi-dev and also openmpi-bin.I tried to compile a
sample program and am getting this error,
atom_at_atom-laptop:~$ mpicc sample.c -o sample
sample.c:2:17: error: ompi.h: No such file or directory
sample.c: In function 'main':
sample.c:7: error: 'mpi_comm_world' undeclared (first use in this function)
sample.c:7: error: (Each undeclared identifier is reported only once
sample.c:7: error: for each function it appears in.)
Am I using the wrong header file? I tried ompic.h too, but the same
error.What do i have to do?
Thanking in advance,