CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem with parallel run of my solver based on pimpleDyMFoam (https://www.cfd-online.com/Forums/openfoam-solving/124477-problem-parallel-run-my-solver-based-pimpledymfoam.html)

o.kotsur October 6, 2013 03:44

Problem with parallel run of my solver based on pimpleDyMFoam
 
Dear foamers,

I have not so much experience in MPI, I would say, I don't have it at all :)

Writing a new solver, based on pimpleDyMFoam, I met some problems with the parallel run of my case..
Solver is finished and work well when running on a single core, but parallel calculation doesn't work and is accompanied by infinite series of error messages like

Code:

...
Starting time loop

[1] #0  Foam::backtrace(void**, unsigned int)warning: Could not find object file "/Volumes/OpenFOAM-v2.2.1/OpenFOAM-2.2.1/src/OpenFOAM/Make/darwinIntel64Gcc46DPOpt/global.o" - no debug information available for "global.C".

 in "/Users/oleg/OpenFOAM/OpenFOAM-2.2.1/platforms/darwinIntel64Gcc46DPOpt/lib/libOpenFOAM.dylib"
[1] #1  mca_btl_sm in "/opt/local/lib/openmpi/mca_btl_sm.so"
[MacBook-Air-Oleg:06000] *** Process received signal ***
[MacBook-Air-Oleg:06000] Signal: Segmentation fault: 11 (11)
[MacBook-Air-Oleg:06000] Signal code: Address not mapped (1)
[MacBook-Air-Oleg:06000] Failing at address: 0x7f9ced001000
[MacBook-Air-Oleg:06000] [ 0] 2  libsystem_c.dylib                  0x00007fff8c9fc90a _sigtramp + 26
[MacBook-Air-Oleg:06000] [ 1] 3  ???                                0x0000000000000000 0x0 + 0
[MacBook-Air-Oleg:06000] [ 2] 4  ???                                0x00007fff5100ee70 0x0 + 140734552403568
[MacBook-Air-Oleg:06000] *** End of error message ***

...

Than this peace is repeated infinitely until I stop the process by ctrl-C:
Code:

[MacBook-Air-Oleg:06000] *** Process received signal ***
[MacBook-Air-Oleg:06000] Signal: Segmentation fault: 11 (11)
[MacBook-Air-Oleg:06000] Signal code: Address not mapped (1)
[MacBook-Air-Oleg:06000] Failing at address: 0x0
[MacBook-Air-Oleg:06000] [ 0] 2  libsystem_c.dylib                  0x00007fff8c9fc90a _sigtramp + 26
[MacBook-Air-Oleg:06000] [ 1] 3  ???                                0x00007fff5100ee70 0x0 + 140734552403568
[MacBook-Air-Oleg:06000] *** End of error message ***
[MacBook-Air-Oleg:06000] *** Process received signal ***

...

For me the message is absolutely unclear, and I have no idea, where to look for a bug in my code.. May be, some of you have met such situation?

Yeah, as you can see from the output, I am using OF 2.2.1, compiled on a macbook running under Mountain Lion :rolleyes:

Thank you very much in advance for you time!

Best regards,
Oleg


All times are GMT -4. The time now is 21:33.