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

[swak4Foam] errors when trying to use swakCoded-function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2014, 00:14
Default errors when trying to use swakCoded-function
  #1
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 14
mayank.dce2k7 is on a distinguished road
Hi,

I have OpenFOAM-2.2.2 on my laptop with Ubuntu 12.04 LTS. I downloaded swak4Foam from the following link:

https://github.com/wyldckat/swak4foam/tree/OF22X (it's already patched for building with OpenFOAM 2.2.x.)

and installed on my laptop. Everything is working fine, right from installation to loading libraries while running simulations.

I have OpenFOAM-2.2.2 on cluster running RHEL(Red Hat Enterprise Linux). I used the same swak4Foam files downloaded from above source. I compiled it with bison-2.7 and flex-2.5.35 by putting in my swak4Foam directory as mentioned on this page:http://openfoamwiki.net/index.php/In...g_dependencies

The compilation went smooth. Below is the log when I type in ./Allwmake in swak4Foam folder:

No 'swakConfiguration'. Python etc won't work
Checking swak4Foam-version and generating file
Swak version is 0.2.4
Bison is version 2.7
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 2 Patch 2 (-1 == x)
No change to swak4FoamParsers/foamVersion4swak.H
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date.
SWAK_PYTHON_INCLUDE not defined .... no Python-Integration
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/calcNonUniformOffsetsForMapped'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/calcNonUniformOffsetsForMapped'
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkyDoCalc'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/funkyDoCalc' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkyDoCalc'
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkySetBoundaryField'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/funkySetBoundaryField' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkySetBoundaryField'
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkySetFields'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/funkySetFields' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkySetFields'
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/replayTransientBC'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/replayTransientBC'


If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Libraries (most people will be fine without setting that variable)

But when I run the case I get following error:

Create time

