Menu

#1 amazingly slow for 1MByte files

v1.0_(example)
closed
None
8
2015-09-11
2009-03-04
mkbane
No

I've 2 files, both I believe valid ncf files, with a single variable x of about 1000 elements. nccmp has been running for 11 mins and not yet reported that there's any diff even though I know the 12th element differs...

Files attached

Please advise, M

Discussion

  • mkbane

    mkbane - 2009-03-04

    file1 for comparison (compressed version)

     
  • mkbane

    mkbane - 2009-03-04

    file2 used in comparison (compressed)

     
  • mkbane

    mkbane - 2009-03-04

    File Added: fastOpt_water-nosymm.pot.ncf.gz

     
  • Nobody/Anonymous

    It seems that putting values in for -t forces it to give some results (why is this required?), but despite outputting the values for elements close to the end it apparently never gets there...

     
  • Nobody/Anonymous

    Actually, I'd have to say I've given up with nccmp and gone with the NCO option which appears to be fast and does the job I required.

    Thanks

     
  • Remik Ziemlinski

    My apologies. This was filtered by my email client long ago. 2GB files compare in 15 seconds on my desktop, and 10 milliseconds for your attachments. The first value is different (19,137 actually), shown in hex too.

    $ time nccmp -md -p '%.15g' /d/tmp/noOpt_water-nosymm.pot.ncf /d/tmp/fastOpt_water-nosymm.pot.ncf
    DIFFER : VARIABLE : x : POSITION : [0] : VALUES : 0.0045688536225282 <> 0.0045688536225281

    real 0m0.010s

    $ nccmp -md -p '%x' /d/tmp/noOpt_water-nosymm.pot.ncf /d/tmp/fastOpt_water-nosymm.pot.ncf
    DIFFER : VARIABLE : x : POSITION : [0] : VALUES : 0x5838394ECAB6723F <> 0xE437394ECAB6723F

     
  • Remik Ziemlinski

    • status: open --> closed
    • assigned_to: Remik Ziemlinski
    • Group: --> v1.0_(example)
     

Anonymous
Anonymous

Add attachments
Cancel