I tried to download a current version (15.5) of FreePGI for OS X, but I could download only v.15.4. I had problems on
“pgcc-Warning-Malformed $expr(), nonnumeric value Apple LLVM version 60100 (clang-60200053) (based on LLVM 30600svn)”
on the v15.4.
Maybe, I downloaded the v15.5 from incorrect location, and I have similar problems on license keys as discussed in this Forum previously.
Q1. How to download the current version (15.5) of FreePGI for OS X?
Q2. How to uninstall the v15.5 installed? Removal of a folder of “/opt/pgi” is enough to uninstall cleanly ?
15.4 has problems with the latest Xcode version.
There is no 15.5 Free PGI OS X.
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.
set LOCALDEFS=PGI_5XC;
to
set LOCALDEFS=PGI_6XC;
and change the line
set ISCLANG31=Apple LLVM version 60100 (clang-60200049) (based on LLVM 30600svn);
to
set ISCLANG31=601;
(Note: Semicolons are important!)
Now try the pgfortran compiler. It should work now. pgcc and pgc++ will not
work until 15.5, because of numerous header files we need to modify.
This is a problem since there is no Free PGI OS X version 15.5. The
earliest will be 15.7, in July.
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.
set LOCALDEFS=PGI_5XC;
to
set LOCALDEFS=PGI_6XC;
and change the line
set ISCLANG31=Apple LLVM version 60100 (clang-60200049) (based >on LLVM 30600svn);
to
set ISCLANG31=601;
(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.