Welcome to the new DiscussCESM forum!
We are still working on the website migration, so you may experience downtime during this process.

Existing users, please reset your password before logging in here: https://xenforo.cgd.ucar.edu/cesm/index.php?lost-password/

ERROR: Expected one child

mczhao

mczhao
New Member
Hi, everyone, I am trying to porting the CESM2 in my hpc. A error occured when ./create_newcase --case mycase --compset X --res f19_g16. Here is the detail:
./create_newcase --case mycase --compset X --res f19_g16
Compset longname is 2000_XATM_XLND_XICE_XOCN_XROF_XGLC_XWAV
Compset specification file is /raid61/mczhao/cesm2/my_cesm_sandbox/cime/src/drivers/mct/cime_config/config_compsets.xml
Compset forcing is 1972-2004
ATM component is Dead atm component
LND component is Dead land component
ICE component is Dead ice component
OCN component is Dead ocean component
ROF component is Dead river component
GLC component is Dead land-ice component
WAV component is Dead wave component
ESP component is
Pes specification file is /raid61/mczhao/cesm2/my_cesm_sandbox/cime/src/drivers/mct/cime_config/config_pes.xml
Machine is atmoce-epyc01
ERROR: Expected one child.

Attach are the config_machines.xml and the config_compilers.xml in my $HOME/.cime.
I have searched in the forum but still not work, what should I do to solve the question?
Thanks very much!
 

Attachments

  • config_compilers.txt
    4.8 KB · Views: 12
  • config_machines.txt
    2.5 KB · Views: 18

jedwards

CSEG and Liaisons
Staff member
I think that you need to remove the <default_run_suffix> section from the end of your config_machines.xml file. And your config_compilers.xml should have only a section for your particular machine (MACH="atmoce-epyc01"). These files are appended to the default files found in cime/config/cesm/machines and should not repeat any of the sections found therein.
 

mczhao

mczhao
New Member
Thanks! I have solved the error!
A new error occur when I run ./case.build.

In the shell:
Component cesm exe build complete with 1 warnings
ERROR: BUILD FAIL: buildexe failed, cat /raid61/mczhao/scratch/mycase1/bld/cesm.bldlog.210305-134738

And the cesm.bldlog.210305-134738 file shows that:
...
L../../intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/lib -lcsm_share -L../../intel/impi/nodebug/nothreads/lib -lpio -lgptl -lmct -lmpeu -L/raid61/mczhao/env/PNETCDF/lib -lnetcdff -framework Accelerate -mkl=cluster -L/raid61/mczhao/env/PNETCDF/lib -lpnetcdf
ifort: command line warning #10006: ignoring unknown option '-framework'
ifort: error #10236: File not found: 'Accelerate'
gmake: *** [/raid61/mczhao/scratch/mycase1/bld/cesm.exe] Error 1

How to solve the problem?
 

mczhao

mczhao
New Member
Thanks! I have solved the error!
A new error occur when I run ./case.build.

In the shell:
Component cesm exe build complete with 1 warnings
ERROR: BUILD FAIL: buildexe failed, cat /raid61/mczhao/scratch/mycase1/bld/cesm.bldlog.210305-134738

And the cesm.bldlog.210305-134738 file shows that:
...
L../../intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/lib -lcsm_share -L../../intel/impi/nodebug/nothreads/lib -lpio -lgptl -lmct -lmpeu -L/raid61/mczhao/env/PNETCDF/lib -lnetcdff -framework Accelerate -mkl=cluster -L/raid61/mczhao/env/PNETCDF/lib -lpnetcdf
ifort: command line warning #10006: ignoring unknown option '-framework'
ifort: error #10236: File not found: 'Accelerate'
gmake: *** [/raid61/mczhao/scratch/mycase1/bld/cesm.exe] Error 1

How to solve the problem?
I have solved the question
 

huo

huo
New Member
hi. I had the same problem as you. Could you tell me how did you solve it? Thanks very much!!
./create_newcase --case mycase --res f19_g16 --compset X --mach huo

Compset longname is 2000_XATM_XLND_XICE_XOCN_XROF_XGLC_XWAV
Compset specification file is /home/huo/cesm2/my_cesm_sandbox/cime/src/drivers/mct/cime_config/config_compsets.xml
Compset forcing is 1972-2004
ATM component is Dead atm component
LND component is Dead land component
ICE component is Dead ice component
OCN component is Dead ocean component
ROF component is Dead river component
GLC component is Dead land-ice component
WAV component is Dead wave component
ESP component is
Pes specification file is /home/huo/cesm2/my_cesm_sandbox/cime/src/drivers/mct/cime_config/config_pes.xml
Machine is huo
ERROR: Expected one child
 

YCCircle

Yuanyuan HUANG
New Member
hi. I had the same problem as you. Could you tell me how did you solve it? Thanks very much!!
./create_newcase --case mycase --res f19_g16 --compset X --mach huo

Compset longname is 2000_XATM_XLND_XICE_XOCN_XROF_XGLC_XWAV
Compset specification file is /home/huo/cesm2/my_cesm_sandbox/cime/src/drivers/mct/cime_config/config_compsets.xml
Compset forcing is 1972-2004
ATM component is Dead atm component
LND component is Dead land component
ICE component is Dead ice component
OCN component is Dead ocean component
ROF component is Dead river component
GLC component is Dead land-ice component
WAV component is Dead wave component
ESP component is
Pes specification file is /home/huo/cesm2/my_cesm_sandbox/cime/src/drivers/mct/cime_config/config_pes.xml
Machine is huo
ERROR: Expected one child
hi! have you solved this problem?
 
Top