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.

Reply via email to