blueCFD / Core

Coordination repository for the blueCFD-Core: Issue tracking, Wiki, project webpage and miscellaneous scripts
http://bluecfd.github.io/Core
53 stars 10 forks source link

Get OpenFOAM-dev and 8 up and running on Windows #153

Closed wyldckat closed 3 years ago

wyldckat commented 4 years ago

This task is where I'll keep a breadcrumb track of fixes done while getting OpenFOAM-dev and 8 being built with success.

This is part of task #134.

  1. Attempt to deploy OpenFOAM-dev on MSys2.

    • This was later dropped for now, given the recent (up to September 2020) changes done on OpenFOAM-dev.
  2. Deploy OpenFOAM-8 and ThirdParty-8 on MSys2.

  3. SKIPPED Add latest MS-MPI and how to unpack it.

  4. Fix compilation issues on ThirdParty-8.

  5. Fix compilation issues on OpenFOAM-8.

    • Review: applications/solvers/multiphase/multiphaseEulerFoam/Allwmake
    • Review: applications/solvers/multiphase/multiphaseEulerFoam/multiphaseEulerFoam/Allwclean
    • Review: applications/solvers/multiphase/multiphaseEulerFoam/multiphaseEulerFoam/Allwmake
  6. PENDING Run tutorials/Alltest serial cases.

  7. PENDING Run tutorials/Alltest parallel cases.

  8. ONGOING Run the tutorials folder under the same conditions on Linux, to assess if the same issues occur.

wyldckat commented 4 years ago

Step 1 - First issues with OpenFOAM-dev

  1. First issue is that the following files did not get checked out properly on Windows:
        modified:   src/OpenFOAM/db/dynamicLibrary/codedBase/CodedBase.C
        modified:   src/OpenFOAM/db/dynamicLibrary/codedBase/CodedBase.H
        modified:   src/OpenFOAM/fields/Fields/UniformField/UniformField.T.H
        modified:   src/OpenFOAM/meshes/Residuals/Residuals.C
        modified:   src/ThermophysicalTransportModels/ThermophysicalTransportModel/ThermophysicalTransportModel.C
        modified:   src/ThermophysicalTransportModels/ThermophysicalTransportModel/ThermophysicalTransportModel.H
        modified:   src/fvOptions/sources/derived/phaseLimitStabilization/PhaseLimitStabilization.C
        modified:   src/lagrangian/parcel/parcelCloud/ParcelCloud.H
        modified:   src/lagrangian/parcel/parcelCloud/ParcelCloudBase.H
        modified:   tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/B.orig
  1. src/OpenFOAM/db/dynamicLibrary/codedBase the problem is that there are duplicate files, namely the .T and the non .T files... as well as the non template files.

    • Fixed in e187b7dffbeecdb83ba3f4a0452783321e3b0a44.
  2. src/OpenFOAM/fields/Fields/UniformField/UniformField.T.H

    • Fixed in 3de03798cd580ca3d8b58fb4eae2bf0a23663559, the folder was renamed from lower to upper case, hence the overlap.
  3. src/OpenFOAM/meshes/Residuals/Residuals.C

    • Fixed in commit 458671fe374a0c159e8f4b582cec02fa1a0c249b.
  4. src/ThermophysicalTransportModels/ThermophysicalTransportModel/ThermophysicalTransportModel.[HC]

    • Fixed in commit e4250c6d2a2940a7d9aa8a9284a98c45e488786c.
  5. src/fvOptions/sources/derived/phaseLimitStabilization/PhaseLimitStabilization.C

    • Fixed in commit 4d4e2c16f32945a822f909982d9cfbd020f744a6.
  6. src/lagrangian/parcel/parcelCloud/??

    • Fixed in commit 92c8daf0d235ac771b43245094c22a0b1cffbb79.
  7. tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/B.orig

    • Fixed in commit 3dbdd346540f507a489f3780febcae4e54ec90cf.
wyldckat commented 4 years ago

Step 1 - Second major issue

Setting environment for OpenFOAM dev mingw-w64 Double Precision (ofdev-64), using MSMPI71 - please wait...

    Your "MINGW64_NT-10.0-18363" operating system is not supported by this release
    of OpenFOAM. For further assistance, please contact https://openfoam.org
  1. Fair enough... I wonder if I missed something with Git...

  2. OK, so the problem is that config.sh/settings apparently was reverted to the original one somehow...

  3. This isn't good... the files are etc were all reverted to the original, due to how I brute-forced the commit resolves...

  4. In etc/config.sh, all were apparently reset when syncing up with OpenFOAM 7...

  5. So we have a moderately annoying problem... my quickness in using upstream changes, resulting in loosing a lot of our own changes, which means that either I have a somewhat quick way of retrieving the missing changes, or I have to redo them again...

  6. All signs so far point to having messed up in the sync up with OpenFOAM 7, given that with OpenFOAM 6 things were still decent enough... more specifically, when I went from 6 to version-7-fork. The only way to assess what's wrong, is to re-do the sync up.

