[ET Trac] [Einstein Toolkit] #1881: Unclear error message for parameter file error

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue May 24 09:28:19 CDT 2016


#1881: Unclear error message for parameter file error
-----------------------+----------------------------------------------------
  Reporter:  eschnett  |       Owner:                     
      Type:  defect    |      Status:  review             
  Priority:  minor     |   Milestone:                     
 Component:  Cactus    |     Version:  development version
Resolution:            |    Keywords:                     
-----------------------+----------------------------------------------------

Comment (by sbrandt):

 Patch updated with clearer error messages. Now you see this:
 {{{
 WARNING level 0 from host sbrand3-5.lsu.edu process 0
   while executing schedule bin (none), routine (no thorn)::(no routine)
   in thorn cactus, file x.par:1:
   -> ERROR IN PARAMETER FILE:Parse Error
 Expected one of the following characters: '[', '='
 # ML_BSSN_FH::block_size_k = 4

 ML_BSSN_FH::ML_log_confac_bound = "none"
 ML_BSSN_FH_Helper::ML_BSSN_FH_CalculateRHSInMoLPostStep
                                                         ^

 application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0

 }}}
 and if you add the = sign, you get this
 {{{
 WARNING level 0 from host sbrand3-5.lsu.edu process 0
   while executing schedule bin (none), routine (no thorn)::(no routine)
   in thorn cactus, file x.par:1:
   -> ERROR IN PARAMETER FILE:Parse Error
 Expected one of the following characters: '[', '+', '-', '!', '(', '0' to
 '9',double quote, '.', '/', 'a' to 'z', 'A' to 'Z', '$'
 # ML_BSSN_FH::block_size_k = 4

 ML_BSSN_FH::ML_log_confac_bound = "none"
 ML_BSSN_FH_Helper::ML_BSSN_FH_CalculateRHSInMoLPostStep =
                                                           ^

 application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1881#comment:6>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list