CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] codeStream error: Failed wmake "dynamicCode/_..

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

Like Tree9Likes
  • 9 Post By chienfm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2016, 11:59
Question codeStream error: Failed wmake "dynamicCode/_..
  #1
New Member
 
David Kinast
Join Date: Nov 2016
Posts: 14
Rep Power: 8
david112 is on a distinguished road
Hi,

I want to run blockMesh on an server. I tried the same mesh with the same OpenFoam version (4.1) an the same distribtion (Ubuntu 16.04 LTS) on my local computer an it worked. Now on the server it does not.
I tried to check nearly every file. I cannot find any difference.
I testet some ideas from this forum but found no working solution and now I hope for your help.
Thats what my blockMesh log file says:

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 4.1-1e03d68d4f4e
Exec   : blockMesh
Date   : Dec 07 2016
Time   : 14:51:46
Host   : "ip-172-31-13-78"
PID    : 1725
Case   : /home/ubuntu/Simulationen/kklOmegaSymmetry
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
    "/home/ubuntu/Simulationen/kklOmegaSymmetry/system/blockMeshDict"
Using #calcEntry at line 25 in file "/home/ubuntu/Simulationen/kklOmegaSymmetry/system/blockMeshDict"
Using #codeStream with "/home/ubuntu/Simulationen/kklOmegaSymmetry/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodeStream_c7a725dacc55f2ad268ffdbc83a569d9a0f9ba99.so"
Invoking "wmake -s libso /home/ubuntu/Simulationen/kklOmegaSymmetry/dynamicCode/_c7a725dacc55f2ad268ffdbc83a569d9a0f9ba99"
/opt/openfoam4/wmake/wmake: 346: /opt/openfoam4/wmake/wmake: make: not found
/opt/openfoam4/wmake/wmake: 349: /opt/openfoam4/wmake/wmake: make: not found
wmake error: file 'Make/linux64GccDPInt32Opt/sourceFiles' could not be created in /home/ubuntu/Simulationen/kklOmegaSymmetry/dynamicCode/_c7a725dacc55f2ad268ffdbc83a569d9a0f9ba99


--> FOAM FATAL IO ERROR: 
Failed wmake "dynamicCode/_c7a725dacc55f2ad268ffdbc83a569d9a0f9ba99/platforms/linux64GccDPInt32Opt/lib/libcodeStream_c7a725dacc55f2ad268ffdbc83a569d9a0f9ba99.so"


file: /home/ubuntu/Simulationen/kklOmegaSymmetry/system/blockMeshDict from line 19 to line 24.

    From function static void (* Foam::functionEntries::codeStream::getFunction(const Foam::dictionary&, const Foam::dictionary&))(Foam::Ostream&, const Foam::dictionary&)
    in file db/dictionary/functionEntries/codeStream/codeStream.C at line 175.

FOAM exiting
If theres further information needed to solve this problem, please let me know.
david
david112 is offline   Reply With Quote

Old   February 27, 2017, 06:45
Default
  #2
New Member
 
Ngo Bao Chung
Join Date: Sep 2012
Posts: 14
Rep Power: 12
chienfm is on a distinguished road
Hi David,

It's a little bit late but the error appears since make is not installed in your system or the path has a problem. Installing make may solve this trouble.

In Ubuntu, you may use:
Quote:
sudo apt-get remove make
sudo apt-get install make

or:

sudo apt-get install --reinstall make
Hope it also helps someone get the same trouble.
chienfm is offline   Reply With Quote

Old   April 1, 2017, 18:45
Default
  #3
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 14
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by chienfm View Post
Hi David,

It's a little bit late but the error appears since make is not installed in your system or the path has a problem. Installing make may solve this trouble.

In Ubuntu, you may use:


Hope it also helps someone get the same trouble.
Didn't expect that to solve my problem! I had this problem compiling swak4Foam.

Thank Ngo.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   May 3, 2017, 08:37
Default
  #4
New Member
 
David Kinast
Join Date: Nov 2016
Posts: 14
Rep Power: 8
david112 is on a distinguished road
Quote:
Originally Posted by chienfm View Post
Hi David,

It's a little bit late but the error appears since make is not installed in your system or the path has a problem. Installing make may solve this trouble.

In Ubuntu, you may use:


Hope it also helps someone get the same trouble.
Thanks!

I can't remenber, but I think thats what helped in my case.
david112 is offline   Reply With Quote

Old   December 14, 2017, 21:48
Default
  #5
Member
 
Rui
Join Date: Apr 2015
Location: Montreal. CA
Posts: 44
Rep Power: 9
roi247 is on a distinguished road
thank you Chienfm ....it is working for me too
roi247 is offline   Reply With Quote

Old   November 17, 2020, 03:29
Default
  #6
Member
 
Join Date: Sep 2014
Posts: 30
Rep Power: 10
Stanley90 is on a distinguished road
Quote:
Originally Posted by chienfm View Post
Hi David,

It's a little bit late but the error appears since make is not installed in your system or the path has a problem. Installing make may solve this trouble.

In Ubuntu, you may use:


Hope it also helps someone get the same trouble.
Thanks chienfm, it works for me too!
Stanley90 is offline   Reply With Quote

Old   September 22, 2022, 12:40
Default Reinstalling make didn't work
  #7
New Member
 
Ignacio Z
Join Date: Mar 2022
Posts: 6
Rep Power: 2
NachoZ is on a distinguished road
I tried reinstalling make as suggested by @chienfm and my OpenFoam was deleted. I do not know why that happenend but now I have to reinstall everything as it was including extra solvers and platforms I had installed. I am not sure if it will solve the problem once it is reinstalled, but I doubt it. Careful when using these instructions for yourselves.
NachoZ is offline   Reply With Quote

Reply

Tags
blockmesh, codestream, 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
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 02:36
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 22:45
[OpenFOAM] ParaFoam error message joey ParaView 1 October 2, 2006 14:28


All times are GMT -4. The time now is 17:51.