Binary compatibility issues

From: http://pelican.rsvs.ulaval.ca/mediawiki/index.php/CHARMM_tips_and_tricks

If you encounter the message "Headers do not match", it may be caused by :

§  Using a different machine type (x86 vs AMD64)

§  Using a different compilation of CHARMM

Here is the solution :

From the machine which generate the (binary) trajectory file :

    open unit 10 unform name merge.trj    open unit 20   form name form_merge.trj    DYNA FORM FIRST 10 OUTP 20

From the machine which will read this formatted trajectory

 

    open unit 10   form name form_merge.trj    open unit 20 unform name merge.trj    DYNA UNFO INPUT 10 OUTP 20