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

[OpenFOAM.org] install openfoam 2.4.x,Target `application' not remade because of errors

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By svinaya
  • 1 Post By himanshu28

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2016, 03:29
Default install openfoam 2.4.x,Target `application' not remade because of errors
  #1
New Member
 
vin
Join Date: Nov 2010
Posts: 9
Rep Power: 16
svinaya is on a distinguished road
Dear All,

Can U please help me installing Iam getting these error in the log file.

Making dependency list for source file heatTransferModels/heatTransferModel/newHeatTransferModel.C
Making dependency list for source file heatTransferModels/RanzMarshall/RanzMarshall.C
-lcompressibleTurbulenceModels -lphaseCompressibleTurbulenceModels -lincompressibleTransportModels -lcompressibleTwoPhaseSystem -lcompressibleEulerianInterfacialModels -lfiniteVolume -lfvOptions -lmeshTools -lsampling -lOpenFOAM -ldl -lm -o /home/vinayas/OpenFOAM/OpenFOAM-2.4.x/platforms/linux64Gcc48DPOpt/bin/twoPhaseEulerFoam
/usr/bin/ld: cannot find -lfluidThermophysicalModels
collect2: ld returned 1 exit status
make[2]: *** [/home/vinayas/OpenFOAM/OpenFOAM-2.4.x/platforms/linux64Gcc48DPOpt/bin/twoPhaseEulerFoam] Error 1
make[1]: *** [twoPhaseEulerFoam] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [multiphase] Error 2
make: Target `application' not remade because of errors.

with kind regards
vinaya
svinaya is offline   Reply With Quote

Old   December 20, 2016, 20:13
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quick questions:
  1. Which Linux Distribution are you using?
  2. Which installation instructions are you following?
  3. Can you provide the complete log file?
__________________
wyldckat is offline   Reply With Quote

Old   December 21, 2016, 00:15
Default
  #3
New Member
 
vin
Join Date: Nov 2010
Posts: 9
Rep Power: 16
svinaya is on a distinguished road
Thank U for the quick response.
I tried once again installing OpenFoam 2.4.x and followed the instructions.
Itz working fine.

With kind regards,
Vinaya
wyldckat likes this.
svinaya is offline   Reply With Quote

Old   January 21, 2017, 15:49
Default Same error as posted in the Thread
  #4
Senior Member
 
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 14
himanshu28 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick questions:
  1. Which Linux Distribution are you using?
  2. Which installation instructions are you following?
  3. Can you provide the complete log file?
Hi wyldckat,

I am getting the same error as posted earlier message. I am also trying to install OpenFOAM-2.4.0
I have attached my log.make file with the post.

1) Red Hat Enterprise Linux Workstation release 7.3 (Maipo)
2) Following instructions from:
https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL
(CentOS 7.1)
3) Log file not able to attached here (exceed upload limit) hence shared on drive.
(https://drive.google.com/open?id=0B8...0FRRm1LMlpTU1k)

Thank you
himanshu28 is offline   Reply With Quote

Old   March 25, 2017, 17:07
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 Himanshu,

My apologies for the really late answer, but only now did I finally manage to take a look into this.

From what I can figure out, the problem is that you tried to run the command Allwmake with the option "-j". The problem is that this option was only introduced starting with OpenFOAM 3.0.0.
Furthermore, this option confuses the scripts in OpenFOAM 2.4.0, because they are expecting something else.

I don't know why exactly you used that option, because the instructions on the wiki page that you pointed out - https://openfoamwiki.net/index.php/I...HEL#CentOS_7.1 - specifically state how to define the number of cores for building in parallel in step #8. In addition, on step #11, it does not instruct to use "-j".

I'm hoping that you solved this issue by following again this section on the wiki page.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 25, 2017, 17:56
Default
  #6
Senior Member
 
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 14
himanshu28 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Himanshu,

My apologies for the really late answer, but only now did I finally manage to take a look into this.

From what I can figure out, the problem is that you tried to run the command Allwmake with the option "-j". The problem is that this option was only introduced starting with OpenFOAM 3.0.0.
Furthermore, this option confuses the scripts in OpenFOAM 2.4.0, because they are expecting something else.

I don't know why exactly you used that option, because the instructions on the wiki page that you pointed out - https://openfoamwiki.net/index.php/I...HEL#CentOS_7.1 - specifically state how to define the number of cores for building in parallel in step #8. In addition, on step #11, it does not instruct to use "-j".

I'm hoping that you solved this issue by following again this section on the wiki page.

Best regards,
Bruno
Thanks for the inputs Bruno. I actually installed OF-4.0 and that pretty much solved the Error.
wyldckat likes this.
himanshu28 is offline   Reply With Quote

Old   November 15, 2018, 07:25
Default
  #7
New Member
 
caoxuxiang's Avatar
 
Xuxiang Cao
Join Date: Jun 2016
Posts: 11
Rep Power: 10
caoxuxiang is on a distinguished road
Quote:
Originally Posted by svinaya View Post
Dear All,

Can U please help me installing Iam getting these error in the log file.

Making dependency list for source file heatTransferModels/heatTransferModel/newHeatTransferModel.C
Making dependency list for source file heatTransferModels/RanzMarshall/RanzMarshall.C
-lcompressibleTurbulenceModels -lphaseCompressibleTurbulenceModels -lincompressibleTransportModels -lcompressibleTwoPhaseSystem -lcompressibleEulerianInterfacialModels -lfiniteVolume -lfvOptions -lmeshTools -lsampling -lOpenFOAM -ldl -lm -o /home/vinayas/OpenFOAM/OpenFOAM-2.4.x/platforms/linux64Gcc48DPOpt/bin/twoPhaseEulerFoam
/usr/bin/ld: cannot find -lfluidThermophysicalModels
collect2: ld returned 1 exit status
make[2]: *** [/home/vinayas/OpenFOAM/OpenFOAM-2.4.x/platforms/linux64Gcc48DPOpt/bin/twoPhaseEulerFoam] Error 1
make[1]: *** [twoPhaseEulerFoam] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [multiphase] Error 2
make: Target `application' not remade because of errors.

with kind regards
vinaya
I had the same problem with you when i installed of-2.4.0.

Bruno is right.

It does not instruct to use "-j".
Just "./Allwmake".

best regards.
Xuxiang
caoxuxiang 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
p_rgh initial residual no change with different settings manuc OpenFOAM Running, Solving & CFD 3 June 26, 2018 16:53
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30


All times are GMT -4. The time now is 13:48.