- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I would like to know if there is sum function in FORTRAN in order to track the memory allocation, something like call CPU_TIME but for the memory.
This because I would like to show how the memory allocation changes with MPI comparing with standard single core program.
Thanks a lot
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, to my knowledge this is not possible. The concept of memory is the responsibility of the OS, not of the Fortran processor. Particularly, for MPI that would have been communicated via the MPI runtime library. In the best of all worlds, it could be an interface to an OS function. But this does not exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all, Dear Juergen R,
Thanks for the quick answer.
Due to the fact that there are no such function, do you know if there are some program able to to track memory allocation in my code?
Thanks a lot,
diedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Inspector XE has explicit features for this, including memory growth monitoring and leak detection. You can get a 30-day free trial.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page