You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've encountered a problem when using commas in comments in IOR scripts passed with the -f option.
It seems when a comma is in a comment leads to a failure and IOR complains about whats after the comma.
E.g. if I start IOR with the following script.
IOR Config
IOR START
api=POSIX # use POSIX I/O
useO_DIRECT=1 # bypass I/O buffers
intraTestBarriers=1 # barriers between open, read/write, and close
numTasks=0 # 0 means all tasks
filePerProc=1 # 1 means each proc access a single file
blockSize=20G # gigabytes (64 GB)
transferSize=2M # megabytes (2 MB)
writeFile=1
readFile=1
segmentCount=1 # number of segments in file
verbose=0 # lowest level of verbosity
RUN
IOR STOP
I get an error like this:
Syntax error in configuration options: read/write
If I then delete the first comma after the "open" the error changes to
Syntax error in configuration options: and close
If I finally also delete the last comma in the comment the script works well.
The text was updated successfully, but these errors were encountered:
I incorporated the fix into the branch for the parsing as it is related. Now comments in lines are ignored; that means "#" ain't be a valid character for any option value which seems OK to me. Before IOR only ignored lines which start with a comment.
Hi,
I've encountered a problem when using commas in comments in IOR scripts passed with the -f option.
It seems when a comma is in a comment leads to a failure and IOR complains about whats after the comma.
E.g. if I start IOR with the following script.
I get an error like this:
If I then delete the first comma after the "open" the error changes to
If I finally also delete the last comma in the comment the script works well.
The text was updated successfully, but these errors were encountered: