|
[Sponsors] |
Unable to run 3dTube tutorial in parallel (solids4foam) |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Apr 2023
Posts: 2
Rep Power: 0 ![]() |
Hello all,
I tried to change the Allrun.pimpleFluid.sh script to run the 3dTube tutorial case in parallel. This is the changed script: Code:
#!/bin/bash # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # Link files for sonicLiquidFiles for file in $(find ./0 ./constant ./system -name '*.pimpleFluid') do ln -vnsf ${file##*/} ${file%.*} done # Source solids4Foam scripts source solids4FoamScripts.sh # Check case version is correct solids4Foam::convertCaseFormat . # Create meshes solids4Foam::runApplication -s solid blockMesh -region solid solids4Foam::runApplication -s fluid blockMesh -region fluid decomposePar -region solid decomposePar -region fluid # Run solver #solids4Foam::runApplication solids4Foam mpirun -np 4 solids4Foam -parallel But I am getting fatal errors when I run this script: Code:
Interpolating point values using AMI [0] [0] [0] --> FOAM FATAL ERROR: (openfoam-2012) [0] bad size -1651910499 [0] [0] From Foam::List<T>::List(Foam::label) [with T = Foam::Vector<double>; Foam::label = int] [0] in file /opt/OpenFOAM/OpenFOAM-v2012/src/OpenFOAM/lnInclude/List.C at line 100. [0] FOAM parallel run aborting [0] [1] #0 Foam::error::printStack(Foam::Ostream&)[2] #0 Foam::error::printStack(Foam::Ostream&)[3] #0 Foam::error::printStack(Foam::Ostream&)[0] #0 Foam::error::printStack(Foam::Ostream&) at ??:? at ??:? at ??:? [1] #1 Foam::sigSegv::sigHandler(int)[2] #1 Foam::sigSegv::sigHandler(int)[3] #1 Foam::sigSegv::sigHandler(int) at ??:? [0] #1 Foam::error::exitOrAbort(int, bool) at ??:? at ??:? [2] #2 ?[0] #2 Foam::List<Foam::Vector<double> >::List(int) at ??:? [1] #2 ? at ??:? [3] #2 ? in /lib/x86_64-linux-gnu/libc.so.6 [2] #3 Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::calcZoneAPointAddressing() const in /lib/x86_64-linux-gnu/libc.so.6 [1] #3 Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::calcZoneAPointAddressing() const in /lib/x86_64-linux-gnu/libc.so.6 [3] #3 Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::calcZoneAPointAddressing() const at ??:? [0] #3 Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::calcZoneAPointAddressing() const at ??:? [2] #4 Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::zoneAPointAddr() const at ??:? [3] #4 Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::zoneAPointAddr() const at ??:? [1] #4 Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::zoneAPointAddr() const at ??:? [0] #4 Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::zoneAPointAddr() const at ??:? at ??:? [2] #5 void Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::transferPointsZoneToZone<Foam::Vector<double> >(Foam::PrimitivePatch<Foam::List<Foam::face>, Foam::Field<Foam::Vector<double> > > const&, Foam::PrimitivePatch<Foam::List<Foam::face>, Foam::Field<Foam::Vector<double> > > const&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<Foam::Vector<double> >&) const at ??:? [3] #5 [1] #5 void Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::transferPointsZoneToZone<Foam::Vector<double> >(Foam::PrimitivePatch<Foam::List<Foam::face>, Foam::Field<Foam::Vector<double> > > const&, Foam::PrimitivePatch<Foam::List<Foam::face>, Foam::Field<Foam::Vector<double> > > const&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<Foam::Vector<double> >&) constvoid Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::transferPointsZoneToZone<Foam::Vector<double> >(Foam::PrimitivePatch<Foam::List<Foam::face>, Foam::Field<Foam::Vector<double> > > const&, Foam::PrimitivePatch<Foam::List<Foam::face>, Foam::Field<Foam::Vector<double> > > const&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<Foam::Vector<double> >&) const at ??:? [0] #5 void Foam::interfaceToInterfaceMappings::amiInterfaceToInterfaceMapping::transferPointsZoneToZone<Foam::Vector<double> >(Foam::PrimitivePatch<Foam::List<Foam::face>, Foam::Field<Foam::Vector<double> > > const&, Foam::PrimitivePatch<Foam::List<Foam::face>, Foam::Field<Foam::Vector<double> > > const&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<Foam::Vector<double> >&) const at ??:? at ??:? at ??:? [1] #6 Foam::fluidSolidInterface::updateResidual()[2] #6 Foam::fluidSolidInterface::updateResidual()[3] #6 Foam::fluidSolidInterface::updateResidual() at ??:? [0] #6 Foam::fluidSolidInterface::updateResidual() at ??:? at ??:? [3] #7 at ??:? Foam::fluidSolidInterfaces::AitkenCouplingInterface::evolve()[2] #7 Foam::fluidSolidInterfaces::AitkenCouplingInterface::evolve()[1] #7 Foam::fluidSolidInterfaces::AitkenCouplingInterface::evolve() at ??:? [0] #7 Foam::fluidSolidInterfaces::AitkenCouplingInterface::evolve() at ??:? [3] #8 at ??:? [1] #8 at ??:? [2] #8 ??? at ??:? [1] #9 ? at ??:? [2] #9 ? at ??:? [3] #9 ? at ??:? [0] #8 ? in /lib/x86_64-linux-gnu/libc.so.6 [3] #10 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 [1] #10 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 [2] #10 __libc_start_main at ??:? [0] #9 ? in /lib/x86_64-linux-gnu/libc.so.6 [2] #11 in /lib/x86_64-linux-gnu/libc.so.6 [3] #11 in /lib/x86_64-linux-gnu/libc.so.6 [1] #11 in /lib/x86_64-linux-gnu/libc.so.6 [0] #10 __libc_start_main??? at ??:? in /lib/x86_64-linux-gnu/libc.so.6 [0] #11 [SrcCodes:07701] *** Process received signal *** [SrcCodes:07701] Signal: Segmentation fault (11) [SrcCodes:07701] Signal code: (-6) [SrcCodes:07701] Failing at address: 0x3e800001e15 [SrcCodes:07701] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f274e01a520] [SrcCodes:07701] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f274e06ea7c] [SrcCodes:07701] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f274e01a476] [SrcCodes:07701] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f274e01a520] [SrcCodes:07701] [ 4] at ??:? [SrcCodes:07700] *** Process received signal *** [SrcCodes:07700] Signal: Segmentation fault (11) [SrcCodes:07700] Signal code: (-6) [SrcCodes:07700] Failing at address: 0x3e800001e14 at ??:? [SrcCodes:07700] [ 0] [SrcCodes:07699] *** Process received signal *** [SrcCodes:07699] Signal: Segmentation fault (11) [SrcCodes:07699] Signal code: (-6) [SrcCodes:07699] Failing at address: 0x3e800001e13 /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f64bce1a520] [SrcCodes:07700] [ 1] [SrcCodes:07699] [ 0] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f64bce6ea7c] [SrcCodes:07700] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f64bce1a476] [SrcCodes:07700] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f82bfa1a520] [SrcCodes:07699] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f64bce1a520] [SrcCodes:07700] [ 4] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping24calcZoneAPointAddressingEv+0x480)[0x7f274fc82600] [SrcCodes:07701] [ 5] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f82bfa6ea7c] [SrcCodes:07699] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f82bfa1a476] [SrcCodes:07699] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f82bfa1a520] [SrcCodes:07699] [ 4] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping24calcZoneAPointAddressingEv+0x480)[0x7f64bea2d600] [SrcCodes:07700] [ 5] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping14zoneAPointAddrEv+0x19)[0x7f274fc83049] [SrcCodes:07701] [ 6] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping24calcZoneAPointAddressingEv+0x480)[0x7f82c150d600] [SrcCodes:07699] [ 5] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping24transferPointsZoneToZoneINS_6VectorIdEEEEvRKNS_14PrimitivePatchINS_4ListINS_4faceEEENS_5FieldIS4_EEEESD_RKNS9_IT_EERSF_+0x594)[0x7f274fc87ee4] [SrcCodes:07701] [ 7] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping14zoneAPointAddrEv+0x19)[0x7f64bea2e049] [SrcCodes:07700] [ 6] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping14zoneAPointAddrEv+0x19)[0x7f82c150e049] [SrcCodes:07699] [ 6] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping24transferPointsZoneToZoneINS_6VectorIdEEEEvRKNS_14PrimitivePatchINS_4ListINS_4faceEEENS_5FieldIS4_EEEESD_RKNS9_IT_EERSF_+0x594)[0x7f64bea32ee4] [SrcCodes:07700] [ 7] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam19fluidSolidInterface14updateResidualEv+0x1e2)[0x7f274fc67262] [SrcCodes:07701] [ 8] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZNK4Foam28interfaceToInterfaceMappings30amiInterfaceToInterfaceMapping24transferPointsZoneToZoneINS_6VectorIdEEEEvRKNS_14PrimitivePatchINS_4ListINS_4faceEEENS_5FieldIS4_EEEESD_RKNS9_IT_EERSF_+0x594)[0x7f82c1512ee4] [SrcCodes:07699] [ 7] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam20fluidSolidInterfaces23AitkenCouplingInterface6evolveEv+0x6d8)[0x7f274fc721a8] [SrcCodes:07701] [ 9] solids4Foam[0x4025fc] [SrcCodes:07701] [10] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam19fluidSolidInterface14updateResidualEv+0x1e2)[0x7f64bea12262] [SrcCodes:07700] [ 8] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam19fluidSolidInterface14updateResidualEv+0x1e2)[0x7f82c14f2262] [SrcCodes:07699] [ 8] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f274e001d90] [SrcCodes:07701] [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f274e001e40] [SrcCodes:07701] [12] solids4Foam[0x4032d5] [SrcCodes:07701] *** End of error message *** /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam20fluidSolidInterfaces23AitkenCouplingInterface6evolveEv+0x6d8)[0x7f64bea1d1a8] [SrcCodes:07700] [ 9] solids4Foam[0x4025fc] [SrcCodes:07700] [10] /home/farf/OpenFOAM/farf-v2012/platforms/linux64Gcc63DPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam20fluidSolidInterfaces23AitkenCouplingInterface6evolveEv+0x6d8)[0x7f82c14fd1a8] [SrcCodes:07699] [ 9] solids4Foam[0x4025fc] [SrcCodes:07699] [10] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f64bce01d90] [SrcCodes:07700] [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f64bce01e40] [SrcCodes:07700] [12] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f82bfa01d90] [SrcCodes:07699] [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f82bfa01e40] [SrcCodes:07699] [12] solids4Foam[0x4032d5] [SrcCodes:07699] *** End of error message *** solids4Foam[0x4032d5] [SrcCodes:07700] *** End of error message *** ? at ??:? -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. -------------------------------------------------------------------------- [SrcCodes:07694] PMIX ERROR: UNREACHABLE in file /home/pawan/OpenFOAM/ThirdParty-v2006/openmpi-4.0.3/opal/mca/pmix/pmix3x/pmix/src/server/pmix_server.c at line 2193 -------------------------------------------------------------------------- mpirun noticed that process rank 2 with PID 0 on node SrcCodes exited on signal 11 (Segmentation fault). The code runs well in serial. Could you please tell me if the Allrun.pimpleFluid.sh is correct? If so, what should I do to run this tutorial in parallel? |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
New Member
Join Date: Jan 2018
Posts: 19
Rep Power: 8 ![]() |
Have you solved this problem? I am being faced with the same issues. Many thanks!
Zhi Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Apr 2023
Posts: 2
Rep Power: 0 ![]() |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
Unable to get flow output files in parallel run | quarkz | SU2 | 4 | May 11, 2017 22:51 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 11:58 |
[snappyHexMesh] Why does the motorBike tutorial run in parallel? | bastil | OpenFOAM Meshing & Mesh Conversion | 0 | May 8, 2015 11:35 |
Unable to run OpenFOAM 1.6-ext in parallel with more than one machine | mm.abdollahzadeh | OpenFOAM Installation | 14 | January 27, 2014 09:40 |