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.