ParaDiS Manual Updated: Difference between revisions
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
==1. How to obtain the latest ParaDiS codes== |
==1. How to obtain the latest ParaDiS codes== |
||
It is highly recommended to create directory <tt>Codes</tt> under your home directory. Currently ParaDiS codes are maintained through Subversion. You can obtain the latest version of ParaDiS by typing the following, |
It is highly recommended to create directory <tt>Codes</tt> under your home directory. Currently ParaDiS codes are maintained through Subversion. You can '''obtain''' the latest version of ParaDiS by typing the following, |
||
<pre> |
<pre> |
||
| Line 12: | Line 12: | ||
</pre> |
</pre> |
||
Directory <tt>~/Codes/ParaDiS</tt> will be created with latest checked out revision. It is your svn local repository. You can update your local ParaDiS codes by simply typing |
Directory <tt>~/Codes/ParaDiS</tt> will be created with latest checked out revision. It is your svn local repository. You can '''update''' your local ParaDiS codes by simply typing |
||
<pre> |
<pre> |
||
cd ~/Codes/ParaDiS |
cd ~/Codes/ParaDiS |
||
svn update |
svn update |
||
</pre> |
|||
If you create a new file called <tt>newfile.c</tt>, you can '''add''' it to your local repository |
|||
<pre> |
|||
~/Codes/ParaDiS $ svn add newfile.c |
|||
</pre> |
|||
or '''commit''' the change to ParaDiS codes after some modifications |
|||
<pre> |
|||
~/Codes/ParaDiS $ svn commit newfile.c |
|||
</pre> |
</pre> |
||
Revision as of 01:41, 20 February 2010
Here is a practical guide to ParaDiS corresponding to the latest version. It is especially useful for beginners. Command templates and programming tips are also included.
Following things will be included:
1. How to obtain the latest ParaDiS codes
It is highly recommended to create directory Codes under your home directory. Currently ParaDiS codes are maintained through Subversion. You can obtain the latest version of ParaDiS by typing the following,
cd ~/Codes svn co https://micro.stanford.edu/svn/ParaDiS
Directory ~/Codes/ParaDiS will be created with latest checked out revision. It is your svn local repository. You can update your local ParaDiS codes by simply typing
cd ~/Codes/ParaDiS svn update
If you create a new file called newfile.c, you can add it to your local repository
~/Codes/ParaDiS $ svn add newfile.c
or commit the change to ParaDiS codes after some modifications
~/Codes/ParaDiS $ svn commit newfile.c