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.