Compilation error with include/mafdecls.fh


Just Got Here
Hi, folks -

I'm compiling NWChem for the first time, and I stumbled upon a compilation error. This build is for a Linux cluster.

While running "make", things go swimmingly until the basis directory. I get:

Making libraries in basis
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: *** No rule to make target `/uufs/chpc.utah.edu/common/home/u0764443/nwchem-6.3/src/include/mafdecls.fh', needed by `/uufs/chpc.utah.edu/common/home/u0764443/nwchem-6.3/lib/LINUX64/libnwcutil.a(basis.o)'. Stop.
make: *** [libraries] Error 1

Any suggestions? Is this a bug in the compile script? Or is a setting somewhere affecting the build?

I'd be happy to provide any other configuration info, as needed.

Thanks!
Ryan

Forum Vet
Please try the following


cd $NWCHEM_TOP/src

rm */dependencies

rm */*/dependencies

make

Forum Regular
Hi Ryan,

It looks like your dependencies are messed up. The mafdecls.fh file is part of the Global Arrays and should live in nwchem-6.3/src/tools/install/include. For some reason the script that works out the dependencies has considered this file to be part of NWChem rather than GA. Maybe the best thing to do is to run

  cd nwchem-6.3/src
find . -name dependencies -exec rm {} \; -print
make

The make will then create the dependencies from scratch and hopefully that will work things out.

Best wishes, Huub


Forum >> NWChem's corner >> Compiling NWChem