issues after 13.9 install on Mac Os 10.8.5

I am running Mac Os 10.8.5 with Xcode 4.5.2 (I tried newer versions, but I read here that it should work with this one.) and installed PGI 13.9.

1st Issue
The Release Number test for pgCC –V x.cc doesn’t seem to work

pgCC-Warning-Malformed $expr(), nonnumeric value >=
pgCC-Warning-Malformed $expr(), nonnumeric value >=
pgCC-Warning-Malformed $expr(), extra text: 108…
File with unknown suffix passed to linker: –V
pgCC-Warning-Please use pgcpp for C++ source files: x.cc
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: –V

2nd Issue
compiling of hello.f doesn’t work.

pgfortran hello.f
pgfortran-Warning-Malformed $expr(), nonnumeric value >=
pgfortran-Warning-Malformed $expr(), nonnumeric value >=
pgfortran-Warning-Malformed $expr(), extra text: 108…
hello.f:75:no such instruction: vzeroupper' hello.f:82:no such instruction: vzeroupper’
hello.f:89:no such instruction: vzeroupper' hello.f:96:no such instruction: vzeroupper’
hello.f:100:no such instruction: vzeroupper' hello.f:106:no such instruction: vzeroupper’
hello.f:221:no such instruction: `vzeroupper’

3rd Issue
compiling of hello world program in c++ using pgcpp (pgCC has same error as in first problem) doesn’t work

pgcpp-Warning-Malformed $expr(), nonnumeric value >=
pgcpp-Warning-Malformed $expr(), nonnumeric value >=
pgcpp-Warning-Malformed $expr(), extra text: 108…
File with unknown suffix passed to linker: –V
main.cpp:
“/opt/pgi/osx86-64/13.9/include/float.h”, line 58: catastrophic error: cannot
open source file “float.h”
#include_next<float.h>
^

1 catastrophic error detected in the compilation of “main.cpp”.
Compilation terminated.

4th issue
compiling of hello world in C with pgcc main.c doesn’t work

pgcc-Warning-Malformed $expr(), nonnumeric value >=
pgcc-Warning-Malformed $expr(), nonnumeric value >=
pgcc-Warning-Malformed $expr(), extra text: 108…
PGC-W-0267-#warning – “Unsupported compiler detected” (/usr/include/sys/cdefs.h: 81)
PGC/x86-64 OSX 13.9-0: compilation completed with warnings
main.c:34:no such instruction: vzeroupper' main.c:54:no such instruction: vzeroupper’
main.c:60:no such instruction: vzeroupper' main.c:198:no such instruction: vzeroupper’

Thanks for any help.

So calling pgCC ends up calling pgcc - the PGI C compiler. pgcpp is the right
choice.

The vzeroupper messages suggest you are using an older version of
Xcode than 4.5.2.

-tp=Nehalem

will generate code the Xcode assembler can eat. It currently does not
handle Sandia type cpu instructions (which 4.5.2. can).

The ‘pgfortran-Warning-Malformed $expr(), nonnumeric value >=’
type messages are not familiar to me. Looks like something
got corrupted, or not installed correctly (with enough privileges).

Please send the outputs of

a. pgfortran -dryrun hello.f
b. pgcpp -dryrun x.cc

to trs@pgroup.com. So we can see what is happening.
hello.f and x.cc need not exist.

regards,
dave

pgfortran hello.f -tp=nehalem gives the following

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

I have also sent you the results of
a. pgfortran -dryrun hello.f
b. pgcpp -dryrun x.cc