wyldckat commented 4 years ago

Steps 4 and 5

  1. Figure out the missing .build dependency issue...

    • The problem is the build order requires libOpenFOAM to be built first...
    • Fixed in commit c7681d23dacbe7a11a46dadbfdbdcac58676684d
  2. tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/B.orig was not properly corrected by the automated renaming scripts...

    • Fixed the script and committed the fixes.
  3. In src/OpenFOAM: could not open file StaticHashTable.H for source file db/IOobject/IOobject.T.C due to No such file or directory

    • Fixed up to commit 3f91b27292d44faf630c129823e0864a647524ae
  4. Compiling scotch isn't going all that well...

    1. waitpid missing? Need to revise our patches and see if there is something I missed...
    2. Fixed up to commit 8467d036551c420bf3448e550c6c261b78cb536a
  5. return ::ynl in OpenFOAM-8/src/OpenFOAM/primitives/Scalar/longDoubleScalar/longDoubleScalar.H not working... is there no Long implementation in MinGW-w64 + GCC yet?

    • Hack implemented, future fix assigned at #156.
  6. OSspecific/MSwindows isn't going well either...

    • Sorted up to commit cad8f216d37cc75f8ed53c2e61f879a8858d952a
  7. fileName::Type type has a new FIXME which I will need to look into later...

    • Might as well sort this out now...
  8. Problems with uint...

  9. ./Allwmake: line 65: parallel/decompose/AllwmakeLnInclude: No such file or directory

    • See 3c000dabecd81dfef1d103b3fba52e90d260adfa in OpenFOAM-dev... this isn't needed any more.
  10. So for whatever reason, src/transportModels/singlePhaseTransportModel fails to generate the dependency file, apparently due to a memory corruption in wmkdep... although said memory corruption only occurs when running from src/Allwmake?

    • It's actually due to us using @headerList for listing the folders within the current project... then again, it's not.
    • The real culprit appears only when the sourcePath in wmkdep is used, because it's incorrectly initialized, assumed to be initialized with 0 string, when it's not.
    • Reported: https://bugs.openfoam.org/view.php?id=3550
  11. Needed to use the -Wa,-mbig-obj CXX build option, because of the following error when building src/thermophysicalModels/reactionThermo/rhoReactionThermo/rhoReactionThermos.o

    ...\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\src\thermophysicalModels\reactionThermo\tempDir\ccSB4kEA.s: Assembler messages:
    ...\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\src\thermophysicalModels\reactionThermo\tempDir\ccSB4kEA.s: Fatal error: can't close .../OpenFOAM-8/platforms/mingw_w64GccDPInt32Opt/src/thermophysicalModels/reactionThermo/rhoReactionThermo/rhoReactionThermos.o: file too big
    • Found this solution here: https://github.com/assimp/assimp/issues/177
    • Wrong solution... the problem we have isn't the number of sections, it's that the total array is too big... at least after we started using this build option.
    • Compiling without -gdwarf solved the issue... the question is how we disable that option now...
    • Temporarily solved by removing said option: c++OPT := $(c++OPT:-gdwarf=)
    • Noted in issue #157.
wyldckat commented 4 years ago

Step 5 - part 2

  1. After fixing point 11 in the previous comment, tripped over the next one with tons of lines like this one:

    X:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: .../OpenFOAM-8/platforms/mingw_w64GccDPInt32Opt/src/thermophysicalModels/reactionThermo/rhoReactionThermo/rhoReactionThermos.o:rhoReactionThermos.C:(.text.startup+0x429): undefined reference to `vtable for Foam::RegisterDebugSwitch<Foam::heRhoThermo<Foam::rhoReactionThermo, Foam::SpecieMixture<Foam::multiComponentMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::Boussinesq<Foam::specie> >, Foam::sensibleEnthalpy> > > > > >'
    • Whelp, now we know... the option -Wa,-mbig-obj really is needed for avoiding this issue.
  2. Well, the trick above didn't work for thermophysicalModels/chemistryModel/reactions/makeReactions.C...

    • Had to split the file into 2 parts, while still using the previous mbig-obj option as well.
  3. Having issues with the compilation of MomentumTransportModels/Allwmake, because we need to use the X: drive and that isn't working when we use the mount point at ~/blueCFD...

    1. Have to use the following command to launch things: cd /x/OpenFOAM-8 &&. etc/bashrc WM_PROJECT_USER_DIR=${WM_PROJECT_USER_DIR} prefs-mingw_w64.sh WM_MPLIB=$WM_MPLIB bashrc.d WM_PROJECT_DIR=$PWD

    2. The path issue is resolved on our MSys2 stack, by updating sourceOF and our aliases files.

    3. Another compilation issue is now this:

    X:/OpenFOAM-8/src/thermophysicalModels/specie/equationOfState/linear/linearI.H:120:48: error: 'Pstd' was not declared in this scope; did you mean 'std'?
      120 |     return -log((rho0_ + psi_*p)/(rho0_ + psi_*Pstd))/(T*psi_);
          |                                                ^~~~
          |                                                std
    1. Had to change the order of when finiteVolume comes, now in second in line.
wyldckat commented 4 years ago

Step 5 - part 3

  1. Having issues compiling multiphaseEulerFoam, need to recover the build method we had for 5.x to build libraries in phases...

    • Oh fun... Windows 260 character limit hit with the following, which has over 300 characters:
    could not open dependencies file X:/OpenFOAM-8/platforms/mingw_w64GccDPInt32Opt/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/derivedFvPatchFields/wallBoilingSubModels/departureFrequencyModels/KocamustafaogullariIshiiDepartureFrequency/KocamustafaogullariIshiiDepartureFrequency.C.dep for source file derivedFvPatchFields/wallBoilingSubModels/departureFrequencyModels/KocamustafaogullariIshiiDepartureFrequency/KocamustafaogullariIshiiDepartureFrequency.C due to No such file or directory
    • Sooo... it looks like our Allwmake script for this solver will have to handle the build elsewhere temporarily... with a fairly small path to the files...

    • How to delete several libraries:

    find . -name files | while read line; do tail -n 1 $line; done | sed -e 's=.*/==' | xargs -I {} bash -c "eval rm -v $FOAM_LIBBIN/{}.*"
    • Fixed up to commit 65cff98979838f1030d815f606e0b7331a8d1858.
  2. Having issues with CGAL on MSys2...

    1. Was having an issue with not using C++14... am now using it, as per build options in the General/CGAL.

    2. cannot find -lCGAL - fixed by not including the CGAL and Boost libraries, given that OpenFOAM now uses template mode.

  3. Re-running one more time with MS-MPI 7.1, at least for now.

    • Fixed a few more details and it seems to be building now. The last commit so far is eb4abf0b9b5fbe3f8640bbf621d0560340cd8591.
wyldckat commented 4 years ago

Step 6

From #86 step 3:

DATETIMESTAMP=$(date +%Y-%m-%d_%H-%M)

TARGETFOLDER=$FOAM_RUN/tutorials-$DATETIMESTAMP-serial
time $FOAM_TUTORIALS/Alltest -wallClock 600 -jobs 4 -nonParallel -target $TARGETFOLDER 2>&1 | tee $TARGETFOLDER.log

echo "Cases that possibly failed:"
grep -v completed $TARGETFOLDER/testLoopReport

TARGETFOLDER=$FOAM_RUN/tutorials-$DATETIMESTAMP-parallel
time $FOAM_TUTORIALS/Alltest -wallClock 600 -parallel -target $TARGETFOLDER 2>&1 | tee $TARGETFOLDER.log

echo "Cases that possibly failed:"
grep -v completed $TARGETFOLDER/testLoopReport
  1. ONGOING Confirm that the stack is working accordingly to our own changes.

  2. Check how the abort function is working at the moment, because there was a recent way to terminate an execution X seconds wall clock time... not sure if it's in OpenFOAM 8 or dev.

foamDictionary -entry functions/"#includeFunc stopAtClockTime(stopTime=120,action=writeNow)" -add "" system/controlDict
wyldckat commented 4 years ago

Step 6 - Issues spotted at the first serial pass

1. gnuplot not working:

Can't find PostScript prologue file prologue.ps
        loadpath is empty
        gnuplotrc is read from C:/building/msys64/mingw64/share/gnuplot/5.2
Please copy prologue.ps to one of the above directories
or set the environmental variable GNUPLOT_PS_DIR
or set the loadpath appropriately
         line 0: Plot failed!

2. combustion/coldEngineFoam/freePiston fails due to the following:

--> FOAM FATAL ERROR:
Unknown psiThermo type
thermoType
{
    type            hePsiThermo;
    mixture         multiComponentMixture;
    transport       sutherland;
    thermo          janaf;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleInternalEnergy;
}

Valid psiThermo types are:

hePsiThermo  pureMixture  const       eConst  Boussinesq                specie  sensibleInternalEnergy

hePsiThermo  pureMixture  const       eConst  PengRobinsonGas           specie  sensibleInternalEnergy
...
hePsiThermo  pureMixture  sutherland  janaf   perfectGas                specie  sensibleInternalEnergy

3. .orig files are not being properly found...

Reading pRef
Setting fluxRequired for p_rgh

--> FOAM FATAL ERROR:
cannot find file "X:/ofuser-of8/run/tutorials-2020-09-23_14-28-serial/combustion/fireFoam/LES/smallPoolFire2D/0/ph_rgh"

    From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
    in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 555.

4. -nonParallel not working as intended... it failed in combustion/fireFoam/LES/smallPoolFire3D. Maybe it's not using make any more?

5. combustion/reactingFoam/laminar/counterFlowFlame2D_GRI the solver crashes at the end with a non-descriptive Segmentation fault...

6. compressible/rhoCentralFoam/biconic25-55Run35/Allrun is using a hard-coded header-line cut...

7. compressible/rhoPimpleFoam/RAS/aerofoilNACA0012 mesher not finding NACA0012.obj.gz

8. Compiling #stream code failed in incompressible/pimpleFoam/laminar/pitzDailyPulse:

In file included from Function1Template.C:25:
Function1Template.H:36:10: fatal error: Function1.H: No such file or directory
   36 | #include "Function1.H"
      |          ^~~~~~~~~~~~~
compilation terminated.

9. incompressible/pimpleFoam/RAS/wingMotion/wingMotion2D_pimpleFoam has a segmentation fault as well.

10. incompressible/simpleFoam/pipeCyclic crashed on both refineHexMesh and reconstructPar.

11. incompressible/simpleFoam/roomResidenceTime is trying to use bc.

12. Segmentation fault in incompressible/simpleFoam/turbineSiting with reconstructParMesh and reconstructPar.

13. IO/fileHandler multiple issues... will have to tread step by step to understand what's going on wrong.

14. multiphase/multiphaseEulerFoam/laminar/steamInjection solver segmentation fault as well.

wyldckat commented 4 years ago

Step 6 - figuring out the segmentation fault issue

Foam::error::safePrintStack(std::cout);
Backtrace:
        StackTrace [0x626c1855+0x25] (stack_trace_win.C:169)
                 module: .....\ThirdParty-8\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
        safePrintStack [0x6c30b5ed+0x26d] (printStack.C:65)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        0dlClose [0x6c307aab+0x8b] (MSwindows.C:1397)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ~dlLibraryTable [0x6c172dfd+0x5d] (db\dynamicLibrary\dlLibraryTable\dlLibraryTable.C:69)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        _execute_onexit_table [0x6c31cc85+0x55] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\misc\onexit_table.c:67)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        _CRT_INIT [0x6c0c117c+0x16c] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crtdll.c:141)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        __DllMainCRTStartup [0x6c0c125d+0x5d] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crtdll.c:205)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        RtlActivateActivationContextUnsafeFast [0x7ffcfbbe5021+0x121]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        LdrShutdownProcess [0x7ffcfbc2aa82+0x132]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        RtlExitUserProcess [0x7ffcfbc2a92d+0xad]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        ExitProcess [0x7ffcfa8fcd8a+0xa]
                 module: C:\WINDOWS\System32\KERNEL32.DLL
        0000exit [0x7ffcfba3a245+0x85]
                 module: C:\WINDOWS\System32\msvcrt.dll
        initterm_e [0x7ffcfba3a8b5+0x245]
                 module: C:\WINDOWS\System32\msvcrt.dll
        __tmainCRTStartup [0x4014b5+0x325] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crtexe.c:338)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\reactingFoam.exe
        mainCRTStartup [0x4014f6+0x16] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crtexe.c:221)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\reactingFoam.exe
        BaseThreadInitThunk [0x7ffcfa8f7bd4+0x14]
                 module: C:\WINDOWS\System32\KERNEL32.DLL
        RtlUserThreadStart [0x7ffcfbc2ce51+0x21]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
wyldckat commented 4 years ago

Step 6 - Issues spotted at the second pass

1. The Allrun in incompressible/pimpleFoam/RAS/flowWithOpenBoundary has its own options...

Invalid option '-nonParallel'

Usage: Allrun [OPTIONS]
options:
  -d | -distort        distort the mesh
  -h | -help           help
  -p | -pBC <type>     set BC for p on the atmosphere patch
  -U | -UBC <type>     set BC for U on the atmosphere patch

CFD simulation to demonstrate boundary conditions at a patch with mixed inflow
and outflow. The user can set the boundary condition on the atmosphere patch
with options:
+ p: totalPressure (default) or fixedValue
+ U: pressureInletOutletVelocity (default) or zeroGradient

2. Something went wrong with the case below:

Running foamSetupCHT on /x/ofuser-of8/run/tutorials-2020-09-28_14-18-parallel/heatTransfer/chtMultiRegionFoam/coolingSphere

--> FOAM FATAL IO ERROR:
file "0/solid/T" does not exist

file: 0/solid/T at line 1.

    From function Foam::IFstream& Foam::IFstream::operator()() const
    in file db/IOstreams/Fstreams/IFstream.C at line 197.

3. TODO Tutorial case lagrangian/MPPICFoam/column got stuck in an infinite loop for some reason.

4. TODO SigFpe in multiphase/multiphaseEulerFoam/laminar/damBreak4phase

5. TODO multiphase/multiphaseEulerFoam/laminar/mixerVessel2D fatal error Negative initial temperature T0: -256.886

wyldckat commented 4 years ago

Step 7 - Results associated to the second pass

Full summary:

Application pimpleFoam - case pimpleFoam/RAS/impeller: unconfirmed completion
Application reconstructPar - case pimpleFoam/RAS/impeller: unconfirmed completion
Application decomposePar - case pimpleFoam/RAS/propeller: unconfirmed completion
Application pimpleFoam - case pimpleFoam/RAS/propeller: ** FOAM FATAL ERROR **
Application reconstructPar - case pimpleFoam/RAS/propeller: unconfirmed completion

Application particleFoam.uncollated - case fileHandler: unconfirmed completion
Application particleFoam.collated - case fileHandler: unconfirmed completion
Application particleFoam.multiCollated - case fileHandler: unconfirmed completion
Application particleFoam.uncollated_from_multiCollated - case fileHandler: unconfirmed completion
Application particleFoam.distributed_multiCollated - case fileHandler/machineA/fileHandler: ** FOAM FATAL ERROR **

Application renumberMesh - case interFoam/RAS/DTCHull: unconfirmed completion
Application decomposePar - case interFoam/RAS/mixerVesselAMI: unconfirmed completion
Application interFoam - case interFoam/RAS/mixerVesselAMI: ** FOAM FATAL ERROR **
Application reconstructPar - case interFoam/RAS/mixerVesselAMI: unconfirmed completion
Application decomposePar - case interPhaseChangeFoam/propeller: unconfirmed completion
Application interPhaseChangeFoam - case interPhaseChangeFoam/propeller: ** FOAM FATAL ERROR **
Application reconstructPar - case interPhaseChangeFoam/propeller: unconfirmed completion

1. TODO Tutorial incompressible/pimpleFoam/RAS/impeller Crashed:

cyclicRepeatAMI : Creating addressing and weights between 160 source faces and 187 target faces
[2] Generating stack trace...
...
        sigFpeHandler [0x6c30b693+0x33] (signals\sigFpe.C:77)
...
        resetAMI [0x6aa84b7b+0x158b] (AMIInterpolation\patches\cyclicRepeatAMI\cyclicRepeatAMIPolyPatch\cyclicRepeatAMIPolyPatch.C:225)

2. TODO incompressible/pimpleFoam/RAS/propeller seems to have failed to mesh as intended, but had no warnings and later resulted in decomposePar failing hard with a stack trace:

        sigSegvHandler [0x6c30bb03+0x33] (signals\sigSegv.C:80)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        _gnu_exception_handler [0x41bc22+0x182] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crt_handler.c:224)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
        _C_specific_handler [0x7ffcfba28048+0x98]
                 module: C:\WINDOWS\System32\msvcrt.dll
        0_chkstk [0x7ffcfbc611cf+0x11f]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        RtlRaiseException [0x7ffcfbc2a209+0x399]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        KiUserExceptionDispatcher [0x7ffcfbc5fe3e+0x2e]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        hexRef8Data [0x637030d4+0x3d4] (X:\OpenFOAM-8\src\OpenFOAM\containers\Lists\UIndirectList\UIndirectListI.T.H:121)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libdynamicMesh.dll
        writeDecomposition [0x412257+0x23f7] (domainDecomposition.C:824)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
        0000main [0x4f2d39+0x1349] (decomposePar.C:487)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe

3. TODO IO/fileHandler is locking up in an infinite loop.

4. TODO multiphase/interFoam/RAS/DTCHull failed during renumbering:

Writing mesh to "constant"

Renumbering cellSets:
    refinedCells
Generating stack trace...

Backtrace:
        StackTrace [0x626c1855+0x25] (stack_trace_win.C:169)
                 module: E:\Development\Core\OpenFOAMWin-2020\ThirdParty-8\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
        printStack [0x6c30ae5a+0x23a] (printStack.C:94)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        sigSegvHandler [0x6c30bb03+0x33] (signals\sigSegv.C:80)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        _gnu_exception_handler [0x40ade2+0x182] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crt_handler.c:224)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\renumberMesh.exe
        _C_specific_handler [0x7ffcfba28048+0x98]
                 module: C:\WINDOWS\System32\msvcrt.dll
        0_chkstk [0x7ffcfbc611cf+0x11f]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        RtlRaiseException [0x7ffcfbc2a209+0x399]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        KiUserExceptionDispatcher [0x7ffcfbc5fe3e+0x2e]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        updateLabels [0x6a9c1fa7+0x2a7] (sets\topoSets\topoSet.C:170)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libmeshTools.dll
        0000main [0x48e408+0x2318] (renumberMesh.C:1355)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\renumberMesh.exe
        __tmainCRTStartup [0x4013c1+0x231] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crtexe.c:337)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\renumberMesh.exe
        mainCRTStartup [0x4014f6+0x16] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crtexe.c:221)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\renumberMesh.exe
        BaseThreadInitThunk [0x7ffcfa8f7bd4+0x14]
                 module: C:\WINDOWS\System32\KERNEL32.DLL
        RtlUserThreadStart [0x7ffcfbc2ce51+0x21]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll

5. TODO multiphase/interFoam/RAS/mixerVesselAMI failed in decomposePar

Constructing processor meshes
Reading hexRef8 data : cellLevel
Reading hexRef8 data : pointLevel
Reading hexRef8 data : level0Edge
Generating stack trace...

Backtrace:
        StackTrace [0x626c1855+0x25] (stack_trace_win.C:169)
                 module: E:\Development\Core\OpenFOAMWin-2020\ThirdParty-8\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
        printStack [0x6c30ae5a+0x23a] (printStack.C:94)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        sigSegvHandler [0x6c30bb03+0x33] (signals\sigSegv.C:80)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        _gnu_exception_handler [0x41bc22+0x182] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crt_handler.c:224)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
        _C_specific_handler [0x7ffcfba28048+0x98]
                 module: C:\WINDOWS\System32\msvcrt.dll
        0_chkstk [0x7ffcfbc611cf+0x11f]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        RtlRaiseException [0x7ffcfbc2a209+0x399]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        KiUserExceptionDispatcher [0x7ffcfbc5fe3e+0x2e]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        hexRef8Data [0x637030d4+0x3d4] (X:\OpenFOAM-8\src\OpenFOAM\containers\Lists\UIndirectList\UIndirectListI.T.H:121)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libdynamicMesh.dll
        writeDecomposition [0x412257+0x23f7] (domainDecomposition.C:824)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
        0000main [0x4f2d39+0x1349] (decomposePar.C:487)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
        __tmainCRTStartup [0x4013c1+0x231] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crtexe.c:337)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
        mainCRTStartup [0x4014f6+0x16] (D:\mingwbuild\mingw-w64-crt-git\src\mingw-w64\mingw-w64-crt\crt\crtexe.c:221)
                 module: X:\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
        BaseThreadInitThunk [0x7ffcfa8f7bd4+0x14]
                 module: C:\WINDOWS\System32\KERNEL32.DLL
        RtlUserThreadStart [0x7ffcfbc2ce51+0x21]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
wyldckat commented 4 years ago

Issues found so far

  1. TODO src/TurbulenceModels no longer exists? I believe it was left in due to git mergers.

  2. wxt not working with gnuplot... should switch to windows mode.

wyldckat commented 3 years ago

Closing this task. Pending issues scheduled at #171 and #172.