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

[OpenFOAM.org] OpenFoam5.x: recipe for target failed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2018, 18:41
Default OpenFoam5.x: recipe for target failed
  #1
Member
 
Tony Zahtila
Join Date: Mar 2016
Posts: 33
Rep Power: 10
tzaht is on a distinguished road
Hi all,

I am building on Ubuntu making use of Windows subsystem for Linux.

Any help appreciated. I have attached the full output text file

Quote:
Allwmake /home/X/OpenFOAM/OpenFOAM-5.x
make: Nothing to be done for 'all'.

...

/home/X/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:25: recipe for target '/home/X/OpenFOAM/OpenFOAM-5.x/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o' failed
make: *** [/home/X/OpenFOAM/OpenFOAM-5.x/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o] Error 1
Attached Files
File Type: txt out.txt (21.4 KB, 19 views)
tzaht is offline   Reply With Quote

Old   August 17, 2018, 14:28
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 answer: I'm somewhat late to this, but the problem is that LAM is the MPI toolbox that is being picked up by OpenFOAM when trying to build things, but LAM is not supported with the default installation options.
You should install Open-MPI (as instructed in the official installation instructions).
If you have already installed it, then try running the following commands:
Code:
foam
ln -s /usr/bin/mpicc.openmpi bin/mpicc
ln -s /usr/bin/mpirun.openmpi bin/mpirun
wmRefresh
And now try building OpenFOAM.
__________________
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
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel U.Golling OpenFOAM Running, Solving & CFD 52 September 23, 2023 03:35
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 15:00
[OpenFOAM] ParaView/Parafoam error when making animation Disco_Caine ParaView 6 September 28, 2010 09:54
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 15:16.