Differences between revisions 3 and 4
Revision 3 as of 2008-02-25 09:10:50
Size: 1144
Editor: NicoleThomas
Comment:
Revision 4 as of 2008-02-25 11:10:35
Size: 1597
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

The source code of the library ''utils'' is under the control of the CVS (Concurrent Version System) utility.
It is checked out and installed in directory ''/usr/local/icg/icg1/local/utils'' and this library is linked by compiling a CLaMS program. Modifications in this directory will affect all other users directly.
So if you want to change one of these routines, it should be modified and tested in a local version of the library ''utils'':
Line 33: Line 38:
 1. Send mail to Nicole or Verena. They can update the utils library in directory ''/usr/local/icg/icg1/local/utils'' which is used for compilations of CLaMS programs by default.  1. Send mail to Nicole or Verena. They can update the utils library in directory ''/usr/local/icg/icg1/local/utils'' which is used for compilations of CLaMS programs by default. 

Make changes in Utils Library

The source code of the library utils is under the control of the CVS (Concurrent Version System) utility. It is checked out and installed in directory /usr/local/icg/icg1/local/utils and this library is linked by compiling a CLaMS program. Modifications in this directory will affect all other users directly. So if you want to change one of these routines, it should be modified and tested in a local version of the library utils:

  1. Check out library utils to $HOME/clams or - if it is already checked out - update all files:

    cvs co utils
    or
    cvs update utils
  2. Make changes in $HOME/clams/utils/src

  3. Compile library utils:

    gmake theLibrary
  4. Compile program with modified library:
    gmake distclean
    gmake utils_test=true progname

    It is important to make distclean before compiling so that the correct module and library paths are used for compiling and linking.

  5. Repeat steps 2 to 4 until modification is completed.
  6. Commit the modified files in utils library to the repository:
    cvs commit -m "..." filename
  7. Send mail to Nicole or Verena. They can update the utils library in directory /usr/local/icg/icg1/local/utils which is used for compilations of CLaMS programs by default.

Remarks:

If you have compiled a program with a local utils library (with utils_test=true) and later on you want to compile it with the default utils library, it is necessary to make distclean before compiling.

UtilsLibrary/ChangeUtilsLibrary (last edited 2014-11-26 09:09:01 by NicoleThomas)