<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Walter, Eric<br><br>Just a quick update to post the error log etc. <br><br>Lester@Lester-VAIO /cygdrive/c/CitcomS/CitcomS-3.2.0<br>$ ./configure2<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /usr/bin/mkdir -p<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking whether the C compiler works... no [this is very odd given that gcc is present as shown below]<br>configure2: error: in `/cygdrive/c/CitcomS/CitcomS-3.2.0':<br>configure2: error: C compiler cannot create executables<br>See `config.log' for more details<br><br>Lester@Lester-VAIO /cygdrive/c/CitcomS/CitcomS-3.2.0<br>$ gcc<br>gcc: no input files<br><br>Lester@Lester-VAIO /cygdrive/c/CitcomS/CitcomS-3.2.0<br>$ make<br>make: *** No targets specified and no makefile found. Stop.<br><br>Lester@Lester-VAIO /cygdrive/c/CitcomS/CitcomS-3.2.0<br>$ gawk<br>Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...<br>Usage: gawk [POSIX or GNU style options] [--] 'program' file ...<br>POSIX options: GNU long options: (standard)<br> -f progfile --file=progfile<br> -F fs --field-separator=fs<br> -v var=val --assign=var=val<br>Short options: GNU long options: (extensions)<br> -b --characters-as-bytes<br> -c --traditional<br> -C --copyright<br> -d[file] --dump-variables[=file]<br> -e 'program-text' --source='program-text'<br> -E file --exec=file<br> -g --gen-pot<br> -h --help<br> -L [fatal] --lint[=fatal]<br> -n --non-decimal-data<br> -N --use-lc-numeric<br> -O --optimize<br> -p[file] --profile[=file]<br> -P --posix<br> -r --re-interval<br> -S --sandbox<br> -t --lint-old<br> -V --version<br><br>To report bugs, see node `Bugs' in `gawk.info', which is<br>section `Reporting Problems and Bugs' in the printed version.<br><br>gawk is a pattern scanning and processing language.<br>By default it reads standard input and writes standard output.<br><br>Examples:<br> gawk '{ sum += $1 }; END { print sum }' file<br> gawk -F: '{ print $1 }' /etc/passwd<br><br>Config.log listing:<br><br>This file contains any messages produced by compilers while<br>running configure, to aid debugging if configure makes a mistake.<br><br>It was created by CitcomS configure2 3.2.0, which was<br>generated by GNU Autoconf 2.68. Invocation command line was<br><br> $ ./configure2 <br><br>## --------- ##<br>## Platform. ##<br>## --------- ##<br><br>hostname = Lester-VAIO<br>uname -m = i686<br>uname -r = 1.7.15(0.260/5/3)<br>uname -s = CYGWIN_NT-6.1-WOW64<br>uname -v = 2012-05-09 10:25<br><br>/usr/bin/uname -p = unknown<br>/bin/uname -X = unknown<br><br>/bin/arch = i686<br>/usr/bin/arch -k = unknown<br>/usr/convex/getsysinfo = unknown<br>/usr/bin/hostinfo = unknown<br>/bin/machine = unknown<br>/usr/bin/oslevel = unknown<br>/bin/universe = unknown<br><br>PATH: /usr/local/bin<br>PATH: /usr/bin<br>PATH: /cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live<br>PATH: /cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live<br>PATH: /cygdrive/c/Program Files (x86)/Silverfrost/FTN95<br>PATH: /cygdrive/c/Windows/system32<br>PATH: /cygdrive/c/Windows<br>PATH: /cygdrive/c/Windows/System32/Wbem<br>PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0<br>PATH: /cygdrive/c/WConnectTool<br>PATH: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software<br>PATH: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64<br>PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/10.0/DLLShared<br>PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/DLLShared<br>PATH: /cygdrive/c/Program Files (x86)/Windows Live/Shared<br>PATH: /cygdrive/c/Program Files (x86)/QuickTime/QTSystem<br>PATH: /cygdrive/c/programs/GMT/bin<br>PATH: /cygdrive/c/programs/GMT/bin<br>PATH: /cygdrive/c/programs/GMT/bin<br><br><br>## ----------- ##<br>## Core tests. ##<br>## ----------- ##<br><br>configure2:2564: checking for a BSD-compatible install<br>configure2:2632: result: /usr/bin/install -c<br>configure2:2643: checking whether build environment is sane<br>configure2:2693: result: yes<br>configure2:2834: checking for a thread-safe mkdir -p<br>configure2:2873: result: /usr/bin/mkdir -p<br>configure2:2886: checking for gawk<br>configure2:2902: found /usr/bin/gawk<br>configure2:2913: result: gawk<br>configure2:2924: checking whether make sets $(MAKE)<br>configure2:2946: result: yes<br>configure2:3228: checking for C compiler version<br>configure2:3237: c:/mpich2/mpich2-1.4.1p1/bin/mpicc --version >&5<br>gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)<br>Copyright (C) 2004 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br><br>configure2:3248: $? = 0<br>configure2:3237: c:/mpich2/mpich2-1.4.1p1/bin/mpicc -v >&5<br>mpicc for MPICH2 version 1.4.1p1<br>Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs<br>Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug<br>Thread model: posix<br>gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)<br>configure2:3248: $? = 0<br>configure2:3237: c:/mpich2/mpich2-1.4.1p1/bin/mpicc -V >&5<br>gcc: couldn't run `i686-pc-cygwin-gcc--I/cygdrive/c/mpich2/mpich2-1.4.1p1/src/include': No such file or directory<br>configure2:3248: $? = 1<br>configure2:3237: c:/mpich2/mpich2-1.4.1p1/bin/mpicc -qversion >&5<br>gcc: unrecognized option `-qversion'<br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lpmpich<br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpich<br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lopa<br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpl<br>collect2: ld returned 1 exit status<br>configure2:3248: $? = 1<br>configure2:3268: checking whether the C compiler works<br>configure2:3290: c:/mpich2/mpich2-1.4.1p1/bin/mpicc conftest.c >&5<br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lpmpich<br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpich<br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lopa<br>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpl<br>collect2: ld returned 1 exit status<br>configure2:3294: $? = 1<br>configure2:3332: result: no<br>configure2: failed program was:<br>| /* confdefs.h */<br>| #define PACKAGE_NAME "CitcomS"<br>| #define PACKAGE_TARNAME "CitcomS"<br>| #define PACKAGE_VERSION "3.2.0"<br>| #define PACKAGE_STRING "CitcomS 3.2.0"<br>| #define PACKAGE_BUGREPORT "cig-mc@geodynamics.org"<br>| #define PACKAGE_URL ""<br>| #define PACKAGE "CitcomS"<br>| #define VERSION "3.2.0"<br>| /* end confdefs.h. */<br>| <br>| int<br>| main ()<br>| {<br>| <br>| ;<br>| return 0;<br>| }<br>configure2:3337: error: in `/cygdrive/c/CitcomS/CitcomS-3.2.0':<br>configure2:3339: error: C compiler cannot create executables<br>See `config.log' for more details<br><br>## ---------------- ##<br>## Cache variables. ##<br>## ---------------- ##<br><br>ac_cv_env_CCC_set=<br>ac_cv_env_CCC_value=<br>ac_cv_env_CC_set=set<br>ac_cv_env_CC_value=c:/mpich2/mpich2-1.4.1p1/bin/mpicc<br>ac_cv_env_CFLAGS_set=<br>ac_cv_env_CFLAGS_value=<br>ac_cv_env_CPPFLAGS_set=<br>ac_cv_env_CPPFLAGS_value=<br>ac_cv_env_CPP_set=<br>ac_cv_env_CPP_value=<br>ac_cv_env_CXXCPP_set=<br>ac_cv_env_CXXCPP_value=<br>ac_cv_env_CXXFLAGS_set=<br>ac_cv_env_CXXFLAGS_value=<br>ac_cv_env_CXX_set=<br>ac_cv_env_CXX_value=<br>ac_cv_env_HC_HOME_set=<br>ac_cv_env_HC_HOME_value=<br>ac_cv_env_LDFLAGS_set=<br>ac_cv_env_LDFLAGS_value=<br>ac_cv_env_LIBS_set=<br>ac_cv_env_LIBS_value=<br>ac_cv_env_PHDF5_HOME_set=<br>ac_cv_env_PHDF5_HOME_value=<br>ac_cv_env_PYTHONPATH_set=<br>ac_cv_env_PYTHONPATH_value=<br>ac_cv_env_PYTHON_set=<br>ac_cv_env_PYTHON_value=<br>ac_cv_env_build_alias_set=<br>ac_cv_env_build_alias_value=<br>ac_cv_env_host_alias_set=<br>ac_cv_env_host_alias_value=<br>ac_cv_env_target_alias_set=<br>ac_cv_env_target_alias_value=<br>ac_cv_path_install='/usr/bin/install -c'<br>ac_cv_path_mkdir=/usr/bin/mkdir<br>ac_cv_prog_AWK=gawk<br>ac_cv_prog_make_make_set=yes<br><br>## ----------------- ##<br>## Output variables. ##<br>## ----------------- ##<br><br>ACLOCAL='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run aclocal-1.11'<br>AMDEPBACKSLASH=''<br>AMDEP_FALSE=''<br>AMDEP_TRUE=''<br>AMTAR='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run tar'<br>AR=''<br>AUTOCONF='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run autoconf'<br>AUTOHEADER='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run autoheader'<br>AUTOMAKE='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run automake-1.11'<br>AWK='gawk'<br>CC='c:/mpich2/mpich2-1.4.1p1/bin/mpicc'<br>CCDEPMODE=''<br>CFLAGS=''<br>COND_CUDA_FALSE=''<br>COND_CUDA_TRUE='#'<br>COND_EMBEDDING_FALSE='#'<br>COND_EMBEDDING_TRUE=''<br>COND_EXCHANGER_FALSE=''<br>COND_EXCHANGER_TRUE=''<br>COND_GGRD_FALSE=''<br>COND_GGRD_TRUE='#'<br>COND_HDF5_FALSE=''<br>COND_HDF5_TRUE=''<br>COND_PYRE_FALSE=''<br>COND_PYRE_TRUE='#'<br>CPP=''<br>CPPFLAGS=''<br>CXX=''<br>CXXCPP=''<br>CXXDEPMODE=''<br>CXXFLAGS=''<br>CYGPATH_W='cygpath -w'<br>DEFS=''<br>DEPDIR=''<br>DLLTOOL=''<br>DSYMUTIL=''<br>DUMPBIN=''<br>ECHO_C=''<br>ECHO_N='-n'<br>ECHO_T=''<br>EGREP=''<br>EXEEXT=''<br>FGREP=''<br>GREP=''<br>HC_HOME=''<br>INSTALL_DATA='${INSTALL} -m 644'<br>INSTALL_PROGRAM='${INSTALL}'<br>INSTALL_SCRIPT='${INSTALL}'<br>INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'<br>LD=''<br>LDFLAGS=''<br>LIBOBJS=''<br>LIBS=''<br>LIBTOOL=''<br>LIPO=''<br>LN_S=''<br>LTLIBOBJS=''<br>MAKEINFO='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run makeinfo'<br>MANIFEST_TOOL=''<br>MKDIR_P='/usr/bin/mkdir -p'<br>NM=''<br>NMEDIT=''<br>OBJDUMP=''<br>OBJEXT=''<br>OTOOL64=''<br>OTOOL=''<br>PACKAGE='CitcomS'<br>PACKAGE_BUGREPORT='cig-mc@geodynamics.org'<br>PACKAGE_NAME='CitcomS'<br>PACKAGE_STRING='CitcomS 3.2.0'<br>PACKAGE_TARNAME='CitcomS'<br>PACKAGE_URL=''<br>PACKAGE_VERSION='3.2.0'<br>PATH_SEPARATOR=':'<br>PHDF5_HOME=''<br>PYCONFIG=''<br>PYTHON=''<br>PYTHONPATH=''<br>PYTHON_BLDLIBRARY=''<br>PYTHON_EGG_CFLAGS=''<br>PYTHON_EGG_CPPFLAGS=''<br>PYTHON_EGG_LDFLAGS=''<br>PYTHON_EGG_LIBS=''<br>PYTHON_EGG_PYXFLAGS=''<br>PYTHON_EXEC_PREFIX=''<br>PYTHON_INCDIR=''<br>PYTHON_LA_LDFLAGS=''<br>PYTHON_LDFLAGS=''<br>PYTHON_LDLAST=''<br>PYTHON_LDLIBRARY=''<br>PYTHON_LIBDIR=''<br>PYTHON_LIBP=''<br>PYTHON_LIBPL=''<br>PYTHON_LIBS=''<br>PYTHON_LINKFORSHARED=''<br>PYTHON_MODLIBS=''<br>PYTHON_PLATFORM=''<br>PYTHON_PREFIX=''<br>PYTHON_SYSLIBS=''<br>PYTHON_VERSION=''<br>RANLIB=''<br>SED=''<br>SET_MAKE=''<br>SHELL='/bin/sh'<br>STRIP=''<br>VERSION='3.2.0'<br>ac_ct_AR=''<br>ac_ct_CC=''<br>ac_ct_CXX=''<br>ac_ct_DUMPBIN=''<br>am__EXEEXT_FALSE=''<br>am__EXEEXT_TRUE=''<br>am__fastdepCC_FALSE=''<br>am__fastdepCC_TRUE=''<br>am__fastdepCXX_FALSE=''<br>am__fastdepCXX_TRUE=''<br>am__include=''<br>am__isrc=''<br>am__leading_dot='.'<br>am__nodep=''<br>am__quote=''<br>am__tar='${AMTAR} chof - "$$tardir"'<br>am__untar='${AMTAR} xf -'<br>bindir='${exec_prefix}/bin'<br>build=''<br>build_alias=''<br>build_cpu=''<br>build_os=''<br>build_vendor=''<br>datadir='${datarootdir}'<br>datarootdir='${prefix}/share'<br>docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'<br>dvidir='${docdir}'<br>exec_prefix='NONE'<br>host=''<br>host_alias=''<br>host_cpu=''<br>host_os=''<br>host_vendor=''<br>htmldir='${docdir}'<br>includedir='${prefix}/include'<br>infodir='${datarootdir}/info'<br>install_sh='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/install-sh'<br>libdir='${exec_prefix}/lib'<br>libexecdir='${exec_prefix}/libexec'<br>localedir='${datarootdir}/locale'<br>localstatedir='${prefix}/var'<br>mandir='${datarootdir}/man'<br>mkdir_p='/usr/bin/mkdir -p'<br>oldincludedir='/usr/include'<br>pdfdir='${docdir}'<br>pkgpyexecdir=''<br>pkgpythondir=''<br>pkgsysconfdir=''<br>prefix='NONE'<br>program_transform_name='s,x,x,'<br>psdir='${docdir}'<br>pyexecdir=''<br>pythondir=''<br>sbindir='${exec_prefix}/sbin'<br>sharedstatedir='${prefix}/com'<br>sysconfdir='${prefix}/etc'<br>target_alias=''<br><br>## ----------- ##<br>## confdefs.h. ##<br>## ----------- ##<br><br>/* confdefs.h */<br>#define PACKAGE_NAME "CitcomS"<br>#define PACKAGE_TARNAME "CitcomS"<br>#define PACKAGE_VERSION "3.2.0"<br>#define PACKAGE_STRING "CitcomS 3.2.0"<br>#define PACKAGE_BUGREPORT "cig-mc@geodynamics.org"<br>#define PACKAGE_URL ""<br>#define PACKAGE "CitcomS"<br>#define VERSION "3.2.0"<br><br>configure2: exit 77<br><br>Cannot see what the problem is when all the necessary programs are present.<br><br>Cheers<br><br>Lester<br><br><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Thu, 7 Jun 2012 11:16:52 -0700<br>> To: cig-mc@geodynamics.org<br>> From: wlandry@caltech.edu<br>> Subject: Re: [CIG-MC] Installing CitcomS - Cygwin<br>> <br>> Lester Anderson <lester_anderson1963@hotmail.com> wrote:<br>> > Hi Eric,<br>> > <br>> > No I never did manage to get the code the compile under Cygwin. The<br>> > main issue seems to be that the MPI library will not install. At the<br>> > moment I am working with a colleague that uses the code a lot and<br>> > has it working. Unfortunately I do not have the time to keep trying<br>> > to compile the code.<br>> > <br>> > Perhaps somewhere down the line the code could be modified to work<br>> > on Windows 32/64 bit but I can appreciate that it would require a<br>> > lot of tweaking to get the functionality.<br>> > <br>> > If anyone does manage to get the code to compile and run under<br>> > Cygwin I would be interested to know. Cygwin is a bit of a strange<br>> > beast in that it is running in windows and can access windows<br>> > programs (eg GMT) but is fully UNIX compliant, so it is odd why<br>> > things do not work.<br>> <br>> I just compiled in on the Cygwin machine we have. I did not have any<br>> of the problems you had. I compiled my own version of mpich2-1.3.2p1<br>> with the configure line<br>> <br>> ./configure --prefix=/home/walter --with-pm=gforker --enable-fast --disable-f77 --disable-fc<br>> <br>> Then I set the environment variables, configured, and built it.<br>> <br>> export CC=/home/walter/src/mpich2-1.3.2p1/bin/mpicc<br>> ./configure<br>> make<br>> <br>> This gave me the non-Pyre version without HDF5. Then I ran the<br>> command<br>> <br>> /home/walter/src/mpich2-1.3.2p1/bin/mpirun -np 4 bin/CitcomSRegional.exe examples/Regional/input.sample<br>> <br>> and it seems to work.<br>> <br>> Cheers,<br>> Walter Landry<br>> _______________________________________________<br>> CIG-MC mailing list<br>> CIG-MC@geodynamics.org<br>> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc<br></div>                                            </div></body>
</html>