[Pw_forum] CVS information

Jonathan Breeze breezejd at lsbu.ac.uk
Wed Jan 14 17:27:57 CET 2004


Thank you very much for your help Paolo, I'll give it a whirl.

Paolo Giannozzi wrote:

>On Wednesday 14 January 2004 13:19, Jonathan Breeze wrote:
>
>  
>
>>I keep hearing about CVS and the possibility of keeping up to date with
>>most recent versions of the code.
>>What do I need to do in order to take advantage of CVS ???
>>    
>>
>
>see the file README.cvs (attached) that comes with the PWscf distribution.
>CVS tutorial: http://www.loria.fr/~molli/cvs/cvs-tut/ . A few notes on what
>can happen when you update:
>
>---------
>Update to the latest release: "cvs update"
>You should get lines looking like
>
>  
>
>>cvs server: Updating Modules
>>P Modules/Makefile
>>U Modules/control_flags.f90
>>    
>>
>
>where P means "patched", U means "Updated" (a new file is added); or
>
>  
>
>>M PW/Makefile
>>    
>>
>
>where M means locally modified wrt the CVS repository version; or
>
>  
>
>>? CPV/intel.pcl
>>    
>>
>
>meaning that cvs knows nothing about such file; or
>
>  
>
>>cvs server: FPMD/control_flags.f90 is no longer in the repository
>>    
>>
> 
>meaning that these files are no longer in the repository; but no lines like
> 
>  
>
>>C Somedir/SomeFile
>>cvs server: conflict while updating Somedir/SomeFile
>>    
>>
>
>This means that somebody else has modified the same parts of the code 
>that you have locally modified; conflicting files will contain lines like
>
>  
>
>>   something
>>============
>>   something else
>><<<<<<<<<<<<<
>>    
>>
>---------
>
>Paolo
>  
>
>------------------------------------------------------------------------
>
>
>The current (development) version is available using anonymous CVS. 
>Define environmental variables:
>   setenv CVS_RSH ssh
>   setenv CVSROOT :pserver:cvsanon at democritos.sissa.it:/home/cvs
>(tcsh/csh) or
>   export CVS_RSH=ssh
>   export CVSROOT=:pserver:cvsanon at democritos.sissa.it:/home/cvs
>(sh/bash). Then:
>   cvs login
>(password: cvsanon). For the first code download:
>   cvs co O-sesame
>for the entire repository (the code appears in directory O-sesame/).
>Alternatively, "cvs co pwscf", or "cp", or "fpmd" will download only
>PWscf, CP, FPMD, respectively, in directories with the same name.
>For updating the code to the current version:
>   cvs update -d
>in the directory containing the distribution.
>
>PLEASE NOTE: re-run "./configure" if files have been moved/added/removed
>since the last checkout, otherwise "make" may not work properly due to
>obsolete or missing dependencies. Do not blindly re-use a "make.sys" file
>from a preceding version: it may no longer work.
>
>PLEASE ALSO NOTE: the development version may not work properly, and
>sometimes not even compile properly. Use at your own risk.
>
>  
>


-- 
Jonathan Breeze
Research Fellow
Centre for Physical Electronics and Materials
London South Bank University
103 Borough Road
London
SE1 0AA

Tel: +44(0)20 7815 7582
Fax: +44(0)20 7815 7599






More information about the Pw_forum mailing list