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

make: Target `application' not remade because of errors.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2010, 15:15
Exclamation make: Target `application' not remade because of errors.
  #1
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Dear Foamers,
i tried to install Of1.7.0 on Ubuntu 10.04.

after typing ./Allwmake and after more than 3 hours this message is appeared:
Code:
make: Target `application' not remade because of errors.
but by typing foamInstallationTest no error is detected. what is the problem?

make.log file is attached.

Thanks in advance
Maysam
Attached Files
File Type: gz make.log.tar.gz (16.5 KB, 64 views)
maysmech is offline   Reply With Quote

Old   August 25, 2010, 17:16
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
Greetings Maysam,

The problem is related to a missing X11 header file, which leads to only foamToTecplot360 not being built.

A list of packages for Ubuntu 10.04 and OpenFOAM 1.7 is available here: http://www.cfd-online.com/Forums/ope...tml#post268828
If you use the command line given at that post, and then run Allwmake again, you should no longer have any problems

Now, I will answer to your other thread shortly...

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 25, 2010, 18:32
Default
  #3
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
foamToTecplot360 problem is solved by your guides.
Thank you very much
maysmech is offline   Reply With Quote

Old   November 4, 2010, 07:02
Exclamation
  #4
New Member
 
Join Date: Oct 2010
Posts: 11
Rep Power: 16
Sale is on a distinguished road
Dear Bruno,
I am new to linux and I am trying to install OpenFOAM1.7.1 on RedHat 5.5.

With the foamInstallationTest no error is detected, but when I execute ./Allwmake , I have this error:

make: Target `application' not remade because of errors.
I attached also the make.log file.

Can you help me, please?

Thanks in advance
Sale
Attached Files
File Type: gz make.log.tar.gz (19.9 KB, 20 views)
Sale is offline   Reply With Quote

Old   November 4, 2010, 19:31
Default
  #5
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
Greetings Sale,

Mmm, this is a bit odd... OK, there are three possibilities that I can image about this problem:
  1. Links were unpacked from the OpenFOAM 1.7.1 source package. Try running this:
    Code:
    cd $WM_PROJECT_DIR
    rm -rf src/OpenFOAM/lnInclude
    And run Allwmake again.
  2. Which gcc version are you using?
    Code:
    gcc --version
    Is it at least 4.3.1?
  3. If neither of the above are the problem, then one or more files weren't properly unpacked. It happens once in a while, although it shouldn't happen at all.
    If this is the case, try this:
    Code:
    cd $WM_PROJECT_INST_DIR
    rm -rf OpenFOAM-1.7.1/src/OpenFOAM
    tar -xzf OpenFOAM-1.7.1.gtgz OpenFOAM-1.7.1/src/OpenFOAM
    If I'm not mistaken, these commands will remove the current OpenFOAM library and unpack the original one from the downloaded package. You can run Allwmake once again.
By the way, have you tried CentFOAM? http://www.cfd-online.com/Forums/ope...-released.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 5, 2010, 10:39
Default
  #6
New Member
 
Join Date: Oct 2010
Posts: 11
Rep Power: 16
Sale is on a distinguished road
Dear Bruno,

thank you for your reply, but no of your suggestions worked. However I tried CentFOAM and it works!

Now I am trying to instal ParaView, so I downloaded qt-x11-opensource-src-4.3.5.tar.bz2 , I unpacked it with:

tar -xjf qt-x11-opensource-src-4.3.5.tar.bz2

then I run:
./makeQt

but the answer is:
bash: ./makeQt: No such file or directory

What's the problem?


Thanks in advance!
Sale
Sale is offline   Reply With Quote

Old   November 5, 2010, 11:05
Default
  #7
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
Hi Sale,

If CentFOAM is working, then you should also be able to install ParaView that comes with it as well!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 5, 2010, 11:29
Default
  #8
Senior Member
 
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17
kathrin_kissling is on a distinguished road
Hi Sale,

have a look at

http://www.cfd-online.com/Forums/ope...directory.html

Maybe you need the Path to Qt4.3.5 by

PATH=...whereeverItIs/Qt4.3.5/bin:$Paraview3.3

(this was somewhere on the forum as well but I cannot remember where, sorry)

For me it worked perfectly...

Hope this helps

Kathrin
kathrin_kissling is offline   Reply With Quote

Old   November 5, 2010, 12:24
Default
  #9
New Member
 
Join Date: Oct 2010
Posts: 11
Rep Power: 16
Sale is on a distinguished road
Bruno,
if I follow OpenFoam example:

mkdir -p $FOAM_RUN
cp -r $FOAM_TUTORIALS $FOAM_RUN
cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity
blockMesh
icoFoam

everything looks ok, but then, with paraFoam, the result is:
/home/openfoam/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam: line 132: paraview: command not found

I supposed Paraview is not installed. What do I have to do?


kathrin_kissling,
what do you mean with:

Maybe you need the Path to Qt4.3.5 by
PATH=...whereeverItIs/Qt4.3.5/bin:$Paraview3.3 ?

Should I add this path to the bashrc file that is in /etc?

Thank you both for the quick answer.

Sale
Sale is offline   Reply With Quote

Old   November 5, 2010, 12:30
Default
  #10
New Member
 
Join Date: Oct 2010
Posts: 11
Rep Power: 16
Sale is on a distinguished road
Anyway

qmake --version

gives me

bash: qmake: command not found
Sale is offline   Reply With Quote

Old   November 6, 2010, 06:19
Default
  #11
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
Hi Sale,

How exactly did you install CentFOAM? If you used the install script:
Quote:
Originally Posted by http://sourceforge.net/apps/mediawiki/centfoam/index.php?title=Main_Page
I've made a bash script which makes installation much easier
The usage is

Code:
./centFOAMInstall yum|OF17|paraview|Netgen|Engrid|Gmsh|all|help
The options are pretty much self explaining except "all" which installs OpenFOAM, Paraview, Netgen, Engrid and gmsh. The script will prompt the user for installation directory and check whether this is writable.
Then it should have been as easy as running:
Code:
./centFOAMInstall paraview
Best regards,
Bruno
__________________
wyldckat 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
Dynamic moving mesh Pei-Ying Hsieh (Hsieh) OpenFOAM Running, Solving & CFD 64 June 7, 2012 11:04
Help in Instalation of OpenFOAM duartealbuquerque OpenFOAM Installation 3 March 12, 2009 00:44
Problems compiling OpenFOAM15 on Debian Etch geoffjay OpenFOAM Installation 1 February 5, 2009 17:29
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
a way to make lots of money quick and easy no lies Dob Main CFD Forum 0 October 10, 2006 17:45


All times are GMT -4. The time now is 23:12.