Compilation of nwchem-6.8 in Mac OS: Error at "make nwchem config" step

From NWChem

Viewed 42 times, With a total of 1 Posts
Jump to: navigation, search

Just Got Here
Threads 1
Posts 1
Hello all!

I am trying to compile the nwchem source code (nwchem-6.8-release.revision-v6.8-47-gdf6c956-src.2017-12-14) in Mac OS 10.14.3.

At the "make nwchem_config" step, I am getting the following error messages at the very beginning:

usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: -ge: unary operator expected
cat: /Users/Suman/source_code/nwchem-6.8/src/tools/build/config.h: No such file or directory


Any help in troubleshooting this issue will be much appreciated.

Thanks,
Suman.
Edited On 11:55:39 PM PST - Fri, Feb 1st 2019 by Sumanc

Forum Vet
Threads 9
Posts 1570
Suman
NWChem is now available on brew. This is likely to be the easiest option for installing NWChem 6.8.1 on MacOS
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 
brew install nwchem


If you still need assistance on your compilation, please post the env. variable that you have set for the NWChem compilation


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