|
[Sponsors] |
[swak4Foam] compiling funkySetFields/wmake error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 5, 2011, 05:55 |
compiling funkySetFields/wmake error
|
#1 |
New Member
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Hi everybody! I'm a very basic user of linux and i'm experiencing big problems with funkySetFields installation.
I downloaded the tar.gz file and decompressed it into the preProcessing directory. I have versione 1.7 and open foam is installed in /opt directory. I tryed to do ,/Allwmake to compile funkySetFields but i have this error: wmake not found i tried to go back to the main openfoam directory and i did ./Allwmake there to compile the wmake command but i find this error Error: Current directory in not $WM_PROJECT_DIR The environment variable are not consistent with the installation i tried echo WM_PROJECT_DIR and i found out that actually i was in the project_dir. can anyone help me please? how can i compile the funkySetFields command? i'm pretty sure the installation of the software is ok, also because i tried this on caelinux 2010 where openfoam is already installed. |
|
July 5, 2011, 14:47 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
./Allwmake in the OF-directory doesn't help I guess that all your installations are from binary. Maybe there is a corresponding -dev package that brings wmake Also check $WM_PROJECT_DIR/wmake for a file wmake (that is the one you're looking for). If it is there then probably $WM_PROJECT_DIR/wmake is not on your PATH (which it should be) |
||
July 6, 2011, 10:57 |
|
#3 |
New Member
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Thanks a lot for the answer.
I tried which make and it finds wmake in the $WM_PROJECT_DIR/wmake folder ($WM_PROJECT_DIR in my case is /opt/openfoam170). so the command is there but when i compile funkysetfields it is not found. i tried with ./Allwmake without sudo in the FunkySetFields directory and found + wmake funkySetFields mkdir: cannot create directory `linux64GccDPOpt': Permission denied /bin/sh: linux64GccDPOpt/options: No such file or directory make: *** [linux64GccDPOpt/options] Error 1 /opt/openfoam170/wmake/MakefileFiles:39: linux64GccDPOpt/options: No such file or directory make: *** No rule to make target `linux64GccDPOpt/options'. Stop. wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created if i put sudo before, I get: + wmake funkySetFields ./Allwmake: line 4: wmake: command not found i have never compiled anything before with open foam so i never used wmake. i guess the wmake comand is not in my path as you said. how can i check it and change it in case? i'm a very very basic user and i'm getting a little bit desperate. thanks |
|
July 6, 2011, 17:08 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
a) you are not allowed to write the FSF-folder b) root knows nothing about OpenFOAM Solution: extract the FSF-sources AS YOURSELF (anywhere. They don't have to be in the OF-installation). Then wmake it. The binary goes to $FOAM_APPBIN (which is in your PATH) |
||
July 6, 2011, 17:50 |
|
#5 |
New Member
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Thanks a lot
it is almost working now but i still get an error: everything goes fine till here where i get this error with ValueExpressionDriver.C and then everythings stops from ValueExpressionDriver.C:3: position.hh: In function ‘bool ve:perator==(const ve:osition&, const ve:osition&)’: position.hh:136: warning: suggest parentheses around ‘&&’ within ‘||’ ValueExpressionDriver.C: In member function ‘Foam::surfaceScalarField* ValueExpressionDriver::makeAreaField()’: ValueExpressionDriver.C:462: error: call of overloaded ‘GeometricField(Foam::IOobject, const Foam::fvMesh&, int)’ is ambiguous /opt/openfoam171/src/OpenFOAM/lnInclude/GeometricField.C:420: note: candidates are: Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const typename GeoMesh::Mesh&, const Foam::dictionary&) [with Type = double, PatchField = Foam::fvsPatchField, GeoMesh = Foam::surfaceMesh] /opt/openfoam171/src/OpenFOAM/lnInclude/GeometricField.C:256: note: Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const typename GeoMesh::Mesh&, const Foam::dimensioned<Type>&, const Foam::word&) [with Type = double, PatchField = Foam::fvsPatchField, GeoMesh = Foam::surfaceMesh] ValueExpressionDriver.C: In member function ‘Foam::volScalarField* ValueExpressionDriver::makeVolumeField()’: ValueExpressionDriver.C:482: error: call of overloaded ‘GeometricField(Foam::IOobject, const Foam::fvMesh&, int)’ is ambiguous /opt/openfoam171/src/OpenFOAM/lnInclude/GeometricField.C:420: note: candidates are: Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const typename GeoMesh::Mesh&, const Foam::dictionary&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh] /opt/openfoam171/src/OpenFOAM/lnInclude/GeometricField.C:256: note: Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const typename GeoMesh::Mesh&, const Foam::dimensioned<Type>&, const Foam::word&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh] ValueExpressionDriver.C: In member function ‘Foam::volScalarField* ValueExpressionDriver::makeDistanceField()’: ValueExpressionDriver.C:506: error: call of overloaded ‘GeometricField(Foam::IOobject, const Foam::fvMesh&, int)’ is ambiguous /opt/openfoam171/src/OpenFOAM/lnInclude/GeometricField.C:420: note: candidates are: Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const typename GeoMesh::Mesh&, const Foam::dictionary&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh] /opt/openfoam171/src/OpenFOAM/lnInclude/GeometricField.C:256: note: Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const typename GeoMesh::Mesh&, const Foam::dimensioned<Type>&, const Foam::word&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh] ValueExpressionDriver.C: In member function ‘Foam::volScalarField* ValueExpressionDriver::makeRDistanceField(const Foam::volVectorField&)’: ValueExpressionDriver.C:529: error: call of overloaded ‘GeometricField(Foam::IOobject, const Foam::fvMesh&, int)’ is ambiguous /opt/openfoam171/src/OpenFOAM/lnInclude/GeometricField.C:420: note: candidates are: Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const typename GeoMesh::Mesh&, const Foam::dictionary&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh] /opt/openfoam171/src/OpenFOAM/lnInclude/GeometricField.C:256: note: Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const typename GeoMesh::Mesh&, const Foam::dimensioned<Type>&, const Foam::word&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh] make: *** [Make/linuxGccDPOpt/ValueExpressionDriver.o] Errore 1 i don't even understand if the last error is somehow connected with the previous ones. any other hint? thank you a lot Last edited by isa_; July 7, 2011 at 16:10. |
|
July 7, 2011, 16:13 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
July 7, 2011, 16:41 |
|
#7 |
New Member
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Thanks a lot
now it works fine. thanks for your patience. but actually i didn't use the "ancient history" but i downloaded the .tar.gz from the link directly below the svn one in the Download section, probably that link is not updated. thanks again |
|
July 8, 2011, 05:26 |
|
#8 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Seems like that link pointed to the 1.5 version. That is now fixed
|
|
Tags |
funkysetfields, wmake error |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
UDF for DPM particle deposition modelingpa | haghshenasfard | Fluent UDF and Scheme Programming | 10 | September 15, 2019 03:03 |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 10:40 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |