18789461762@163_com
New Member
Hello,everyone.
Recently, I am trying to port the CLM5 on a linux platform. But when I creating a new_case, I meet an error:
./create_newcase --case qian0 --compset I2000Clm50 --res f19_g16 --mach wss --run-unsupported
Compset longname is 2000_DATM%QIA_CLM50%SP_SICE_SOCN_MOSART_SGLC_SWAV
Compset specification file is /stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/../cime_config/config_compsets.xml
Compset forcing is 1972-2004
ATM component is Data driven ATM QIAN data set
LND component is clm5.0:Satellite phenology:
ICE component is Stub ice component
OCN component is Stub ocn component
ROF component is MOSART: MOdel for Scale Adaptive River Transport
GLC component is Stub glacier (land ice) component
WAV component is Stub wave component
ESP component is
Pes specification file is /stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/../cime_config/config_pes.xml
Machine is wss
Pes setting: machine match is wss
Pes setting: grid is a%1.9x2.5_l%1.9x2.5_oi%null_r%r05_g%null_w%null_m%gx1v6
Pes setting: compset is 2000_DATM%QIA_CLM50%SP_SICE_SOCN_MOSART_SGLC_SWAV
Pes setting: tasks is {'NTASKS_ATM': 72, 'NTASKS_ICE': 72, 'NTASKS_CPL': 72, 'NTASKS_LND': 72, 'NTASKS_WAV': 72, 'NTASKS_ROF': 72, 'NTASKS_OCN': 72, 'NTASKS_GLC': 72}
Pes setting: threads is {'NTHRDS_ICE': 1, 'NTHRDS_ATM': 1, 'NTHRDS_ROF': 1, 'NTHRDS_LND': 1, 'NTHRDS_WAV': 1, 'NTHRDS_OCN': 1, 'NTHRDS_CPL': 1, 'NTHRDS_GLC': 1}
Pes setting: rootpe is {'ROOTPE_OCN': 0, 'ROOTPE_LND': 0, 'ROOTPE_ATM': 0, 'ROOTPE_ICE': 0, 'ROOTPE_WAV': 0, 'ROOTPE_CPL': 0, 'ROOTPE_ROF': 0, 'ROOTPE_GLC': 0}
Pes setting: pstrid is {}
Pes other settings: {}
Pes comments: none
Compset is: 2000_DATM%QIA_CLM50%SP_SICE_SOCN_MOSART_SGLC_SWAV
Grid is: a%1.9x2.5_l%1.9x2.5_oi%null_r%r05_g%null_w%null_m%gx1v6
Components in compset are: ['datm', 'clm', 'sice', 'socn', 'mosart', 'sglc', 'swav', 'sesp', 'drv', 'dart']
No project info available
No charge_account info available, using value from PROJECT
No project info available
WARNING: No cesm Model version found.
Batch_system_type is lsf
job is case.run USER_REQUESTED_WALLTIME None USER_REQUESTED_QUEUE None
Traceback (most recent call last):
File "./create_newcase", line 210, in <module>
_main_func(__doc__)
File "./create_newcase", line 205, in _main_func
input_dir=input_dir, driver=driver)
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1453, in create
input_dir=input_dir, driver=driver)
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 970, in configure
env_batch.set_job_defaults(bjobs, self)
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/XML/env_batch.py", line 249, in set_job_defaults
queue = self.select_best_queue(node_count, task_count, walltime=walltime, job=job)
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/XML/env_batch.py", line 633, in select_best_queue
all_queues.append( self.get_default_queue())
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/XML/env_batch.py", line 680, in get_default_queue
expect(node is not None, "No queues found")
UnboundLocalError: local variable 'node' referenced before assignment
The config_machines.xml is:
<machine MACH="wss">
<DESC>WSS</DESC>
<NODENAME_REGEX>node*</NODENAME_REGEX>
<OS>LINUX</OS>
<COMPILERS>intel</COMPILERS>
<MPILIBS>impi</MPILIBS>
<CIME_OUTPUT_ROOT>/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/run</CIME_OUTPUT_ROOT>
<DIN_LOC_ROOT>/stor9000/apps/users/NWSUAF/2014051133/DATA/defult/inputdata</DIN_LOC_ROOT>
<DIN_LOC_ROOT_CLMFORC>/stor9000/apps/users/NWSUAF/2014051133/DATA/defult/inputdata/atm/datm7</DIN_LOC_ROOT_CLMFORC>
<DOUT_S_ROOT>/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/archive/$CASE</DOUT_S_ROOT>
<BASELINE_ROOT>$ENV{CESMDATAROOT}/ccsm_baselines</BASELINE_ROOT>
<CCSM_CPRNC>$ENV{CESMDATAROOT}/tools/ccsm_cprnc/cprnc</CCSM_CPRNC>
<GMAKE_J>1</GMAKE_J>
<BATCH_SYSTEM>lsf</BATCH_SYSTEM>
<SUPPORTED_BY>cseg</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>12</MAX_TASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>12</MAX_MPITASKS_PER_NODE>
<PROJECT_REQUIRED>FALSE</PROJECT_REQUIRED>
<PROJECT_REQUIRED>FALSE</PROJECT_REQUIRED>
<mpirun mpilib="default">
<executable>mpirun</executable>
<arguments>
<arg name="ntasks"> -np {{ total_tasks }} </arg>
</arguments>
</mpirun>
<module_system type="none">
</module_system>
<environment_variables>
<env name="OMP_STACKSIZE">64M</env>
<env name="NETCDF_PATH">/stor9000/apps/users/NWSUAF/2015051088/Software/soft</env>
<env name="NetCDF_PATH">/stor9000/apps/users/NWSUAF/2015051088/Software/soft</env>
<env name="NETCDF">/stor9000/apps/users/NWSUAF/2015051088/Software/soft</env>
</environment_variables>
</machine>
I don not know the reason. This error has troubled me a long time.
Looking forward to your help!
Thank you so much!
Recently, I am trying to port the CLM5 on a linux platform. But when I creating a new_case, I meet an error:
./create_newcase --case qian0 --compset I2000Clm50 --res f19_g16 --mach wss --run-unsupported
Compset longname is 2000_DATM%QIA_CLM50%SP_SICE_SOCN_MOSART_SGLC_SWAV
Compset specification file is /stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/../cime_config/config_compsets.xml
Compset forcing is 1972-2004
ATM component is Data driven ATM QIAN data set
LND component is clm5.0:Satellite phenology:
ICE component is Stub ice component
OCN component is Stub ocn component
ROF component is MOSART: MOdel for Scale Adaptive River Transport
GLC component is Stub glacier (land ice) component
WAV component is Stub wave component
ESP component is
Pes specification file is /stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/../cime_config/config_pes.xml
Machine is wss
Pes setting: machine match is wss
Pes setting: grid is a%1.9x2.5_l%1.9x2.5_oi%null_r%r05_g%null_w%null_m%gx1v6
Pes setting: compset is 2000_DATM%QIA_CLM50%SP_SICE_SOCN_MOSART_SGLC_SWAV
Pes setting: tasks is {'NTASKS_ATM': 72, 'NTASKS_ICE': 72, 'NTASKS_CPL': 72, 'NTASKS_LND': 72, 'NTASKS_WAV': 72, 'NTASKS_ROF': 72, 'NTASKS_OCN': 72, 'NTASKS_GLC': 72}
Pes setting: threads is {'NTHRDS_ICE': 1, 'NTHRDS_ATM': 1, 'NTHRDS_ROF': 1, 'NTHRDS_LND': 1, 'NTHRDS_WAV': 1, 'NTHRDS_OCN': 1, 'NTHRDS_CPL': 1, 'NTHRDS_GLC': 1}
Pes setting: rootpe is {'ROOTPE_OCN': 0, 'ROOTPE_LND': 0, 'ROOTPE_ATM': 0, 'ROOTPE_ICE': 0, 'ROOTPE_WAV': 0, 'ROOTPE_CPL': 0, 'ROOTPE_ROF': 0, 'ROOTPE_GLC': 0}
Pes setting: pstrid is {}
Pes other settings: {}
Pes comments: none
Compset is: 2000_DATM%QIA_CLM50%SP_SICE_SOCN_MOSART_SGLC_SWAV
Grid is: a%1.9x2.5_l%1.9x2.5_oi%null_r%r05_g%null_w%null_m%gx1v6
Components in compset are: ['datm', 'clm', 'sice', 'socn', 'mosart', 'sglc', 'swav', 'sesp', 'drv', 'dart']
No project info available
No charge_account info available, using value from PROJECT
No project info available
WARNING: No cesm Model version found.
Batch_system_type is lsf
job is case.run USER_REQUESTED_WALLTIME None USER_REQUESTED_QUEUE None
Traceback (most recent call last):
File "./create_newcase", line 210, in <module>
_main_func(__doc__)
File "./create_newcase", line 205, in _main_func
input_dir=input_dir, driver=driver)
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1453, in create
input_dir=input_dir, driver=driver)
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 970, in configure
env_batch.set_job_defaults(bjobs, self)
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/XML/env_batch.py", line 249, in set_job_defaults
queue = self.select_best_queue(node_count, task_count, walltime=walltime, job=job)
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/XML/env_batch.py", line 633, in select_best_queue
all_queues.append( self.get_default_queue())
File "/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/cime/scripts/Tools/../../scripts/lib/CIME/XML/env_batch.py", line 680, in get_default_queue
expect(node is not None, "No queues found")
UnboundLocalError: local variable 'node' referenced before assignment
The config_machines.xml is:
<machine MACH="wss">
<DESC>WSS</DESC>
<NODENAME_REGEX>node*</NODENAME_REGEX>
<OS>LINUX</OS>
<COMPILERS>intel</COMPILERS>
<MPILIBS>impi</MPILIBS>
<CIME_OUTPUT_ROOT>/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/run</CIME_OUTPUT_ROOT>
<DIN_LOC_ROOT>/stor9000/apps/users/NWSUAF/2014051133/DATA/defult/inputdata</DIN_LOC_ROOT>
<DIN_LOC_ROOT_CLMFORC>/stor9000/apps/users/NWSUAF/2014051133/DATA/defult/inputdata/atm/datm7</DIN_LOC_ROOT_CLMFORC>
<DOUT_S_ROOT>/stor9000/apps/users/NWSUAF/2014051133/CLM5/clm5/archive/$CASE</DOUT_S_ROOT>
<BASELINE_ROOT>$ENV{CESMDATAROOT}/ccsm_baselines</BASELINE_ROOT>
<CCSM_CPRNC>$ENV{CESMDATAROOT}/tools/ccsm_cprnc/cprnc</CCSM_CPRNC>
<GMAKE_J>1</GMAKE_J>
<BATCH_SYSTEM>lsf</BATCH_SYSTEM>
<SUPPORTED_BY>cseg</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>12</MAX_TASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>12</MAX_MPITASKS_PER_NODE>
<PROJECT_REQUIRED>FALSE</PROJECT_REQUIRED>
<PROJECT_REQUIRED>FALSE</PROJECT_REQUIRED>
<mpirun mpilib="default">
<executable>mpirun</executable>
<arguments>
<arg name="ntasks"> -np {{ total_tasks }} </arg>
</arguments>
</mpirun>
<module_system type="none">
</module_system>
<environment_variables>
<env name="OMP_STACKSIZE">64M</env>
<env name="NETCDF_PATH">/stor9000/apps/users/NWSUAF/2015051088/Software/soft</env>
<env name="NetCDF_PATH">/stor9000/apps/users/NWSUAF/2015051088/Software/soft</env>
<env name="NETCDF">/stor9000/apps/users/NWSUAF/2015051088/Software/soft</env>
</environment_variables>
</machine>
I don not know the reason. This error has troubled me a long time.
Looking forward to your help!
Thank you so much!