Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [photran] OpenMP with Intel Fortran on Photran

That should work but I just tried and see that it does not.  The –openmp option setting is supposed to be automatically propagated to the link step when you change it on the compile step.  I’ll investigate why it is not happening but in the meantime, you can open the property page settings for the Intel Linker tool > “Command Line” and add the –openmp option to the “Additional Options” box.  That should fix it for now.

 

Hope that helps,

 

Bill Hilliard

 


From: photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx] On Behalf Of David Bal
Sent: Wednesday, March 03, 2010 2:49 PM
To: Photran Information
Subject: [photran] OpenMP with Intel Fortran on Photran

 

I am having trouble using OpenMP with the Intel 11.1 compiler on Photran.  My project is a Executable Intel Fortran project (using managed make file I believe). 

In order to turn on OpenMP I went under project properties then Intel IA-32 Fortran Compiler then Language.  I changed the Process OpenMP Directives option from Disable to General Parallel Code (-openmp).

When I compile a very simple OpenMP program I get a string of errors in the Fortran Linker.  The first error is "undefined reference to `__kmpc_begin'"

My guess is that the managed make file can not handle OpenMP.  Is that right?  Any other ideas?

Thanks,
David Bal

 


Back to the top