爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
楼主: andrewsoong

成功移植CESM模式(介绍)——Porting CESM via user defined machine files

  [复制链接]

新浪微博达人勋

发表于 2016-3-9 13:49:35 | 显示全部楼层
andrewsoong 发表于 2016-3-8 23:00
根据自己机器的节点cpu数,详细问管理员

恩 好的 谢谢啊~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-3-15 21:24:47 | 显示全部楼层
你好,我在第一步查看模式支持的系统。、create_newcase -l时,出现的是:
Option list requires an argument
    SYNOPSIS
        create_newcase [options]
        OPTIONS
        User supplied values are denoted in angle brackets (<>).  Any value that contains
        white-space must be quoted.  Long option names may be supplied with either single
        or double leading dashes.  A consequence of this is that single letter options may
        NOT be bundled.

        -case <name>         Specifies the case name (required).
        -compset <name>      Specify a CESM compset (required).
        -res <name>          Specify a CESM grid resolution (required).
        -mach <name>         Specify a CESM machine (required).
        -compiler <name>     Specify a compiler for the target machine (optional)
      default: default compiler for the target machine
      -mpilib <name>       Specify a mpi library for the target machine (optional)
    default: default mpi library for the target machine
  allowed: openmpi, mpich, ibm, mpi-serial, etc
  redundant with _M confopts setting
  -mach_dir <path>     Specify the locations of the Machines directory (optional).
default: /home/cpp/CESM/CESM1.2.2/scripts/ccsm_utils/Machines
-user_mods_dir <path>Path to directory with user_nl_* files and xmlchange_cmnds to use (optional).
-confopts <value>    Specify some addition configuration options (optional)
_AOA = aoflux on atm grid
_AOE = aoflux on exch grid
_CG  = gregorian calendar
_D   = debug
_E   = esmf interfaces
_IOP*= PnetCDF IO test where * is
A(atm), C(cpl), G(glc) , I(ice), L(clm), O(ocn),
W(wav) or blank (all components)
_L*  = set run length y, m, d, h, s, n(nsteps) plus integer (ie _Lm6 for 6 months)
                          _M*  = set the mpilib where * is default, mpi-serial, mpich, etc
                          _N*  = set NINST_ env value to * where * is an integer
                          _P*  = set pecount to specific values include T,S,M,L,X,1,1x1,16,16x1,4x4, etc
                          -pecount <name>      Value of S,M,L,X1,X2 (optional).
                        default: M, partially redundant with confopts _P
                        -pes_file <name>     Full pathname of pes file to use (will overwrite default settings) (optional).
                        See sample_pes_file.xml for an example.
                        -user_compset        Long name for new user compset to use (optional)
                        This assumes that all of the compset settings in the long name have been defined
                        in ccsm_utils/Case.template/config_compsets.xml
                        -user_grid_file <name>  Full pathname of grid file to use (optional)
                        This should be a "copy" of ccsm_utils/Case.template/config_grid.xml with the
                        new user grid changes added to it
                        -help [or -h]        Print usage to STDOUT (optional).
                        -list <type>         Only list valid values, type can be [compsets, grids, machines] (optional).
                        -testlist            List valid values for tests [normally only invoked by create_test] (optional).
                        -silent [or -s]      Turns on silent mode - only fatal messages issued (optional).
                        -verbose [or -v]     Turn on verbose echoing of settings made by create_newcase (optional).
                        -xmlmode <name>      Sets format of xml files; normal or expert (optional). (default is normal)
                        -nowarning           Turns off checking of the known_problems repository. (default is on)
                        -sharedlibroot       Used for re-using build components when building multiple CESM cases, default is $EXEROOT

                        The following two arguments turn on single point mode. If one is given -- both MUST be given.

                        EXAMPLES

                        ./create_newcase -case mycase1 -res f19_g16 -compset B1850CN -mach yellowstone
  ./create_newcase -case mycase2 -res f19_g16 -compset B1850CN -mach yellowstone -confopts _D_P16
  ./create_newcase -case mycase4 -res f19_g16 -compset MYCOMP -compset_file mycompset_file -mach yellowstone
  ./create_newcase -case mycase5 -res f19_g16 -compset B1850CN -mach yellowstone -confopts _CG_E -pes_file mypes_file
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-3-15 21:53:16 | 显示全部楼层
本帖最后由 sawatarihiroji 于 2016-3-15 21:57 编辑

您好,我在执行./test.new_intel.build 时,出现ERROR: pop2.buildexe.csh failed, log文件如下:

Tue Mar 15 21:44:19 CST 2016 /gpfsES/geo/the/CESM/test1/run/ocn.bldlog.160315-214411
-------------------------------------------------------------------------
Begin the process of building the pop2 executable
-------------------------------------------------------------------------

