Main menu

Navigation

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

3 posts / 0 new
Last post
wei.huang2@...
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-164904

Tue 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-164904

setenv MCT_DIR /home/whuang/src/cesm1_2_2_1/models/utils/mct

setenv LIBDIR /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads

setenv MCT_LIBDIR /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct

echo MCT_LIBDIR /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct

MCT_LIBDIR /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct

cd /ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct

echo Copying source to CCSM EXEROOT...

Copying source to CCSM EXEROOT...

cp /home/whuang/src/cesm1_2_2_1/models/utils/mct/Makefile .

mkdir mct

cp /home/whuang/src/cesm1_2_2_1/models/utils/mct/mct/Makefile mct

mkdir mpeu

cp /home/whuang/src/cesm1_2_2_1/models/utils/mct/mpeu/Makefile mpeu

mkdir mpi-serial

cp /home/whuang/src/cesm1_2_2_1/models/utils/mct/mpi-serial/Makefile mpi-serial

set runconf = 0

set runclean = 0

echo Running configure...

Running configure...

echo for OS=LINUX MACH=grenoble

for OS=LINUX MACH=grenoble

gmake -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.conf

cat: Filepath: No such file or directory

cat: Srcfiles: No such file or directory

/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/Tools/mkSrcfiles

cp -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/Depends

SHAREDLIBROOT |/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... yes

checking for C compiler default output file name... a.out

checking 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 details

gmake: *** [/ibnfs/whuang/wd4cesm1/impi.ne120_t12.B1850C5.2304c.lnd576_ice1152_ocn576.omp1/bld/intel/impi/nodebug/nothreads/mct/Makefile.conf] Error 1

if ( 0 == 1 ) then

cp -p Makefile.conf Makefile.conf.old

cp: cannot stat ‘Makefile.conf’: No such file or directory

gmake

Makefile:4: Makefile.conf: No such file or directory

gmake: *** No rule to make target `Makefile.conf'.  Stop.

exit 1

 

Wei Huang

jedwards

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

CESM Software Engineer

wei.huang2@...

After checking the config.log file, the problem is that shared netcdf lib path is not in LD_LIBRARY_PATH.

 

Thanks for help!

Wei Huang

Log in or register to post comments

Who's new

  • m.kliphuis@...
  • ddc3061993@...
  • hui.ding@...
  • zhouc@...
  • arianna.valmass...