- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to run an MPI application compiled with mpiifort
ifort (IFORT) 2021.6.0 20220226
using mpiexec.hydra
Intel(R) MPI Library for Linux* OS, Version 2021.6 Build 20220227 (id: 28877f3f32)
on a machine with 36 cores
Intel(R) Xeon(R) Platinum 8360Y CPU @ 2.40GHz
Here is a minimal example program:
program test
implicit none
integer :: mpi_err
include "mpif.h"
call MPI_INIT(mpi_err)
call MPI_FINALIZE()
end program
When calling MPI_INIT, massive amounts of memory (tens of GB) are allocated. The amount seems to increase with the number of cores. With more than 30 cores, MPI crashes because it runs out of memory.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
>>"When calling MPI_INIT, massive amounts of memory (tens of GB) are allocated. The amount seems to increase with the number of cores."
Could you please let us know how you are checking the memory consumption used by the MPI_INIT?
Thanks & Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thanks for your response. I get the load from the Xfce4 Systemload plugin https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start
Best
Jakob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are investigating your issue at our end and will get back to you soon.
Thanks & Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please provide the steps to install the Xfce plugin and also let us know if there are any dependencies?
Thanks & Regards,
Hemanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
unfortunately I do not know this either. I got the computer from my employer with the OS (and desktop environment, of which xfce is part) already installed. Sorry about this.
Thanks for your efforts and best
Jakob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In the above post, we can see that you are using include "mpif.h". It is not recommended to use "mpif.h".By using APS we can see the memory consumed by the program attached is less than 300MB.
By using the below commands, you can find the memory consumed by mpi application:
mpiifort hello_mpi.f90
export MPS_STAT_LEVEL=5
mpirun -n 2 aps -c mpi ./a.out
The above command will generate the aps_result_<date> file
aps --report /home/intel/hemanth/mpi_threads/fortran/latest/aps_result_20220617
The above command will generate the time,memory consumed by the application. It also generates the HTML file.
For more information refer to the below link:
Thanks & Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you. Could you please provide an update on your issue?
Thanks & Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Hemanth
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page