Hi.

I'm having trouble compiling applications to link statically

The command line and error I receive is

[root@Pebble-anoop examples]# mpicc -c cpi.c
[root@Pebble-anoop examples]# mpicc -static -o cpi cpi.o
/usr/bin/ld: cannot find -lmpi
collect2: ld returned 1 exit status

Not sure how I can compile an application statically. Can someone help?

Thanks,
Anoop

Reply via email to