Mingw32 compilation


Click here for full thread
Gets Around
Sorry to bother you.
I tried to start from scratch.

Reinstalled MinGW 32 (TDM-GCC-32 recommended, C/C ++ version and latest msys).
Put in the home folder copy of MPICH.
Unpacked at home Nwchem-6.5.revision26243-src.2014-09-10.tar
Renamed folder into Nwchem-6.5

then:
amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export NWCHEM_TOP=~/nwchem-6.5

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export NWCHEM_TARGET=LINUX

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export USE_MPI=y

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export MPI_LOC=~/MPICH2

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export MPI_INCLUDE=$MPI_LOC/include

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export MPI_LIB=$MPI_LOC/lib

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export LIBMPI="-lfmpich2g -lmpi"

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export NWCHEM_MODULES=all

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export DEPEND_CC=gcc

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ export CCSDTQ=y

amnikitin@Ascalaph ~/Nwchem-6.5/src
$ cd $NWCHEM_TOP/src

amnikitin@Ascalaph ~/nwchem-6.5/src
$ make nwchem_config


result:
config/makefile.h:145: /home/amnikitin/nwchem-6.5/src/config/nwchem_config.h: No
 such file or directory
make: nice: Command not found
make: nice: Command not found
make: nice: Command not found
make -C config -f make_nwchem_config NWCHEM_MODULES="all"
make: nice: Command not found
make: *** [/home/amnikitin/nwchem-6.5/src/config/nwchem_config.h] Error 127


Really no file /nwchem-6.5/src/config/nwchem_config.h