|
[Sponsors] |
August 21, 2017, 15:59 |
MPI problem when using snappyHexMesh
|
#1 |
New Member
Mohamed Mousa
Join Date: Nov 2016
Posts: 14
Rep Power: 9 |
Dear all,
I'm trying to generate a mesh for a vehicle for external aero by using snappyHexMesh. I'm using scotch method for the domain decomposition (also tried simple) and I'm getting these lines (photo attached) before starting mesh generation. I entered the file mentioned (btl_tcp_component.c). But I couldn't understand why I got a problem. Code:
if(bind(sd, (struct sockaddr*)&inaddr, addrlen) < 0) { if( (EADDRINUSE == opal_socket_errno) || (EADDRNOTAVAIL == opal_socket_errno) ) { continue; } BTL_ERROR(("bind() failed: %s (%d)", strerror(opal_socket_errno), opal_socket_errno)); CLOSE_THE_SOCKET(sd); return OMPI_ERROR; } goto socket_binded; Thanks in advance |
|
August 22, 2017, 01:44 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
Have you checked out this tutorial? It also runs snappyHex in parallel.
https://github.com/OpenFOAM/OpenFOAM...torBike/Allrun Caelan |
|
September 4, 2017, 05:31 |
|
#3 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
1) It seems to be that you are missing the rights to bind a port. Check your rights of openmpi.
2) Check a simple snappyHexMesh Tutorial in parallel: if it si not working 3) recompile openmpi |
|
September 17, 2017, 12:45 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: To make it easier for search engines to find this question, please provide the error message in text... the main error reported several times was this:
Code:
[...] bind() failed: Permission denied [...] How to use more than one machine? Read this: https://www.open-mpi.org/faq/?catego...-host-problems
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh Parallel run - face ordering problem | DaveR | OpenFOAM Meshing & Mesh Conversion | 8 | November 9, 2016 11:53 |
[snappyHexMesh] snappyHexMesh: problem meshing baffle (surface with zero thickness) | julien.decharentenay | OpenFOAM Meshing & Mesh Conversion | 7 | June 16, 2012 09:12 |
[snappyHexMesh] processorWeights problem with snappyhexmesh in parallel | oskar | OpenFOAM Meshing & Mesh Conversion | 0 | July 7, 2011 11:05 |
Problem with MPI? | cwang5 | OpenFOAM Running, Solving & CFD | 3 | July 12, 2010 11:38 |
Is Testsuite on the way or not | lakeat | OpenFOAM Installation | 6 | April 28, 2008 12:12 |