For even the simplest fortran programs I always get the following assembler error messages upon compiling any *.f program that otherwise works for g77 or f77:
/tmp/gfp77zK1tAL.s: Assembler messages:
/tmp/pgf77zK1tAL.s:12: Error: suffix or operands invalid for ‘push’
/tmp/pgf77zK1tAL.s:47: Error: suffix or operands invalid for ‘pop’
and for pgf90:
/tmp/gfp90zK1tAL.s: Assembler messages:
/tmp/pgf90zK1tAL.s:23: Error: suffix or operands invalid for ‘push’
/tmp/pgf90zK1tAL.s:70: Error: suffix or operands invalid for ‘pop’
The code will compile with the -S option to produce a *.s file, but it will neither assemble nor link under any option or no option specified.
The versions of pgf77 and pgf90 are:
/usr/pgi/linux86/5.1/bin/pgf77 and
/usr/pgi/linux86/5.1/bin/pgf90 respectively.
Thanks
miltie