cygwin compilation issues


Just Got Here
I'm trying the compilation of nwchem under cygwin, but when I make, I get an error. This is the last bit of my make.log:

Quote:make.log

geom_impose_constraints_on_q:
geom_zmat_sane_step:
rot_theta_z:
check_c2_perp:
geom_zmt_remember_constants:
geom_powcmpl:
../config/makefile.h:2362: recipe for target `/home/jim/nwchem-6.1/lib/CYGWIN/libnwcutil.a(geom_input.o)' failed
make[1]: *** [/home/jim/nwchem-6.1/lib/CYGWIN/libnwcutil.a(geom_input.o)] Error 1
GNUmakefile:105: recipe for target `libraries' failed
make: *** [libraries] Error 1


Any idea what could be wrong?

Clicked A Few Times
I cannot say what the problem is. However, I have successfully compiled NWChem 6.1 on cygwin using the following:

setenv NWCHEM_TOP <your path>/nwchem
setenv NWCHEM_TARGET CYGWIN
setenv NWCHEM_MODULES all

cd $NWCHEM_TOP/src

make nwchem_config
make FC=gfortran >& make.log

See also the compiling instructions:
http://nwchemgit.github.io/index.php/Compiling_NWChem#How-to:_Windows_Platforms

Just Got Here
I see, I didn't define the fortran compiler, letting it guess (incorrectly, appearently).
With this it worked.
Now for some QA...

Just Got Here
I tried compilation on CYGWIN, both with the basic shell, and csh shell. The variable set were:

setenv NWCHEM_TOP /home/sergel/nwchem-6.1
setenv NWCHEM_TARGET CYGWIN
setenv NWCHEM_MODULES all
setenv LARGE_FILES TRUE
setenv USE_NOFSCHECK TRUE
setenv LIB_DEFINES -DDFLT_TOT_MEM=16777216
setenv PYTHONHOME /lib/python2.6
setenv PYTHONVERSION 2.6
setenv USE_PYTHON64  y
setenv FC gfortran
setenv CC gcc


and then
make >& make.log


and also
make FC=gfortran >& make.log


it stop always with this few line of code in make.log

Stop.
GNUmakefile:105: recipe for target `libraries' failed
make: *** [libraries] Error 1


Does this is related to the fact that i'm running windows 7 64 bit?

Thank you


Forum >> NWChem's corner >> Compiling NWChem