爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 6590|回复: 1

【求助】CESM2 的移植以及运行

[复制链接]

新浪微博达人勋

发表于 2020-8-26 08:42:37 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
本帖最后由 skylark 于 2020-8-26 08:56 编辑

按照官网的手册修改了了对应的 config_machines.xml文件,config_conpilers.xml目前没有改过因为./create_newcase时没有报错,修改config_machines.xml文件基本上是按网上能找到的资料改的,同时也通过./create_newcase来报错找问题再修改。然后:

进入cd cime/scripts 然后执行./create_newcase --case mycase --compset X --res f19_g16

部分显示如下:(ERROR: No queues found),有高手大神指导一下怎么解决吗?先谢谢啦。

【Compset is: 2000_XATM_XLND_XICE_XOCN_XROF_XGLC_XWAV  
Grid is: a%1.9x2.5_l%1.9x2.5_oi%gx1v6_r%r05_g%gland4_w%ww3a_m%gx1v6  
Components in compset are: ['xatm', 'xlnd', 'xice', 'xocn', 'xrof', 'xglc', 'xwav', 'sesp', 'drv', 'dart']
******************************************************************************************************************
This compset and grid combination is not scientifically supported, however it is used in 17 tests. ******************************************************************************************************************Using project from config_machines.xml: none
No charge_account info available, using value from PROJECT
Using project from config_machines.xml: none
cesm model version found: release-cesm2.0.1
Batch_system_type is pbs
job is case.run USER_REQUESTED_WALLTIME None USER_REQUESTED_QUEUE None
ERROR: No queues found】

我这里也贴一下我改的config_machines.xml文件:我主要改了这几行:
<machine MACH="yangx2">   
<DESC>User Defined Machine</DESC>   
<NODENAME_REGEX>node</NODENAME_REGEX>      
<OS>LINUX</OS>   
<COMPILERS>intel,gnu</COMPILERS>   
<MPILIBS>mpich,openmpi</MPILIBS>   
<PROJECT>none</PROJECT>   
<CIME_OUTPUT_ROOT>/mnt/scratch/nfs_fs02/$USER</CIME_OUTPUT_ROOT>   
<DIN_LOC_ROOT>/home/yangx2/my_cesm_sandbox/inputdata</DIN_LOC_ROOT>   
<SUPPORTED_BY>uhslc</SUPPORTED_BY>   
<MAX_TASKS_PER_NODE>20</MAX_TASKS_PER_NODE>   
<MAX_MPITASKS_PER_NODE>20</MAX_MPITASKS_PER_NODE>   
<PROJECT_REQUIRED>FALSE</PROJECT_REQUIRED>











密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2020-8-26 09:28:08 | 显示全部楼层
解决了,需要改一下 config_batch.xml文件。
<batch_system MACH="yangx2" type="pbs">
    <directives>
      <directive>-l nodes={{ num_nodes }}:ppn={{ tasks_per_node }}</directive>
      <directive default="/bin/bash" > -S {{ shell }}  </directive>
    </directives>
    <queues>
      <queue walltimemax="36:00:00" default="true">batch</queue>
    </queues>
  </batch_system>       
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表