OpenFOAM is not reproducible

  • Open
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • reza
  • Simon Tournier
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 11 Aug 2023 09:41
(address . bug-guix@gnu.org)
87r0oagh53.fsf@inria.fr
The ‘openfoam-org’ and ‘openfoam-com’ packages are not reproducible:

Toggle snippet (68 lines)
$ ./pre-inst-env guix challenge openfoam-{org,com}
/gnu/store/nqv35ydmqmxazv33m84gf1130m10n8ig-openfoam-com-2212 contents differ:
no local build for '/gnu/store/nqv35ydmqmxazv33m84gf1130m10n8ig-openfoam-com-2212'
https://ci.guix.gnu.org/nar/lzip/nqv35ydmqmxazv33m84gf1130m10n8ig-openfoam-com-2212: 1wbs1acacshi4swhrxjkwm4jppc0bavsz97vi7y2vkn7nv8rj0bl
https://bordeaux.guix.gnu.org/nar/lzip/nqv35ydmqmxazv33m84gf1130m10n8ig-openfoam-com-2212: 033jd4y456jfnxz9mavybg520y6ix0fmd7a10k5l97mnljkclzwc
differing files:
/share/OpenFOAM/build/linux64GccDPInt32Opt/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionTwoPhaseEulerFoam/chtMultiRegionTwoPhaseEulerFoam.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/applications/solvers/multiphase/reactingMultiphaseEulerFoam/reactingMultiphaseEulerFoam.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/applications/solvers/multiphase/reactingTwoPhaseEulerFoam/reactingTwoPhaseEulerFoam.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/src/functionObjects/phaseSystems/sizeDistribution/sizeDistribution.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/twoPhaseCompressibleTurbulenceModels.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseSystem/diameterModels/IATE/IATE.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseSystem/diameterModels/IATE/IATEsources/phaseChange/phaseChange.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseSystem/twoPhaseSystem.C.dep
/share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseSystem/twoPhaseSystems.C.dep
/share/OpenFOAM/src/phaseSystemModels/reactingEuler/multiphaseSystem/lnInclude/exponential.C
/share/OpenFOAM/src/phaseSystemModels/reactingEuler/multiphaseSystem/lnInclude/exponential.H
/share/OpenFOAM/src/phaseSystemModels/reactingEuler/multiphaseSystem/lnInclude/linear.C
/share/OpenFOAM/src/phaseSystemModels/reactingEuler/multiphaseSystem/lnInclude/linear.H
/gnu/store/bsllqx0zbv9353psmfildnvblg619kz3-openfoam-org-10.20230119 contents differ:
no local build for '/gnu/store/bsllqx0zbv9353psmfildnvblg619kz3-openfoam-org-10.20230119'
https://ci.guix.gnu.org/nar/lzip/bsllqx0zbv9353psmfildnvblg619kz3-openfoam-org-10.20230119: 0x7q256p489y5hnlq5i44qbl59bj1bwhnyzbm616nrqq95l3qasz
https://bordeaux.guix.gnu.org/nar/lzip/bsllqx0zbv9353psmfildnvblg619kz3-openfoam-org-10.20230119: 1yc4sfakn5n78lgdaa4jds6bg2mhhblw15p6j2z1269hb8jz8wvg
differing files:
/share/OpenFOAM/applications/utilities/postProcessing/graphics/PVReaders/Make/linux64GccDPInt32Opt/CMakeCache.txt
/share/OpenFOAM/applications/utilities/postProcessing/graphics/PVReaders/Make/linux64GccDPInt32Opt/CMakeFiles/3.24.2/CMakeSystem.cmake
/share/OpenFOAM/applications/utilities/postProcessing/graphics/PVReaders/Make/linux64GccDPInt32Opt/CMakeFiles/CMakeOutput.log
/share/OpenFOAM/test/IO/fileHandler/log.blockMesh
/share/OpenFOAM/test/IO/fileHandler/log.decomposePar
/share/OpenFOAM/test/IO/fileHandler/log.decomposePar.collated
/share/OpenFOAM/test/IO/fileHandler/log.decomposePar.uncollated
/share/OpenFOAM/test/IO/fileHandler/log.foamFormatConvert
/share/OpenFOAM/test/IO/fileHandler/log.foamFormatConvert.uncollated
/share/OpenFOAM/test/IO/fileHandler/log.particleFoam
/share/OpenFOAM/test/IO/fileHandler/log.particleFoam.collated
/share/OpenFOAM/test/IO/fileHandler/log.particleFoam.multiCollated
/share/OpenFOAM/test/IO/fileHandler/log.particleFoam.uncollated
/share/OpenFOAM/test/IO/fileHandler/log.particleFoam.uncollated_from_multiCollated
/share/OpenFOAM/test/IO/fileHandler/log.reconstructPar
/share/OpenFOAM/test/IO/fileHandler/log.reconstructPar.collated
/share/OpenFOAM/test/IO/fileHandler/log.reconstructPar.multiCollated
/share/OpenFOAM/test/IO/fileHandler/machineA/fileHandler/log.particleFoam.distributed_multiCollated
/share/OpenFOAM/test/fvMeshTools/cavity/0.005/polyMesh/faces
/share/OpenFOAM/test/fvMeshTools/cavity/0.005/polyMesh/neighbour
/share/OpenFOAM/test/fvMeshTools/cavity/0.005/polyMesh/owner
/share/OpenFOAM/test/fvMeshTools/cavity/0.005/polyMesh/points
/share/OpenFOAM/test/fvMeshTools/cavity/0.01/polyMesh/faces
/share/OpenFOAM/test/fvMeshTools/cavity/0.01/polyMesh/neighbour
/share/OpenFOAM/test/fvMeshTools/cavity/0.01/polyMesh/owner
/share/OpenFOAM/test/fvMeshTools/cavity/0.01/polyMesh/points
/share/OpenFOAM/test/fvMeshTools/cavity/0.015/polyMesh/faces
[…]
/share/OpenFOAM/test/multiphase/multiphaseEulerFoam/thermal/waterEvaporation/log.multiphaseEulerFoam.e.steam_h.water
/share/OpenFOAM/test/multiphase/multiphaseEulerFoam/thermal/waterEvaporation/log.multiphaseEulerFoam.h.steam_e.water
/share/OpenFOAM/test/multiphase/multiphaseEulerFoam/thermal/waterEvaporation/log.multiphaseEulerFoam.h.steam_h.water
/share/OpenFOAM/test/multiphase/multiphaseEulerFoam/thermal/waterEvaporation/postProcessing.eps
/share/OpenFOAM/test/postProcessing/channel/log.blockMesh
/share/OpenFOAM/test/postProcessing/channel/log.topoSet
/share/OpenFOAM/test/testLoopReport

