PGI 9.0.3 localrc.{hostname} error

I just installed a trial version of PGI Server 9.

It creates

/usr/local/pgi9.0.3/linux86-64/9.0/bin/localrc.oxygen

However, if I

[hammond@oxygen bin]$ . ./localrc.oxygen
bash: ./localrc.oxygen: line 12: syntax error near unexpected token (' bash: ./localrc.oxygen: line 12: set LC=$if(-Bstatic,-lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc, -lgcc -lc -lgcc);’


So is there an error in the standard installation that creates this file?
Or have I done something wrong?

Hi sahammond,

I’m guessing that you selected a network installation which is not available with a trial license. Instead, re-install using a local install.

Note that the localrc is not shell script, rather a configuration file read by the compiler drivers.

  • Mat

Thanks. This works. I thought one had to source it.