If you are building on a computer not on the CS network, you will need to make sure that your system has these two programs:
tcsh makedepend vim
Important notes:
I have provided a read-only mirror of our repository. If anyone wants to add/or modify the library, let me know, and I will provide access to the main repository. We are always eager to have help!
The repository URL is either (local, remote):
(local) file:///home/kobus/svn/src (remote) svn+ssh://lectura.arizona.edu/home/kobus/svn/srcRemote access works best if you use SSH keys, otherwise you will type your password a lot.
Assuming that you are already in a directory where you want src code, and are on a machine in the CS network, then to get the library code using SVN, you can do the following,
svn co file:///home/kobus/svn/src/Make/trunk Make svn co file:///home/kobus/svn/src/examples/trunk examples # Lite version. Sufficient for homeworks. svn co file:///home/kobus/svn/src/lib/EXPORT/lib.lite lib # The whole library. svn co file:///home/kobus/svn/src/lib/trunk lib # Optional. Only needed if you use C++ modules (try without first). svn co file:///home/kobus/svn/include_after/trunk include_afterFor remote access, replace the local URL with the remote one. IE:
svn co svn+ssh://lectura.cs.arizona.edu/home/kobus/svn/src/Make/trunk Make svn co svn+ssh://lectura.cs.arizona.edu/home/kobus/svn/src/examples/trunk examples # Lite version. Sufficient for homeworks. svn co svn+ssh://lectura.cs.arizona.edu/home/kobus/svn/src/lib/EXPORT/lib.lite lib # The whole library. svn co svn+ssh://lectura.cs.arizona.edu/home/kobus/svn/src/lib/trunk lib # Optional. Only needed if you use C++ modules (try without first). svn co svn+ssh://lectura.cs.arizona.edu/home/kobus/svn/include_after/trunk include_after
A few scripts referred to below (e.g., kjb_add_makefiles and kjb_create_program) are in ${SRC_DIR}/Make/scripts, and to use them you should either put that dir in your path or provide the full path.
Perhaps the easiest way to get started is to check that you can build the programs in
examples/kjbby typing "make". You can also look at the template programs in:
examples/templatesTo set up the build system to an existing program, you can copy a directory with the code into ${SRC_DIR}. Alternatively, if you are starting from scratch, create such a directory, cd into it, and type in some code. In either case, to create needed Makefiles, enter
kjb_add_makefiles (or ${SRC_DIR}/Make/scripts/kjb_add_makefiles for the full path.)To create a program using one of the templates you could try
create_program [name] [options]If you have set MANPATH to the right place, you would find that kjb_add_makefiles and create_program are documented. However, to make starting up easier, I have copied the man pages where the following two links can reach them.
      Man page for kjb_add_makefiles.
      Man page for create_program.
blas lapack slatec fftw tiff jpeg opengland many others. In most cases, we can compile without the libraries, but you will get an error message when you actually call a routine that needs them. Most of these support libraries are available by the usual means (e.g., yum, apt-get, MacPorts, and fink), but you can get source code and build scripts for some of the ones that are harder to come by from the svn repository. To find the ones that are there do:
svn list file:///home/kobus/svn/src/sharedNote that to build some of these (e.g., lapack, blas, and slatec) you will need a fortran compiler installed.