2 store items were analyzed:
- 0 (0.0%) were identical
- 2 (100.0%) differed
- 0 (0.0%) were inconclusive

Some of the files here look like build logs.

Thoughts on how to fix it?

Ludo’.
S
S
Simon Tournier wrote on 23 Aug 2023 18:39
(name . reza)(address . reza@housseini.me)
86zg2hzpas.fsf@gmail.com
Hi,

On Fri, 11 Aug 2023 at 09:41, Ludovic Courtès <ludovic.courtes@inria.fr> wrote:

Toggle quote (12 lines)
> /share/OpenFOAM/build/linux64GccDPInt32Opt/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionTwoPhaseEulerFoam/chtMultiRegionTwoPhaseEulerFoam.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/applications/solvers/multiphase/reactingMultiphaseEulerFoam/reactingMultiphaseEulerFoam.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/applications/solvers/multiphase/reactingTwoPhaseEulerFoam/reactingTwoPhaseEulerFoam.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/src/functionObjects/phaseSystems/sizeDistribution/sizeDistribution.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/twoPhaseCompressibleTurbulenceModels.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseSystem/diameterModels/IATE/IATE.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseSystem/diameterModels/IATE/IATEsources/phaseChange/phaseChange.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseSystem/twoPhaseSystem.C.dep
> /share/OpenFOAM/build/linux64GccDPInt32Opt/src/phaseSystemModels/reactingEuler/twoPhaseSystem/twoPhaseSystems.C.dep

