DFSR icon indicating copy to clipboard operation
DFSR copied to clipboard

compile error

Open chen112p opened this issue 3 years ago • 1 comments

Hey when I following your instruction, everything is fine until the last step calling Allwmake. It says immintrin.h couldnt be found. Wondering if thats the cause.

wmakeLnInclude: linking include files to ./lnInclude
wmakeLnInclude: linking include files to ./lnInclude
could not open file immintrin.h for source file DFSRTurb.C due to No such file or directory
In file included from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/Tensor.H:240,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/SymmTensorI.H:27,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/SymmTensor.H:155,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/symmTensor.H:38,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/fieldTypes.H:37,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/flipOp.H:40,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/mapDistributeBaseTemplates.C:29,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/mapDistributeBase.H:488,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/Field.C:30,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/Field.H:339,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/scalarField.H:38,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/dimensionSet.H:46,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/dimensionedType.H:40,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/dimensionedScalar.H:38,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/TimeState.H:38,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/Time.H:47,
                 from /shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/finiteVolume/lnInclude/fvCFD.H:6,
                 from DFSRTurb.C:47:
/shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/TensorI.H: In member function \u2018Foam::Vector<Cmpt> Foam::Tensor<Cmpt>::vectorComponent(Foam::direction) const [with Cmpt = double]\u2019:
/shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/src/OpenFOAM/lnInclude/TensorI.H:327:1: warning: control reaches end of non-void function [-Wreturn-type]
  327 | }
      | ^
/usr/bin/ld.bfd: cannot find -lwindProfile
/usr/bin/ld.bfd: cannot find -lextrudedPatch
collect2: error: ld returned 1 exit status
make: *** [/shared/home/Apps/OpenFOAM-ORG/OpenFOAM-8/wmake/makefiles/general:142: /shared/home/JRCC/OpenFOAM/JRCC-8/platforms/linux64GccDPInt32Opt/bin/DFSRTurb] Error 1

chen112p avatar Apr 28 '22 19:04 chen112p

Same error, did you solved it?

scramjetFoam avatar Oct 01 '22 11:10 scramjetFoam