CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

loading issue libraries:libsimpleFunctionObjects.so libsimpleSwakFunctionObjects.so

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

Like Tree4Likes
  • 1 Post By ssss
  • 1 Post By wyldckat
  • 1 Post By wyldckat
  • 1 Post By immortality

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2015, 05:30
Default loading issue libraries:libsimpleFunctionObjects.so libsimpleSwakFunctionObjects.so
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
when I use the command decomposePar this Warning occurs on loading of two libraries:
Code:
Create time

--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleFunctionObjects.so"
--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleSwakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleSwakFunctionObjects.so"


Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.01 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes
--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleFunctionObjects.so"
--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleSwakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleSwakFunctionObjects.so"

Processor 0
    Number of cells = 9450
    Number of faces shared with processor 1 = 54
    Number of processor patches = 1
    Number of processor faces = 54
    Number of boundary faces = 19304
--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleFunctionObjects.so"
--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleSwakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleSwakFunctionObjects.so"
although I have added them in controlDict:
Code:
libs (
"libOpenFOAM.so"
"libgroovyBC.so"
"libsimpleFunctionObjects.so"
"libsimpleSwakFunctionObjects.so"
"libswakFunctionObjects.so"
"libfieldFunctionObjects.so"
"libswakThermoTurbFunctionPlugin.so"
);
what can do to not having this warning?
thanks so much.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 10, 2015, 05:36
Default
  #2
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13
ssss is on a distinguished road
Did you install swak4foam? Are all these libraries located in your $FOAM_USER_LIBBIN or $FOAM_LIBBIN directories?
Sun Haowen likes this.
ssss is offline   Reply With Quote

Old   August 10, 2015, 06:49
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
thanks for reply.
yes swak4Foam seems to has installed properly:
Code:
ehsan@ehsan-N56JK:~/OpenFoam_Cases/kOmegaSST-WR$ funkySetFields
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.4.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.4.0-dcea1e13ff76
Exec   : funkySetFields
Date   : Aug 10 2015
Time   : 15:16:13
Host   : "ehsan-N56JK"
PID    : 6950
Case   : /home/ehsan/OpenFoam_Cases/kOmegaSST-WR
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
swakVersion: 0.3.2 (Release date: 2015-05-31)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


--> FOAM FATAL ERROR: 
funkySetFields: time/latestTime option is required


    From function main()
    in file funkySetFields.C at line 723.

FOAM exiting
but no, the libraries aren't in those folders. what should I do now? copy them from somewhere to the folders or reinstalling swak4Foam?
thanks a lot.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 10, 2015, 08:32
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Ehsan: Having funkySetFields working is not a guaranteed that the libraries were built.

Go back to the source code folder for "swak4Foam" and run:
Code:
./Allwmake > log.make 2>&1
Since it's the second or third time you're running Allwmake, it should now give you a summary of everything that has been built.
Check the content of the new file "log.make" with a text editor. It should tell you something like this:
Code:
Previously compiled for OpenFOAM 2.4.0
No file 'swakConfiguration'. Python etc won't work. See README for details
Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems
Checking swak4Foam-version and generating file
abort: no repository found in '/home/ofuser/OpenFOAM/ofuser-2.4.0/swak4Foam' (.hg not found)!
Swak version is 0.3.2
Bison is version 2.5
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 4 Patch 0 (-1 == x / 0)
No change to swak4FoamParsers/foamVersion4swak.H
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date.
Compiling swakFvOptions
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakFvOptions.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date.

SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it

'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakMeshWaveFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date.
'/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/lib/libswakCoalCloudAdaptor.so' is up to date.

If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it


SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled

make[1]: `/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/bin/funkyDoCalc' is up to date.
make[1]: `/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/bin/funkySetBoundaryField' is up to date.
make[1]: `/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/bin/funkySetFields' is up to date.
make[1]: `/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/bin/funkySetLagrangianField' is up to date.
make[1]: `/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date.
make[1]: `/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/bin/fieldReport' is up to date.
make[1]: `/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date.
make[1]: `/home/ofuser/OpenFOAM/ofuser-2.4.0/platforms/linux64GccDPOpt/bin/funkyWarpMesh' is up to date.


