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

Errors of compiling OF 1.6 on Fedora 12

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2010, 10:48
Unhappy Errors of compiling OF 1.6 on Fedora 12
  #1
Member
 
Maolong LIU
Join Date: Apr 2010
Location: USA
Posts: 31
Rep Power: 16
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, 19:22
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
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, 04:11
Default
  #3
Member
 
Maolong LIU
Join Date: Apr 2010
Location: USA
Posts: 31
Rep Power: 16
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


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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 17, 2019 00:12
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03: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 06:52.