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

args length with GNU fortran #52

Open
victorsndvg opened this issue Sep 15, 2015 · 1 comment
Open

args length with GNU fortran #52

victorsndvg opened this issue Sep 15, 2015 · 1 comment

Comments

@victorsndvg
Copy link

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! :)

@szaghi
Copy link
Owner

szaghi commented Sep 15, 2015

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.

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

No branches or pull requests

2 participants