If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/ofuser/OpenFOAM/ofuser-2.4.0/swak4Foam/Libraries (most people will be fine without setting that variable)
It you have something substantially different from this output, then it's probable that something went wrong.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 10, 2015, 10:43
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
thanks. I had a folder of swak4Foam on desktop folder that its log said that some needed files didn't exist and it had a error. but another folder of swak4Foam seems ok and I wcleaned and wmaked it again and the output seems correct as this:
Code:
Previously compiled for OpenFOAM 2.4.0

/home/ehsan/swak4Foam_2.x/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

No file 'swakConfiguration'. Python etc won't work. See README for details
Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems
Checking swak4Foam-version and generating file
Swak version is 0.3.2
Bison is version 2.7.12-4996
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 4 Patch 0 (-1 == x / 0)
No change to swak4FoamParsers/foamVersion4swak.H
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date.
Making dependency list for source file misc/listMeshData/listMeshDataFunctionObject.C
/home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: 50: /home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: cannot create misc/listMeshData/listMeshDataFunctionObject.dep: Permission denied
/home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: 55: /home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: cannot create misc/listMeshData/listMeshDataFunctionObject.dep: Permission denied
/home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: 59: /home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: cannot create misc/listMeshData/listMeshDataFunctionObject.dep: Permission denied
/home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: 60: /home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: cannot create misc/listMeshData/listMeshDataFunctionObject.dep: Permission denied
/home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: 61: /home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: cannot create misc/listMeshData/listMeshDataFunctionObject.dep: Permission denied
/home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: 62: /home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/scripts/addCompile: cannot create misc/listMeshData/listMeshDataFunctionObject.dep: Permission denied
make: *** [misc/listMeshData/listMeshDataFunctionObject.dep] Error 2
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
/usr/bin/ld: cannot find -lsimpleFunctionObjects
collect2: error: ld returned 1 exit status
make: *** [/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so] Error 1
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date.
Compiling swakFvOptions
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakFvOptions.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date.

SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it

'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
mkdir: cannot create directory ‘linux64GccDPOpt’: Permission denied
/bin/sh: 1: cannot create linux64GccDPOpt/options: Directory nonexistent
make: *** [linux64GccDPOpt/options] Error 2
/home/ehsan/OpenFOAM/OpenFOAM-2.4.0/wmake/MakefileFiles:40: 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 in /home/ehsan/swak4Foam_2.x/Libraries/functionPlugins/swakMeshWaveFunctionPlugin
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date.
'/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib/libswakCoalCloudAdaptor.so' is up to date.

If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it

make[1]: Entering directory `/home/ehsan/swak4Foam_2.x/Utilities/calcNonUniformOffsetsForMapped'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date.
make[1]: Leaving directory `/home/ehsan/swak4Foam_2.x/Utilities/calcNonUniformOffsetsForMapped'
make[1]: Entering directory `/home/ehsan/swak4Foam_2.x/Utilities/fieldReport'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/bin/fieldReport' is up to date.
make[1]: Leaving directory `/home/ehsan/swak4Foam_2.x/Utilities/fieldReport'
make[1]: Entering directory `/home/ehsan/swak4Foam_2.x/Utilities/funkyDoCalc'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/bin/funkyDoCalc' is up to date.
make[1]: Leaving directory `/home/ehsan/swak4Foam_2.x/Utilities/funkyDoCalc'

SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled

make[1]: Entering directory `/home/ehsan/swak4Foam_2.x/Utilities/funkySetBoundaryField'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/bin/funkySetBoundaryField' is up to date.
make[1]: Leaving directory `/home/ehsan/swak4Foam_2.x/Utilities/funkySetBoundaryField'
make[1]: Entering directory `/home/ehsan/swak4Foam_2.x/Utilities/funkySetFields'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/bin/funkySetFields' is up to date.
make[1]: Leaving directory `/home/ehsan/swak4Foam_2.x/Utilities/funkySetFields'
make[1]: Entering directory `/home/ehsan/swak4Foam_2.x/Utilities/funkySetLagrangianField'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/bin/funkySetLagrangianField' is up to date.
make[1]: Leaving directory `/home/ehsan/swak4Foam_2.x/Utilities/funkySetLagrangianField'
make[1]: Entering directory `/home/ehsan/swak4Foam_2.x/Utilities/funkyWarpMesh'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/bin/funkyWarpMesh' is up to date.
make[1]: Leaving directory `/home/ehsan/swak4Foam_2.x/Utilities/funkyWarpMesh'
make[1]: Entering directory `/home/ehsan/swak4Foam_2.x/Utilities/replayTransientBC'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date.
make[1]: Leaving directory `/home/ehsan/swak4Foam_2.x/Utilities/replayTransientBC'


