Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Permission denied on derecho computer when setting up my case run scripts.

heidinsiah123

Heidi Nsiah
New Member
These are the steps I used ;

1. cd /glade/work/{username}/cesm2.1.5/cime/scripts
2. ./create_newcase --case ~/cases/b.day1.0 --res f19_g17 --compset B1850 --project -------
3. cd ~/cases/b.day1.0
4. ./case.setup

I can't set up my case, let alone build and run the case.
Trying to set up the case, I get the following error from derecho,

hnsiah@derecho6:~/cases/b.day5.0> ./case.setupMachine/Decomp/Pes configuration has already been done ...skipping
ERROR: Command: '/glade/work/hnsiah/cesm2.1.5/components/cism//cime_config/cism.template /glade/u/home/hnsiah/cases/b.day5.0' failed with error 'b'mkdir: cannot create directory \xe2\x80\x98/cismIOconf\xe2\x80\x99: Permission denied\nERROR cism.build_usernl: mkdir /cismIOconf failed: 256'' from dir '/glade/u/home/hnsiah/cases/b.day5.0'.

Initially, I ran the first successful case, but the second case wasn't. I was asked by one of the assistants from NCAR to delete all the cases and start from scratch, which I did, but to no avail. The second option is to seek help from the CESM bulletin board.

My question is, how do I resolve this issue? I'm taking the same course with my colleagues, and they have it all, but mine is not working out.
Thank you.
 
Solution
Ah, it looks like the 'xmlquery' script in your source directory was somehow messed up. Two options:

1) Go into your source directory (/glade/work/{user}/cesm2.1.5), then go into the 'cime' subdirectory. From there, you can see it's been modified by doing a 'git status', but really, you just want to do 'git restore scripts/Tools/xmlquery'. After that, try again.

2) You can always just re-download things and try from scratch, which should also work. In this case, the above is far easier / faster, but the second is something even those of us who work with the code do often when we hit odd errors! ;)

Good luck, and if you still have questions, let us know!
Thank you. It worked.

dobbins

Brian Dobbins
CSEG and Liaisons
Staff member
Ah, it looks like the 'xmlquery' script in your source directory was somehow messed up. Two options:

1) Go into your source directory (/glade/work/{user}/cesm2.1.5), then go into the 'cime' subdirectory. From there, you can see it's been modified by doing a 'git status', but really, you just want to do 'git restore scripts/Tools/xmlquery'. After that, try again.

2) You can always just re-download things and try from scratch, which should also work. In this case, the above is far easier / faster, but the second is something even those of us who work with the code do often when we hit odd errors! ;)

Good luck, and if you still have questions, let us know!
 
Vote Upvote 0 Downvote

heidinsiah123

Heidi Nsiah
New Member
Ah, it looks like the 'xmlquery' script in your source directory was somehow messed up. Two options:

1) Go into your source directory (/glade/work/{user}/cesm2.1.5), then go into the 'cime' subdirectory. From there, you can see it's been modified by doing a 'git status', but really, you just want to do 'git restore scripts/Tools/xmlquery'. After that, try again.

2) You can always just re-download things and try from scratch, which should also work. In this case, the above is far easier / faster, but the second is something even those of us who work with the code do often when we hit odd errors! ;)

Good luck, and if you still have questions, let us know!
Thank you. It worked.
 
Vote Upvote 0 Downvote
Solution
Top