From NWChem
			Viewed 815 times, With a total of 2 Posts
												
			
                  
        
            
                | 
                    
                 | 
            
            
                
                    
                        
                            | 
                 Forum Regular 
                
                                Threads 43 
                                Posts 209                              
                             | 
                         
                     
                 | 
            		
		                
		                    
		                        | 7:16:15 AM PDT - Fri, Oct 23rd 2015  | 
		                             | 
		                     
		                    
		                        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
	 | 
 
		                 
		             | 
        
 
         | 
        
              
        
            
                
                    
                        
                            
                                
                                  - 
                                     Edoapra  Forum:Admin, Forum:Mod, bureaucrat, sysop
                                    
                                  
 
                                 
                             | 
                         
                     
                 | 
            
            
                
                    
                        
                            | 
                 Forum Vet 
                
                                Threads 9 
                                Posts 1489                              
                             | 
                         
                     
                 | 
            		
		                
		                    
		                        | 9:16:09 AM PDT - Fri, Oct 23rd 2015  | 
		                             | 
		                     
		                    
		                        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                              
                             | 
                         
                     
                 | 
            		
		                
		                    
		                        | 7:12:47 PM PDT - Fri, Oct 23rd 2015  | 
		                             | 
		                     
		                    
		                        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
	 | 
 
		                 
		             | 
        
 
         | 
        
      
        	
            
                AWC's:
                 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC