Main menu

Navigation

Error!!-> mkdir: cannot create directory `mct': File exists, configure: error: in test1/bld/intel/mpich2/nodebug/nothreads/mct':

8 posts / 0 new
Last post
mhrzmomeni@...
Error!!-> mkdir: cannot create directory `mct': File exists, configure: error: in test1/bld/intel/mpich2/nodebug/nothreads/mct':

Hi guys,

I am building and running CESM on my university servers. 

But during running CESM, I got a strange error in the following:

 CESM BUILDEXE SCRIPT STARTING

rm: No match.

 COMPILER is intel

 - Build Libraries: mct gptl pio csm_share 

Mon Feb 27 15:06:03 PST 2017 /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct.bldlog.170227-150600

ERROR: buildlib.mct failed, see /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct.bldlog.170227-150600

 

ERROR: cat /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct.bldlog.170227-150600


When I check the mct.bldlog.170227-150600 file, There are the following comments:


setenv MCT_DIR /home/myuser/cesm1_2_2/models/utils/mct

setenv LIBDIR /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads

setenv MCT_LIBDIR /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct

echo MCT_LIBDIR /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct

MCT_LIBDIR /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct

cd /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct

echo Copying source to CCSM EXEROOT...

Copying source to CCSM EXEROOT...

cp /home/myuser/cesm1_2_2/models/utils/mct/Makefile .

mkdir mct

mkdir: cannot create directory `mct': File exists

cp /home/myuser/cesm1_2_2/models/utils/mct/mct/Makefile mct

mkdir mpeu

mkdir: cannot create directory `mpeu': File exists

cp /home/myuser/cesm1_2_2/models/utils/mct/mpeu/Makefile mpeu

mkdir mpi-serial

mkdir: cannot create directory `mpi-serial': File exists

cp /home/myuser/cesm1_2_2/models/utils/mct/mpeu/Makefile mpeu

cp /home/myuser/cesm1_2_2/models/utils/mct/mpi-serial/Makefile mpi-serial

set runconf = 0

set runclean = 0

echo Running configure...

Running configure...

echo for OS=LINUX MACH=userdefined

for OS=LINUX MACH=userdefined

gmake -f /home/myuser/cesm1_2_2/scripts/test1/Tools/Makefile /home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct/Makefile.conf

SHAREDLIBROOT |/home/myuser/cesm1_2_2/scripts/test1/test1/bld| SHAREDPATH |/home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads|

checking whether the C compiler works... no

configure: error: in `/home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct':

configure: error: C compiler cannot create executables

See `config.log' for more details

gmake: *** [/home/myuser/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct/Makefile.conf] Error 77

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


And, this is config.log file:

 

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

 

It was created by MCT configure 2.8, which was

generated by GNU Autoconf 2.69.  Invocation command line was

 

  $ /home/mmomeni/cesm1_2_2/models/utils/mct/configure CC=icc  FC=ifort  MPICC=mpicc   MPIFC=mpif90  FCFLAGS=-fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs  -O2  -free  -I.  -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/models/csm_share/shr CPPDEFS= -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC CFLAGS=-O2 -fp-model precise   -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.. -I.  -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/models/csm_share/shr NETCDF_PATH= LDFLAGS= LIBS= --srcdir /home/mmomeni/cesm1_2_2/models/utils/mct

 

## --------- ##

## Platform. ##

## --------- ##

 

hostname = aeolus.wsu.edu

uname -m = x86_64

uname -r = 2.6.32-504.16.2.el6.x86_64

uname -s = Linux

uname -v = #1 SMP Wed Apr 22 06:48:29 UTC 2015

 

/usr/bin/uname -p = unknown

/bin/uname -X     = unknown

 

/bin/arch              = x86_64

/usr/bin/arch -k       = unknown

/usr/convex/getsysinfo = unknown

/usr/bin/hostinfo      = unknown

/bin/machine           = unknown

/usr/bin/oslevel       = unknown

/bin/universe          = unknown

 

PATH: /share/apps/perl-5.20.1/bin

PATH: /usr/lib64/qt-3.3/bin

PATH: /usr/local/bin

PATH: /bin

PATH: /usr/bin

PATH: /usr/local/sbin

PATH: /usr/sbin

PATH: /sbin

PATH: /usr/local/cuda/bin

PATH: /opt/ganglia/bin

PATH: /opt/ganglia/sbin

PATH: /opt/ibutils/bin

PATH: /usr/java/latest/bin

PATH: /opt/maui/sbin

PATH: /opt/maui/bin

PATH: /opt/maven/bin

PATH: /opt/pvfs2/bin

PATH: /home/mmomeni/bin

 

 

## ----------- ##

## Core tests. ##

## ----------- ##

 

configure:2360: checking for C compiler version

configure:2369: icc  --version >&5

/home/mmomeni/cesm1_2_2/models/utils/mct/configure: line 2371: icc: command not found

configure:2380: $? = 127

configure:2369: icc  -v >&5

/home/mmomeni/cesm1_2_2/models/utils/mct/configure: line 2371: icc: command not found

configure:2380: $? = 127

configure:2369: icc  -V >&5

/home/mmomeni/cesm1_2_2/models/utils/mct/configure: line 2371: icc: command not found

configure:2380: $? = 127

configure:2369: icc  -qversion >&5

/home/mmomeni/cesm1_2_2/models/utils/mct/configure: line 2371: icc: command not found

configure:2380: $? = 127

configure:2400: checking whether the C compiler works

configure:2422: icc  -O2 -fp-model precise   -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.. -I.  -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/models/csm_share/shr   conftest.c  >&5

/home/mmomeni/cesm1_2_2/models/utils/mct/configure: line 2424: icc: command not found

configure:2426: $? = 127

configure:2464: result: no

configure: failed program was:

| /* confdefs.h */

| #define PACKAGE_NAME "MCT"

| #define PACKAGE_TARNAME "mct"

| #define PACKAGE_VERSION "2.8"

| #define PACKAGE_STRING "MCT 2.8"

| #define PACKAGE_BUGREPORT ""

| #define PACKAGE_URL ""

| /* end confdefs.h.  */

|

| int

| main ()

| {

|

|   ;

|   return 0;

| }

configure:2469: error: in `/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/mct':

configure:2471: error: C compiler cannot create executables

See `config.log' for more details

 

## ---------------- ##

## Cache variables. ##

## ---------------- ##

 

ac_cv_env_AR_set=

ac_cv_env_AR_value=

ac_cv_env_BABELROOT_set=

ac_cv_env_BABELROOT_value=

ac_cv_env_BIT64_set=

ac_cv_env_BIT64_value=

ac_cv_env_CC_set=set

ac_cv_env_CC_value='icc '

ac_cv_env_CFLAGS_set=set

ac_cv_env_CFLAGS_value='-O2 -fp-model precise   -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.. -I.  -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/models/csm_share/shr'

ac_cv_env_COMPILER_ROOT_set=

ac_cv_env_COMPILER_ROOT_value=

ac_cv_env_CPPFLAGS_set=

ac_cv_env_CPPFLAGS_value=

ac_cv_env_CPP_set=

ac_cv_env_CPP_value=

ac_cv_env_DEBUG_set=set

ac_cv_env_DEBUG_value=FALSE

ac_cv_env_ENDIAN_set=

ac_cv_env_ENDIAN_value=

ac_cv_env_FCFLAGS_set=set

ac_cv_env_FCFLAGS_value='-fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs  -O2  -free  -I.  -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/models/csm_share/shr'

ac_cv_env_FC_set=set

ac_cv_env_FC_value='ifort '

ac_cv_env_FORT_SIZE_set=

ac_cv_env_FORT_SIZE_value=

ac_cv_env_FPPFLAGS_set=

ac_cv_env_FPPFLAGS_value=

ac_cv_env_FPP_set=

ac_cv_env_FPP_value=

ac_cv_env_INCLUDEFLAG_set=

ac_cv_env_INCLUDEFLAG_value=

ac_cv_env_INCLUDEPATH_set=

ac_cv_env_INCLUDEPATH_value=

ac_cv_env_LDFLAGS_set=set

ac_cv_env_LDFLAGS_value=

ac_cv_env_LIBS_set=set

ac_cv_env_LIBS_value=

ac_cv_env_MPIFC_set=set

ac_cv_env_MPIFC_value='mpif90 '

ac_cv_env_MPIHEADER_set=

ac_cv_env_MPIHEADER_value=

ac_cv_env_MPILIBS_set=set

ac_cv_env_MPILIBS_value=openmpi,mpich,mpt,mpt,ibm,mpi-serial

ac_cv_env_OPT_set=

ac_cv_env_OPT_value=

ac_cv_env_PROGFCFLAGS_set=

ac_cv_env_PROGFCFLAGS_value=

ac_cv_env_RANLIB_set=

ac_cv_env_RANLIB_value=

ac_cv_env_REAL8_set=

ac_cv_env_REAL8_value=

ac_cv_env_RANLIB_value=

ac_cv_env_REAL8_set=

ac_cv_env_REAL8_value=

ac_cv_env_build_alias_set=

ac_cv_env_build_alias_value=

ac_cv_env_host_alias_set=

ac_cv_env_host_alias_value=

ac_cv_env_target_alias_set=

ac_cv_env_target_alias_value=

 

## ----------------- ##

## Output variables. ##

## ----------------- ##

AR=''

BABELROOT=''

BIT64=''

CC='icc '

CFLAGS='-O2 -fp-model precise   -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.. -I.  -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/models/csm_share/shr'

COMPILER_ROOT=''

CPP=''

CPPDEFS=' -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC'

CPPFLAGS=''

CRULE=''

DEBUG='FALSE'

DEFS=''

ECHO_C=''

ECHO_N='-n'

ECHO_T=''

EGREP=''

ENDIAN=''

EXEEXT=''

FC='ifort '

FCFLAGS='-fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs  -O2  -free  -I.  -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/mmomeni/cesm1_2_2/scripts/test1/test1/bld/intel/mpich2/nodebug/nothreads/include -I/home/mmomeni/cesm1_2_2/models/csm_share/shr'

FCFLAGS_F90=''

FCFLAGS_F=''

FCLIBS=''

FC_DEFINE=''

FORT_SIZE=''

FPP=''

FPPFLAGS=''

GREP=''

INCLUDEFLAG=''

INCLUDEPATH=''

LDFLAGS=''

LIBOBJS=''

LIBS=''

LTLIBOBJS=''

MPIFC='mpif90 '

MPIHEADER=''

MPILIBS='openmpi,mpich,mpt,mpt,ibm,mpi-serial'

MPISERPATH=''

OBJEXT=''

OPT=''

PACKAGE_BUGREPORT=''

PACKAGE_NAME='MCT'

PACKAGE_STRING='MCT 2.8'

PACKAGE_TARNAME='mct'

PACKAGE_URL=''

PACKAGE_VERSION='2.8'

PATH_SEPARATOR=':'

PROGFCFLAGS=''

PYTHON=''

PYTHONOPTS=''

RANLIB=''

REAL8=''

SHELL='/bin/sh'

ac_ct_CC=''

ac_ct_FC=''

bindir='${exec_prefix}/bin'

build_alias=''

datadir='${datarootdir}'

datarootdir='${prefix}/share'

docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'

dvidir='${docdir}'

exec_prefix='NONE'

host_alias=''

htmldir='${docdir}'

includedir='${prefix}/include'

infodir='${datarootdir}/info'

libdir='${exec_prefix}/lib'

libexecdir='${exec_prefix}/libexec'

localedir='${datarootdir}/locale'

localstatedir='${prefix}/var'

mandir='${datarootdir}/man'

oldincludedir='/usr/include'

pdfdir='${docdir}'

prefix='NONE'

program_transform_name='s,x,x,'

psdir='${docdir}'

sbindir='${exec_prefix}/sbin'

sharedstatedir='${prefix}/com'

subdirs=''

sysconfdir='${prefix}/etc'

target_alias=''

 

## ----------- ##

## confdefs.h. ##

## ----------- ##

 

/* confdefs.h */

#define PACKAGE_NAME "MCT"

#define PACKAGE_TARNAME "mct"

#define PACKAGE_VERSION "2.8"

#define PACKAGE_STRING "MCT 2.8"

#define PACKAGE_BUGREPORT ""

#define PACKAGE_URL ""

 

configure: exit 77




Please help me,

I am really confused about the error.


Regards,

 

 

Semi

mhrzmomeni@...

My problem was solved!

Semi

1751807240@...

I have the same error with you.!If anyone has any ideas for me to try that would be greatly appreciated. 

 

ncepulee@...

you can try keep the compiler setted right

1393537499@...

Hello,

I have the same error with you.

Please can you give me some specific advice? 

Thanks a lot,

ncepulee@...

HI,I have the same error with you.Can you give me some suggestion?Thanks alot in advance!

1393537499@...

Hello,

I had the same error with you which dragged me a few days.

Can you give me some specific advice? 

Thanks a lot in advance.

 

mhrzmomeni@...

Hello,

The error was related to the name of my parallel machine (my parallel machine is openMPI). First, you need to check out whether the name of your parallel machine whose you are using is correct and is consistent with your system. If yes, check out your setting related to the parallel machine.

 

I hope it is helpful.

 

Regards,

Semi

Log in or register to post comments

Who's new

  • afroberts@...
  • richard.allard@...
  • tracy@...
  • 498749303@...
  • lijundesio@...