Are the patches already included in the source code or necessary to be installed?

From NWChem

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

Forum Regular
Threads 61
Posts 291
Are the patches already included in the source code or necessary to be installed?
How to install them?
Thanks for your advice.
Edited On 6:40:05 AM PDT - Fri, Oct 17th 2014 by Xiongyan21

Clicked A Few Times
Threads 2
Posts 10
You could use the following commands:

cd $NWCHEM_TOP/src
wget http://www.nwchem-sw.org/images/Util_md_sockets.patch.gz
gzip -d Util_md_sockets.patch.gz
patch -p0 < Util_md_sockets.patch

You need to repeat the process for each patch.

Forum Regular
Threads 61
Posts 291
Some hunks failed:
BASH-3.2# patch -p0 <hnd_giaxyz_noinline.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:


|Index: hnd_giaxyz.F
|==================================================================

File to patch: hnd_giaxyz_noinline.patch
patching file hnd_giaxyz_noinline.patch
Hunk #1 FAILED at 34.
Hunk #2 FAILED at 54.
Hunk #3 FAILED at 76.
Hunk #4 FAILED at 96.
Hunk #5 FAILED at 137.
5 out of 5 hunks FAILED
Edited On 11:50:18 PM PDT - Fri, Oct 17th 2014 by Xiongyan21


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