Compiling NWChem on Cygwin


Click here for full thread
Gets Around
Thank you very much, now compiled.
I have done the following:

Swap "abstract_ops.h" and "globalp.h" in src/tools/ga-5-2/global/src/sparse.c

csh
setenv NWCHEM_TOP ~/nwchem-6.3-src.2013-05-17
setenv NWCHEM_TARGET CYGWIN
setenv NWCHEM_MODULES all
setenv ARMCI_NETWORK SOCKETS

cd $NWCHEM_TOP/src
make nwchem_config
make > & make.log


Quote:Bert May 24th 11:41 am
In:

  src/tools/ga-5-2/global/src/sparse.c

Swap lines 15 and 16, i.e. replace:

 #include "abstract_ops.h"
#include "globalp.h"

With:

 #include "globalp.h"
#include "abstract_ops.h"

There seems to be some order dependency with respect to definitions.

Bert