Cygwin not compiling - Nwchem-6.5.revision26243-src.2014-09-10


Just Got Here
Hello,

I am attempting to compile Nwchem-6.5.revision26243-src.2014-09-10 with a full, up-to-date installation of Cygwin.

I unpacked and ran the command:

./contrib/distro-tools/build_nwchem | tee build_nwchem.log

I am getting the following error in the build log:

""""
ERROR: A: inconsistent data on presence of BLAS library
have_blas_true = have_blas_false = """"

Any help would be great, thanks.

Just Got Here
this is the build log:

Contents

figure out Network, MPI, and LinAlg libraries

Initial guesses for linear algebra libraries

BLAS = -L/usr/lib -lblas integer-size = 4
LAPACK = -L/usr/lib -llapack integer-size = 4
SCALAPACK = integer-size = 0

Working out how to proceed ==================

No ScaLAPACK found, so no ScaLAPACK will be used
BLAS and LAPACK are OK
===
Building NWChem
===

NWCHEM_TOP = /home/USER/nwchem/Nwchem-6.5.revision26243-src.2014-09-10
NWCHEM_TARGET = CYGWIN
NWCHEM_MODULES = all python
NWCHEM_MPIF_WRAP = /usr/bin/mpif90
NWCHEM_MPIC_WRAP = /usr/bin/mpicc
NWCHEM_MPICXX_WRAP = /usr/bin/mpicxx
NWCHEM_LONG_PATHS = Y
USE_NOFSCHECK = Y
USE_MPI = y
USE_MPIF = y
USE_MPIF4 = y
MPI_INCLUDE = -I/usr/include -I/usr/lib
MPI_LIB = -L/usr/lib
LIBMPI = -lmpi_usempi -lmpi_mpifh -lmpi -lopen-rte -lopen-pal -lm -lgdi32
MPI_F90 = gfortran
MPI_CC = gcc
MPI_CXX = g++
ARMCI_NETWORK = MSG_COMMS = TCGMSG
BLAS_LIB = -L/usr/lib -lblas integer-size = 4
LAPACK_LIB = -L/usr/lib -llapack integer-size = 4
PYTHON_EXE = /usr/bin/python
PYTHONVERSION = 2.7
USE_PYTHON64 = yes
PYTHONPATH = ./:/home/USER/nwchem/Nwchem-6.5.revision26243-src.2014-09-10/contrib/python/
PYTHONHOME = /usr /usr

configure GA

make -C tools configure_ga

      • Configuring Parallel Tools ****

../ga-5-3/configure --prefix=/home/USER/nwchem/Nwchem-6.5.revision26243-src.2014-09-10/src/tools/install --with-tcgmsg --with-mpi=-I/usr/include -I/usr/lib -L/usr/lib -lmpi_usempi -lmpi_mpifh -lmpi -lopen-rte -lopen-pal -lm -lgdi32 --enable-peigs --enable-underscoring --disable-mpi-tests --without-scalapack --with-lapack=-L/usr/lib -llapack --with-blas4=-L/usr/lib -lblas --with-mpi-ts CC=gcc F77=gfortran FFLAGS=-m32 -fno-aggressive-loop-optimizations CFLAGS=-m32 ARMCI_DEFAULT_SHMMAX_UBOUND=131072
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking for TARGET base (64bit-ness checked later)... CYGWIN
checking whether we think this system is what we call SYSV... no
checking whether we are cross compiling... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: Detected VPATH build
configure:
configure: C compiler
configure:
checking for style of include used by make... GNU
checking whether the C compiler works... no
GNUmakefile:586: recipe for target 'build/config.status' failed
GNUmakefile:105: recipe for target 'configure_ga' failed
ERROR: A: inconsistent data on presence of BLAS library
have_blas_true =
have_blas_false =

Just Got Here
Has anyone tried compiling with Cygwin recently?

Forum Vet
Quote:Nwchem username Sep 24th 11:44 am
Has anyone tried compiling with Cygwin recently?

MinGW32 is the recommended Windows environment.
If you use the current Cygwin version, you will not able to successfully compile NWChem 6.5
More details for using MinGW32 at
http://nwchemgit.github.io/index.php/Compiling_NWChem#How-to:_Windows_Platforms

Just Got Here
Quote:Edoapra Sep 24th 1:15 pm
Quote:Nwchem username Sep 24th 11:44 am
Has anyone tried compiling with Cygwin recently?

MinGW32 is the recommended Windows environment.
If you use the current Cygwin version, you will not able to successfully compile NWChem 6.5
More details for using MinGW32 at
http://nwchemgit.github.io/index.php/Compiling_NWChem#How-to:_Windows_Platforms


It also says you can compile with Cygwin, however, it does not work.

Forum Vet
Quote:Nwchem username Sep 25th 6:28 am


It also says you can compile with Cygwin, however, it does not work.


Please read new text that I have written earlier today about using Cygwin for NWChem at
http://nwchemgit.github.io/index.php/Compiling_NWChem#How-to:_Windows_Platforms
before continuing your anonymous rant.
Thanks, Edo


Forum >> NWChem's corner >> Compiling NWChem