If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/ehsan/swak4Foam_2.x/Libraries (most people will be fine without setting that variable)
but yet the folders aren't there in the
Code:
/home/ehsan/OpenFOAM/ehsan-2.4.0/platforms/linux64GccDPOpt/lib
.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 10, 2015, 10:58
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Either you're running out of disk space, of the permissions for the folders are wrong. For fixing the permissions, run:
Code:
chown -R $USER:$USER /home/ehsan/swak4Foam_2.x
chown -R $USER:$USER /home/$USER/OpenFOAM/$USER-2.4.0
Then try running Allwmake once again.

If you're having problems with disk space and since you built OpenFOAM 2.4.0 from source code, you can remove some of the files that aren't needed, namely the sub-folder "ThirdParty-2.4.0/build":
Code:
foam3rdParty
rm -r build
KateBradbrook likes this.
wyldckat is offline   Reply With Quote

Old   August 10, 2015, 13:37
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
dear Bruno it seems the first command can't be done. I think permissions be wrong too because I used a folder I have from previous installation because some problems in download a new one. and ther is now disc space shortage. the Linux drive has 200 GB space.
its the message after run the first command:
Code:
atingSplash/constant/polyMesh/boundary’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/groovyBC/circulatingSplash/system/fvSolution’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/groovyBC/wobbler/constant/polyMesh/boundary’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/0/U’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/0/epsilon’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/0/k’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/0/p’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/0/nut’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/0/nuTilda’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/0’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/constant/transportProperties’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/constant/polyMesh/blockMeshDict’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/constant/polyMesh’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/constant/RASProperties’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/constant’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/system/fvSolution’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/system/fvSchemes’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/system/controlDict’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched/system’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes/pitzDailyTimeSwitched’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Examples/manipulateFvSolutionFvSchemes’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/releaseTesting/initScriptUbuntu.sh’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/releaseTesting/initScriptCentOS.sh’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/releaseTesting/Vagrantfile’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Documentation/swak4FoamReference.org’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/.hgsigs’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/.hgtags’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/README.md’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/debian/changelog.template’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/debian/rules.template’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/swakConfiguration.automatic’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/maintainanceScripts/makeSwakVersionFile.py’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/maintainanceScripts/make-releases.sh’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/maintainanceScripts/makeCopyrightEntries.py’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/maintainanceScripts/injectIntoDistro.py’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Utilities/funkySetFields/funkySetFields.C’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Utilities/funkyPythonPostproc/funkyPythonPostproc.C’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Utilities/funkySetLagrangianField/funkySetLagrangianField.C’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Utilities/funkyDoCalc/funkyDoCalc.C’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Utilities/funkySetBoundaryField/funkySetBoundaryField.C’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Utilities/funkyWarpMesh/funkyWarpMesh.C’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/Utilities/funkySetAreaFields/funkySetAreaFields.C’: Operation not permitted
chown: changing ownership of ‘/home/ehsan/swak4Foam_2.x/README’: Operation not permitted
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 10, 2015, 14:02
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Arg... I forgot sudo:
Code:
sudo chown -R $USER:$USER /home/ehsan/swak4Foam_2.x
sudo chown -R $USER:$USER /home/$USER/OpenFOAM/$USER-2.4.0
KateBradbrook likes this.
wyldckat is offline   Reply With Quote

Old   August 10, 2015, 14:30
Default
  #9
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
thank you ;-) I used sudo before the first and compiled it sooner you say it :-D
and both libraries are created in the folder.
KateBradbrook likes this.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   February 25, 2016, 20:50
Default
  #10
New Member
 
Colombia
Join Date: Jul 2013
Posts: 4
Rep Power: 13
maem93 is on a distinguished road
Hi Guys,

I have the same problem with the same libraries and I tried the CHOWN commands but I am not sure if there was any change. Can you help me?

Thank You.
maem93 is offline   Reply With Quote

