FLAP icon indicating copy to clipboard operation
FLAP copied to clipboard

args length with GNU fortran

Open victorsndvg opened this issue 10 years ago • 1 comments

Hi @szaghi,

I've seen that, when using GFortran, args length is set to 100: https://github.com/szaghi/FLAP/blob/master/src/lib/Data_Type_Command_Line_Interface.F90#L126

I don't remember what is the problem, but I already checked that the allocatable array of deferred-length allocatable characters still not working with GFortran 5.1.

Actually, we need to increase the length of the arguments. The first idea is to set a bigger static value in my fork. Do you have any suggestion?

Thanks! :)

victorsndvg avatar Sep 15 '15 07:09 victorsndvg

Hi @victorsndvg ,

yes the problem was just the issue of GNU gfortran related to allocatable deferred length characters variables inside derived type. I am on gfortran v5.2 and the issue is still here. I think that the testing branch 6.x has solved this bug, but I am not sure. For the moment, I prefer to keep this work around.

Let me know the size you would like to have, or put it into your fork and create a Pull Request. I will happy to accept it.

See you soon.

szaghi avatar Sep 15 '15 07:09 szaghi