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


Forum Vet
Are the patches already included in the source code or necessary to be installed?
How to install them?
Thanks for your advice.

Clicked A Few Times
You could use the following commands:

cd $NWCHEM_TOP/src
wget http://nwchemgit.github.io/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 Vet
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


Forum >> NWChem's corner >> Compiling NWChem