Main menu

Navigation

OSError: [Errno 17] File exists

3 posts / 0 new
Last post
xyli@...
OSError: [Errno 17] File exists
Dear all, When I tried to build a case with compset BW1850 with version CESM2.1.1, I got the following error. Any idea about this? ./create_newcase --case /cluster/home/xiangyuli/cases/BW0624-SO2 --compset BW1850 --res f09_g17 --machine fram ./case.setup ./case.build Trying to download file: 'cesm2_init/b.e20.B1850.f09_g17.pi_control.all.299_merge_v3waccm/0134-01-01' to path '/cluster/work/users/xiangyuli/inputdata/cesm2_init/b.e20.B1850.f09_g17.pi_control.all.299_merge_v3waccm/0134-01-01' using WGET protocol. Creating directory /cluster/work/users/xiangyuli/inputdata/cesm2_init/b.e20.B1850.f09_g17.pi_control.all.299_merge_v3waccm/0134-01-01 Traceback (most recent call last): File "./case.build", line 147, in _main_func(__doc__) File "./case.build", line 142, in _main_func save_build_provenance=save_build_provenance) File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 570, in case_build return run_and_log_case_status(functor, "case.build", caseroot=caseroot) File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 1667, in run_and_log_case_status rv = func() File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 569, in save_build_provenance) File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 513, in _case_build_impl complist, ninst_build, smp_value, model_only, buildlist) File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 204, in _build_checks case.create_namelists() File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/case/preview_namelists.py", line 61, in create_namelists self.stage_refcase() File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 223, in stage_refcase success = _downloadfromserver(self, input_data_root=input_data_root, data_list_dir=data_list_dir) File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 183, in _downloadfromserver user=user, passwd=passwd) File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 338, in check_input_data isdirectory=isdirectory) File "/cluster/home/xiangyuli/cesm/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 122, in _download_if_in_repo os.makedirs(full_path+".tmp") File "/cluster/software/Python/2.7.15-intel-2018b/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: '/cluster/work/users/xiangyuli/inputdata/cesm2_init/b.e20.B1850.f09_g17.pi_control.all.299_merge_v3waccm/0134-01-01.tmp' Best regards, Xiang-Yu

Xiangyu Li

jedwards

It wants to create file /cluster/work/users/xiangyuli/inputdata/cesm2_init/b.e20.B1850.f09_g17.pi_control.all.299_merge_v3waccm/0134-01-01.tmp

but it already exists.  Try again after removing it.  You can get input data with ./check_input_data --downlaod 

CESM Software Engineer

xyli@...
Thanks a lot! It worked after I removed the .temp files and did a fresh checkout.

Xiangyu Li

Log in or register to post comments

Who's new

  • stans
  • ahadibfar@...
  • jskang@...
  • divanova@...
  • mrostami@...