CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error: wmake, no such file or directory.

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2021, 21:26
Post Error: wmake, no such file or directory.
New Member
Join Date: Apr 2021
Posts: 2
Rep Power: 0
xgryn is on a distinguished road
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.

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.
xgryn is offline   Reply With Quote

Old   May 4, 2021, 02:09
Senior Member
Mark Olesen
Join Date: Mar 2009
Posts: 1,525
Rep Power: 36
olesen will become famous soon enougholesen will become famous soon enough
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:

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

Old   May 4, 2021, 20:49
New Member
Join Date: Apr 2021
Posts: 2
Rep Power: 0
xgryn is on a distinguished road
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
xgryn is offline   Reply With Quote


compile, no such file or directory, openfoam, solver compilation error, wmake

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 35 April 29, 2022 15:35
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
[] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09:50

All times are GMT -4. The time now is 04:59.