PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

issues after 13.9 install on Mac Os 10.8.5

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
Goetze



Joined: 01 Oct 2013
Posts: 2

PostPosted: Fri Oct 11, 2013 4:32 am    Post subject: issues after 13.9 install on Mac Os 10.8.5 Reply with quote

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.
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 445

PostPosted: Fri Oct 11, 2013 9:59 am    Post subject: MAC OSX filenames are case insensitive. Reply with quote

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
Back to top
View user's profile
Goetze



Joined: 01 Oct 2013
Posts: 2

PostPosted: Fri Oct 11, 2013 11:22 am    Post subject: Reply with quote

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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group