You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5473b6e783
docs/html/footnode.html docs/html/img101.png docs/html/img103.png docs/html/img104.png docs/html/img108.png docs/html/img112.png docs/html/img129.png docs/html/img13.png docs/html/img133.png docs/html/img136.png docs/html/img138.png docs/html/img140.png docs/html/img145.png docs/html/img147.png docs/html/img148.png docs/html/img149.png docs/html/img15.png docs/html/img150.png docs/html/img151.png docs/html/img152.png docs/html/img153.png docs/html/img156.png docs/html/img157.png docs/html/img158.png docs/html/img159.png docs/html/img16.png docs/html/img160.png docs/html/img161.png docs/html/img162.png docs/html/img163.png docs/html/img164.png docs/html/img165.png docs/html/img166.png docs/html/img20.png docs/html/img22.png docs/html/img25.png docs/html/img26.png docs/html/img28.png docs/html/img31.png docs/html/img32.png docs/html/img35.png docs/html/img37.png docs/html/img40.png docs/html/img41.png docs/html/img42.png docs/html/img43.png docs/html/img45.png docs/html/img49.png docs/html/img53.png docs/html/img56.png docs/html/img58.png docs/html/img63.png docs/html/img68.png docs/html/img73.png docs/html/img75.png docs/html/img79.png docs/html/img8.png docs/html/img80.png docs/html/img81.png docs/html/img86.png docs/html/img89.png docs/html/index.html docs/html/node1.html docs/html/node10.html docs/html/node100.html docs/html/node101.html docs/html/node102.html docs/html/node103.html docs/html/node104.html docs/html/node105.html docs/html/node106.html docs/html/node107.html docs/html/node108.html docs/html/node109.html docs/html/node11.html docs/html/node110.html docs/html/node111.html docs/html/node112.html docs/html/node113.html docs/html/node114.html docs/html/node115.html docs/html/node116.html docs/html/node117.html docs/html/node118.html docs/html/node119.html docs/html/node12.html docs/html/node120.html docs/html/node121.html docs/html/node122.html docs/html/node123.html docs/html/node124.html docs/html/node125.html docs/html/node126.html docs/html/node127.html docs/html/node128.html docs/html/node129.html docs/html/node13.html docs/html/node130.html docs/html/node14.html docs/html/node15.html docs/html/node16.html docs/html/node17.html docs/html/node18.html docs/html/node19.html docs/html/node2.html docs/html/node20.html docs/html/node21.html docs/html/node22.html docs/html/node23.html docs/html/node24.html docs/html/node25.html docs/html/node26.html docs/html/node27.html docs/html/node28.html docs/html/node29.html docs/html/node3.html docs/html/node30.html docs/html/node31.html docs/html/node32.html docs/html/node33.html docs/html/node34.html docs/html/node35.html docs/html/node36.html docs/html/node37.html docs/html/node38.html docs/html/node39.html docs/html/node4.html docs/html/node40.html docs/html/node41.html docs/html/node42.html docs/html/node43.html docs/html/node44.html docs/html/node45.html docs/html/node46.html docs/html/node47.html docs/html/node48.html docs/html/node49.html docs/html/node5.html docs/html/node50.html docs/html/node51.html docs/html/node52.html docs/html/node53.html docs/html/node54.html docs/html/node55.html docs/html/node56.html docs/html/node57.html docs/html/node58.html docs/html/node59.html docs/html/node6.html docs/html/node60.html docs/html/node61.html docs/html/node62.html docs/html/node63.html docs/html/node64.html docs/html/node65.html docs/html/node66.html docs/html/node67.html docs/html/node68.html docs/html/node69.html docs/html/node7.html docs/html/node70.html docs/html/node71.html docs/html/node72.html docs/html/node73.html docs/html/node74.html docs/html/node75.html docs/html/node76.html docs/html/node77.html docs/html/node78.html docs/html/node79.html docs/html/node8.html docs/html/node80.html docs/html/node81.html docs/html/node82.html docs/html/node83.html docs/html/node84.html docs/html/node85.html docs/html/node86.html docs/html/node87.html docs/html/node88.html docs/html/node89.html docs/html/node9.html docs/html/node90.html docs/html/node91.html docs/html/node92.html docs/html/node93.html docs/html/node94.html docs/html/node95.html docs/html/node96.html docs/html/node97.html docs/html/node98.html docs/html/node99.html docs/html/userhtml.html docs/psblas-3.5.pdf docs/src/Makefile docs/src/precs.tex prec/psb_c_base_prec_mod.f90 prec/psb_c_bjacprec.f90 prec/psb_c_diagprec.f90 prec/psb_c_nullprec.f90 prec/psb_c_prec_type.f90 prec/psb_d_base_prec_mod.f90 prec/psb_d_bjacprec.f90 prec/psb_d_diagprec.f90 prec/psb_d_nullprec.f90 prec/psb_d_prec_type.f90 prec/psb_s_base_prec_mod.f90 prec/psb_s_bjacprec.f90 prec/psb_s_diagprec.f90 prec/psb_s_nullprec.f90 prec/psb_s_prec_type.f90 prec/psb_z_base_prec_mod.f90 prec/psb_z_bjacprec.f90 prec/psb_z_diagprec.f90 prec/psb_z_nullprec.f90 prec/psb_z_prec_type.f90 Cosmetic changes to prec%descr Fix docs. |
8 years ago | |
---|---|---|
base | 8 years ago | |
config | 8 years ago | |
docs | 8 years ago | |
krylov | 8 years ago | |
prec | 8 years ago | |
test | 8 years ago | |
util | 8 years ago | |
Changelog | 8 years ago | |
LICENSE | 8 years ago | |
Make.inc.in | 11 years ago | |
Makefile | 8 years ago | |
Makefile.am | 14 years ago | |
README | 10 years ago | |
autogen.sh | 17 years ago | |
configure | 8 years ago | |
configure.ac | 8 years ago | |
install-sh | 17 years ago | |
missing | 17 years ago | |
mkdir.sh | 17 years ago |
README
This directory contains the PSBLAS library, version 3.4. Existing codes will work untouched with version 3.4, but they will have to be recompiled; new methods have been added for the sake of GPU computations, plus the usual bunch of bug fixes. This version requires a working Fortran 2003 compiler; we do not use all of the language features (specifically, so far we did not employ FINAL subroutines), but the features we use were sufficient in identifying bugs in ALL compilers we tried (all the bugs have been reported and mostly fixed by the respective vendors). The new internals have been completely overhauled, and in many cases rewritten; they now enable a much better interfacing with user-defined storage formats. If the user is only interested in the predefined formats, then the user's guide should be sufficient; what is somewhat lacking is documentation on how to add to the library, i.e. a developers' guide; stay tuned. The architecture of the Fortran 2003 sparse BLAS is described in S. Filippone, A. Buttari: Object-Oriented Techniques for Sparse Matrix Computations in Fortran 2003, ACM Trans. on Math. Software, vol. 38, No. 4, 2012. Version 1.0 of the library was described in: S. Filippone, M. Colajanni PSBLAS: A library for parallel linear algebra computation on sparse matrices ACM Trans. on Math. Software, 26(4), Dec. 2000, pp. 527-550. UTILITIES The test/util directory contains some utilities to convert to/from Harwell-Boeing and MatrixMarket file formats. DOCUMENTATION See docs/psblas-3.4.pdf; an HTML version of the same document is available in docs/html. Please consult the sample programs, especially test/pargen/ppde[23]d.f90 OTHER SOFTWARE CREDITS We originally included a modified implementation of some of the Sparker (serial sparse BLAS) material; this has been completely rewritten, way beyond the intention(s) and responsibilities of the original developers. The main reference for the serial sparse BLAS is: Duff, I., Marrone, M., Radicati, G., and Vittoli, C. Level 3 basic linear algebra subprograms for sparse matrices: a user level interface ACM Trans. Math. Softw., 23(3), 379-401, 1997. INSTALLING To compile and run our software you will need the following prerequisites (see also SERIAL below): 1. A working version of MPI 2. A version of the BLAS; if you don't have a specific version for your platform you may try ATLAS available from http://math-atlas.sourceforge.net/ 3. We have had good results with the METIS library, from http://www-users.cs.umn.edu/~karypis/metis/metis/main.html This is optional; it is used in the util and test/fileread directories but only if you specify --with-metis. 4. If you have the AMD package of Davis, Duff and Amestoy, you can specify --with-amd (see ./configure --help for more details). The configure script will generate a Make.inc file suitable for building the library. The script is capable of recognizing the needed libraries with their default names; if they are in unusual places consider adding the paths with --with-libs, or explicitly specifying the names in --with-blas, etc. Please note that a common way for the configure script to fail is to specify inconsistent MPI vs. plain compilers, either directly or indirectly via environment variables; e.g. specifying the Intel compiler with FC=ifort while at the same time having an MPIFC=mpif90 which points to GNU Fortran. The best way to avoid this situation is (in our opinion) to use the environment modules package (see http://modules.sourceforge.net/), and load the relevant variables with (e.g.) module load gnu46 openmpi This will delegate to the modules setup to make sure that the version of openmpi in use is the one compiled with the gnu46 compilers. After the configure script has completed you can always tweak the Make.inc file yourself. After you have Make.inc fixed, run make to compile the library; go to the test directory and its subdirectories to get test programs done. If you specify --prefix=/path you can do make install and the libraries will be installed under /path/lib, while the module files will be installed under /path/include. SERIAL Configuring with --enable-serial will provide a fake MPI stub library that enables running in pure serial mode; no MPI installation is needed in this case (but note that the fake MPI stubs are only guaranteed to cover what we use internally, it's not a complete replacement). EXPERIMENTAL We have an experimental flag --enable-long-integers that will enable having 8-byte integer data, allowing an index space larger than 2G; some small cases have been tested but we do not offer full guarantee (yet). COMPILER NOTES. This code is confirmed to work with the following compilers (or later versions thereof): NAGware 5.2; GNU 4.7.3; Cray CCE 8.0.1; They are all recognized by the configure script. To make the script work with the Cray CCE environment, it is recommended to use the following: ./configure FC=ftn F77=ftn CC=cc MPF90=ftn MPF77=ftn MPCC=cc with both CCE and GNU lower-level compilers. XLF 13.1 configures correctly, but then fails with ICEs (Internal Compiler Error) at build time. We do not yet know whether XLF 14 compiles correctly. For the GNU compilers 4.6.x we are aware of a number of memory management issues that might surface in your applications; most of them (that we're aware of) are solved in version 4.7.2 or later. The Intel compiler up to version 12.1 fails to compile, as of the last version we got access to. KNOWN ISSUES. An annoying problem exists with some versions of MPI: if the configure script sets -DMPI_MOD the MPI call interfaces will be resolved by using the MPI Fortran module. However usage of the module may cause compilation to fail when coupled with the debugging option -g, because the compiler complains that it cannot find a matching interface for some of the communication routines. The solution: either take out the -g option, or, if you really need to debug, edit Make.inc to force -DMPI_H in place of -DMPI_MOD. TODO: Fix all reamining bugs. Bugs? We dont' have any ! ;-) The PSBLAS team. RELATED SOFTWARE If you are looking for more sophisticated preconditioners, you may be interested in the package MLD2P4 from http://www.mld2p4.it Contact: Salvatore Filippone salvatore.filippone@uniroma2.it Credits for version 3: Salvatore Filippone Alfredo Buttari Credits for version 2.2: Michele Martone contributed the initial version of the configure machinery. Credits for version 2.0: Salvatore Filippone Alfredo Buttari Credits for version 1.0: Salvatore Filippone Michele Colajanni Fabio Cerioni Stefano Maiolatesi Dario Pascucci