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

I did as you said and added -openmp under Intel Linker tool > “Command Line” to the “Additional Options” box.  It did not work.  I got "error #10236: File not found: '-openmp'"  Any suggestions?

--- On Wed, 3/3/10, Hilliard, Bill <bill.hilliard@xxxxxxxxx> wrote:

From: Hilliard, Bill <bill.hilliard@xxxxxxxxx>
Subject: RE: [photran] OpenMP with Intel Fortran on Photran
To: "Photran Information" <photran@xxxxxxxxxxx>
Date: Wednesday, March 3, 2010, 12:36 PM

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

 


-----Inline Attachment Follows-----

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

Back to the top