|
[Sponsors] |
July 5, 2011, 06:01 |
metis decompose OpenFoam 2.0.0
|
#1 | ||
New Member
Sebastian Weiper
Join Date: Sep 2009
Posts: 5
Rep Power: 17 |
Hi Foamers,
I have a Problem in building and using the metisDecomp libary. I get this error when I want to use the metis decompose method: Quote:
Quote:
Thanks for your help.
__________________
Software: OpenFOAM 1.5-dev Last edited by sebastianweiper; July 5, 2011 at 06:22. |
|||
July 6, 2011, 03:04 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Metis is not part of the ThirdParty package in 2.0.x. You might want to try the scotch decomposition library, which essentially offers identical functionality.
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
August 15, 2011, 20:02 |
|
#3 |
New Member
Brent Craven
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 21
Rep Power: 17 |
Scotch might provide similar functionality, but a head-to-head test of metis vs. scotch shows that for the same mesh (in my case a large, 20M cell mesh), metis decomposes a mesh approximately twice as fast as scotch.
|
|
February 28, 2012, 06:21 |
|
#4 |
Member
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15 |
I had the same problem, where can I find Metis? Is it free?
|
|
February 28, 2012, 07:25 |
|
#5 |
Member
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15 |
ok I have metis-5.0.2 compiled in /ThirdParty and I have libmetis.so in LD_LIBRARY_PATH but the error is the same.....
|
|
June 5, 2012, 18:22 |
|
#6 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
Hello everybody,
I've just spotted this post by searching the forum for metis. I managed to compile and run metis decomposition. I posted some details here http://www.cfd-online.com/Forums/ope...m-2-1-0-a.html If you need help I can supply the necessary files and maybe some advice. |
|
June 5, 2012, 18:59 |
|
#7 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Just a little curiosity, do you see significant advantages with metis in comparison to scotch?
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
June 5, 2012, 19:21 |
|
#8 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
I've just run scotch and metis on damBreakFine case. The execution time was on 14s on four processors with scotch being slightly (13.55s) faster. When I run some bigger cases I will do more testing and I will let you know.
|
|
June 5, 2012, 19:22 |
|
#9 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Thanks: I have never actually compared, but it would be interesting :-)
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
June 9, 2012, 13:04 |
|
#10 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
Alberto,
I haven't yet run the bigger comparisons as I promised. I am retained in a bit different pursuit, but I'll do that as soon as I'm done with my current project. I have however been playing with scotch, metis and twoPhaseEulerFoam. I am doing a 2D channel and scotch crashes on a case with 262144 cells. Metis seems to run ok on the same case. This is the first time I am trying a bigger mesh with twoPhaseEulerFoam. For smaller cases scotch was working fine. Here's the error if you're interested. Code:
DILUPBiCG: Solving for alpha, Initial residual = 1, Final residual = 1.07693e-12, No Iterations 3 Dispersed phase volume fraction = 0.5 Min(alpha) = 0.5 Max(alpha) = 0.5 [1] #0 [2] Foam::error::printStack(Foam::Ostream&)#0 Foam::error::printStack(Foam::Ostream&)[3] #0 Foam::error::printStack(Foam::Ostream&)[0] #0 Foam::error::printStack(Foam::Ostream&) in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #1 Foam::sigFpe::sigHandler(int) in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #1 Foam::sigFpe::sigHandler(int) in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #1 Foam::sigFpe::sigHandler(int) in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #2 in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #1 Foam::sigFpe::sigHandler(int) in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #2 in "/lib/libc.so.6" [2] #3 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #2 in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #4 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/lib/libc.so.6" [0] #3 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #4 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" [0] #5 in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #2 in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" [2] #5 Foam::fvMatrix<double>::solve()Foam::fvMatrix<double>::solve() in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam" [0] #6 in "/lib/libc.so.6" [3] #3 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam" [2] #6 in "/lib/libc.so.6" [1] #3 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #4 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #4 Foam::fvMatrix<double>::solve(Foam::dictionary const&)[0] in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam" [0] #7 __libc_start_main[2] in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam" [2] #7 __libc_start_main in "/lib/libc.so.6" [2] #8 in "/lib/libc.so.6" [0] #8 [0] in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam" [taranis:23847] *** Process received signal *** [taranis:23847] Signal: Floating point exception (8) [taranis:23847] Signal code: (-6) [taranis:23847] Failing at address: 0x3e800005d27 [taranis:23847] [ 0] /lib/libc.so.6(+0x34cb0) [0x7f42d2d4bcb0] [taranis:23847] [ 1] /lib/libc.so.6(gsignal+0x35) [0x7f42d2d4bc35] [taranis:23847] [ 2] /lib/libc.so.6(+0x34cb0) [0x7f42d2d4bcb0] [taranis:23847] [ 3] /usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xb20) [0x7f42d3d8e2c0] [taranis:23847] [ 4] /usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x10b) [0x7f42d564ed9b] [taranis:23847] [ 5] twoPhaseEulerFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x91) [0x45a581] [taranis:23847] [ 6] twoPhaseEulerFoam() [0x445146] [taranis:23847] [ 7] /lib/libc.so.6(__libc_start_main+0xf5) [0x7f42d2d38455] [taranis:23847] [ 8] twoPhaseEulerFoam() [0x4504fd] [taranis:23847] *** End of error message *** [2] in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam" [taranis:23849] *** Process received signal *** [taranis:23849] Signal: Floating point exception (8) [taranis:23849] Signal code: (-6) [taranis:23849] Failing at address: 0x3e800005d29 [taranis:23849] [ 0] /lib/libc.so.6(+0x34cb0) [0x7f2a0c4adcb0] [taranis:23849] [ 1] /lib/libc.so.6(gsignal+0x35) [0x7f2a0c4adc35] [taranis:23849] [ 2] /lib/libc.so.6(+0x34cb0) [0x7f2a0c4adcb0] [taranis:23849] [ 3] /usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xb20) [0x7f2a0d4f02c0] [taranis:23849] [ 4] /usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x10b) [0x7f2a0edb0d9b] [taranis:23849] [ 5] twoPhaseEulerFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x91) [0x45a581] [taranis:23849] [ 6] twoPhaseEulerFoam() [0x445146] [taranis:23849] [ 7] /lib/libc.so.6(__libc_start_main+0xf5) [0x7f2a0c49a455] [taranis:23849] [ 8] twoPhaseEulerFoam() [0x4504fd] [taranis:23849] *** End of error message *** in "/usr/local/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" [3] #5 -------------------------------------------------------------------------- mpirun noticed that process rank 0 with PID 23847 on node taranis exited on signal 8 (Floating point exception). |
|
December 29, 2020, 12:58 |
|
#11 |
New Member
Anonymous
Join Date: Dec 2020
Posts: 2
Rep Power: 0 |
I got the same error message with OpenFoam8, could you please let me know how did you solve the problem?
|
|
December 29, 2020, 12:59 |
Metis
|
#12 | |
New Member
Anonymous
Join Date: Dec 2020
Posts: 2
Rep Power: 0 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wigley Hull with OpenFoam 2.0.0 problem | Stephy | OpenFOAM Bugs | 19 | October 12, 2020 11:22 |
OpenFoam 2.0.0 installation | Jan_Peters | OpenFOAM Installation | 86 | April 27, 2012 06:32 |
MRFSimpleFoam in OpenFOAM 2.0.0 | nickmai123 | OpenFOAM Running, Solving & CFD | 1 | August 5, 2011 05:47 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |