CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] codeStream error: Failed wmake "dynamicCode/_.. (https://www.cfd-online.com/Forums/openfoam-meshing/181117-codestream-error-failed-wmake-dynamiccode-_.html)

david112 December 7, 2016 10:59

codeStream error: Failed wmake "dynamicCode/_..
 
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. :confused:
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

chienfm February 27, 2017 05:45

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.

Mojtaba.a April 1, 2017 17:45

Quote:

Originally Posted by chienfm (Post 638685)
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.

david112 May 3, 2017 07:37

Quote:

Originally Posted by chienfm (Post 638685)
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. :)

roi247 December 14, 2017 20:48

thank you Chienfm ....it is working for me too

Stanley90 November 17, 2020 02:29

Quote:

Originally Posted by chienfm (Post 638685)
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!

NachoZ September 22, 2022 11:40

Reinstalling make didn't work
 
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.


All times are GMT -4. The time now is 19:29.