PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

catastrophic error: cannot open source file "float.h&qu

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
dsimkins



Joined: 05 Jun 2009
Posts: 3

PostPosted: Mon Jan 21, 2013 9:58 am    Post subject: catastrophic error: cannot open source file "float.h&qu Reply with quote

I have been using the 12.10 PGI C/C++ compilers on MacOSX Lion (10.7.5) since they were released. Just recently, I was forced to upgrade my Xcode developer tools from 4.2 to 4.5, and now the PGI compilers fail with the subject error for any file I try to compile. The particular issue arises at line 57 in /opt/pgi/osx86-64/12.10/include/float.h when it issues a #include_next<float.h>.

Is there an include search path I should add so that the #include_next does not fail?
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 445

PostPosted: Mon Jan 21, 2013 1:42 pm    Post subject: MAC install problems Reply with quote

Hello,

You must reinstall the compilers anytime you upgrade the OS or the Xcode.
===============================================
Here are some additional things to watch out for
===============================================

Goto Finder-> Applications -> Xcode
Xcode bar -> preferences -> Components
you will probably see that IOS 5.0 and 5.1 Simulators are installed,
but the 'Command Line Tools' is not installed. Install it.

When you try to open the installation files by double clicking, it fails
becausethe file lacked some security verifier.
Instead, right (<CTL>) click on the file -> Open, and then
say yes to 'Open anyway' after the same warning

If those steps fail, I will need to see more information about what is
failing.
===============================================

I hope this helps.

dave
Back to top
View user's profile
dsimkins



Joined: 05 Jun 2009
Posts: 3

PostPosted: Tue Jan 22, 2013 2:52 am    Post subject: Reply with quote

Thanks, that did the trick!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling 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