Old   March 6, 2016, 09:59
Default
  #11
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:
Quote:
Originally Posted by maem93 View Post
I have the same problem with the same libraries and I tried the CHOWN commands but I am not sure if there was any change. Can you help me?
If you can provide more details about the steps you've taken, then yes.
If you don't provide more details, then I'm not able to accurately guess what happened.
__________________
wyldckat is offline   Reply With Quote

Old   September 4, 2019, 12:22
Default
  #12
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10
dewey is on a distinguished road
Hello Bruno,





I have a similar problem, could you help me?


when I try to run mi case in fe40, I got this:


Create time

--> FOAM Warning :
From function dlLibraryTable:pen(const fileName& functionLibName)
in file db/dlLibraryTable/dlLibraryTable.C at line 124
could not load libgroovyBC.so: cannot open shared object file: No such file or directory
Create mesh for time = 0



And when I check mi log.make I got this:


Current OpenFOAM version is 4.0.
Previously compiled for OpenFOAM (4.0)

/home/mapache/foam/mapache-4.0/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

No file 'swakConfiguration'. Python etc won't work. See README for details
Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems
Checking swak4Foam-version and generating file
Swak version is 0.4.2
hg info: f71cfc465c71
Bison: /home/mapache/foam/mapache-4.0/swak4Foam/privateRequirements/bin/bison
Flex: /usr/bin/flex
Bison is version 3.0.4
Flex is version 2.6.4 (Minor version: 4)
OpenFOAM-version: Major 4 Minor 0 Patch 0 (-1 == x / 0) Fork: extend
No change to swak4FoamParsers/foamVersion4swak.H

Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem


'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswak4FoamParsers.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLagrangianParser.so' is up to date.
SOURCE=groovyBCFvPatchFields.C ; g++-5 -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -IMake/linux64GccDPOpt -DFOAM_DEV -I/home/mapache/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/mapache/foam/foam-extend-4.0/src/surfMesh/lnInclude -I/home/mapache/foam/foam-extend-4.0/src/sampling/lnInclude -I/home/mapache/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/mapache/foam/foam-extend-4.0/src/immersedBoundary/immersedBoundary/lnInclude -I../swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/mapache/foam/foam-extend-4.0/src/foam/lnInclude -I/home/mapache/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/groovyBCFvPatchFields.o
In file included from groovyBCFvPatchFields.H:35:0,
from groovyBCFvPatchFields.C:34:
groovyBCFvPatchField.H:144:27: error: ‘>>’ should be ‘> >’ within a nested template argument list
virtual tmp<Field<Type>> patchNeighbourField() const;
^
In file included from groovyBCFvPatchField.H:166:0,
from groovyBCFvPatchFields.H:35,
from groovyBCFvPatchFields.C:34:
groovyBCFvPatchField.C:223:15: error: ‘>>’ should be ‘> >’ within a nested template argument list
tmp<Field<Type>> groovyBCFvPatchField<Type>:atchNeighbourField() const
^
groovyBCFvPatchFields.dep:694: recipe for target 'Make/linux64GccDPOpt/groovyBCFvPatchFields.o' failed
make: *** [Make/linux64GccDPOpt/groovyBCFvPatchFields.o] Error 1
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleSearchableSurfaces.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleSwakFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakTopoSources.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakDynamicMesh.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakSourceFields.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFiniteArea.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakStateMachine.so' is up to date.
/usr/bin/ld: no se puede encontrar -lgroovyBC
collect2: error: ld returned 1 exit status
/home/mapache/foam/foam-extend-4.0/wmake/Makefile:186: recipe for target '/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libgroovyStandardBCs.so' failed
make: *** [/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libgroovyStandardBCs.so] Error 1
No file 'swakConfiguration' in the top directory of the swak-sources. Language integrations probably won't work

'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakGeneralLanguageIntegration.so' is up to date.

SWAK_PYTHON2_INCLUDE not defined .... no Python2-Integration. Most people are fine without it


SWAK_PYTHON3_INCLUDE not defined .... no Python3-Integration. Most people are fine without it


SWAK_LUA_LINK not defined .... no Lua-Integration. Most people are fine without it

'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakScriptableLagrangian.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakDynamicMeshFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMeshQualityFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMeshWaveFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMRFFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakQuantileFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakRandomFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakShiftFieldFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakTransportTurbFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakVelocityFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFacSchemesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakCoalCloudAdaptor.so' is up to date.

If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it


SWAK_PYTHON2_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled

