What version of the code are you using?
I am using cime5.6.49
Have you made any changes to files in the source tree?
No changes.
Describe every step you took leading up to the problem:
I am attempting to clone a case that I do not have write permissions for. The case I am attempting to clone is /glade/work/sglanvil/cases/b.e21.BWHIST.SD.f09_g17.002, and I am attempting to clone it to the new case /glade/u/home/bmartinez/b.e21.BWHIST.SD.f09_g17.002_NEWX. I tried setting the --cime-output-root flag to a directory that I did have write access to (for example, the same directory as the new case I am creating), but it still fails with the following error:
ERROR: Command: '/usr/bin/xmllint --format --output /glade/work/sglanvil/cases/b.e21.BWHIST.SD.f09_g17.002/env_workflow.xml -' failed with error 'b'I/O error : Permission denied\nI/O error : Permission denied'' from dir '/glade/work/bmartinez/code/cesm3/cime/scripts'
The command I tried to use to make the clone is:
./create_clone --case /glade/u/home/bmartinez/b.e21.BWHIST.SD.f09_g17.002_NEWX --clone /glade/work/sglanvil/cases/b.e21.BWHIST.SD.f09_g17.002 --cime-output-root /glade/u/home/bmartinez/b.e21.BWHIST.SD.f09_g17.002_NEWX
If this is a port to a new machine: Please attach any files you added or changed for the machine port (e.g., config_compilers.xml, config_machines.xml, and config_batch.xml) and tell us the compiler version you are using on this machine.
Please attach any log files showing error messages or other useful information.
Describe your problem or question:
I think that, at some point during the cloning process, it wants to edit the env_workflow.xml file in the original case, but, since I don't have write access, it causes the clone to fail. Is it possible to clone without modifying that xml file?
I am using cime5.6.49
Have you made any changes to files in the source tree?
No changes.
Describe every step you took leading up to the problem:
I am attempting to clone a case that I do not have write permissions for. The case I am attempting to clone is /glade/work/sglanvil/cases/b.e21.BWHIST.SD.f09_g17.002, and I am attempting to clone it to the new case /glade/u/home/bmartinez/b.e21.BWHIST.SD.f09_g17.002_NEWX. I tried setting the --cime-output-root flag to a directory that I did have write access to (for example, the same directory as the new case I am creating), but it still fails with the following error:
ERROR: Command: '/usr/bin/xmllint --format --output /glade/work/sglanvil/cases/b.e21.BWHIST.SD.f09_g17.002/env_workflow.xml -' failed with error 'b'I/O error : Permission denied\nI/O error : Permission denied'' from dir '/glade/work/bmartinez/code/cesm3/cime/scripts'
The command I tried to use to make the clone is:
./create_clone --case /glade/u/home/bmartinez/b.e21.BWHIST.SD.f09_g17.002_NEWX --clone /glade/work/sglanvil/cases/b.e21.BWHIST.SD.f09_g17.002 --cime-output-root /glade/u/home/bmartinez/b.e21.BWHIST.SD.f09_g17.002_NEWX
If this is a port to a new machine: Please attach any files you added or changed for the machine port (e.g., config_compilers.xml, config_machines.xml, and config_batch.xml) and tell us the compiler version you are using on this machine.
Please attach any log files showing error messages or other useful information.
Describe your problem or question:
I think that, at some point during the cloning process, it wants to edit the env_workflow.xml file in the original case, but, since I don't have write access, it causes the clone to fail. Is it possible to clone without modifying that xml file?