Rate This Document
Findability
Accuracy
Completeness
Readability

Error "mclock, has not been explicitly declared" Reported When Compiling AmberTools

Symptom

The error "mclock, has not been explicitly declared" is reported when compiling AmberTools.

Key Process and Cause Analysis

None

Conclusion and Solution

Modify the se_etimer.F file.

  1. Open the se_etimer.F file.
    vi /path/to/Ambertools/amber20_src/AmberTools/src/sebomd/se_etimer.F
  2. Press i to enter the edit mode, deregister tnow = 0.01*mclock() in line 28, and add the following content:
    call cpu_time(tnow)

    After performing 1, press Esc, type :set nu, and press Enter to display the line number.

  3. Press Esc, type :wq!, and press Enter to save the file and exit.