NERSCPowering Scientific Discovery Since 1974

Does not take an "=" as part of the name of a source file.

November 12, 2013 by Mike Stewart, NERSC USG

STATUS: Bug 19671 filed with PGI.

When the PGI compiler wrapper is used on Hopper, it fails silently at compile time and gives a very cryptic error message at link time:

> ftn a=b.f
/opt/cray/xt-asyncpe/3.8/bin/ftn: INFO: linux target is being used
/opt/pgi/10.3.0/linux86-64/10.3/lib/f90main.o: In function `main':
f90main.c:(.text+0x3c): undefined reference to `MAIN_'

> cat a=b.f
      program a=b
      print *,"this shows a problem with pgi"

When the PGI compiler is used on Carver, it gives this message at compile time:

>  mpif90 -c  a=b.f
pgf90-Warning-No files to process

and this message at link time:

> mpif90 a=b.f
/global/common/carver/usg/pgi/12.9/linux86-64/12.9/lib/f90main.o: In function `main':
f90main.c:(.text+0x40): undefined reference to `MAIN_'

A bug report has been submitted to PGI who have logged it as TPR 19671.