| MPICH2 Home Page News Download MPICH2 FAQ Documentation License Information for Developers Student Projects Bug Reports ANL's MPI Page MPI Forum MPICH1 Home Page |
Fixing Bugs in the Current ReleaseIt is sometimes desirable to fix bugs in the current release so that a patch release can be created between major releases. A patch release must still be carefully tested, so fixes need to be carefully applied. In order to simplify the creation of a patch release, a separate bugfix branch is created with MPICH2 is released. This release has the nameMPICH2_X.Y.Zpo. To work in the
patch release, the best option is to check out this branch:
cd --someplace-where-you-keep-projects--
cvs -d /homes/MPI/cvsMaster checkout -d mpich2-X.Y.Zbugfix \
-r MPICH2_X_Y_Zp0 mpich2allWithMPE
cvs -q update -d -P
There are two ways in which to apply bug fixes: directly to the
branch or in a separate branch (see Using CVS
branches to manage patches and code development for more details).
Directly appling the patch is often the best approach if the patch is
very simple. To do this, simply make the fix in the checked-out
branch, then commit the changed file with a detailed message. Make
sure that the fix is also applied to the development branch, as
changes made to the patch branch are not part of the main
tree. You can apply the changes from one file to the main branch either
manually (make sure that you edit the main file, do not
simply copy the fixed file in the branch to the main trunk as that will
discard changes already made to the main truck) or use cvs
update with explicit release numbers, as in
cd mpich2 --- main development trunk ---
cvs update -j 1.43 -j 1.43.2.1 filename
cvs commit -m 'Applied update to fix req 2345' filename
Also, make sure that any files that you wish to add or remove (with
If the fix is more involved, either in terms of the number of lines in
one file or in the use of multiple files, or it involves a file on
which others might be working (such as
|
| MCS Division | Argonne National Laboratory | University of Chicago |
Last modified Fri Aug 4 11:12:20 2006