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’m not sure what to suggest here.  That works for me and I cannot reproduce what you are seeing.  Can you double check where you added the -openmp property in the linker tool again just to be sure it is correct?  You can send me a screen shot of the property page if you want and I’ll see if I can spot anything.

 

If that does not lead us anywhere, can you zip up the project and send it to me to look at?  My reproducing test case is very simple.  I created an Intel Fortran executable project with a source file that is just a helloworld program.  Then I enable –openmp in the compile step to see the original problem.  Then I add –openmp in the linker tool as described to see the problem resolved.  Are you doing anything more complicated/different than that (multiple source files, other options set, etc., anything else that might help me reproduce the situation)?

 

Thanks,

 

Bill

 


From: photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx] On Behalf Of David Bal
Sent: Thursday, March 04, 2010 1:30 AM
To: Photran Information
Subject: 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