CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   [] error-msg. in OFv1906 compiling (

philiplu September 3, 2019 03:17

error-msg. in OFv1906 compiling
I'm compiling OF:

______after adding
"source $HOME/OpenFOAM/OpenFOAM-v1906/etc/bashrc"
and restart the terminal:
"No completion added for .........OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/bin... incorrect platform, or not yet compiled?"

______after inputing "foamSystemCheck ":

______after inputing "foam":
moves to "~/OpenFOAM/OpenFOAM-v1906/", but

______after "./Allwmake" terminates quickly with the msg. as follows:

does someone know what's wrong and how to fix it?

thank you in advance

msg. after "./Allwmake":

using: gcc -m64 -DOPENFOAM=1906 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -fPIC
using: g++ -std=c++11 -m64 -DOPENFOAM=1906 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -fPIC

Build MPI libraries if required

scotch decomposition (scotch_6.0.6) :
*** building scotch in serial ***

patch for scotch_6.0.6 was already applied
make: Nothing to be done for 'libscotch'.
make: *** No rule to make target 'install'. Stop.

pt-scotch decomposition (scotch_6.0.6 with openmpi-system)

skipping - no <scotch.h> found

gcengineer September 7, 2019 05:49

What operating system are you using?

Have you successfully built Paraview? If not, build Paraview with the commands:


./makeParaView > logPV.make 2>&1

Then build OF again with the commands.


./Allwmake > logOF.make 2>&1

If you have built Paraview, then please build OF again with the commands:


./Allwmake > logOF.make 2>&1

If still unsuccessful, please attach the log files logPV.make and logOF.make (zipped if possible) to your reply to this message.

philiplu September 7, 2019 08:34

thank you for the reply.
Hello, gcengineer,

thank you for the reply.

my OS is win7 i.e. I compile OF in Ubuntu and Ubuntu in win7

I didn't try ParaView.

I tried twice: Compiling OF took very very long time and terminated without success.

will let you know, if there's updates.

thanks again for the reply

gcengineer September 8, 2019 07:43

I'm sorry, but I don't think I'll be much help to you. I don't run Win7.

Lots of good people on this site. Perhaps, one of them will be able to help you.

The only thing I can suggest is to build Paraview before building OF. I seem to recall various online instructions are not completely consistent on the build order, but these instructions call for a build order of Paraview first, then OF.

Good luck.

philiplu September 15, 2019 23:30

thank you, gcengineer
hello, gcengineer,

Although it finally worked out by changing to another pc, it's still my obligation to thank you for your post.

thank you and regards

gcengineer September 16, 2019 03:58

I'm glad you're up and running.

philiplu October 25, 2019 20:16

thanks for the reply
hello, gcengineer,

thanks for the reply.

it would be great if you know the reason of my new, tiny but funny problem:
the win-version of
works in win7 but
doesn't in win10

as posted in

thank you anyway whatever you're available or not

All times are GMT -4. The time now is 08:20.