mpich-1.2.7p1 Installation with pgf90


i have some troubles with installing the mpich-1.2.7p1.
I used the pgcc and pgf90 compiler in the makefile. But it seems to have troubles with linking some of the C libraries. Did anybody had similar problems with MPI and could help me out?

/usr/bin/ld: cannot find -lC.a
make[4]: *** [overtake] Error 2
make[3]: [linktest] Error 2 (ignored)
Could not link a C program with MPI libraries
make[3]: *** [linktest] Error 1
make[2]: *** [linktest] Error 2
make[1]: *** [mpi-lib-test] Error 2
make: *** [mpi] Error 2


Hi Andreas,

Can you post the link line that preceeds this error? I’m wondering what flags and compiler is being used to link since “-lC.a” is an odd flag to be passing to the linker.

Also, what configuration options did you use? I just tried it using pgcc and pgf90 and everything seemed to link fine.