Mingw32 compilation

From NWChem

You are viewing a single post from the thread title above
Jump to: navigation, search

Click here for full thread
Forum Vet
Threads 7
Posts 1354
This is what I have done to install NWChem under Mingw32

A prerequisite is to install Mpich, that can be found at the following URL


Once Mpich is installed, you should copy the installation files to a different location to avoid the failure of the tools compilation. You can use the following command

cp -rp /c/Program\ Files\ \(x86\)/MPICH2/ ~/

Next, you need to set the env.

export NWCHEM_TOP=~/nwchem-6.5
export USE_MPI=y
export MPI_LOC=~/MPICH2
export MPI_INCLUDE=$MPI_LOC/include
export MPI_LIB=$MPI_LOC/lib
export LIBMPI="-lfmpich2g -lmpi"
export PYTHONHOME=/c/Python27/
export DEPEND_CC=gcc

Then, you can start the compilation by typing

make FC=gfortran DEPEND_CC=gcc

Who's here now Members 0 Guests 0 Bots/Crawler 0

AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC