OpenFOAM编译时内部编译器出错
-
@李东岳 tutorials里面的都能跑
这也是报错之一,每次不一样decomposePar
/---------------------------------------------------------------------------
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 2206 |
| \ / A nd | Website: www.openfoam.com |
| \/ M anipulation | |
*---------------------------------------------------------------------------*/
Build : b5c77f48-20220715 OPENFOAM=2206 version=v2206
Arch : "LSB;label=32;scalar=64"
Exec : decomposePar
Date : Jul 02 2025
Time : 17:22:38
Host : DESKTOP-IJ7F4ME
PID : 422821
I/O : uncollated
Case : /home/jml/OpenFOAM/jml-v2206/run/des1
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create timeDecomposing mesh
Create mesh
Calculating distribution of cells
Decomposition method scotch [24] (region region0)Finished decomposition in 1.23 s
Calculating original mesh data
Distributing cells to processors
Distributing faces to processors
Distributing points to processors
Constructing processor meshes
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in /lib/x86_64-linux-gnu/libc.so.6
#3 ? in /lib/x86_64-linux-gnu/libc.so.6
#4 ? in /lib/x86_64-linux-gnu/libc.so.6
#5 ? in /lib/x86_64-linux-gnu/libc.so.6
#6 ? in /lib/x86_64-linux-gnu/libc.so.6
#7 ? in /lib/x86_64-linux-gnu/libc.so.6
#8 ? in /lib/x86_64-linux-gnu/libstdc++.so.6
#9 std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const in /lib/x86_64-linux-gnu/libstdc++.so.6
#10 std::ostream& std::ostream::_M_insert<double>(double) in /lib/x86_64-linux-gnu/libstdc++.so.6
#11 Foam::OSstream::write(double) at ??:?
#12 Foam::operator<<(Foam::Ostream&, double) at ??:?
#13 Foam::UList<Foam::Vector<double> >::writeList(Foam::Ostream&, int) const in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar
#14 Foam::IOField<Foam::Vector<double> >::writeData(Foam::Ostream&) const in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar
#15 Foam::fileOperation::writeObject(Foam::regIOobject const&, Foam::IOstreamOption, bool) const at ??:?
#16 Foam::regIOobject::writeObject(Foam::IOstreamOption, bool) const at ??:?
#17 Foam::objectRegistry::writeObject(Foam::IOstreamOption, bool) const at ??:?
#18 ? in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar
#19 ? in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar
#20 ? in /lib/x86_64-linux-gnu/libc.so.6
#21 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
#22 ? in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar
[1] 422821 segmentation fault (core dumped) decomposePar