How do I begin using PETSc if the software has already been completely built and installed by someone else?
Assuming that the PETSc libraries have been successfully built for a particular architecture and level of optimization, a new user must merely: a) Set the environmental variable PETSC_DIR to the full path of the PETSc home directory (for example, /home/username/petsc). b) Set the environmental variable PETSC_ARCH, which indicates the configuration on which PETSc will be used. Note that the PETSC_ARCH is simply a name the installer used when installing the libraries. There many be several on a single system, like mylinux-g for the debug versions of the library and mylinux-O for the optimized version, or petscdebug for the debug version and petscopt for the optimized version. c) Begin by copying one of the many PETSc examples (in, for example, petsc/src/ksp/examples/tutorials) and its corresponding makefile. d) See the introductory section of the PETSc users manual for tips on documentation.
Related Questions
- I have installed a copy of ISE software 6.2i that shows Platform Cable USB as a selectable configuration tool. Why does the cable not work properly?
- I received an ILLEGAL OPERATION isset_se error when I installed my camera software and/or the software installation failed. What should I do?
- How do I begin using PETSc if the software has already been completely built and installed by someone else?