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 error - missing refcase/refdir?

jzweifel

jzweifel
Member
Hello All,

I'm looking to figure out why I am running into the following error when trying to submit my case. Here's the message on my CaseStatus:

2024-04-01 13:54:47: case.submit error

[Errno 13] Permission denied: '/glade/campaign/cesm/cesmdata/inputdata/cesm2_init/2000-01-01.tmp'



My case is able to build just fine, its a clone of another case I have called 'control_F2000'. This current one I call control_F2000_variables_added is just running that same case from 30 years into the simulation (my spin up time) while adding some variables to be output.

Here are what some of my pertinent xml variables are set to:

CONTINUE_RUN: FALSE
ESP_RUN_ON_PAUSE: FALSE
RESUBMIT_SETS_CONTINUE_RUN: TRUE
RUN_REFCASE: control_F2000
RUN_REFDATE: 0031-01-01
RUN_REFDIR: /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000
RUN_REFTOD: 00000
RUN_STARTDATE: 0001-01-01
RUN_TYPE: branch


Here's some feedback snippets I got from my case.submit that I'm guessing are my issue here:

Model refcase missing file refdir = '/glade/campaign/cesm/cesmdata/inputdata/cesm2_init/2000-01-01/'
Client protocol gftp not enabled
Using protocol wget with user anonymous and passwd user@example.edu
Trying to download file: '../inputdata_checksum.dat' to path '/glade/derecho/scratch/jzweifel/control_F2000_variables_added/run/inputdata_checksum.dat.raw' using WGET protocol.
SUCCESS


&

Model refcase missing file refdir = '/glade/campaign/cesm/cesmdata/inputdata/cesm2_init/2000-01-01/'
Trying to download file: 'cesm2_init/2000-01-01' to path '/glade/campaign/cesm/cesmdata/inputdata/cesm2_init/2000-01-01' using WGET protocol.
Creating directory /glade/campaign/cesm/cesmdata/inputdata/cesm2_init/2000-01-01


I get some similar feedback when I use check_input_data:

Loading input file list: 'Buildconf/clm.input_data_list'
Loading input file list: 'Buildconf/cpl.input_data_list'
Loading input file list: 'Buildconf/cice.input_data_list'
Loading input file list: 'Buildconf/docn.input_data_list'
Loading input file list: 'Buildconf/cism.input_data_list'
Loading input file list: 'Buildconf/mosart.input_data_list'
Loading input file list: 'Buildconf/cam.input_data_list'
Loading input file list: 'Buildconf/refcase.input_data_list'
Model refcase missing file refdir = '/glade/campaign/cesm/cesmdata/inputdata/cesm2_init/2000-01-01/'
- Prestaging REFCASE (/glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000) to /glade/derecho/scratch/jzweifel/control_F2000_variables_added/run

Copy rpointer /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000/rpointer.atm
Copy rpointer /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000/rpointer.lnd
Copy rpointer /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000/rpointer.ocn
Copy rpointer /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000/rpointer.rof
Copy rpointer /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000/rpointer.glc
Copy rpointer /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000/rpointer.drv
Copy rpointer /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000/rpointer.ice


Any help here would be great!

Thanks
 

slevis

Moderator
Staff member
I do not have the answer (maybe somebody else knows exactly what you need to do), but I will suggest some troubleshooting ideas:
- Since this is a clone of a case that worked, I would make sure that this one also works before introducing changes. So right after cloning and building I would expect it to work. If not...
- then I would check whether you're still in the same model version and whether you have run ./manage_externals/checkout_externals. If so...
- then I would try reproducing the clone using ./create_newcase in case there's a problem with cloning for some reason
- and so on down a troubleshooting decision tree.
 

slevis

Moderator
Staff member
If all that just confirms that you're still getting the same error when trying to start a branch simulation, then what I would be looking for is why the model is looking for refcase in refdir '/glade/campaign/cesm/cesmdata/inputdata/cesm2_init/2000-01-01/' when to me it seems as though you're setting
RUN_REFDIR: /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000
 

jzweifel

jzweifel
Member
If all that just confirms that you're still getting the same error when trying to start a branch simulation, then what I would be looking for is why the model is looking for refcase in refdir '/glade/campaign/cesm/cesmdata/inputdata/cesm2_init/2000-01-01/' when to me it seems as though you're setting
RUN_REFDIR: /glade/derecho/scratch/jzweifel/archive/control_F2000/rest/first_30_years/0031-01-01-00000
I'll start trying to trouble shoot like you mentioned above. The conflicting information about RUN_REFCASE and RUN_REFDIR seems the most odd to me.
 

slevis

Moderator
Staff member
It's possible that RUN_REFDIR should be set to /glade/derecho/scratch/jzweifel/archive/control_F2000
and the model will figure out the rest of the path.
 
Top