CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] error-msg. in OFv1906 compiling (https://www.cfd-online.com/Forums/openfoam-installation/220305-error-msg-ofv1906-compiling.html)

philiplu September 3, 2019 04:17

error-msg. in OFv1906 compiling
 
Hello,
following
https://www.openfoam.com/code/build-guide.php
I'm compiling OF:

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

______after inputing "foamSystemCheck ":
"PASS"

______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
/usr/lib/x86_64-linux-gnu/openmpi

========================================
scotch decomposition (scotch_6.0.6)
Makefile.inc : Makefile.inc.OpenFOAM-Linux.shlib
*** 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 06:49

What operating system are you using?

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

Code:

cd $WM_THIRD_PARTY_DIR
./makeParaView > logPV.make 2>&1

Then build OF again with the commands.

Code:

foam
./Allwmake > logOF.make 2>&1

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

Code:

foam
./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 09: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 08: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 16, 2019 00: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 04:58

I'm glad you're up and running.

philiplu October 25, 2019 21: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
"v1906-dp-mingw-crosscompiled-windowsinstaller-exe"
works in win7 but
doesn't in win10

as posted in
https://www.cfd-online.com/Forums/op...aller-exe.html


thank you anyway whatever you're available or not


All times are GMT -4. The time now is 19:34.