Readme.txt 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. ***************************************************************************
  2. * All the software contained in this library is protected by copyright. *
  3. * Permission to use, copy, modify, and distribute this software for any *
  4. * purpose without fee is hereby granted, provided that this entire notice *
  5. * is included in all copies of any software which is or includes a copy *
  6. * or modification of this software and in all copies of the supporting *
  7. * documentation for such software. *
  8. ***************************************************************************
  9. * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED *
  10. * WARRANTY. IN NO EVENT, NEITHER THE AUTHORS, NOR THE PUBLISHER, NOR ANY *
  11. * MEMBER OF THE EDITORIAL BOARD OF THE JOURNAL "NUMERICAL ALGORITHMS", *
  12. * NOR ITS EDITOR-IN-CHIEF, BE LIABLE FOR ANY ERROR IN THE SOFTWARE, ANY *
  13. * MISUSE OF IT OR ANY DAMAGE ARISING OUT OF ITS USE. THE ENTIRE RISK OF *
  14. * USING THE SOFTWARE LIES WITH THE PARTY DOING SO. *
  15. ***************************************************************************
  16. * ANY USE OF THE SOFTWARE CONSTITUTES ACCEPTANCE OF THE TERMS OF THE *
  17. * ABOVE STATEMENT. *
  18. ***************************************************************************
  19. AUTHORS:
  20. S. Duminil, Ph. Marion, H. Sadok
  21. University of Littoral Calais, France
  22. E-mail: duminil@lmpa.univ-littoral.fr, sadok@lmpa.univ-littoral.fr,
  23. marion@lmpa.univ-littoral.fr
  24. Mohammed Heyouni
  25. University Mohammed Premier Oujda, Maroc
  26. E-mail: mohammed.heyouni@gmail.com
  27. REFERENCES:
  28. - CMRH: A new method for solving non symmetric linear systems based on the
  29. Hessenberg reduction algorithms, Numer. Algorithms, 20, (1999), pp 303-321
  30. - A new implementation of the CMRH method for solving dense linear systems,
  31. J. Comput. Appl. Math., 213 (2008), pp 387-399
  32. - A parallel implementation of the CMRH method for dense linear systems,
  33. Numer. Algorithms, 63 (2013), 127-142
  34. SOFWARE REVISION DATE:
  35. v1.0, January 2013
  36. SOFTWARE LANGUAGE:
  37. Fortran 90 and MATLAB 8.0 (R2012b)
  38. =============================================================================
  39. SOFTWARE
  40. =============================================================================
  41. This package provides a set of Fortran and Matlab functions to solve linear systems using CMRH method.
  42. =============================================================================
  43. PACKAGE
  44. =============================================================================
  45. The main directory contains the following files
  46. * README.txt : This file
  47. * Fortran 90 subroutines :
  48. -makefile : to install and config all fortran programs
  49. -inputfile.dat : In this file, we choose the size of system, the choice of
  50. matrix, the choice of solution and the print version
  51. -initialisation.f90 : This file creates inputfile.dat
  52. -CMRH.f90 : CMRH program
  53. -PCMRH.f90 : Parallel CMRH program
  54. -helsing.f90 : Matrix test stored in matrixfile.dat
  55. -rbf.f90 : Matrix test stored in matrixfile.dat
  56. -rand0.f90 : Create a rand vector stored in rand0.dat
  57. -vecrand.f90 : Create two rand vectors stored in vecrand.dat
  58. -randvectors.f90 : Contains some subroutines
  59. * Matlab programs :
  60. -main.m : main program
  61. -CMRH.m : CMRH function
  62. -matrice.m : To create some matrix example
  63. -solution.m : To create some solution vector example
  64. -mmread.m : from matrix market. To store matrix market file in A
  65. -helsing.m : Matrix test
  66. -gemat11.mtx : A matrix market example
  67. =============================================================================
  68. HOW TO INSTALL
  69. =============================================================================
  70. When the archive file containing the package is uncompressed, it creates a directory named CMRHprograms.
  71. The directory fortran contains the fortran codes.
  72. The directory matlab contains the matlab codes.
  73. * Fortran 90 programs :
  74. - enter to fortran directory
  75. - Open makefile
  76. - Config fortran, mpi, blas and lapack compilers
  77. * Matlab programs :
  78. - enter to matlab directory
  79. - Run main.m
  80. =============================================================================
  81. HOW TO COMPILE
  82. =============================================================================
  83. - make all (to config all programs) or make allseq (to config only sequential programs)
  84. - ./initialisation (to config inputfile.dat)
  85. - ./CMRH (to run CMRH program)
  86. - mprun -n (nb of proc) ./PCMRH (to run PCMRH program)
  87. =============================================================================
  88. NUMERICAL TESTS
  89. =============================================================================
  90. FORTRAN PROGRAMS :
  91. - Run ./initialisation to config the matrix :
  92. -helsing : Matrix arising from Helsing paper (choose 3)
  93. -rbf : Matrix arising from radial basis functions (choose 4)
  94. -Own matrix : save it in matrixfile.dat (choose 5)
  95. - Run ./CMRH or mprun -n (nb of proc) ./PCMRH
  96. MATLAB PROGRAMS :
  97. - Run main.m
  98. - Choose the matrix example.
  99. - For matrix market test, choose 6 and enter the file name .mtx
  100. =============================================================================
  101. DELETE FORTRAN FILES
  102. =============================================================================
  103. - make clean