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 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
C W Johnson



Joined: 25 Mar 2013
Posts: 5

PostPosted: Tue Sep 24, 2013 3:53 pm    Post subject: start up program for fortran 13.8 on Mac OS X Reply with quote

I recently had some repairs done to my macbook air (running 10.8.5). I had had pgfortran 13.5 running. I had to reinstall xcode, and 13.5 stopped working--it looked like it wasn't finding the right library. Okay, so I tried to install 13.8. I also created a new license key (may have been the same as the old, I didn't check).

It looks like we no longer user lmgrd to start the licence, instead have to put PGI into the StartupItems. When I try

./PGI start

I get

Cannot open "/opt/pgi/license.log" as log file (1)
freopen: Permission denied

I tried rebooting and nothing. I also get an error message that this item has a safety issue, which might be part of the problem.

Not even sure where to start to fix it.
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 438

PostPosted: Wed Sep 25, 2013 3:24 pm    Post subject: 13.8 Mac OSX pgi compilers do not work with Xcode 5 Reply with quote

We are working on Xcode 5 support in our 14.* releases late in the year.

Install Xcode 4.5.2, and you should be okay.

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



Joined: 25 Mar 2013
Posts: 5

PostPosted: Wed Sep 25, 2013 6:38 pm    Post subject: Reply with quote

Yeah...that didn't work. In fact now it looks like Xcode is crippled as well. Any other suggestions?
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 438

PostPosted: Thu Sep 26, 2013 10:22 am    Post subject: Reply with quote

Details would be useful.

How did it 'not work'?


What do you mean 'Xcode is crippled'?


Here are a couple of things that are known difficulties
==================================
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
because
the file lacked some security verifier.
Instead, right click on the file -> Open, and then
say yes to 'Open anyway' after the same warning
===================================


If I knew what was not working, perhaps we can correct.


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



Joined: 25 Mar 2013
Posts: 5

PostPosted: Thu Sep 26, 2013 4:39 pm    Post subject: Reply with quote

I tried to install Xcode 4.5.2 but it would not overwrite Xcode 5.0. So I deleted the Xcode directory from the Applications folder. Probably a stupid thing to do.

I can run Xcode 4.5.2 from the downloaded .dmg file, but it does not install an Xcode directory.

With Xcode 4.5.2 launched try to run pgfortran (or pgf90 same error)

After launching lmgrd I get

pgfortran-Warning-Malformed $expr(), nonnumeric value >=
pgfortran-Warning-Malformed $expr(), nonnumeric value >=
pgfortran-Warning-Malformed $expr(), extra text: 108...
diff1.f:75:no such instruction: `vzeroupper'
diff1.f:84:no such instruction: `vzeroupper'
diff1.f:91:no such instruction: `vzeroupper'
diff1.f:98:no such instruction: `vzeroupper'
diff1.f:102:no such instruction: `vzeroupper'
diff1.f:111:no such instruction: `vzeroupper'
diff1.f:118:no such instruction: `vzeroupper'
diff1.f:126:no such instruction: `vzeroupper'
diff1.f:134:no such instruction: `vzeroupper'
diff1.f:138:no such instruction: `vzeroupper'
diff1.f:143:no such instruction: `vmovss -4(%rbp), %xmm0'
diff1.f:144:no such instruction: `vmovss %xmm0, -36(%rbp)'
diff1.f:146:no such instruction: `vmovss %xmm0, -12(%rbp)'
diff1.f:147:no such instruction: `vmovss -36(%rbp), %xmm1'
diff1.f:148:no such instruction: `vaddss -28(%rbp), %xmm1,%xmm1'
diff1.f:149:no such instruction: `vmovss %xmm0, -32(%rbp)'
diff1.f:150:no such instruction: `vmovaps %xmm1, %xmm0'
diff1.f:152:no such instruction: `vsubss -32(%rbp), %xmm0,%xmm0'
diff1.f:153:no such instruction: `vdivss -28(%rbp), %xmm0,%xmm0'
.... etc

diff1.f is a simple fortran code to take a numerical derivative of sin(x).
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 1, 2  Next
Page 1 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