I installed PGI 7.1-1 Workstation (in a 2 x dual Opteron under Ubuntu 8.04) and MPICH which is included in the installation. I have set the environmental variables so PGI works fine. But when I tried to use the mpif90 (path to /opt/pgi/linux86-64/7.1/mpi/mpich/bin) command in a simple program I got this error message:
/usr/bin/ld: cannot find -lmpichf90
The mpif90 is linked to pgf90 (default settings and options)
I am trying to run a much more complicated application in parallel mode. I downloaded the mpich ubuntu package but i failed to link it with pgf90 (i think that it has been compiled with gfortran)
Can anyone help?
Thanx in advance