[ET Trac] [Einstein Toolkit] #1525: cannt use environment variables in non-stringy parameters
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Jan 22 17:08:00 CST 2014
#1525: cannt use environment variables in non-stringy parameters
---------------------+------------------------------------------------------
Reporter: rhaas | Owner: sbrandt
Type: defect | Status: reviewed_ok
Priority: minor | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by rhaas):
I just noticed that the error message reads:
{{{
WARNING level 0 in thorn Cactus processor 0 host horizon.tapir.caltech.edu
(line 1 of env):
-> Invalid numerical value: 12e
}}}
ie the paramter file name is given as just "env" without the ".par"
extension (which the function get_parfile actually strips). I think for
error messages one should use the string returned by
CCTK_ParameterFilename without further modifications. In particular
get_parfile may or may not modify the returned value so one cannot just
add ".par" to its returned string to restore the value returned by
CCTK_ParameterFilename. This might affect other error messages as well.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1525#comment:8>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list