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

Errors of compiling OF 1.6 on Fedora 12

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 29, 2010, 09:48
Unhappy Errors of compiling OF 1.6 on Fedora 12
  #1
New Member
 
Maolong LIU
Join Date: Apr 2010
Location: Japan
Posts: 28
Rep Power: 7
maolongliu is on a distinguished road
Hello all,
Compiling is almost done. This is the only error, perhaps somebody is able to help me.
Thxs.

zipUpMesh
/ansys_inc: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [/home/Maolong/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/zipUpMesh] Error 1
make[3]: Leaving directory `/home/Maolong/OpenFOAM/OpenFOAM-1.6/applications/utilities/mesh/manipulation/zipUpMesh'
make[2]: *** [zipUpMesh] Error 2
make[2]: Target `application' not remade because of errors.
make[2]: Leaving directory `/home/Maolong/OpenFOAM/OpenFOAM-1.6/applications/utilities/mesh/manipulation'
make[1]: *** [manipulation] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/Maolong/OpenFOAM/OpenFOAM-1.6/applications/utilities/mesh'
make: *** [mesh] Error 2
maolongliu is offline   Reply With Quote

Old   April 29, 2010, 18:22
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Dear Maolong Liu,

Welcome to the forum. Something is very strange about the output error you got.

Please try the following commands:
Code:
cd $FOAM_APP/utilities/mesh/manipulation/zipUpMesh
wclean all
wmake all
If it still outputs the same error:
Code:
/ansys_inc: file not recognized: Is a directory
then edit the file zipUpMesh.dep and see if you can find something that says "ansys_inc". If it does, then it's because you have something defined in the terminal environment that clashes with OpenFOAM's environment! Probably the variable CFLAGS or CPPFLAGS are set; try running this to check if they are set:
Code:
echo "CFLAGS=" $CFLAGS
echo "CPPFLAGS=" $CPPFLAGS
If it doesn't simply output:
Code:
CFLAGS=
CPPFLAGS=
Then that's what is influencing the result.

The other possibility, is that the the OpenFOAM-1.6.General.tar.gz didn't unpack properly, which is something known to happen once in a while.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 1, 2010, 03:11
Default
  #3
New Member
 
Maolong LIU
Join Date: Apr 2010
Location: Japan
Posts: 28
Rep Power: 7
maolongliu is on a distinguished road
Thank you wyldckat.
I installed OF1.6.x, and compiled successfully.
I think maybe its some bugs.
But I copy the relative files of OF1.6.x to OF1.6, and compile it again, this error disappeared, but there are some new errors.
So I'll start to use OF1.6.x.
Thank you.

Quote:
Originally Posted by wyldckat View Post
Dear Maolong Liu,

Welcome to the forum. Something is very strange about the output error you got.

Please try the following commands:
Code:
cd $FOAM_APP/utilities/mesh/manipulation/zipUpMesh
wclean all
wmake all
If it still outputs the same error:
Code:
/ansys_inc: file not recognized: Is a directory
then edit the file zipUpMesh.dep and see if you can find something that says "ansys_inc". If it does, then it's because you have something defined in the terminal environment that clashes with OpenFOAM's environment! Probably the variable CFLAGS or CPPFLAGS are set; try running this to check if they are set:
Code:
echo "CFLAGS=" $CFLAGS
echo "CPPFLAGS=" $CPPFLAGS
If it doesn't simply output:
Code:
CFLAGS=
CPPFLAGS=
Then that's what is influencing the result.

The other possibility, is that the the OpenFOAM-1.6.General.tar.gz didn't unpack properly, which is something known to happen once in a while.

Best regards,
Bruno
maolongliu is offline   Reply With Quote

Reply

Tags
fedora 12, zipupmesh

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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 12 September 17, 2007 17:48
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 05:10.