Tddft mxvec20.patch cannot be applied

From NWChem

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

Forum Regular
Threads 43
Posts 209
When patch -p0 < Tddft_mvxec20.patch is typed in a MAC bash, the following appears

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: QA/tests/tddft_h2o_mxvc20/tddft_h2o_mxvc20.nw
|=================================================================== |--- QA/tests/tddft_h2o_mxvc20/tddft_h2o_mxvc20.nw (revision 27754)
|+++ QA/tests/tddft_h2o_mxvc20/tddft_h2o_mxvc20.nw (revision 27755)

How to choose and what command should be applied?
Edited On 7:15:32 PM PDT - Fri, Oct 23rd 2015 by Xiongyan21

Forum Vet
Threads 9
Posts 1489
The instructions on the webpage were not correct
You need to cd into $NWCHEM_TOP (get rid of "src")

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

Forum Regular
Threads 43
Posts 209
Dear Edoapra
 Thanks a lot.
It works, and four files have been patched.
Edited On 7:13:44 PM PDT - Fri, Oct 23rd 2015 by Xiongyan21


Forum >> NWChem's corner >> Running 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