--> 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:pen(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libsimpleSwakFunctionObjects.so"
--> FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : libswakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function dlLibraryTable:pen(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libswakFunctionObjects.so"
--> FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : libgroovyBC.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function dlLibraryTable:pen(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libgroovyBC.so"
Create mesh for time = 0

Reading field p

Reading field U



--> FOAM FATAL IO ERROR:
Unknown patchField type groovyBC for patch type patch

Valid patchField types are :

68
(
SRFFreestreamVelocity
SRFVelocity
activeBaffleVelocity
activePressureForceBaffleVelocity
advective
atmBoundaryLayerInletVelocity
calculated
codedFixedValue
codedMixed
cyclic
cyclicAMI
cyclicSlip
cylindricalInletVelocity
directionMixed
empty
externalCoupled
fixedGradient
fixedInternalValue
fixedJump
fixedJumpAMI
fixedMean
fixedNormalSlip
fixedValue
flowRateInletVelocity
fluxCorrectedVelocity
freestream
inletOutlet
kqRWallFunction
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mappedFlowRate
mappedVelocityFlux
mixed
movingWallVelocity
nonuniformTransformCyclic
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
pressureDirectedInletOutletVelocity
pressureDirectedInletVelocity
pressureInletOutletParSlipVelocity
pressureInletOutletVelocity
pressureInletUniformVelocity
pressureInletVelocity
pressureNormalInletOutletVelocity
processor
processorCyclic
rotatingPressureInletOutletVelocity
rotatingWallVelocity
sliced
slip
supersonicFreestream
surfaceNormalFixedValue
swirlFlowRateInletVelocity
symmetryPlane
timeVaryingMappedFixedValue
translatingWallVelocity
turbulentInlet
uniformFixedValue
uniformJump
uniformJumpAMI
variableHeightFlowRateInletVelocity
waveTransmissive
wedge
zeroGradient
)


file: /share/mvaish/OpenFOAM/mvaish-2.2.2/run/zhaotransientvelfurther/0/U.boundaryField.INLET from line 27 to line 31.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /usr/local/apps/OpenFOAM/gcc454-2.2.2/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 136.

FOAM exiting


What should I do?
mayank.dce2k7 is offline   Reply With Quote

Old   April 12, 2014, 15:32
Default
  #2
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 14
mayank.dce2k7 is on a distinguished road
Also, does it matters, if I am using bash shell or tcshrc(c shell) for installing swak4Foam? Shell available on cluster is tcshrc while that on my laptop is bash shell.

Regards,
Mayank.
mayank.dce2k7 is offline   Reply With Quote

Old   April 14, 2014, 20:09
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by mayank.dce2k7 View Post
Hi,

I have OpenFOAM-2.2.2 on my laptop with Ubuntu 12.04 LTS. I downloaded swak4Foam from the following link:

https://github.com/wyldckat/swak4foam/tree/OF22X (it's already patched for building with OpenFOAM 2.2.x.)

and installed on my laptop. Everything is working fine, right from installation to loading libraries while running simulations.

I have OpenFOAM-2.2.2 on cluster running RHEL(Red Hat Enterprise Linux). I used the same swak4Foam files downloaded from above source. I compiled it with bison-2.7 and flex-2.5.35 by putting in my swak4Foam directory as mentioned on this page:http://openfoamwiki.net/index.php/In...g_dependencies

The compilation went smooth. Below is the log when I type in ./Allwmake in swak4Foam folder:

No 'swakConfiguration'. Python etc won't work
Checking swak4Foam-version and generating file
Swak version is 0.2.4
Bison is version 2.7
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 2 Patch 2 (-1 == x)
No change to swak4FoamParsers/foamVersion4swak.H
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date.
SWAK_PYTHON_INCLUDE not defined .... no Python-Integration
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/calcNonUniformOffsetsForMapped'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/calcNonUniformOffsetsForMapped'
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkyDoCalc'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/funkyDoCalc' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkyDoCalc'
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkySetBoundaryField'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/funkySetBoundaryField' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkySetBoundaryField'
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkySetFields'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/funkySetFields' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/funkySetFields'
make[1]: Entering directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/replayTransientBC'
make[1]: `/share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date.
make[1]: Leaving directory `/share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Utilities/replayTransientBC'


If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /share/mvaish/OpenFOAM/mvaish-2.2.2/run/swak4foam-OF22X/Libraries (most people will be fine without setting that variable)

But when I run the case I get following error:

Create time

--> 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:pen(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libsimpleSwakFunctionObjects.so"
--> FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : libswakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function dlLibraryTable:pen(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libswakFunctionObjects.so"
--> FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : libgroovyBC.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function dlLibraryTable:pen(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libgroovyBC.so"
Create mesh for time = 0

Reading field p

Reading field U



--> FOAM FATAL IO ERROR:
Unknown patchField type groovyBC for patch type patch

Valid patchField types are :

68
(
SRFFreestreamVelocity
SRFVelocity
activeBaffleVelocity
activePressureForceBaffleVelocity
advective
atmBoundaryLayerInletVelocity
calculated
codedFixedValue
codedMixed
cyclic
cyclicAMI
cyclicSlip
cylindricalInletVelocity
directionMixed
empty
externalCoupled
fixedGradient
fixedInternalValue
fixedJump
fixedJumpAMI
fixedMean
fixedNormalSlip
fixedValue
flowRateInletVelocity
fluxCorrectedVelocity
freestream
inletOutlet
kqRWallFunction
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mappedFlowRate
mappedVelocityFlux
mixed
movingWallVelocity
nonuniformTransformCyclic
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
pressureDirectedInletOutletVelocity
pressureDirectedInletVelocity
pressureInletOutletParSlipVelocity
pressureInletOutletVelocity
pressureInletUniformVelocity
pressureInletVelocity
pressureNormalInletOutletVelocity
processor
processorCyclic
rotatingPressureInletOutletVelocity
rotatingWallVelocity
sliced
slip
supersonicFreestream
surfaceNormalFixedValue
swirlFlowRateInletVelocity
symmetryPlane
timeVaryingMappedFixedValue
translatingWallVelocity
turbulentInlet
uniformFixedValue
uniformJump
uniformJumpAMI
variableHeightFlowRateInletVelocity
waveTransmissive
wedge
zeroGradient
)


file: /share/mvaish/OpenFOAM/mvaish-2.2.2/run/zhaotransientvelfurther/0/U.boundaryField.INLET from line 27 to line 31.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /usr/local/apps/OpenFOAM/gcc454-2.2.2/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 136.

FOAM exiting


What should I do?
Is /share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/ in your LD_LIBRARY_PATH? (that is necessary for OF to find it. Usually the etc/bashrc of the distro should set this correctly) And is this your FOAM_USER_LIBBIN?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   April 14, 2014, 20:25
Default
  #4
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 14
mayank.dce2k7 is on a distinguished road
Hi Bernhard,

Yes, /share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/ is my FOAM_USER_LIBBIN.

You mean to say if I set:

Code:
setenv LD_LIBRARY_PATH = $FOAM_USER_LIBBIN
in my ~/.tcshrc file(equivalent of ~/.bashrc). Then it should work?

Regards,
Mayank
mayank.dce2k7 is offline   Reply With Quote

Old   April 15, 2014, 11:07
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by mayank.dce2k7 View Post
Hi Bernhard,

Yes, /share/mvaish/OpenFOAM/mvaish-2.2.2/platforms/linux64GccDPOpt/lib/ is my FOAM_USER_LIBBIN.

You mean to say if I set:

Code:
setenv LD_LIBRARY_PATH = $FOAM_USER_LIBBIN
in my ~/.tcshrc file(equivalent of ~/.bashrc). Then it should work?

Regards,
Mayank
No if you do "echo $LD_LIBRARY_PATH" then the path should be ONE component there. If not append it with

setenv LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$FOAM_USER_LIBBIN

but resetting the path the way you suggested will break everything
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply


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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 6, 2023 00:48
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 11:08
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


All times are GMT -4. The time now is 06:33.