PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

start up program for fortran 13.8 on Mac OS X
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
jtull



Joined: 30 Jun 2004
Posts: 438

PostPosted: Fri Sep 27, 2013 10:21 am    Post subject: Reply with quote

The failed instructions are indicative of an older Xcode than 4.5.2.
4.3 should work - not sure. Make sure you are selecting the right Xcode.

Try compiling with

% pgfortran hello.f -tp=nehalem

and see if you see the same errors. If they go away, you can workaround the
problem by creating/editing a siterc file in your pgi bin directory, with the
line

set PREOPTIONS=-tp=nehalem;

(the semicolon at the end is important!)

regards,
dave
Back to top
View user's profile
C W Johnson



Joined: 25 Mar 2013
Posts: 5

PostPosted: Fri Sep 27, 2013 11:21 am    Post subject: Reply with quote

I will try Xcode 4.3. Do I want 4.3 or 4.3.3 which is available?

By the way, those all are labled "Xcode 4.3.. for Lion" and I have Mountain Lion. Still try to install?

UPDATE--it wants Lion and will not install under Mountain Lion. I can't find a version of Xcode 4.3 for Mountain Lion.

Prior to that (slow download, bad wifi at work) I tried the switch

pgfortran diff1.f -tp=nehalem
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

by the way, I ran lmgrd first---should I be doing that? Not clear.

Thanks
Back to top
View user's profile
C W Johnson



Joined: 25 Mar 2013
Posts: 5

PostPosted: Tue Oct 01, 2013 12:42 pm    Post subject: Resolved Reply with quote

Okay, I resolved the issue. The key was installing Xcode 4.5.2, and then going back to PG Fortran 13.5, which I still had--I just had to change the path in my .bash_profile.

Right now, it appears to work as before, which is just fine for me.
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
Goto page Previous  1, 2
Page 2 of 2

 
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