Thank you for your quick reply.
There is no 15.5 Free PGI OS X.
I see. When I took registration for the “Free PGI OS X” download, the current version was written as 15.5. I expected there is the v15.5.
A workaround for pgfortran is to edit the localrc file in the PGI bin
directory, and change
Edit the /opt/PGI/osx86-64/15.4/bin/localrc file.
and change the line
set ISCLANG31=Apple LLVM version 60100 (clang-60200049) (based >on LLVM 30600svn);
(Note: Semicolons are important!)
Thank you for valuable comments, but I little bit confused. I downloaded Free PGI v15.4 and v15.5 for OSX. In installation of “the Free PGI OSX v15.4”, an icon (Free PGI.app) was dragged into Application folder. There were no installation into “/opt/pgi”. There are those files and folders concerning the v15.5 installation in /opt/pgi. A localrc file was found in “/opt/pgi/osx86-64/15.5/bin” with proper descriptions pointed out by you. I also could find some files in “/Application/Free PGI.app/Contents/Resources/pgi/osx86-64/15.4/bin”. It seems a shell script of “launch_pgi.sh“ is running in software launching. Some environments parameters like PATH and ISCLANG31 are set by makelocalrc of the shell script in the Free PGI. All environment parameters are appeared at top of Terminal launched by “Free PGI OSX”. I am not sure to modify correctly the makelocalrc itself. I just coped all environment setting appeared in the Terminal into “.profile” file in my home directory after modifying some parameters pointed out. Now, there are no error messages for pgfortran in the Terminal with setting of the PGI environment.
I am going to compile some source files. If there are something to do, could you please kindly tell me? A “helloworld.f90” program was checked to be OK.