Modify

Opened 2 years ago

Last modified 2 years ago

#1951 assigned defect

Cactus reports missing thorns only at end of parfile

Reported by: Roland Haas Owned by: Steven R. Brandt
Priority: minor Milestone:
Component: Cactus Version: development version
Keywords: Cc:

Description

The current implementation of the the parfile parser reports thorns not present in the executable as originating from the last ActiveThorns line seens rather than from the one that actually mentions the thorn.

Example:

ActiveThorns = ThornThatDoesNotExist
ActiveThorns = IOUtil
ActiveThorns = AnotherThornThatDoesNotExist
$ cactus_sim parfile.par
Activating thorn Cactus...Success -> active implementation Cactus
Activation requested for
--->ThornThatDoesNotExist IOUtil AnotherThornThatDoesNotExist <---
Error: Thorn AnotherThornThatDoesNotExist not found
Error: Thorn ThornThatDoesNotExist not found
Activation failed - 2 errors in activation sequence
WARNING level 0 from host 8992d193.ncsa.illinois.edu process 0
  while executing schedule bin (none), routine (no thorn)::(no routine)
  in thorn Cactus, file /home/rhaas/postdoc/gr/cactus/Zelmani/configs/bns_all/build/Cactus/main/SetParams.c:93:
  -> CCTKi_SetParameter: Error at line 3 in parameter file parfile.par while activating thorns
WARNING level 0 from host 8992d193.ncsa.illinois.edu process 0
  while executing schedule bin (none), routine (no thorn)::(no routine)
  in thorn Cactus, file /home/rhaas/postdoc/gr/cactus/Zelmani/configs/bns_all/build/Cactus/main/SetParams.c:93:
  -> CCTKi_SetParameter: Error at line 3 in parameter file parfile.par while activating thorns
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

Mostly this confusing if one wants to jump to the right location in the file based on the supplied line number.

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by Steven R. Brandt

Owner: set to Steven R. Brandt
Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Steven R. Brandt.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from Steven R. Brandt to the specified user.
The owner will be changed from Steven R. Brandt to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.