When building the OpenFOAM 1712 version, additional binaries and libraries should be produced and installed in platforms/linux64GccDPInt32RpathOpt/bin and platforms/linux64GccDPInt32RpathOpt/lib. However, most binaries and libraries are missing when installing with Spack.
Note: this issue does NOT occur when installing the new OpenFOAM@1906(openfoam@1906~float32~int64~kahip~knl~metis+mgridgen+paraview+scotch+source~vtk~zoltan)
We have users who need the old v17xx/v16xx OpenFOAM. I speculate that the installation method for older versions is somehow different from newer ones, and the package.py is tuned especially for newer versions? Unfortunately, I haven't pinpointed the problem yet.
I will look further into this issue. Any suggestion is appreciated. Thank you!
Steps to reproduce the issue
OpenFOAM Installed with Spack:
$ spack install openfoam@1712+mgridgen+paraview %gcc@8.3.0 target=skylake_avx512 ^openmpi@3.1.4
Checking contents inside platforms:
Click to expand!
$ tree platforms
platforms
└── linux64GccDPInt32RpathOpt
├── bin
└── lib
├── dummy
│ └── libPstream.so
├── libPstream.so -> mpi-user/libPstream.so
└── mpi-user
└── libPstream.so
OpenFOAM Manually Built from Source:
module load openmpi/3.1.4-gcc-4.8.5 gsl/2.5-gcc-8.3.0 boost/1.70.0-gcc-4.8.5 # load dependencies
Then follow the official build guide
(It seems whether ThirdParty-v1712.tgz is used does not affect binaries / libraries inside platforms)
Checking contents inside platforms:
Click to expand!
$ tree platforms
platforms/
└── linux64GccDPInt32Opt
├── bin
│ ├── adiabaticFlameT
│ ├── adjointShapeOptimizationFoam
│ ├── ansysToFoam
│ ├── applyBoundaryLayer
│ ├── attachMesh
│ ├── autoPatch
│ ├── blockMesh
│ ├── boundaryFoam
│ ├── buoyantBoussinesqPimpleFoam
│ ├── buoyantBoussinesqSimpleFoam
│ ├── buoyantPimpleFoam
│ ├── buoyantSimpleFoam
│ ├── cartesian2DMesh
│ ├── cartesianMesh
│ ├── cavitatingDyMFoam
│ ├── cavitatingFoam
│ ├── cfx4ToFoam
│ ├── changeDictionary
│ ├── checkFaMesh
│ ├── checkMesh
│ ├── checkSurfaceMesh
│ ├── chemFoam
│ ├── chemkinToFoam
│ ├── chtMultiRegionFoam
│ ├── chtMultiRegionSimpleFoam
│ ├── coalChemistryFoam
│ ├── coldEngineFoam
│ ├── collapseEdges
│ ├── combinePatchFaces
│ ├── compressibleInterDyMFoam
│ ├── compressibleInterFilmFoam
│ ├── compressibleInterFoam
│ ├── compressibleMultiphaseInterFoam
│ ├── copySurfaceParts
│ ├── createBaffles
│ ├── createExternalCoupledPatchGeometry
│ ├── createPatch
│ ├── createZeroDirectory
│ ├── datToFoam
│ ├── decomposePar
│ ├── deformedGeom
│ ├── DPMDyMFoam
│ ├── DPMFoam
│ ├── driftFluxFoam
│ ├── dsmcFoam
│ ├── dsmcInitialise
│ ├── electrostaticFoam
│ ├── engineCompRatio
│ ├── engineFoam
│ ├── engineSwirl
│ ├── equilibriumCO
│ ├── equilibriumFlameT
│ ├── extrude2DMesh
│ ├── extrudeEdgesInto2DSurface
│ ├── extrudeMesh
│ ├── extrudeToRegionMesh
│ ├── faceAgglomerate
│ ├── faSavageHutterFoam
│ ├── financialFoam
│ ├── fireFoam
│ ├── fireToFoam
│ ├── flattenMesh
│ ├── FLMAToSurface
│ ├── fluent3DMeshToFoam
│ ├── fluentMeshToFoam
│ ├── FMSToSurface
│ ├── FMSToVTK
│ ├── foamDataToFluent
│ ├── foamDictionary
│ ├── foamFormatConvert
│ ├── foamHelp
│ ├── foamListRegions
│ ├── foamListTimes
│ ├── foamMeshToFluent
│ ├── foamToEnsight
│ ├── foamToEnsightParts
│ ├── foamToFireMesh
│ ├── foamToGMV
│ ├── foamToStarMesh
│ ├── foamToSurface
│ ├── foamToTetDualMesh
│ ├── foamToVTK
│ ├── foamUpgradeCyclics
│ ├── gambitToFoam
│ ├── generateBoundaryLayers
│ ├── gmshToFoam
│ ├── icoFoam
│ ├── icoUncoupledKinematicParcelDyMFoam
│ ├── icoUncoupledKinematicParcelFoam
│ ├── ideasUnvToFoam
│ ├── importSurfaceAsSubset
│ ├── improveMeshQuality
│ ├── improveSymmetryPlanes
│ ├── insideCells
│ ├── interCondensatingEvaporatingFoam
│ ├── interDyMFoam
│ ├── interFoam
│ ├── interIsoFoam
│ ├── interMixingFoam
│ ├── interPhaseChangeDyMFoam
│ ├── interPhaseChangeFoam
│ ├── kivaToFoam
│ ├── laplacianFoam
│ ├── liquidFilmFoam
│ ├── lumpedPointForces
│ ├── lumpedPointMovement
│ ├── lumpedPointZones
│ ├── magneticFoam
│ ├── makeFaMesh
│ ├── mapFields
│ ├── mapFieldsPar
│ ├── mdEquilibrationFoam
│ ├── mdFoam
│ ├── mdInitialise
│ ├── mergeMeshes
│ ├── mergeOrSplitBaffles
│ ├── mergeSurfacePatches
│ ├── meshToFPMA
│ ├── mhdFoam
│ ├── mirrorMesh
│ ├── mixtureAdiabaticFlameT
│ ├── modifyMesh
│ ├── moveDynamicMesh
│ ├── moveEngineMesh
│ ├── moveMesh
│ ├── MPPICDyMFoam
│ ├── MPPICFoam
│ ├── MPPICInterFoam
│ ├── mshToFoam
│ ├── multiphaseEulerFoam
│ ├── multiphaseInterDyMFoam
│ ├── multiphaseInterFoam
│ ├── netgenNeutralToFoam
│ ├── nonNewtonianIcoFoam
│ ├── objToVTK
│ ├── orientFaceZone
│ ├── overInterDyMFoam
│ ├── overLaplacianDyMFoam
│ ├── overPimpleDyMFoam
│ ├── overPotentialFoam
│ ├── overRhoPimpleDyMFoam
│ ├── overRhoSimpleFoam
│ ├── overSimpleFoam
│ ├── particleTracks
│ ├── patchesToSubsets
│ ├── patchSummary
│ ├── pdfPlot
│ ├── PDRFoam
│ ├── PDRMesh
│ ├── pimpleDyMFoam
│ ├── pimpleFoam
│ ├── pisoFoam
│ ├── plot3dToFoam
│ ├── pMesh
│ ├── polyDualMesh
│ ├── porousSimpleFoam
│ ├── postChannel
│ ├── postProcess
│ ├── potentialFoam
│ ├── potentialFreeSurfaceDyMFoam
│ ├── potentialFreeSurfaceFoam
│ ├── preparePar
│ ├── profilingSummary
│ ├── reactingFoam
│ ├── reactingMultiphaseEulerFoam
│ ├── reactingParcelFoam
│ ├── reactingTwoPhaseEulerFoam
│ ├── reconstructPar
│ ├── reconstructParMesh
│ ├── redistributePar
│ ├── refineHexMesh
│ ├── refinementLevel
│ ├── refineMesh
│ ├── refineWallLayer
│ ├── releaseAreaMapping
│ ├── removeFaces
│ ├── removeSurfaceFacets
│ ├── renumberMesh
│ ├── rhoCentralDyMFoam
│ ├── rhoCentralFoam
│ ├── rhoPimpleAdiabaticFoam
│ ├── rhoPimpleDyMFoam
│ ├── rhoPimpleFoam
│ ├── rhoPorousSimpleFoam
│ ├── rhoReactingBuoyantFoam
│ ├── rhoReactingFoam
│ ├── rhoSimpleFoam
│ ├── rotateMesh
│ ├── scalarTransportFoam
│ ├── scaleMesh
│ ├── scaleSurfaceMesh
│ ├── selectCells
│ ├── setAlphaField
│ ├── setFields
│ ├── setSet
│ ├── setsToZones
│ ├── shallowWaterFoam
│ ├── simpleCoalParcelFoam
│ ├── simpleFoam
│ ├── simpleReactingParcelFoam
│ ├── singleCellMesh
│ ├── slopeMesh
│ ├── smapToFoam
│ ├── snappyHexMesh
│ ├── snappyRefineMesh
│ ├── solidDisplacementFoam
│ ├── solidEquilibriumDisplacementFoam
│ ├── sonicDyMFoam
│ ├── sonicFoam
│ ├── sonicLiquidFoam
│ ├── splitCells
│ ├── splitMesh
│ ├── splitMeshRegions
│ ├── sprayDyMFoam
│ ├── sprayEngineFoam
│ ├── sprayFoam
│ ├── SRFPimpleFoam
│ ├── SRFSimpleFoam
│ ├── star4ToFoam
│ ├── steadyParticleTracks
│ ├── stitchMesh
│ ├── subsetMesh
│ ├── subsetToPatch
│ ├── surfaceAdd
│ ├── surfaceBooleanFeatures
│ ├── surfaceCheck
│ ├── surfaceClean
│ ├── surfaceCoarsen
│ ├── surfaceConvert
│ ├── surfaceFeatureConvert
│ ├── surfaceFeatureEdges
│ ├── surfaceFeatureExtract
│ ├── surfaceFind
│ ├── surfaceGenerateBoundingBox
│ ├── surfaceHookUp
│ ├── surfaceInertia
│ ├── surfaceInflate
│ ├── surfaceLambdaMuSmooth
│ ├── surfaceMeshConvert
│ ├── surfaceMeshExport
│ ├── surfaceMeshImport
│ ├── surfaceMeshInfo
│ ├── surfaceMeshTriangulate
│ ├── surfaceOrient
│ ├── surfacePatch
│ ├── surfacePointMerge
│ ├── surfaceRedistributePar
│ ├── surfaceRefineRedGreen
│ ├── surfaceSplitByPatch
│ ├── surfaceSplitByTopology
│ ├── surfaceSplitNonManifolds
│ ├── surfaceSubset
│ ├── surfaceToFMS
│ ├── surfaceToPatch
│ ├── surfaceTransformPoints
│ ├── surfactantFoam
│ ├── temporalInterpolate
│ ├── tetgenToFoam
│ ├── tetMesh
│ ├── thermoFoam
│ ├── topoSet
│ ├── transformPoints
│ ├── twoLiquidMixingFoam
│ ├── twoPhaseEulerFoam
│ ├── uncoupledKinematicParcelDyMFoam
│ ├── uncoupledKinematicParcelFoam
│ ├── viewFactorsGen
│ ├── vtkUnstructuredToFoam
│ ├── wallFunctionTable
│ ├── writeMeshObj
│ ├── XiDyMFoam
│ ├── XiFoam
│ └── zipUpMesh
└── lib
├── dummy
│ ├── libkahipDecomp.so
│ ├── libmetisDecomp.so
│ ├── libMGridGen.so
│ ├── libPstream.so
│ ├── libptscotchDecomp.so
│ └── libscotchDecomp.so
├── libbarotropicCompressibilityModel.so
├── libblockMesh.so
├── libchemistryModel.so
├── libcoalCombustion.so
├── libcombustionModels.so
├── libcompressibleEulerianInterfacialModels.so
├── libcompressibleMultiphaseEulerianInterfacialModels.so
├── libcompressibleTransportModels.so
├── libcompressibleTurbulenceModels.so
├── libCompressibleTwoPhaseMixtureTurbulenceModels.so
├── libcompressibleTwoPhaseSystem.so
├── libconversion.so
├── libdecompose.so
├── libdecompositionMethods.so
├── libdistributed.so
├── libdistributionModels.so
├── libDPMTurbulenceModels.so
├── libdriftFluxRelativeVelocityModels.so
├── libdriftFluxTransportModels.so
├── libDSMC.so
├── libdynamicFvMesh.so
├── libdynamicMesh.so
├── libengine.so
├── libextrude2DMesh.so
├── libextrudeModel.so
├── libfaAvalanche.so
├── libfieldFunctionObjects.so
├── libfileFormats.so
├── libfiniteArea.so
├── libfiniteVolume.so
├── libfluidThermophysicalModels.so
├── libforces.so
├── libfvMotionSolvers.so
├── libfvOptions.so
├── libgenericPatchFields.so
├── libhelpTypes.so
├── libimmiscibleIncompressibleTwoPhaseMixture.so
├── libincompressibleTransportModels.so
├── libincompressibleTurbulenceModels.so
├── libinterfaceProperties.so
├── liblagrangianFunctionObjects.so
├── liblagrangianIntermediate.so
├── liblagrangian.so
├── liblagrangianSpray.so
├── liblagrangianTurbulence.so
├── liblaminarFlameSpeedModels.so
├── libliquidPropertiesFvPatchFields.so
├── liblumpedPointMotion.so
├── libmeshLibrary.so
├── libmeshTools.so
├── libmolecularMeasurements.so
├── libmolecule.so
├── libmultiphaseInterFoam.so
├── libmultiphaseMixtureThermo.so
├── libmultiphaseReactingTurbulenceModels.so
├── libmultiphaseSystem.so
├── libODE.so
├── libOpenFOAM.so
├── libOSspecific.o
├── liboverset.so
├── libpairPatchAgglomeration.so
├── libphaseChangeTwoPhaseMixtures.so
├── libphaseCompressibleTurbulenceModels.so
├── libphaseTemperatureChangeTwoPhaseMixtures.so
├── libpotential.so
├── libpyrolysisModels.so
├── libradiationModels.so
├── libreactingEulerianInterfacialCompositionModels.so
├── libreactingEulerianInterfacialModels.so
├── libreactingMultiphaseSystem.so
├── libreactingPhaseSystem.so
├── libreactingTwoPhaseSystem.so
├── libreactionThermophysicalModels.so
├── libreconstruct.so
├── libregionCoupled.so
├── libregionCoupling.so
├── libregionModels.so
├── librenumberMethods.so
├── librhoCentralFoam.so
├── librigidBodyDynamics.so
├── librigidBodyMeshMotion.so
├── libsampling.so
├── libsixDoFRigidBodyMotion.so
├── libSLGThermo.so
├── libsnappyHexMesh.so
├── libsolidChemistryModel.so
├── libsolidParticle.so
├── libsolidSpecie.so
├── libsolidThermo.so
├── libsolverFunctionObjects.so
├── libspecie.so
├── libsurfaceFeatureExtract.so
├── libsurfaceFilmDerivedFvPatchFields.so
├── libsurfaceFilmModels.so
├── libsurfMesh.so
├── libtabulatedWallFunctions.so
├── libthermalBaffleModels.so
├── libthermophysicalProperties.so
├── libtopoChangerFvMesh.so
├── libturbulenceModelSchemes.so
├── libturbulenceModels.so
├── libtwoPhaseMixture.so
├── libtwoPhaseMixtureThermo.so
├── libtwoPhaseProperties.so
├── libtwoPhaseReactingTurbulenceModels.so
├── libtwoPhaseSurfaceTension.so
├── libuserd-foam.so
├── libutilityFunctionObjects.so
├── libwaveModels.so
└── openmpi-system
└── libPstream.so
Platform and user environment
Please report your OS here:
$ uname -a
Linux login3.pi.sjtu.edu.cn 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -d
Description: CentOS Linux release 7.5.1804 (Core)
Click to expand!
packages:
all:
compiler:
- gcc
- intel
- pgi
providers:
blas:
- openblas
- intel-mkl
lapack:
- openblas
- intel-mkl
mpi:
- openmpi
- mvapich2
- mpich
- intel-mpi
scalapack:
- netlib-scalapack
- intel-mkl
variants: ~mpi +openmp
intel-mkl:
variants: threads=openmp
intel-parallel-studio:
variants: +inspector +itac +mkl +mpi +advisor +vtune threads=openmp
libfabric:
paths:
libfabric@1.6.2: /usr
mpich:
variants: +hydra +romio +slurm netmod=ofi
openblas:
variants: +avx2 +avx512 threads=openmp
openmpi:
variants: +pmi +legacylaunchers fabrics=libfabric schedulers=slurm
slurm:
buildable: false
paths:
slurm@17-11-9-13: /usr
Click to expand!
compilers:
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: centos7
paths:
cc: /usr/bin/gcc
cxx: /usr/bin/g++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: gcc@4.8.5
target: x86_64
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: centos7
paths:
cc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-5.5.0-kbfjue2cejfoi6e5n3cfgkydzwvlkx4p/bin/gcc
cxx: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-5.5.0-kbfjue2cejfoi6e5n3cfgkydzwvlkx4p/bin/g++
f77: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-5.5.0-kbfjue2cejfoi6e5n3cfgkydzwvlkx4p/bin/gfortran
fc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-5.5.0-kbfjue2cejfoi6e5n3cfgkydzwvlkx4p/bin/gfortran
spec: gcc@5.5.0
target: x86_64
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: centos7
paths:
cc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-8.3.0-aoqn7jsisvrj2u5puapmiufudxmm6wt4/bin/gcc
cxx: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-8.3.0-aoqn7jsisvrj2u5puapmiufudxmm6wt4/bin/g++
f77: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-8.3.0-aoqn7jsisvrj2u5puapmiufudxmm6wt4/bin/gfortran
fc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-8.3.0-aoqn7jsisvrj2u5puapmiufudxmm6wt4/bin/gfortran
spec: gcc@8.3.0
target: x86_64
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: centos7
paths:
cc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-9.2.0-wqdecm4rkyyhejagxwmnabt6lscgm45d/bin/gcc
cxx: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-9.2.0-wqdecm4rkyyhejagxwmnabt6lscgm45d/bin/g++
f77: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-9.2.0-wqdecm4rkyyhejagxwmnabt6lscgm45d/bin/gfortran
fc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/gcc-9.2.0-wqdecm4rkyyhejagxwmnabt6lscgm45d/bin/gfortran
spec: gcc@9.2.0
target: x86_64
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: centos7
paths:
cc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-19.0.4-zxtvkrsgqvhud4og62e55kwgqvhy26d3/compilers_and_libraries_2019.4.243/linux/bin/intel64/icc
cxx: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-19.0.4-zxtvkrsgqvhud4og62e55kwgqvhy26d3/compilers_and_libraries_2019.4.243/linux/bin/intel64/icpc
f77: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-19.0.4-zxtvkrsgqvhud4og62e55kwgqvhy26d3/compilers_and_libraries_2019.4.243/linux/bin/intel64/ifort
fc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-19.0.4-zxtvkrsgqvhud4og62e55kwgqvhy26d3/compilers_and_libraries_2019.4.243/linux/bin/intel64/ifort
spec: intel@19.0.4
target: x86_64
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: centos7
paths:
cc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-19.0.5-2wbf5cihe2454tnokwkbxjjym4nozecd/bin/icc
cxx: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-19.0.5-2wbf5cihe2454tnokwkbxjjym4nozecd/bin/icpc
f77: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-19.0.5-2wbf5cihe2454tnokwkbxjjym4nozecd/bin/ifort
fc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-19.0.5-2wbf5cihe2454tnokwkbxjjym4nozecd/bin/ifort
spec: intel@19.0.5
target: x86_64
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: centos7
paths:
cc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-18.0.4-yzuuq5mpke4i44enduypudbrp2mty2s5/bin/icc
cxx: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-18.0.4-yzuuq5mpke4i44enduypudbrp2mty2s5/bin/icpc
f77: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-18.0.4-yzuuq5mpke4i44enduypudbrp2mty2s5/bin/ifort
fc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/intel-18.0.4-yzuuq5mpke4i44enduypudbrp2mty2s5/bin/ifort
spec: intel@18.0.4
target: x86_64
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: centos7
paths:
cc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/pgi-19.4-hz2tz6aeh4wt5zlw4dfb6mjbccdn5c4h/linux86-64/19.4/bin/pgcc
cxx: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/pgi-19.4-hz2tz6aeh4wt5zlw4dfb6mjbccdn5c4h/linux86-64/19.4/bin/pgc++
f77: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/pgi-19.4-hz2tz6aeh4wt5zlw4dfb6mjbccdn5c4h/linux86-64/19.4/bin/pgfortran
fc: /lustre/opt/cascadelake/linux-centos7-x86_64/gcc-4.8.5/pgi-19.4-hz2tz6aeh4wt5zlw4dfb6mjbccdn5c4h/linux86-64/19.4/bin/pgf95
spec: pgi@19.4
target: x86_64
Additional information
Spec info
$ spack spec openfoam@1712+mgridgen+paraview %gcc@8.3.0 target=skylake_avx512 ^openmpi@3.1.4
Input spec
--------------------------------
openfoam@1712%gcc@8.3.0+mgridgen+paraview arch=linux-None-skylake_avx512
^openmpi@3.1.4
Concretized
--------------------------------
openfoam@1712%gcc@8.3.0~float32~int64~kahip~knl~metis+mgridgen+paraview+scotch+source~vtk~zoltan arch=linux-centos7-skylake_avx512
^boost@1.70.0%gcc@8.3.0+atomic+chrono~clanglibcpp~context~coroutine cxxstd=98 +date_time~debug+exception~fiber+filesystem+graph~icu+iostreams+locale+log+math~mpi+multithreaded~numpy patches=2ab6c72d03dec6a4ae20220a9dfd5c8c572c5294252155b85c6874d97c323199 ~pic+program_options~python+random+regex+serialization+shared+signals~singlethreaded+system~taggedlayout+test+thread+timer~versionedlayout visibility=hidden +wave arch=linux-centos7-skylake_avx512
^bzip2@1.0.8%gcc@8.3.0+shared arch=linux-centos7-skylake_avx512
^diffutils@3.7%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libiconv@1.16%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^zlib@1.2.11%gcc@8.3.0+optimize+pic+shared arch=linux-centos7-skylake_avx512
^cgal@4.13%gcc@8.3.0 build_type=Release ~core~demos~imageio+shared arch=linux-centos7-skylake_avx512
^cmake@3.15.5%gcc@8.3.0~doc+ncurses+openssl+ownlibs patches=3387faf4a71efe81c0fa17410b270ca7d352081ac88d2322df3da9bb6a6a3f2d ~qt arch=linux-centos7-skylake_avx512
^ncurses@6.1%gcc@8.3.0~symlinks~termlib arch=linux-centos7-skylake_avx512
^pkgconf@1.6.3%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^openssl@1.1.1d%gcc@8.3.0+systemcerts arch=linux-centos7-skylake_avx512
^perl@5.30.0%gcc@8.3.0+cpanm+shared+threads arch=linux-centos7-skylake_avx512
^gdbm@1.18.1%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^readline@8.0%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^gmp@6.1.2%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^autoconf@2.69%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^m4@1.4.18%gcc@8.3.0 patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 +sigsegv arch=linux-centos7-skylake_avx512
^libsigsegv@2.12%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^automake@1.16.1%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libtool@2.4.6%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^mpfr@4.0.2%gcc@8.3.0 patches=f2d2a530acb5e70e1a9d5b80881dbb4a504d56535c4bc103d83e0bb630172029 arch=linux-centos7-skylake_avx512
^fftw@3.3.8%gcc@8.3.0~mpi+openmp~pfft_patches precision=double,float arch=linux-centos7-skylake_avx512
^flex@2.6.4%gcc@8.3.0+lex patches=09c22e5c6fef327d3e48eb23f0d610dcd3a35ab9207f12e0f875701c677978d3 arch=linux-centos7-skylake_avx512
^bison@3.4.2%gcc@8.3.0 patches=89aa362716d898edd0b5c6ae4208dc1b6992887774848a09e8021afd676f7d61 arch=linux-centos7-skylake_avx512
^help2man@1.47.11%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^gettext@0.20.1%gcc@8.3.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-centos7-skylake_avx512
^libxml2@2.9.9%gcc@8.3.0~python arch=linux-centos7-skylake_avx512
^xz@5.2.4%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^tar@1.32%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^findutils@4.6.0%gcc@8.3.0 patches=84b916c0bf8c51b7e7b28417692f0ad3e7030d1f3c248ba77c42ede5c1c5d11e,bd9e4e5cc280f9753ae14956c4e4aa17fe7a210f55dd6c84aa60b12d106d47a2 arch=linux-centos7-skylake_avx512
^texinfo@6.5%gcc@8.3.0 patches=12f6edb0c6b270b8c8dba2ce17998c580db01182d871ee32b7b6e4129bd1d23a,1732115f651cff98989cb0215d8f64da5e0f7911ebf0c13b064920f088f2ffe1 arch=linux-centos7-skylake_avx512
^openmpi@3.1.4%gcc@8.3.0~cuda+cxx_exceptions fabrics=libfabric ~java+legacylaunchers~memchecker+pmi schedulers=slurm ~sqlite3~thread_multiple+vt arch=linux-centos7-skylake_avx512
^hwloc@1.11.11%gcc@8.3.0~cairo~cuda~gl+libxml2~nvml+pci+shared arch=linux-centos7-skylake_avx512
^libpciaccess@0.13.5%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^util-macros@1.19.1%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^numactl@2.0.12%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libfabric@1.6.2%gcc@8.3.0 fabrics=sockets ~kdreg arch=linux-centos7-skylake_avx512
^slurm@17-11-9-13%gcc@8.3.0~gtk~hdf5~hwloc~mariadb~pmix+readline arch=linux-centos7-skylake_avx512
^paraview@5.7.0%gcc@8.3.0 build_type=RelWithDebInfo ~cuda cuda_arch=none ~examples~hdf5~mpi+opengl2~osmesa+plugins~python~python3~qt arch=linux-centos7-skylake_avx512
^expat@2.2.9%gcc@8.3.0+libbsd arch=linux-centos7-skylake_avx512
^libbsd@0.10.0%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^freetype@2.10.1%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libpng@1.6.37%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libjpeg-turbo@2.0.3%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^nasm@2.14.02%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libtiff@4.0.10%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libxt@1.1.5%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^kbproto@1.0.7%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libice@1.0.9%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^xproto@7.0.31%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^xtrans@1.3.5%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libsm@1.2.2%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libx11@1.6.7%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^inputproto@2.3.2%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libxcb@1.13%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libpthread-stubs@0.4%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libxau@1.0.8%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libxdmcp@1.1.2%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^xcb-proto@1.13%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^xextproto@7.3.0%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^mesa@18.3.6%gcc@8.3.0+glx+llvm+opengl~opengles+osmesa patches=55a5611ca9fcbe8324c4d68a07b338134954ff12c5b122dc78ff376f012a1414 swr=none arch=linux-centos7-skylake_avx512
^binutils@2.32%gcc@8.3.0+gold~headers~libiberty+nls~plugins arch=linux-centos7-skylake_avx512
^glproto@1.4.17%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^libxext@1.3.3%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^llvm@9.0.0%gcc@8.3.0~all_targets build_type=Release +clang+compiler-rt+gold+internal_unwind+libcxx~link_dylib+lld+lldb~omp_tsan+polly~python~shared_libs arch=linux-centos7-skylake_avx512
^libedit@3.1-20170329%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^perl-data-dumper@2.173%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^python@3.7.4%gcc@8.3.0+bz2+ctypes+dbm+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4~uuid+zlib arch=linux-centos7-skylake_avx512
^libffi@3.2.1%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^sqlite@3.30.1%gcc@8.3.0~column_metadata+fts~functions~rtree arch=linux-centos7-skylake_avx512
^swig@4.0.0%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^pcre@8.42%gcc@8.3.0~jit+multibyte+utf arch=linux-centos7-skylake_avx512
^py-mako@1.0.4%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^py-markupsafe@1.1.1%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^py-setuptools@41.4.0%gcc@8.3.0 arch=linux-centos7-skylake_avx512
^netcdf-c@4.7.2%gcc@8.3.0~dap~hdf4 maxdims=1024 maxvars=8192 ~mpi~parallel-netcdf patches=56532470875b9a97f3cf2a7d9ed16ef1612df3265ee38880c109428322ff3a40,f52db13c61b9c19aafe03c2a865163b540e9f6dee36e3a5f808f05fac59f2030 +pic+shared arch=linux-centos7-skylake_avx512
^hdf5@1.10.5%gcc@8.3.0~cxx~debug~fortran+hl~mpi+pic+shared~szip~threadsafe arch=linux-centos7-skylake_avx512
^parmgridgen@1.0%gcc@8.3.0~mpi arch=linux-centos7-skylake_avx512
^scotch@6.0.8%gcc@8.3.0+compression~esmumps~int64~metis+mpi+shared arch=linux-centos7-skylake_avx512
Additional Build log from Spack
log.linux64GccDPInt32RpathOpt
==> Executing phase: 'configure'
==> [2019-11-16-23:56:12.003471] FILTER FILE: etc/bashrc [replacing "^(\s*export\s+WM_COMPILER)=.*$"]
==> [2019-11-16-23:56:12.005659] FILTER FILE: etc/bashrc [replacing "^(\s*export\s+WM_LABEL_SIZE)=.*$"]
==> [2019-11-16-23:56:12.007492] FILTER FILE: etc/bashrc [replacing "^(\s*export\s+WM_PRECISION_OPTION)=.*$"]
==> [2019-11-16-23:56:12.009308] FILTER FILE: etc/bashrc [replacing "^(\s*export\s+WM_COMPILE_OPTION)=.*$"]
==> [2019-11-16-23:56:12.011085] FILTER FILE: etc/bashrc [replacing "^(\s*export\s+WM_MPLIB)=.*$"]
==> [2019-11-16-23:56:12.012897] FILTER FILE: etc/cshrc [replacing "^(\s*setenv\s+WM_COMPILER)\s+.*$"]
==> [2019-11-16-23:56:12.014207] FILTER FILE: etc/cshrc [replacing "^(\s*setenv\s+WM_LABEL_SIZE)\s+.*$"]
==> [2019-11-16-23:56:12.016016] FILTER FILE: etc/cshrc [replacing "^(\s*setenv\s+WM_PRECISION_OPTION)\s+.*$"]
==> [2019-11-16-23:56:12.017816] FILTER FILE: etc/cshrc [replacing "^(\s*setenv\s+WM_COMPILE_OPTION)\s+.*$"]
==> [2019-11-16-23:56:12.019707] FILTER FILE: etc/cshrc [replacing "^(\s*setenv\s+WM_MPLIB)\s+.*$"]
==> Executing phase: 'build'
==> [2019-11-16-23:56:12.254742] './spack-Allwmake' '-silent' '-j6'
No completion added for /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/platforms/linux64GccDPInt32RpathOpt/bin
Build openfoam with SPACK (-silent -j6)
WM_PROJECT_DIR = /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712
Compiling enabled on 6 cores
========================================
2019-11-16 23:56:12 +0800
Starting OpenFOAM-v1712
Gcc system compiler
linux64GccDPInt32RpathOpt, with USERMPI mpi-user
compile: dirToString.c
flex: wmkdep.l
built wmake-bin for linux64Gcc
No ThirdParty directory found - skipping
========================================
Compile OpenFOAM libraries
no git description found
ln: OpenFOAM/lnInclude
ln: OSspecific/POSIX/lnInclude
wmake dummy
wmake dummy
ln: ./lnInclude
wmkdep: UOPwrite.C
wmkdep: UIPread.C
wmkdep: UPstream.C
Ctoo: UPstream.C
Ctoo: UIPread.C
Ctoo: UOPwrite.C
ld: /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/platforms/linux64GccDPInt32RpathOpt/lib/dummy/libPstream.so
wclean mpi
wmake mpi
wmake mpi
ln: ./lnInclude
wmkdep: PstreamGlobals.C
wmkdep: UPstream.C
wmkdep: UIPread.C
wmkdep: UOPwrite.C
Ctoo: UOPwrite.C
Ctoo: UIPread.C
Ctoo: UPstream.C
Ctoo: PstreamGlobals.C
ld: /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/platforms/linux64GccDPInt32RpathOpt/lib/mpi-user/libPstream.so
found <sys/inotify.h> -- enabling inotify for file monitoring.
wmake libo (POSIX)
wmkdep: printStack.C
wmkdep: fileMonitor.C
wmkdep: memInfo.C
wmkdep: cpuInfo.C
wmkdep: clockTime.C
wmkdep: cpuTime.C
wmkdep: POSIX.C
wmkdep: fileStat.C
wmkdep: timer.C
wmkdep: regExp.C
wmkdep: sigWriteNow.C
wmkdep: sigStopAtWriteNow.C
wmkdep: sigQuit.C
wmkdep: sigInt.C
wmkdep: sigSegv.C
wmkdep: sigFpe.C
Ctoo: sigFpe.C
Ctoo: sigSegv.C
Ctoo: sigInt.C
Ctoo: sigQuit.C
Ctoo: sigStopAtWriteNow.C
Ctoo: sigWriteNow.C
Ctoo: regExp.C
Ctoo: timer.C
Ctoo: fileStat.C
Ctoo: POSIX.C
Ctoo: cpuTime.C
Ctoo: clockTime.C
Ctoo: cpuInfo.C
Ctoo: memInfo.C
Ctoo: fileMonitor.C
Ctoo: printStack.C
In file included from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/PackedList.H:644,
from fileMonitor.C:29:
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/PackedListI.H: In member function 'void Foam::PackedList<nBits>::const_iterator::operator=(const Foam::PackedList<nBits>::iteratorBase&)':
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/PackedListI.H:548:13: error: return-statement with a value, in function returning 'void' [-fpermissive]
return *this;
^~~~
In file included from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/token.H:46,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/UListIO.C:28,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/UList.C:396,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/UList.H:609,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/List.H:43,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/wordList.H:48,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/Enum.H:40,
from fileMonitor.H:46,
from fileMonitor.C:26:
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of 'To& Foam::dynamicCast(From&) [with To = Foam::token::Compound<Foam::List<unsigned int> >; From = Foam::token::compound]':
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/ListIO.C:60:13: required from 'Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List<T>&) [with T = unsigned int]'
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/combineGatherScatter.C:466:27: required from 'static void Foam::Pstream::listCombineScatter(const Foam::List<Foam::UPstream::commsStruct>&, Foam::List<T>&, int, Foam::label) [with T = unsigned int; Foam::label = int]'
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/combineGatherScatter.C:526:9: required from 'static void Foam::Pstream::listCombineScatter(Foam::List<T>&, int, Foam::label) [with T = unsigned int; Foam::label = int]'
fileMonitor.C:548:60: required from here
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/typeInfo.H:91:5: warning: catching polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]
catch (std::bad_cast)
^~~~~
make: *** [Make/linux64GccDPInt32RpathOpt/fileMonitor.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/token.H:46,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/Istream.H:47,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/ISstream.H:39,
from /tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/IOstreams.H:38,
from fileStat.C:27:
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/typeInfo.H: In instantiation of 'To& Foam::dynamicCast(From&) [with To = Foam::token::Compound<Foam::List<int> >; From = Foam::token::compound]':
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/FixedListIO.C:173:13: required from 'Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::FixedList<T, Size>&) [with T = int; unsigned int Size = 13]'
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/FixedListIO.C:152:15: required from 'Foam::FixedList<T, Size>::FixedList(Foam::Istream&) [with T = int; unsigned int Size = 13]'
fileStat.C:114:33: required from here
/tmp/rpm/spack-stage-openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/OpenFOAM-v1712/src/OpenFOAM/lnInclude/typeInfo.H:91:5: warning: catching polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]
catch (std::bad_cast)
^~~~~
==> Executing phase: 'install'
==> [2019-11-16-23:56:29.543477] Installing README.md to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz
==> [2019-11-16-23:56:29.547516] Installing BuildIssues.txt to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz
==> [2019-11-16-23:56:29.551776] Installing COPYING to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz
==> [2019-11-16-23:56:29.560944] Installing Allwmake to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz
==> [2019-11-16-23:56:29.565393] Installing README-spack to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz
==> [2019-11-16-23:56:29.569444] Installing etc to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/etc
==> [2019-11-16-23:56:31.175202] Installing bin to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/bin
==> [2019-11-16-23:56:31.503377] Installing wmake to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/wmake
==> [2019-11-16-23:56:32.491650] Installing applications to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/applications
==> [2019-11-16-23:56:48.796928] Installing src to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/src
==> [2019-11-16-23:57:25.498207] Installing tutorials to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/tutorials
==> [2019-11-16-23:57:50.891904] Installing platforms to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/platforms
==> [2019-11-16-23:57:50.916451] Installing doc to /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/doc
==> [2019-11-16-23:57:50.967751] FILTER FILE: /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/etc/bashrc [replacing "^(\s*export\s+WM_PROJECT_INST_DIR)=.*$"]
==> [2019-11-16-23:57:51.022378] FILTER FILE: /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/etc/bashrc [replacing "^(\s*export\s+WM_PROJECT_DIR)=.*$"]
==> [2019-11-16-23:57:51.044593] FILTER FILE: /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/etc/cshrc [replacing "^(\s*setenv\s+WM_PROJECT_INST_DIR)\s+.*$"]
==> [2019-11-16-23:57:51.124623] FILTER FILE: /lustre/opt/cascadelake/linux-centos7-skylake_avx512/gcc-8.3.0/openfoam-1712-rjas3rbioafhpmewgrzcqlpry2gxyzvz/etc/cshrc [replacing "^(\s*setenv\s+WM_PROJECT_DIR)\s+.*$"]
When building the OpenFOAM 1712 version, additional binaries and libraries should be produced and installed in
platforms/linux64GccDPInt32RpathOpt/binandplatforms/linux64GccDPInt32RpathOpt/lib. However, most binaries and libraries are missing when installing with Spack.Note: this issue does NOT occur when installing the new OpenFOAM@1906(
openfoam@1906~float32~int64~kahip~knl~metis+mgridgen+paraview+scotch+source~vtk~zoltan)We have users who need the old v17xx/v16xx OpenFOAM. I speculate that the installation method for older versions is somehow different from newer ones, and the
package.pyis tuned especially for newer versions? Unfortunately, I haven't pinpointed the problem yet.I will look further into this issue. Any suggestion is appreciated. Thank you!
Steps to reproduce the issue
OpenFOAM Installed with Spack:
$ spack install openfoam@1712+mgridgen+paraview %gcc@8.3.0 target=skylake_avx512 ^openmpi@3.1.4Checking contents inside
platforms:Click to expand!
OpenFOAM Manually Built from Source:
module load openmpi/3.1.4-gcc-4.8.5 gsl/2.5-gcc-8.3.0 boost/1.70.0-gcc-4.8.5 # load dependenciesThen follow the official build guide
(It seems whether
ThirdParty-v1712.tgzis used does not affect binaries / libraries insideplatforms)Checking contents inside
platforms:Click to expand!
Platform and user environment
Please report your OS here:
packages.yamlClick to expand!
compilers.yamlClick to expand!
Additional information
Spec info
Additional Build log from Spack
log.linux64GccDPInt32RpathOpt