-----------------------------------------------------------------
Create the internal directory structure
-----------------------------------------------------------------
-----------------------------------------------------------------
Create domain_size.F90 in /gpfsES/geo/the/CESM/test1/ocn/source, first computing NT
-----------------------------------------------------------------
-----------------------------------------------------------------
Copy the necessary files into /gpfsES/geo/the/CESM/test1/ocn/source
-----------------------------------------------------------------
cp: No match.
-----------------------------------------------------------------
Compile pop2 library
-----------------------------------------------------------------
/gpfsES/geo/the/CESM/test1/Tools/mkSrcfiles > /gpfsES/geo/the/CESM/test1/ocn/obj/Srcfiles
cp -f /gpfsES/geo/the/CESM/test1/ocn/obj/Filepath /gpfsES/geo/the/CESM/test1/ocn/obj/Deppath
/gpfsES/geo/the/CESM/test1/Tools/mkDepends Deppath Srcfiles > /gpfsES/geo/the/CESM/test1/ocn/obj/Depends
mpif90 -c -I.  -I/usr/local/netcdf411/include -I/usr/local/netcdf411/include -I. -I/gpfsES/geo/the/CESM/test1/ocn/source -I/gpfsES/geo/the/CESM/test1/lib/include  -DCCSMCOUPLED -DBLCKX=4 -DBLCKY=29 -DMXBLCKS=1 -DMCT_INTERFACE -DHAVE_MPI -DCO2A -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_SHR_VMATH  -i4 -gopt -Mlist -Mextend -byteswapio -Mflushz -Kieee -Ktrap=fp   -O2 -Mvect=nosse -Kieee -Mfree  /gpfsES/geo/the/CESM/test1/ocn/source/passive_tracers.F90
ifort: command line warning #10006: ignoring unknown option '-gopt'
ifort: command line warning #10006: ignoring unknown option '-Mlist'
ifort: command line warning #10006: ignoring unknown option '-Mextend'
ifort: command line warning #10006: ignoring unknown option '-byteswapio'
ifort: command line warning #10006: ignoring unknown option '-Mflushz'
ifort: command line remark #10148: option '-Kieee' not supported
ifort: command line warning #10159: invalid argument for option '-K'
ifort: command line warning #10006: ignoring unknown option '-Mvect=nosse'
ifort: command line remark #10148: option '-Kieee' not supported
ifort: command line warning #10006: ignoring unknown option '-Mfree'
/gpfsES/geo/the/CESM/test1/ocn/source/passive_tracers.F90(309): error #7938: Character length argument mismatch.   [TADVECT_CTYPE_PASSIVE_TRACERS]
                       tadvect_ctype_passive_tracers(ecosys_ind_begin:ecosys_ind_end), &
-----------------------^
compilation aborted for /gpfsES/geo/the/CESM/test1/ocn/source/passive_tracers.F90 (code 1)
gmake: *** [passive_tracers.o] ?? 1

水平不足不能解决错误,还请赐教
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-3-15 22:34:04 | 显示全部楼层
sawatarihiroji 发表于 2016-3-15 21:53
您好,我在执行./test.new_intel.build 时,出现ERROR: pop2.buildexe.csh failed, log文件如下:

Tue M ...

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

新浪微博达人勋

 楼主| 发表于 2016-3-15 22:34:10 | 显示全部楼层
cpp803520 发表于 2016-3-15 21:24
你好,我在第一步查看模式支持的系统。、create_newcase -l时,出现的是:
Option list requires an argum ...

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

新浪微博达人勋

发表于 2016-3-16 13:02:00 | 显示全部楼层

我已经加入了这个群~~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-5-7 15:30:30 | 显示全部楼层
请问CESM在移植之前的input data怎么做呢?我看说明书上说要“Create an input data directory”?

                               
登录/注册后可看大图
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-5-7 16:45:42 | 显示全部楼层
晒sunstar 发表于 2016-5-7 15:30
请问CESM在移植之前的input data怎么做呢?我看说明书上说要“Create an input data directory”?

自己下载啊,下载好了,告他模式存储目录就好了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-5-7 20:38:11 | 显示全部楼层
andrewsoong 发表于 2016-5-7 16:45
自己下载啊,下载好了,告他模式存储目录就好了

  我看说明书上说自己下载的话文件“远大于1TB”了,请问您能具体说下怎么下载input data吗?
  我不会下载,所以在移植的时候就卡在“目录”上了 :①DIN_LOC_ROOT_CSMDATA=“/inputdata目录/data_of_model/CESM_input_part/ ;② ”DIN_LOC_ROOT_CLMQIAN=“ /大气强迫目录/atm_forcing.datm7.Qian.T62.c080727”。   
  以及这里的大气强迫目录是什么啊?
  我是菜鸟,这些问题可能太肤浅了,还望大神指教啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-5-7 20:58:48 | 显示全部楼层
晒sunstar 发表于 2016-5-7 20:38
  我看说明书上说自己下载的话文件“远大于1TB”了,请问您能具体说下怎么下载input data吗?
  我 ...

我是用svn自己下载的。陆面的强迫数据啊?2和3都是啊
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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