Compilation error with include/mafdecls.fh

From NWChem

Viewed 3246 times, With a total of 2 Posts
Jump to: navigation, search

Just Got Here
Threads 1
Posts 1
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
Threads 9
Posts 1576
Please try the following

cd $NWCHEM_TOP/src
rm */dependencies
rm */*/dependencies
make

  • Huub Forum:Admin, Forum:Mod, NWChemDeveloper, bureaucrat, sysop
    Profile
    Send PM
Forum Regular
Threads 1
Posts 185
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



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


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