Giter Site home page Giter Site logo

cfgio's People

Contributors

fiolj avatar jubilee2 avatar pkgpl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cfgio's Issues

Problem without section GENERALS on intel fortran 2017

When i compile the same programe with gfortran and intel fortran 2017, it's ok with gfortran but i have a stack overflow error when i start the program after a compilation with the intel fortran 2017.

I thinck that the mistake is in has_section and find_isect. When you haven't GENERALS or DEFAULTS section the "0" section is not allocated.

i add this line to solve the problème

ideb = 0
if(.not.allocated(cfg%s(0)%section)) ideb = 1
do isect=ideb,cfg%nsect

remove the limit of pair in cfg_sect_t%p

My case requires reading a lot of data in ini file.
I changed the pair to dynamic array in cfg_sect_t
This way will be no upper limit of cfg_sect_t%p
If you like this change, please reply issue. I will create a merge request or you can create a merge request ahead.

default value for arrays

hello! I have come about a problem using this library.
I can't seem to be able to define a default content for an array. Don't give it a value in another section it ends saying it cannot find the respective key.

Example:
.................

[DEFAULTS]
a = 1,2,3

[Section 1]

...............

a is an allocatable array. Also tried introducing a variable with the desired number of elements in a and allocate it manually but i still get the same error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.