make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/calcNonUniformOffsetsForMapped' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/fieldReport' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkyDoCalc' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetAreaFields' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetBoundaryField' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetLagrangianField' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetFields' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkyWarpMesh' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/replayTransientBC' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/writeBoundarySubfields' está actualizado.


If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/mapache/foam/mapache-4.0/swak4Foam/Libraries (most people will be fine without setting that variable)
dewey is offline   Reply With Quote

Old   February 4, 2021, 04:23
Unhappy Warning while decomposing
  #13
New Member
 
sujata
Join Date: Dec 2019
Posts: 10
Rep Power: 6
sujata is on a distinguished road
Dear All,
I am new to OpenFOAM. I run my simulations on HPC. The software is installed on the server. While decomposing it gives the following warning.
FOAM Warning :
From function bool Foam::dlLibraryTable:pen(const Foam::fileName &, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
could not load "myPhaseIncompressibleRASModels.so"

Can anyone help me with what should I do?
sujata is offline   Reply With Quote

Old   March 28, 2022, 20:11
Default same problem
  #14
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 7
farzadmech is on a distinguished road
Hello all
I had the same problem with libsimpleSwakFunctionObjects.so file, and I cannot find it in FOAM_USER_LIBBIN. I print out the errors during swak4Foam compilation and this is the reason;
Code:
collect2: error: ld returned 1 exit status
/opt/openfoam6/wmake/makefiles/general:167: recipe for target '/home/farzad/OpenFOAM/farzad-6/platforms/linux64GccDPInt32Opt/lib/libsimpleSwakFunctionObjects.so' failed
make: *** [/home/farzad/OpenFOAM/farzad-6/platforms/linux64GccDPInt32Opt/lib/libsimpleSwakFunctionObjects.so] Error 1
wmake libso simpleRegionSolvers
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
I tried to do something similar as you suggested but nothing happened;
Code:
chown -R $USER:$USER /home/ehsan/swak4Foam_2.x
chown -R $USER:$USER /home/$USER/OpenFOAM/$USER-2.4.0
Does anyone know how can I compile swak correctly?

Thanks,
Farzad


Quote:
Originally Posted by wyldckat View Post
Arg... I forgot sudo:
Code:
sudo chown -R $USER:$USER /home/ehsan/swak4Foam_2.x
sudo chown -R $USER:$USER /home/$USER/OpenFOAM/$USER-2.4.0
farzadmech is offline   Reply With Quote

Old   April 27, 2022, 20:10
Default I am having similiar issue
  #15
New Member
 
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4
Bodman06 is on a distinguished road
(base) cmu-mail@cmu-mail:~/OpenFOAM/install_swak$ sudo chown -R $USER:$USER /home/cmu-mail/OpenFOAM/install_swak/$USER-4.0
chown: cannot access '/home/cmu-mail/OpenFOAM/install_swak/cmu-mail-4.0': No such file or directory
(base) cmu-mail@cmu-mail:~/OpenFOAM/install_swak$ sudo chown -R $USER:$USER /home/cmu-mail/OpenFOAM/install_swak/swak4Foam_4.X
chown: cannot access '/home/cmu-mail/OpenFOAM/install_swak/swak4Foam_4.X': No such file or directory
(base) cmu-mail@cmu-mail:~/OpenFOAM/install_swak$
Bodman06 is offline   Reply With Quote

Old   April 7, 2024, 12:35
Default
  #16
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 232
Rep Power: 10
gu1 is on a distinguished road
Quote:
Originally Posted by sujata View Post
Dear All,
I am new to OpenFOAM. I run my simulations on HPC. The software is installed on the server. While decomposing it gives the following warning.
FOAM Warning :
From function bool Foam::dlLibraryTable:pen(const Foam::fileName &, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
could not load "myPhaseIncompressibleRASModels.so"

Can anyone help me with what should I do?

Did you manage to resolve your problem? I have the same one in OpenFOAM 11.
gu1 is offline   Reply With Quote

Reply

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
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 04:01
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 00:53
Linux Batch - Star-CCM+ .. running Sims in batchmode eRzBeNgEl STAR-CCM+ 3 August 29, 2011 04:43
Vibromixed 2d UDF loading issue carteblanche Main CFD Forum 0 May 23, 2011 14:42
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 08:27


All times are GMT -4. The time now is 08:18.