Errors in creat_newcase

XiaodanMa

XiaodanMa
New Member
Hi everyone,

I am trying to port CESM2.1.3 in one local cluster. For that I have modify the config_machines.xml, config_batch.xml and config_compiles.xml in ~/my_cesm_sandbox/cime/config/cesm/machines directory.

Then when I run ./create_newcase --case case1.0 --machine Mia --res f19_g16 --compset X, I got a .xml related error. I think it should be something about my config_machines.xml file, I don't have to much knowledge on this, so probably I have a very basic error.

I attach here the .xml files and also the error output.

Any help will be very useful!

Thanks!
 

Attachments

fischer

CSEG and Liaisons
Staff member
Hi,

You're missing a </config_machines> at the end of config_machines.xml.
You're also missing </config_compilers> at the end of config_compilers.xml.
And missing </config_batch> at the end of config_batch.xml.

Chris
 

XiaodanMa

XiaodanMa
New Member
Hi,

You're missing a </config_machines> at the end of config_machines.xml.
You're also missing </config_compilers> at the end of config_compilers.xml.
And missing </config_batch> at the end of config_batch.xml.

Chris
Dear Chris,

Thanks a lot! The above error was fixed. However, when I rerun the ./creat_newcase, it remiand me that "element config_machine: Schemas validity error : Element 'config_machine': No matching global declaration available for the validation root."

So I tried to redownload the CESM. I encounted the warning " You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout."

And the following "./manage_externals/checkout_externals" told me that "Command 'git clone --quiet ESMCI/cime cime'
from directory /nuist/scratch/ybliu/ybliu_liyang/Mia/my_cesm_sandbox has taken 300 seconds. It may be hanging.".

Ps: I have run "svn ls https://svn-ccsm-models.cgd.ucar.edu/ww3/release_tags" as the instruction told.

It never happen before. Do you have any suggestions?

Kind regards,
Xiaodan Ma
 

fischer

CSEG and Liaisons
Staff member
Hi Xiaodan,

It looks like your using <config_machine></config_machine> in the config_machines.xml file instead of <config_machines></config_machines>

It's possible that there was a network issue with git. Try rerunning ./manage_externals/checkout_externals --logging.
The logging will provide more logs on the checkout process.

Chris
 

XiaodanMa

XiaodanMa
New Member
Hi Xiaodan,

It looks like your using <config_machine></config_machine> in the config_machines.xml file instead of <config_machines></config_machines>

It's possible that there was a network issue with git. Try rerunning ./manage_externals/checkout_externals --logging.
The logging will provide more logs on the checkout process.

Chris
So greatful for your help! I can creat newcase now!

Have a nice day~

Kind regards,
Xiaodan Ma
 
Back
Top