mumps_compat.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. *
  3. * This file is part of MUMPS 4.10.0, built on Tue May 10 12:56:32 UTC 2011
  4. *
  5. *
  6. * This version of MUMPS is provided to you free of charge. It is public
  7. * domain, based on public domain software developed during the Esprit IV
  8. * European project PARASOL (1996-1999). Since this first public domain
  9. * version in 1999, research and developments have been supported by the
  10. * following institutions: CERFACS, CNRS, ENS Lyon, INPT(ENSEEIHT)-IRIT,
  11. * INRIA, and University of Bordeaux.
  12. *
  13. * The MUMPS team at the moment of releasing this version includes
  14. * Patrick Amestoy, Maurice Bremond, Alfredo Buttari, Abdou Guermouche,
  15. * Guillaume Joslin, Jean-Yves L'Excellent, Francois-Henry Rouet, Bora
  16. * Ucar and Clement Weisbecker.
  17. *
  18. * We are also grateful to Emmanuel Agullo, Caroline Bousquet, Indranil
  19. * Chowdhury, Philippe Combes, Christophe Daniel, Iain Duff, Vincent Espirat,
  20. * Aurelia Fevre, Jacko Koster, Stephane Pralet, Chiara Puglisi, Gregoire
  21. * Richard, Tzvetomila Slavova, Miroslav Tuma and Christophe Voemel who
  22. * have been contributing to this project.
  23. *
  24. * Up-to-date copies of the MUMPS package can be obtained
  25. * from the Web pages:
  26. * http://mumps.enseeiht.fr/ or http://graal.ens-lyon.fr/MUMPS
  27. *
  28. *
  29. * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
  30. * EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
  31. *
  32. *
  33. * User documentation of any code that uses this software can
  34. * include this complete notice. You can acknowledge (using
  35. * references [1] and [2]) the contribution of this package
  36. * in any scientific publication dependent upon the use of the
  37. * package. You shall use reasonable endeavours to notify
  38. * the authors of the package of this publication.
  39. *
  40. * [1] P. R. Amestoy, I. S. Duff, J. Koster and J.-Y. L'Excellent,
  41. * A fully asynchronous multifrontal solver using distributed dynamic
  42. * scheduling, SIAM Journal of Matrix Analysis and Applications,
  43. * Vol 23, No 1, pp 15-41 (2001).
  44. *
  45. * [2] P. R. Amestoy and A. Guermouche and J.-Y. L'Excellent and
  46. * S. Pralet, Hybrid scheduling for the parallel solution of linear
  47. * systems. Parallel Computing Vol 32 (2), pp 136-156 (2006).
  48. *
  49. */
  50. /* Compatibility issues between various Windows versions */
  51. #ifndef MUMPS_COMPAT_H
  52. #define MUMPS_COMPAT_H
  53. #if defined(_WIN32) && ! defined(__MINGW32__)
  54. # define MUMPS_WIN32 1
  55. #endif
  56. #ifndef MUMPS_CALL
  57. # ifdef MUMPS_WIN32
  58. /* Modify/choose between next 2 lines depending
  59. * on your Windows calling conventions */
  60. /* # define MUMPS_CALL __stdcall */
  61. # define MUMPS_CALL
  62. # else
  63. # define MUMPS_CALL
  64. # endif
  65. #endif
  66. #if (__STDC_VERSION__ >= 199901L)
  67. # define MUMPS_INLINE static inline
  68. #else
  69. # define MUMPS_INLINE
  70. #endif
  71. #endif /* MUMPS_COMPAT_H */