Tddft mxvec20.patch cannot be applied

From NWChem

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

Gets Around
Threads 36
Posts 165
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 6:15:32 PM PDT - Fri, Oct 23rd 2015 by Xiongyan21

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

gzip -d Tddft_mxvec20.patch.gz
patch -p0 < Tddft_mxvec20.patch

Gets Around
Threads 36
Posts 165
Dear Edoapra
 Thanks a lot.
It works, and four files have been patched.
Edited On 6:13:44 PM PDT - Fri, Oct 23rd 2015 by Xiongyan21

Forum >> NWChem's corner >> Running NWChem

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

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