Compiling problem with 13.6 on Macbook Pro running Mavericks

I have install Mac PGI 13.6 on Macbook Pro, but I meet some problems when I compile simple fortran code.
The fortran compiler is:

pgfortran -V
pgfortran-Warning-Malformed $expr(), nonnumeric value >=
pgfortran-Warning-Malformed $expr(), nonnumeric value >=
pgfortran-Warning-Malformed $expr(), extra text: 108…

pgfortran 13.6-0 64-bit target on Mac OS X -tp sandybridge
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2013, STMicroelectronics, Inc. All Rights Reserved.

I’m encountering the following error:

pgfortran a.F90 -tp=core2-64

pgfortran-Warning-Malformed $expr(), nonnumeric value >=
pgfortran-Warning-Malformed $expr(), nonnumeric value >=
pgfortran-Warning-Malformed $expr(), extra text: 108…
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: library not found for -lgcc


Thanks for any help.

Hi Celina,

Apple made some major changes to their underlying development tools with Mavericks so the 13.x and earlier PGI compilers are not supported.

We first introduced Mavericks support with the 14.1 compilers, so you will need to update your compilers to a later version.

To see which Mac versions are supported by which compiler versions, please see: PGI Compilers & Tools for High Performance Computing

Best Regards,
Mat