Are these files required at run-time? I mean, why are they retain? And
I was guessing they should be removed, no?

Toggle quote (33 lines)
> /share/OpenFOAM/test/IO/fileHandler/log.blockMesh
> /share/OpenFOAM/test/IO/fileHandler/log.decomposePar
> /share/OpenFOAM/test/IO/fileHandler/log.decomposePar.collated
> /share/OpenFOAM/test/IO/fileHandler/log.decomposePar.uncollated
> /share/OpenFOAM/test/IO/fileHandler/log.foamFormatConvert
> /share/OpenFOAM/test/IO/fileHandler/log.foamFormatConvert.uncollated
> /share/OpenFOAM/test/IO/fileHandler/log.particleFoam
> /share/OpenFOAM/test/IO/fileHandler/log.particleFoam.collated
> /share/OpenFOAM/test/IO/fileHandler/log.particleFoam.multiCollated
> /share/OpenFOAM/test/IO/fileHandler/log.particleFoam.uncollated
> /share/OpenFOAM/test/IO/fileHandler/log.particleFoam.uncollated_from_multiCollated
> /share/OpenFOAM/test/IO/fileHandler/log.reconstructPar
> /share/OpenFOAM/test/IO/fileHandler/log.reconstructPar.collated
> /share/OpenFOAM/test/IO/fileHandler/log.reconstructPar.multiCollated
> /share/OpenFOAM/test/IO/fileHandler/machineA/fileHandler/log.particleFoam.distributed_multiCollated
> /share/OpenFOAM/test/fvMeshTools/cavity/0.005/polyMesh/faces
> /share/OpenFOAM/test/fvMeshTools/cavity/0.005/polyMesh/neighbour
> /share/OpenFOAM/test/fvMeshTools/cavity/0.005/polyMesh/owner
> /share/OpenFOAM/test/fvMeshTools/cavity/0.005/polyMesh/points
> /share/OpenFOAM/test/fvMeshTools/cavity/0.01/polyMesh/faces
> /share/OpenFOAM/test/fvMeshTools/cavity/0.01/polyMesh/neighbour
> /share/OpenFOAM/test/fvMeshTools/cavity/0.01/polyMesh/owner
> /share/OpenFOAM/test/fvMeshTools/cavity/0.01/polyMesh/points
> /share/OpenFOAM/test/fvMeshTools/cavity/0.015/polyMesh/faces
> […]
> /share/OpenFOAM/test/multiphase/multiphaseEulerFoam/thermal/waterEvaporation/log.multiphaseEulerFoam.e.steam_h.water
> /share/OpenFOAM/test/multiphase/multiphaseEulerFoam/thermal/waterEvaporation/log.multiphaseEulerFoam.h.steam_e.water
> /share/OpenFOAM/test/multiphase/multiphaseEulerFoam/thermal/waterEvaporation/log.multiphaseEulerFoam.h.steam_h.water
> /share/OpenFOAM/test/multiphase/multiphaseEulerFoam/thermal/waterEvaporation/postProcessing.eps
> /share/OpenFOAM/test/postProcessing/channel/log.blockMesh
> /share/OpenFOAM/test/postProcessing/channel/log.topoSet
> /share/OpenFOAM/test/testLoopReport

Similar question, no? Why log files and testing files are part of the
output?

Cheers,
simon
R
0102018a2717b003-af13f342-b09f-4fda-800f-1b239786b9fe-000000@eu-west-1.amazonses.com
Toggle quote (3 lines)
> Are these files required at run-time? I mean, why are they retain? And
> I was guessing they should be removed, no?

No they are not required and should be removed
Toggle quote (3 lines)
> Similar question, no? Why log files and testing files are part of the
> output?

this is a quirks of the wmake build system employed by openfoam (all in
source build and necessity to source files from the source tree for
using openfoam), but I remeber that they have some tooling to clean up
the source tree. Will investigate a little

Toggle quote (4 lines)
>
> Cheers,
> simon

Cheers,
Reza
Attachment: OpenPGP_signature
?