xref: /petsc/doc/community/mailing.md (revision 3ba50cbb8987b4dbba70a5df1428185ecadddcf3)
1*09cc9507SBarry Smith(doc_creepycrawly)=
2*09cc9507SBarry Smith
3*09cc9507SBarry Smith# Reporting Bugs, Asking Questions, and Making Suggestions
4*09cc9507SBarry Smith
5*09cc9507SBarry SmithUse any of
6*09cc9507SBarry Smith
7*09cc9507SBarry Smith- <mailto:petsc-users@mcs.anl.gov> (public mailing list with public archives)
8*09cc9507SBarry Smith- <mailto:petsc-maint@mcs.anl.gov> (private maintenance mailing list without archives). Installation
9*09cc9507SBarry Smith  issues generally require sending the files `configure.log` and `make.log`, i.e., uncompressed large
10*09cc9507SBarry Smith  attachments, <mailto:petsc-maint@mcs.anl.gov> is preferable.
11*09cc9507SBarry Smith- [PETSc on Discord](https://discord.gg/Fqm8r6Gcyb)
12*09cc9507SBarry Smith- [PETSc GitLab Issues](https://gitlab.com/petsc/petsc/-/issues)
13*09cc9507SBarry Smith
14*09cc9507SBarry SmithTopics can include:
15*09cc9507SBarry Smith
16*09cc9507SBarry Smith- Report bugs.
17*09cc9507SBarry Smith- Ask for clarification.
18*09cc9507SBarry Smith- Ask for help in tracking down bugs.
19*09cc9507SBarry Smith- Request new features within PETSc.
20*09cc9507SBarry Smith- Recommend changes or additions to the development team.
21*09cc9507SBarry Smith
22*09cc9507SBarry Smith:::{important}
23*09cc9507SBarry SmithPlease `do not send email requests to the individual PETSc authors`; all list email
24*09cc9507SBarry Smithis automatically distributed to all of the PETSc authors, so our response time here
25*09cc9507SBarry Smithwill be fastest.
26*09cc9507SBarry Smith:::
27*09cc9507SBarry Smith
28*09cc9507SBarry SmithBefore sending a bug report, please consult the {ref}`FAQ <doc_config_faq>` to determine
29*09cc9507SBarry Smithwhether a fix or work-around to the problem already exists. Also, see the chapter on
30*09cc9507SBarry Smith{ref}`performance tuning <ch_performance>` in the PETSc users manual for guidelines on
31*09cc9507SBarry Smithachieving good efficiency within PETSc codes.
32*09cc9507SBarry Smith
33*09cc9507SBarry Smith(sec_doc_fixes)=
34*09cc9507SBarry Smith
35*09cc9507SBarry Smith## Small Documentation fixes
36*09cc9507SBarry Smith
37*09cc9507SBarry SmithWe welcome corrections to our documentation directly by clicking "Edit this page", on the upper right corner of the page,
38*09cc9507SBarry Smithmaking your edits, and following the instructions to make a merge request. Merge requests for such fixes should always have the GitLab `docs-only` label set.
39*09cc9507SBarry Smith
40*09cc9507SBarry Smith## Guidelines For Bug Reports
41*09cc9507SBarry Smith
42*09cc9507SBarry SmithThe more information that you convey about a bug, the easier it will be for us to target
43*09cc9507SBarry Smiththe problem. We suggest providing the following information:
44*09cc9507SBarry Smith
45*09cc9507SBarry Smith:::{admonition} Don'ts
46*09cc9507SBarry Smith:class: yellow
47*09cc9507SBarry Smith
48*09cc9507SBarry Smith- Please do **not** send winmail.dat Microsoft email attachments.
49*09cc9507SBarry Smith- Please do **not** send screenshots, use cut-and-paste from terminal windows to send text.
50*09cc9507SBarry Smith- Please do **not** put huge files like `configure.log` DIRECTLY into the email
51*09cc9507SBarry Smith  message. Instead, include them as attachments.
52*09cc9507SBarry Smith- Please do NOT paste **entire** programs DIRECTLY into the email message. Instead,
53*09cc9507SBarry Smith  include them as attachments. Small snippets of code in the messages are acceptable however.
54*09cc9507SBarry Smith:::
55*09cc9507SBarry Smith
56*09cc9507SBarry Smith:::{admonition} Do's
57*09cc9507SBarry Smith- Detailed steps to recreate the problem if possible.
58*09cc9507SBarry Smith
59*09cc9507SBarry Smith- Copy of the **complete** error message using cut-and-paste, if feasible, otherwise include the full error
60*09cc9507SBarry Smith  message as a **text** attachment, not a screenshot.
61*09cc9507SBarry Smith
62*09cc9507SBarry Smith- If the problem involves installation, send the entire `configure.log` and
63*09cc9507SBarry Smith  `make.log` files as attachments.
64*09cc9507SBarry Smith
65*09cc9507SBarry Smith  - `configure.log` can be found either at `$PETSC_DIR/configure.log`,
66*09cc9507SBarry Smith    `$PETSC_DIR/configure.log.bkp` (which holds the second-most recent
67*09cc9507SBarry Smith    `configure.log`), or in
68*09cc9507SBarry Smith    `$PETSC_DIR/$PETSC_ARCH/lib/petsc/conf/configure.log[.bkp]`.
69*09cc9507SBarry Smith  - `make.log` can be found in the same places as listed above, however note that
70*09cc9507SBarry Smith    there is no `make.log.bkp` so be sure to not overwrite your `make.log` with
71*09cc9507SBarry Smith    additional build attempts.
72*09cc9507SBarry Smith
73*09cc9507SBarry Smith- Machine type: HPC, laptop, etc.
74*09cc9507SBarry Smith
75*09cc9507SBarry Smith- OS version and type: run `uname -a` to get the version number
76*09cc9507SBarry Smith
77*09cc9507SBarry Smith- PETSc version: run any PETSc program with the additional command-line option `-version`, or look in
78*09cc9507SBarry Smith  `$PETSC_DIR/include/petscversion.h`
79*09cc9507SBarry Smith
80*09cc9507SBarry Smith- MPI implementation: MPICH, Open MPI, IBM, Intel, etc.
81*09cc9507SBarry Smith
82*09cc9507SBarry Smith- Compiler and version: GNU, Clang, Intel, etc.
83*09cc9507SBarry Smith
84*09cc9507SBarry Smith- Probable PETSc component: `Mat`, `Vec`, `DM`, `KSP`, etc.
85*09cc9507SBarry Smith:::
86*09cc9507SBarry Smith
87*09cc9507SBarry Smith(doc_mail)=
88*09cc9507SBarry Smith
89*09cc9507SBarry Smith# Mailing Lists
90*09cc9507SBarry Smith
91*09cc9507SBarry SmithThe following mailing lists, with public archives, are available.
92*09cc9507SBarry Smith
93*09cc9507SBarry Smith```{eval-rst}
94*09cc9507SBarry Smith.. list-table::
95*09cc9507SBarry Smith   :header-rows: 1
96*09cc9507SBarry Smith
97*09cc9507SBarry Smith   * - Name
98*09cc9507SBarry Smith     - Purpose
99*09cc9507SBarry Smith     - Subscribe
100*09cc9507SBarry Smith     - Archive
101*09cc9507SBarry Smith   * - petsc-announce@mcs.anl.gov
102*09cc9507SBarry Smith     - For announcements regarding PETSc :ref:`releases <doc_download>`
103*09cc9507SBarry Smith     - `subscribe/unsubscribe <https://lists.mcs.anl.gov/mailman/listinfo/petsc-announce>`__
104*09cc9507SBarry Smith     - `archives <http://lists.mcs.anl.gov/pipermail/petsc-announce/>`__
105*09cc9507SBarry Smith   * - petsc-users@mcs.anl.gov
106*09cc9507SBarry Smith     - For PETSc users
107*09cc9507SBarry Smith     - `subscribe/unsubscribe <https://lists.mcs.anl.gov/mailman/listinfo/petsc-users>`__
108*09cc9507SBarry Smith     - `archives <http://lists.mcs.anl.gov/pipermail/petsc-users/>`__
109*09cc9507SBarry Smith   * - petsc-dev@mcs.anl.gov
110*09cc9507SBarry Smith     - For PETSc developers and others interested in the development process
111*09cc9507SBarry Smith     - `subscribe/unsubscribe <https://lists.mcs.anl.gov/mailman/listinfo/petsc-dev>`__
112*09cc9507SBarry Smith     - `archives <http://lists.mcs.anl.gov/pipermail/petsc-dev/>`__
113*09cc9507SBarry Smith```
114*09cc9507SBarry Smith
115*09cc9507SBarry Smith:::{important}
116*09cc9507SBarry Smith<mailto:petsc-maint@mcs.anl.gov> - a private maintenance e-mail without public archives - is
117*09cc9507SBarry Smithalso available. Send issues requiring large attachments here, in particular
118*09cc9507SBarry Smithuncompressed `configure.log` and `make.log` when encountering installation
119*09cc9507SBarry Smithissues.
120*09cc9507SBarry Smith
121*09cc9507SBarry SmithAlso see {ref}`doc_creepycrawly`.
122*09cc9507SBarry Smith:::
123*09cc9507SBarry Smith
124*09cc9507SBarry Smith:::{note}
125*09cc9507SBarry Smith- petsc-announce is an announcement-only list (users cannot post).
126*09cc9507SBarry Smith- petsc-users and petsc-dev are open; we recommend subscribing and participating
127*09cc9507SBarry Smith  in the list discussions. However, it is possible to post to the lists without
128*09cc9507SBarry Smith  subscribing (the first post to the list will be held until list owner can
129*09cc9507SBarry Smith  enable access)
130*09cc9507SBarry Smith- Avoid cross posting to multiple lists. You can reach PETSc developers equally
131*09cc9507SBarry Smith  on any suitable list.
132*09cc9507SBarry Smith:::
133