PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

x compiling fortran on a 64 bit machine for a 32 bit mach

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



Joined: 29 Nov 2007
Posts: 1

PostPosted: Wed Dec 26, 2012 12:50 pm    Post subject: x compiling fortran on a 64 bit machine for a 32 bit mach Reply with quote

I have a Pentium R dual CPU computer and
a number of 32 bit machine.

Can I cross compile a fortran 77 program on a 64 bit machine to run on a 32 bit machine?

How do i get the call graphs that seem to be promised?
-cg didn't work for pgf77



Thanks,
Milt
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Mon Jan 07, 2013 10:38 am    Post subject: Reply with quote

Hi Mitt,

Quote:
Can I cross compile a fortran 77 program on a 64 bit machine to run on a 32 bit machine?
Yes. Compile using the "-tp" (target processor) flag and specify the particular 32-bit target. Please see the output of "pgf77 -help -tp" for the complete list of targets. Most likely, you'll want "-tp piii", "-tp piv" or "-tp px". Note that in the upcoming 13.x compilers, we will be dropping support for Pentium III.

Quote:
How do i get the call graphs that seem to be promised?
-cg didn't work for pgf77
Call graphs can be generated via the flag "-Mpia=cg" and then viewed using the "pgicg" utility.

Hope this helps,
Mat
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