Hello! Sorry if this is a FAQ but I couldn’t find anything related using search.
I installed the free version of PGI-1910.dmg on macOS 10.15.2 and went through the Terminal configuration steps at https://www.pgroup.com/resources/docs/19.10/x86/pgi-install-guide/index.htm#install-osx-end-usr-env-settings. As a first test I was able to compile by fortran program files without any issues with this command:
pgfortran -c *.F
but when I try to link I get this error:
pgfortran -o nec4d42 *.o ld: warning: directory not found for option '-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64' ld: warning: directory not found for option '-L/usr/lib/gcc/i686-apple-darwin10/4.2.1' ld: file not found: /usr/lib/crt1.o
The installation instructions say any XCode 6.3 or newer will work. I have XCode 11 so that statement is clearly incorrect. But anyway I tried downloading XCode 6.3 from Apple. That version is from 2015 and I found it won’t even run on Catalina at all. So I seem to be stuck: can’t install until I get an older XCode but older XCode won’t install on Catalina.
Any help would be appreciated.
PS: Many thanks for the free version. My goal is to find tools that build my E&M modeling program to get better performance than I am getting with brew gfortran. I found your company with a google search for macOS fortran.