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

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 25, 2010, 14: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: 8
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, 41 views)
maysmech is offline   Reply With Quote

Old   August 25, 2010, 16:16
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 17:32
Default
  #3
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 8
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: 6
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, 12 views)
Sale is offline   Reply With Quote

Old   November 4, 2010, 19:31
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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? OpenFOAM-1.7.0 for CentOS/RHEL/SL 5.x 64bit released

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: 6
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 8
kathrin_kissling is on a distinguished road
Hi Sale,

have a look at

HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory

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: 6
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: 6
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

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
Dynamic moving mesh Pei-Ying Hsieh (Hsieh) OpenFOAM Running, Solving & CFD 64 June 7, 2012 10: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 16:45


All times are GMT -4. The time now is 18:54.