CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error: wmake, no such file or directory. (https://www.cfd-online.com/Forums/openfoam-solving/235885-error-wmake-no-such-file-directory.html)

xgryn May 3, 2021 21:26

Error: wmake, no such file or directory.
 
Greeting everyone, I'm a kinda new user of OpenFOAM and I need to compile a new solver a teacher gave me, but the thing is that whenever I try to do it using wmake iI get the error "no such file or directory" but when I search for the file manually it is there.

Quote:

In file included from lnInclude/KinematicParcel.H:692:0,
from parcels/derived/basicKinematicParcel/basicKinematicParcel.H:43,
from parcels/derived/basicKinematicParcel/defineBasicKinematicParcel.C:28:
lnInclude/KinematicParcel.C:28:31: fatal error: IntegrationScheme.H: No such file or directory
#include "IntegrationScheme.H"
^
compilation terminated.
make[2]: *** [/opt/OpenFOAM/OpenFOAM-v2012/wmake/rules/General/transform:35: Make/linux64Gcc63DPInt32Opt/parcels/derived/basicKinematicParcel/defineBasicKinematicParcel.o] Error 1
make[2]: Leaving directory '/home/admn/Solver/interLPTFoam/lagrangian/intermediate'
make[1]: *** [/opt/OpenFOAM/OpenFOAM-v2012/wmake/makefiles/apps:29: intermediate] Error 2
make[1]: Leaving directory '/home/admn/Solver/interLPTFoam/lagrangian'
make: *** [/opt/OpenFOAM/OpenFOAM-v2012/wmake/makefiles/apps:29: lagrangian] Error 2
I really need to fix this as soon as possible. Any help would be really appreciated.
PD: I'm using OpenFOAM 20.12.

olesen May 4, 2021 02:09

Looks like you installed from sources, but dont have anything compiled - otherwise you would have the include files properly linked etc.

The fastest is probably for you to get a precompiled setup:
https://develop.openfoam.com/Develop...is/precompiled
https://develop.openfoam.com/Develop...ompiled/debian

Make sure to install the -dev (Debian, Ubuntu) or -devel (suse, Redhat) package. This should be everything you need.

xgryn May 4, 2021 20:49

Thanks for the reply, I tried doing that but I'm still getting the same error.
Do you have any other advice? Maybe I did something wrong, but I'm not sure


All times are GMT -4. The time now is 09:45.