Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ifort requires the ;-assume byterecl' flag. #4

Open
GoogleCodeExporter opened this issue Dec 20, 2015 · 3 comments
Open

Ifort requires the ;-assume byterecl' flag. #4

GoogleCodeExporter opened this issue Dec 20, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

After compiling with Intel Fortran (latest version)
, the example code "sum" run as following :

-----------------------------------------------------
CL device: 
 Caicos                                                                         

 "/tmp/OCLc88xhl.cl", line 1: error: expected a declaration
  /oi  1 r
  ^

At e
 nd of source: warning: parsing restarts here after previous syntax error

1 err
 or detected in the compilation of "/tmp/OCLc88xhl.cl".

Internal error: clc com
 piler invocation failed.

Error: program build failed.
------------------------------------------------------

My OS is scientific linux 63

Thanks

Original issue reported on code.google.com by limou...@gmail.com on 6 Sep 2012 at 10:19

@GoogleCodeExporter
Copy link
Author

Thanks for the report. I think this is an issue of the ifort compiler, it is 
solved by using the flag:

-assume byterecl

Can you check whether this fixes the problem.

Original comment by xavier.andrade.valencia on 6 Sep 2012 at 3:44

@GoogleCodeExporter
Copy link
Author

Thank you very much.
I should've learned more about the compiler operation.

Original comment by limou...@gmail.com on 6 Sep 2012 at 11:41

@GoogleCodeExporter
Copy link
Author

Original comment by xavier.andrade.valencia on 30 Aug 2013 at 10:39

  • Changed title: Ifort requires the ;-assume byterecl' flag.
  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant