blog Does not take an "=" as part of the name of a source file. <p><strong>STATUS: Bug 19671 filed with PGI.</strong></p> <p>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:</p> <p>&gt; ftn a=b.f<br/>/opt/cray/xt-asyncpe/3.8/bin/ftn: INFO: linux target is being used<br/>/opt/pgi/10.3.0/linux86-64/10.3/lib/f90main.o: In function `main':<br/>f90main.c:(.text+0x3c): undefined reference to `MAIN_'</p> <p>&gt; cat a=b.f<br/>      program a=b<br/>      print *,"this shows a problem with pgi"<br/>      end</p> <p>When the PGI compiler is used on Carver, it gives this message at compile time:</p> <p>&gt;  mpif90 -c  a=b.f <br/>pgf90-Warning-No files to process<br/><br/>and this message at link time:</p> <p>&gt; mpif90 a=b.f <br/>/global/common/carver/usg/pgi/12.9/linux86-64/12.9/lib/f90main.o: In function `main':<br/>f90main.c:(.text+0x40): undefined reference to `MAIN_'</p> <p>A bug report has been submitted to PGI who have logged it as TPR 19671.<br/><br/><br/></p> Tue, 12 Nov 2013 13:35:17 -0800