CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Help Error Installation of openfoam15dev

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 4, 2009, 07:11
Default When I try to set up 1.5-dev i
  #1
New Member
 
xinguang cui
Join Date: Mar 2009
Location: Heidelberg, Germany
Posts: 9
Rep Power: 7
loneboard is on a distinguished road
When I try to set up 1.5-dev in the suse 10.3 system.

After complied, try to execute the foamInstallationTest. But there is the error information. Please help me, I feel crazy now.

Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
gzip 1.3.12 /usr/bin/gzip
tar 1.17 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/cui/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/icoFoam
current path :
CRITICAL ERROR

-------------------------------------------------------------------------------
loneboard is offline   Reply With Quote

Old   February 4, 2009, 08:28
Default It says that you miss icoFoam,
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 644
Rep Power: 10
dmoroian is on a distinguished road
It says that you miss icoFoam, so probably the compilation did not go through as it should.
Try this:

foam
cd applications/solvers/incompressible
wmake icoFoam

After this, try again foamInstallationTest.

Dragos
dmoroian is offline   Reply With Quote

Old   February 4, 2009, 08:49
Default Thanks for your reply. I have
  #3
New Member
 
xinguang cui
Join Date: Mar 2009
Location: Heidelberg, Germany
Posts: 9
Rep Power: 7
loneboard is on a distinguished road
Thanks for your reply. I have tried as you advise. and now .

++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home /cui/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/hom e/cui/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/cui/OpenFOAM/Open FOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC Make/linux64GccDPOpt/icoFoam. o -L/home/cui/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt \
-lfiniteVolume -llduSolvers -lOpenFOAM -liberty -ldl -lm -o /home /cui/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/icoFoam
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make: *** [/home/cui/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/ icoFoam] Error 1
cui@mfc-falter:~/OpenFOAM/OpenFOAM-1.5-dev/applications/solvers/incompressible>
loneboard is offline   Reply With Quote

Old   February 4, 2009, 09:13
Default Hello, your linker cannot f
  #4
Member
 
Etienne Lorriaux
Join Date: Mar 2009
Location: Compiegne, France
Posts: 43
Rep Power: 7
elorriaux is on a distinguished road
Hello,

your linker cannot find the finiteVolume library, it means it has not been compiled, or that your environment variables are not set correctly (check LD_LIBRARY_PATH and PATH)

Relaunch the entire compilation and CHECK that the compilation runs fine from the beginning.

Resolve your problems from the beginning (first errors received during the compilation).

Good luck ;)
elorriaux is offline   Reply With Quote

Old   February 4, 2009, 09:24
Default Another hint is that the Flex
  #5
Member
 
Dennis Kingsley
Join Date: Mar 2009
Location: USA
Posts: 45
Rep Power: 7
dkingsley is on a distinguished road
Another hint is that the Flex option '--c++' causes the version of Flex on my machine to fail, I replaced it with '-+' until I have the time to install a newer version Flex.

Flex failing to parse files caused the finiteVolume library to not compile correctly, when I rebuilt OF1.5.x from the GIT repository this week.
dkingsley is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of OpenFOAM15dev antonio_ing OpenFOAM Installation 34 December 18, 2009 10:06
fluent installation error Ramesh.K FLUENT 2 September 25, 2008 20:58
Installation error sukratu OpenFOAM Installation 6 September 16, 2007 22:46
Error after installation.. Nari CD-adapco 5 June 28, 2007 14:02
Installation Error rafal OpenFOAM Installation 3 February 2, 2006 11:43


All times are GMT -4. The time now is 21:00.