Skip to content
New issue

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

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

Already on GitHub? # to your account

Intel compilation issues #44

Closed
zbeekman opened this issue Jun 30, 2015 · 3 comments
Closed

Intel compilation issues #44

zbeekman opened this issue Jun 30, 2015 · 3 comments
Labels

Comments

@zbeekman
Copy link
Contributor

Hi Stefano,
I hate to be the bearer of bad news, but while I was investigating the issue you were having with the default program name not being taken from $0 I was wondering if you were trying to use the Intel Compilers. On my home computer I only have access to the Beta 2016 release, which produces a run-time error (and a very strange one):

$ Test_Driver/Test_Driver
Test_Driver(80311,0x7fff772cf300) malloc: *** error for object 0x2: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

So this got me wondering what was happening so I tried to compile this on my work computer where we have the 13.1.0 20130121 version of the compiler and this fails to compile IR_Precision.F90 with the following errors:

Compiling IR_Precision.F90
src/IR_Precision.F90:927.2:

  pure function str_a_I1P(no_sign,delimiters,n) result(str)
  1
Error: CHARACTER(*) function 'str_a_i1p' at (1) cannot be pure
src/IR_Precision.F90:894.2:

  pure function str_a_I2P(no_sign,delimiters,n) result(str)
  1
Error: CHARACTER(*) function 'str_a_i2p' at (1) cannot be pure
src/IR_Precision.F90:861.2:

  pure function str_a_I4P(no_sign,delimiters,n) result(str)
  1
Error: CHARACTER(*) function 'str_a_i4p' at (1) cannot be pure
src/IR_Precision.F90:828.2:

  pure function str_a_I8P(no_sign,delimiters,n) result(str)
  1
Error: CHARACTER(*) function 'str_a_i8p' at (1) cannot be pure
src/IR_Precision.F90:729.2:

  pure function str_a_R16P(no_sign,delimiters,n) result(str)
  1
Error: CHARACTER(*) function 'str_a_r16p' at (1) cannot be pure
src/IR_Precision.F90:795.2:

  pure function str_a_R4P(no_sign,delimiters,n) result(str)
  1
Error: CHARACTER(*) function 'str_a_r4p' at (1) cannot be pure
src/IR_Precision.F90:762.2:

  pure function str_a_R8P(no_sign,delimiters,n) result(str)
  1
Error: CHARACTER(*) function 'str_a_r8p' at (1) cannot be pure
make: *** [Test_Driver/obj/ir_precision.o] Error 1
@szaghi
Copy link
Owner

szaghi commented Jun 30, 2015

Today I have done a very quick tests (about few seconds...) with intel 15.x (for the new -- feature....seems to work!) without any particular problems. I am almost sure that IR_Precisiin module can be correctly compiked with intel 14.x. I think I never tested the 13.x version, but I remember success with 12.x. Tomorrow I hope to have few minutes duribg the lunch break for fixing this issue. Do not worry about bad news, you are the only (except me) testing FLAP, your issues are very welcome!

Thank you again!

@szaghi szaghi added the bug label Jul 1, 2015
@szaghi
Copy link
Owner

szaghi commented Jul 7, 2015

Hi @zbeekman

I have done a lot of tests with Intel 15.0.3, the only Intel Fortran Compiler that I can use now, and all seem work right (as gfortran). I am closing this issue, but feel free to reopen it if the problem persists.

@szaghi szaghi closed this as completed Jul 7, 2015
@zbeekman
Copy link
Contributor Author

zbeekman commented Jul 7, 2015

👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants