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

[OpenFOAM.com] error-msg. in OFv1906 compiling

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

Like Tree1Likes
  • 1 Post By philiplu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2019, 04:17
Default error-msg. in OFv1906 compiling
  #1
Member
 
philip lu
Join Date: Aug 2019
Posts: 33
Rep Power: 2
philiplu is on a distinguished road
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
philiplu is offline   Reply With Quote

Old   September 7, 2019, 06:49
Default
  #2
Member
 
Glenn Carlson
Join Date: Oct 2012
Location: US
Posts: 39
Rep Power: 9
gcengineer is on a distinguished road
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.
gcengineer is offline   Reply With Quote

Old   September 7, 2019, 09:34
Default thank you for the reply.
  #3
Member
 
philip lu
Join Date: Aug 2019
Posts: 33
Rep Power: 2
philiplu is on a distinguished road
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
philiplu is offline   Reply With Quote

Old   September 8, 2019, 08:43
Default
  #4
Member
 
Glenn Carlson
Join Date: Oct 2012
Location: US
Posts: 39
Rep Power: 9
gcengineer is on a distinguished road
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.
gcengineer is offline   Reply With Quote

Old   September 16, 2019, 00:30
Default thank you, gcengineer
  #5
Member
 
philip lu
Join Date: Aug 2019
Posts: 33
Rep Power: 2
philiplu is on a distinguished road
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 likes this.
philiplu is offline   Reply With Quote

Old   September 16, 2019, 04:58
Default
  #6
Member
 
Glenn Carlson
Join Date: Oct 2012
Location: US
Posts: 39
Rep Power: 9
gcengineer is on a distinguished road
I'm glad you're up and running.
gcengineer is offline   Reply With Quote

Old   October 25, 2019, 21:16
Default thanks for the reply
  #7
Member
 
philip lu
Join Date: Aug 2019
Posts: 33
Rep Power: 2
philiplu is on a distinguished road
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
question of "OpenCFD-OpenFOAM-v1906-DP-mingw-crosscompiled-WindowsInstaller.exe"


thank you anyway whatever you're available or not
philiplu is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Compiling OpenFOAM 5.0 on the Titan Supercomputer wildfire230 OpenFOAM Installation 17 August 17, 2018 15:04
Getting error both interpreting and compiling serene6390 Fluent UDF and Scheme Programming 1 October 27, 2017 01:49
All files present. but solver not compiling saddy OpenFOAM Programming & Development 1 July 29, 2017 10:50
[OpenFOAM.org] Trouble Compiling OpenFOAM-dev using Intel Compiler 15 for use on Xeon Phi foamer123 OpenFOAM Installation 9 August 20, 2015 15:03
Help with KIVA4 source code compiling geothokar Main CFD Forum 0 September 3, 2010 06:40


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