Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Problem to build CESM1.2.2.1 after setup a case on new machine

Hello, I am trying to setup a case on a new machine "grenoble", I have changed:config_compiler.xml and config_machines.xml each to have a paragraph for "grenoble",and then added file: env_mach_specific.grenoble, and mkbatch.grenoble. I can create the a case ne120_t12 B1850C5 without problem, but at build stage, I got errors below.Can anyone help? Thanks, Wei -------------------------------------------- whuang@o184i023:~/cesm$  cat /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct.bldlog.170822-164904Tue Aug 22 16:49:09 CEST 2017 /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct.bldlog.170822-164904setenv MCT_DIR /home/whuang/src/cesm1_2_2_1/models/utils/mctsetenv LIBDIR /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreadssetenv MCT_LIBDIR /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mctecho MCT_LIBDIR /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mctMCT_LIBDIR /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mctcd /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mctecho Copying source to CCSM EXEROOT...Copying source to CCSM EXEROOT...cp /home/whuang/src/cesm1_2_2_1/models/utils/mct/Makefile .mkdir mctcp /home/whuang/src/cesm1_2_2_1/models/utils/mct/mct/Makefile mctmkdir mpeucp /home/whuang/src/cesm1_2_2_1/models/utils/mct/mpeu/Makefile mpeumkdir mpi-serialcp /home/whuang/src/cesm1_2_2_1/models/utils/mct/mpi-serial/Makefile mpi-serialset runconf = 0set runclean = 0echo Running configure...Running configure...echo for OS=LINUX MACH=grenoblefor OS=LINUX MACH=grenoblegmake -f /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/Tools/Makefile /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct/Makefile.confcat: Filepath: No such file or directorycat: Srcfiles: No such file or directory/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/Tools/mkSrcfilescp -f /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct/Filepath /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct/Deppath/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/Tools/mkDepends  Deppath Srcfiles > /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct/DependsSHAREDLIBROOT |/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld| SHAREDPATH |/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads|checking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... configure: error: in `/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct':configure: error: cannot run C compiled programs.If you meant to cross compile, use `--host'.See `config.log' for more detailsgmake: *** [/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct/Makefile.conf] Error 1if ( 0 == 1 ) thencp -p Makefile.conf Makefile.conf.oldcp: cannot stat ‘Makefile.conf’: No such file or directorygmakeMakefile:4: Makefile.conf: No such file or directorygmake: *** No rule to make target `Makefile.conf'.  Stop.exit 1 
 

jedwards

CSEG and Liaisons
Staff member
Further details of this error can be found in the file/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct/config.log
 
Top