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/)
-   -   Help~~problems in running in parallel (https://www.cfd-online.com/Forums/openfoam-solving/130305-help-problems-running-parallel.html)

ahliyu February 23, 2014 21:45

Help~~problems in running in parallel
 
hello,
I am new to openfoam, and i am using the solver " icoUncoupledKinematicParcelFoam".
i want to run the tutorial of hopper in parallel with 4 processors on my computer.
i did not change anything of the decomposeParDic file, and the step of " decomposePar" worked well.
then, when i ran " mpirun -np 4 icoUncoupledKinematicParcelFoam -parallel ", there were problems.

--------------------------------------------------------------------------
Sorry! You were supposed to get help about:
find-available:not-valid
But I couldn't open the help file:
/home/inet107/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc/openmpi-1.6.3/share/openmpi/help-mca-base.txt: No such file or directory. Sorry!
--------------------------------------------------------------------------
[inet107-Precision-T7610:04118] *** Process received signal ***
[inet107-Precision-T7610:04118] Signal: Segmentation fault (11)
[inet107-Precision-T7610:04118] Signal code: Address not mapped (1)
[inet107-Precision-T7610:04118] Failing at address: 0x28
[inet107-Precision-T7610:04118] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f419805ecb0]
[inet107-Precision-T7610:04118] [ 1] /usr/lib/libopen-pal.so.0(mca_base_select+0x108) [0x7f419828e518]
[inet107-Precision-T7610:04118] [ 2] /usr/lib/libopen-pal.so.0(opal_crs_base_select+0x7e) [0x7f41982a090e]
[inet107-Precision-T7610:04118] [ 3] /usr/lib/libopen-pal.so.0(opal_cr_init+0x31e) [0x7f419827f0ee]
[inet107-Precision-T7610:04118] [ 4] /usr/lib/libopen-pal.so.0(opal_init+0x159) [0x7f419827ea59]
[inet107-Precision-T7610:04118] [ 5] /usr/lib/libopen-rte.so.0(orte_init+0x4d) [0x7f41984d0a0d]
[inet107-Precision-T7610:04118] [ 6] mpirun() [0x402fe5]
[inet107-Precision-T7610:04118] [ 7] mpirun() [0x402b34]
[inet107-Precision-T7610:04118] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f4197cb176d]
[inet107-Precision-T7610:04118] [ 9] mpirun() [0x402a59]
[inet107-Precision-T7610:04118] *** End of error message ***


any help will be appreciated! ! thx

ahliyu February 25, 2014 20:23

is there anyone that can help me ? :confused:

ahliyu February 27, 2014 19:34

haha, i finally solved this problem.
after the installation, you should find the bashrc file in etc/. then change the "openmpi" to "SYSTEMOPENMPI" at the 82 line.


All times are GMT -4. The time now is 14:55.