爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 9200|回复: 2

CESM 案例提交后报错 mpirun -np24

[复制链接]

新浪微博达人勋

发表于 2021-10-12 08:54:10 | 显示全部楼层 |阅读模式

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

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

x
scripts/BGC_spinup$ ./case.submit 后报错
报错ERROR:run command is mpirun  -np 24 /home/clm/clm45/CASE_DIR/BGC_spinup/bld/cesm.exe   >> cesm.log.$LID 2>&1  
Exception from case_run: ERROR: RUN FAIL: Command 'mpirun  -np 24 /home/clm/clm45/CASE_DIR/BGC_spinup/bld/cesm.exe   >> cesm.log.$LID 2>&1 ' failed
See log file for details: /home/clm/clm45/CASE_DIR/BGC_spinup/run/cesm.log.211003-200252
Submit job case.st_archive
Starting job script case.st_archive
st_archive starting
moving /home/clm/clm45/CASE_DIR/BGC_spinup/run/cesm.log.211003-200252 to /home/clm/clm45/CASE_DIR/archive/BGC_spinup/logs/cesm.log.211003-200252
Cannot find a BGC_spinup.cpl*.r.*.nc file in directory /home/clm/clm45/CASE_DIR/BGC_spinup/run
请问这个错误是什么呀?怎么修改谢谢
--------------------------------------------------------------------------
下面是我的Cesm.log文件内容
cesm.log.211003-200335

There are not enough slots available in the system to satisfy the 24 slots that were requested by the application:

/home/clm/CASE_DIR/BGC_spinupd/cesm.exe

Either request fewer slots for your application, or make more slots available for use.

A "slot" is the Open MPI term for an allocatable unit where we can launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:

A "slot" is the Open MPI term for an allocatable unit where we can launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:

1. Hostfile, via "slots=N" clauses (N defaults to number of processor cores if not provided)
2. The --host command line parameter, via a ":N" suffix on the hostname (N defaults to 1 if not provided)
3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
4. If none of a hostfile, the --host command line parameter, or an RM is present, Open MPI defaults to the number of processor cores

In all the above cases, if you want Open MPI to default to the number of hardware threads instead of the number of processor cores, use the--use-hwthread-cpus option.

Alternatively, you can use the --oversubscribe option to ignore the number of available slots when deciding the number of processes to launch.
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2021-10-12 09:17:38 | 显示全部楼层
本帖最后由 星星薇 于 2021-10-12 09:20 编辑

看起来是没有这么多核还是怎么的?反正是mpi使用的问题,百度一下看看呢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2021-10-14 17:34:21 | 显示全部楼层
星星薇 发表于 2021-10-12 09:17
看起来是没有这么多核还是怎么的?反正是mpi使用的问题,百度一下看看呢

好的谢谢你, 我改下设置再试一下,谢谢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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