Re: [deal.II] Unable to mpirun step-17 and step-18
Thanks, Wolfgang. I can follow the technique used in step-42 for parallel implementation. On Thu, Sep 14, 2023 at 11:22 AM Wolfgang Bangerth wrote: > > Ananya: > > > I am running "cmake ." and "make", followed by "mpirun -np 4 ./step-17 > " in > > the step directory. > > Mpirun is working on step-40 and step-42, but not on step-17 and step-18. > > That makes sense, because steps 40 and 42 do not use METIS. > > > > I have also installed Dealii 9.5 using Candii. In this installation I am > able > > to mpirun step-17 > > and step-18. Though I was preferring the spack installation because it > > installs, by default, most of > > the dependencies required for running Dealii tutorials. > > I don't know what to suggest. If spack miscompiles METIS, you cannot use > it. > It is, fortunately, not widely used in deal.II -- only the > parallel::shared::Triangulation class uses it. > > Best > W. > > -- > > Wolfgang Bangerth email: bange...@colostate.edu > www: http://www.math.colostate.edu/~bangerth/ > > > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "deal.II User Group" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/dealii/-ogX1Bi243M/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/3bcc779c-501f-cffc-1053-9178d4a56faa%40colostate.edu > . > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAERGViOtAq_SV9k0Xm2LVkmoaAYVJDkWYpmgh8-oazG9y%3DGgvQ%40mail.gmail.com.
Re: [deal.II] Unable to mpirun step-17 and step-18
Ananya: I am running "cmake ." and "make", followed by "mpirun -np 4 ./step-17 " in the step directory. Mpirun is working on step-40 and step-42, but not on step-17 and step-18. That makes sense, because steps 40 and 42 do not use METIS. I have also installed Dealii 9.5 using Candii. In this installation I am able to mpirun step-17 and step-18. Though I was preferring the spack installation because it installs, by default, most of the dependencies required for running Dealii tutorials. I don't know what to suggest. If spack miscompiles METIS, you cannot use it. It is, fortunately, not widely used in deal.II -- only the parallel::shared::Triangulation class uses it. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/3bcc779c-501f-cffc-1053-9178d4a56faa%40colostate.edu.
Re: [deal.II] Unable to mpirun step-17 and step-18
Wolfgang, I am running "cmake ." and "make", followed by "mpirun -np 4 ./step-17 " in the step directory. Mpirun is working on step-40 and step-42, but not on step-17 and step-18. I have also installed Dealii 9.5 using Candii. In this installation I am able to mpirun step-17 and step-18. Though I was preferring the spack installation because it installs, by default, most of the dependencies required for running Dealii tutorials. Thanks, Ananya On Thursday, September 14, 2023 at 4:33:28 AM UTC+5:30 Wolfgang Bangerth wrote: On 9/12/23 23:29, Ananya Bijaya wrote: > > I have installed Dealii 9.4.2 using "spack install dealii" on Ubuntu 20.04 > inside WSL. When I try to mpirun step-17 and step-18 I either encounter an > error message (attached at the end) when the number of cores is more than two > or for two cores the memory consumption is huge. In my case, the entire 48 gb > of my laptop is getting used. > > From the online discussions, I gather this is because of METIS installation. > How do I fix it? Ananya, I must admit that I don't know. The error code -3 corresponds to METIS_ERROR_MEMORY = -3, /*!< Returned due to insufficient memory */ which is perhaps not surprising given that something is trying to allocate 103 TB of memory. I tried step-17, and it works on my system. So this must be something specific to Windows. How exactly are you calling the program? With MPI via mpirun? I don't have experience with running MPI on Windows, but would have assumed that this is generally not a great idea. Best Wolfgang -- Wolfgang Bangerth email: bang...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/a9aa2efa-835c-4023-b325-a023a9ab7df2n%40googlegroups.com.
Re: [deal.II] Unable to mpirun step-17 and step-18
On 9/12/23 23:29, Ananya Bijaya wrote: I have installed Dealii 9.4.2 using "spack install dealii" on Ubuntu 20.04 inside WSL. When I try to mpirun step-17 and step-18 I either encounter an error message (attached at the end) when the number of cores is more than two or for two cores the memory consumption is huge. In my case, the entire 48 gb of my laptop is getting used. From the online discussions, I gather this is because of METIS installation. How do I fix it? Ananya, I must admit that I don't know. The error code -3 corresponds to METIS_ERROR_MEMORY= -3, /*!< Returned due to insufficient memory */ which is perhaps not surprising given that something is trying to allocate 103 TB of memory. I tried step-17, and it works on my system. So this must be something specific to Windows. How exactly are you calling the program? With MPI via mpirun? I don't have experience with running MPI on Windows, but would have assumed that this is generally not a great idea. Best Wolfgang -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/dc3a9717-b925-b579-76c7-be20f43d3ce4%40colostate.edu.