CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Could you comment on some valgrind out I get from OpenFOAM-2.3.x

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 6, 2017, 15:06
Default Could you comment on some valgrind out I get from OpenFOAM-2.3.x
  #1
Member
 
Victor Koppejan
Join Date: May 2015
Posts: 32
Rep Power: 4
vkoppejan is on a distinguished road
I have a code based on openfoam-2.3.x (Could be ported to newer version but,.... the usual excuses).

When I put it through valgrind I get the following messeages. Any thoughts and comments. Code seems to run fine normally.

I run a centos7 48 core shared mem system, 12 mpi ranks, gnu compilers and openmpi-1.8.8.

Thanks in advance for your help.

Victor

==10049== Invalid read of size 4
==10049== at 0xB393EA0: opal_os_dirpath_create (in /opt/ud/openmpi-1.8.8/lib/libopen-pal.so.6.2.2)
==10049== by 0xB0EB045: orte_session_dir (in /opt/ud/openmpi-1.8.8/lib/libopen-rte.so.7.0.6)
==10049== by 0xB0FF764: orte_ess_base_app_setup (in /opt/ud/openmpi-1.8.8/lib/libopen-rte.so.7.0.6)
==10049== by 0x1074D519: rte_init (in /opt/ud/openmpi-1.8.8/lib/openmpi/mca_ess_env.so)
==10049== by 0xB0DD2D7: orte_init (in /opt/ud/openmpi-1.8.8/lib/libopen-rte.so.7.0.6)
==10049== by 0x6FF66BC: ompi_mpi_init (in /opt/ud/openmpi-1.8.8/lib/libmpi.so.1.6.3)
==10049== by 0x70162BA: PMPI_Init (in /opt/ud/openmpi-1.8.8/lib/libmpi.so.1.6.3)
==10049== by 0xA5D8A86: Foam::UPstream::init(int&, char**&) (UPstream.C:64)
==10049== by 0x93C9F61: Foam::ParRunControl::runPar(int&, char**&) (parRun.H:71)
==10049== by 0x93C513F: Foam::argList::argList(int&, char**&, bool, bool, bool) (argList.C:393)
==10049== by 0x47E669: main (setRootCase.H:5)
==10049== Address 0x1198d480 is 48 bytes inside a block of size 51 alloc'd
==10049== at 0x4C27BBD: malloc (vg_replace_malloc.c:296)
==10049== by 0xB393E52: opal_os_dirpath_create (in /opt/ud/openmpi-1.8.8/lib/libopen-pal.so.6.2.2)
==10049== by 0xB0EB045: orte_session_dir (in /opt/ud/openmpi-1.8.8/lib/libopen-rte.so.7.0.6)
==10049== by 0xB0FF764: orte_ess_base_app_setup (in /opt/ud/openmpi-1.8.8/lib/libopen-rte.so.7.0.6)
==10049== by 0x1074D519: rte_init (in /opt/ud/openmpi-1.8.8/lib/openmpi/mca_ess_env.so)
==10049== by 0xB0DD2D7: orte_init (in /opt/ud/openmpi-1.8.8/lib/libopen-rte.so.7.0.6)
==10049== by 0x6FF66BC: ompi_mpi_init (in /opt/ud/openmpi-1.8.8/lib/libmpi.so.1.6.3)
==10049== by 0x70162BA: PMPI_Init (in /opt/ud/openmpi-1.8.8/lib/libmpi.so.1.6.3)
==10049== by 0xA5D8A86: Foam::UPstream::init(int&, char**&) (UPstream.C:64)
==10049== by 0x93C9F61: Foam::ParRunControl::runPar(int&, char**&) (parRun.H:71)
==10049== by 0x93C513F: Foam::argList::argList(int&, char**&, bool, bool, bool) (argList.C:393)
==10049== by 0x47E669: main (setRootCase.H:5)

Last edited by vkoppejan; June 6, 2017 at 15:38. Reason: additional info on system used, changed to full debug output
vkoppejan is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 16 April 25, 2017 12:31
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 0 June 28, 2016 05:06
Installing OpenFOAM 2.3.x and swak4Foam on Mac Yosemite 10.10.5 ajonuz OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 9 October 24, 2015 12:11
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 23:06.