Modify

Opened 7 years ago

#665 new enhancement

CarpetIO* output parameter format error

Reported by: baiotti@… Owned by:
Priority: minor Milestone:
Component: Cactus Version:
Keywords: syntax for variable names Cc:

Description

Even if it is an unofficial feature, the output parameter format for public variables, e.g.:

IOASCII::out1D_vars = "THORN_NAME::VARIABLE_NAME"

should be accepted. Instead, I found that when requesting output as

IOASCII::out1D_vars = "TestOutput::testoutput"

for a *public:* or *protected:* variable group of the type:

CCTK_REAL testoutput[nvar] type=GF TimeLevels=1 Dim=3
{

output

} ""

where nvar is an integer parameter and the thorn name is TestOutput and
differs from the implementation name, Carpet complains that

WARNING[L1,P0] (Cactus): CCTK_TraverseString: invalid group/variable name
'TestOutput::testoutput' in traversed string 'TestOutput::testoutput'
WARNING level 0 in thorn IOUtil processor 0 host mbaiotti2-2.local

(line 140 of

/Users/baiotti/Cactus.fresh-checkout/arrangements/CactusBase/IOUtil/src/Utils.c):

-> error while parsing parameter 'IOBasic::outInfo_vars'

For *private:* arrays of variables it works.

I attach an example thorn and parfile.

Attachments (1)

OutputTest.tgz (2.9 KB) - added by baiotti@… 7 years ago.
small thorn to reproduce the problem

Download all attachments as: .zip

Change History (1)

Changed 7 years ago by baiotti@…

Attachment: OutputTest.tgz added

small thorn to reproduce the problem

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.