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
behavior of --with-config-file=foo.bar [SOLVED]
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
behavior of --with-config-file=foo.bar
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Re: behavior of --with-config-file=foo.bar
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
Cheers
Matthieu
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: behavior of --with-config-file=foo.bar
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.
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.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: behavior of --with-config-file=foo.bar
Thanks, Yann, I think it would be better for the system to stop if it can't find the requested file.
Joe
Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Re: behavior of --with-config-file=foo.bar [SOLVED]
Will be available in Abinit 6.2.0.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain