It’s long time since I installed the PGI compiler in my Linux(Ubuntu 14.04) host, however I found that each time the terminal was shut down and the environment variables need to be set again to ensure the compiler work when I reboot the terminal.
Refer to the installation guide, I set the environment variables in terminal with license server running, after that, the compiler works well. Somehow each time I restart the terminal or reboot the system, it can not work anymore and I have to set the environment variables again.
I checked the license server and it indeed start automatically when the system reboot.