Page 1 of 1

behavior of --with-config-file=foo.bar

Posted: Mon Jun 14, 2010 1:04 am
by jzwanzig
Hi, currently the command ../configure --with-config-file=foo.bar runs, even if "foo.bar" doesn't exist. That is, configure churns along with its own defaults and guesses. But if the user (me for example) wants a specific config file and mistypes the name or in some other way gives a file name that doesn't exist, I think the configure system should just stop immediately with a warning that the requested config file was not found. What does everyone else think about this proposal?

Joe

Re: behavior of --with-config-file=foo.bar

Posted: Mon Jun 14, 2010 9:07 am
by mverstra
Great idea, happened to me countless times. One major progress in 6.0 was that it now complains about relative paths that it is unable to parse (instead of skipping the file like it used to). This means your check should be possible if Yann has time to fiddle.

Cheers

Matthieu

Re: behavior of --with-config-file=foo.bar

Posted: Mon Jun 14, 2010 1:38 pm
by pouillon
Up to now, the choice was to ignore the file if it didn't exist, because this was what I had been requested to do. If you change your mind, I will adapt.

Let's thus say that, if there is no complaint about increasing the severity to an error by the end of the week, I'll just do it.

Re: behavior of --with-config-file=foo.bar

Posted: Mon Jun 14, 2010 4:18 pm
by jzwanzig
Thanks, Yann, I think it would be better for the system to stop if it can't find the requested file.

Joe

Re: behavior of --with-config-file=foo.bar  [SOLVED]

Posted: Tue Jun 22, 2010 10:30 am
by pouillon
Will be available in Abinit 6.2.0.