hodgesse1 / rfortran

Automatically exported from code.google.com/p/rfortran
0 stars 0 forks source link

Allocatable arrays of strings having length '*' #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There is an issue with allocatable arrays of strings having length = '*' -
you will note that this is not currently supported. Neither CVF or Intel
can correctly compile code to handle this. I am not sure if it is a
compiler bug, or if it is a violation of the current Fortran standard (and
thus not feasible). 

Solution/Implication: A workaround solution is to specify allocatable
arrays of strings to have length str_len, which is a constant in the
RFortran library. See Rget_1d_str_alloc, note that str(:) argument has
fixed length rather than * length.

Action: Test with later version of Intel to verify this is a bug. As long
as we support CVF, it may not be possible to do anything about it since CVF
is no longer updated.

Original issue reported on code.google.com by mleon...@civeng.adelaide.edu.au on 5 Jun 2009 at 12:18

GoogleCodeExporter commented 8 years ago

Original comment by mleon...@civeng.adelaide.edu.au on 9 Jun 2009 at 6:49

GoogleCodeExporter commented 8 years ago

Original comment by mleon...@civeng.adelaide.edu.au on 9 Jun 2009 at 6:51