ESMCI / cime

Common Infrastructure for Modeling the Earth
http://esmci.github.io/cime
Other
162 stars 207 forks source link

Fixes check_lockedfiles call in xmlchange #4650

Closed jasonb5 closed 4 months ago

jasonb5 commented 4 months ago

Test suite: n/a Test baseline: n/a Test namelist changes: n/a Test status: n/a

Fixes #4643

User interface changes?: n/a Update gh-pages html (Y/N)?: n

jedwards4b commented 4 months ago

Thanks - I think that it's fine to leave the message as is.

jedwards4b commented 4 months ago

Actually - it would probably be better if the word ERROR were not there:

 ./xmlchange NTASKS_GLC=4,NTASKS_WAV=1,NTASKS_OCN=5604,ROOTPE_OCN=5404
Detected diff in locked file 'env_mach_pes.xml'
    'NTASKS_OCN' has changed from 512 to 5604
    'NTASKS_GLC' has changed from 104 to 4
    'NTASKS_WAV' has changed from 104 to 1
    'ROOTPE_OCN' has changed from 5504 to 5404
ERROR: For your changes to take effect, run:
./case.setup --reset