Compiling MPI with PGI Fortran

Hello!
I’m trying to compile a Fortran subroutine with MPI. This is what I have:

pgf90 -Mmpi=msmpi -c finit.f90 -o finit.obj
PGI$ pgf90 -Mmpi=msmpi -Mmakedll finit.obj -o finit.dll
LINK : fatal error LNK1104: cannot open file ‘finit.dll’

How can I not open the dll, please?

Thanks,
Erin

Yay!

I fixed it by adding the pgf90.dll and pgc14.dll to the link statement!

Thanks tho,
Erin