|
[Sponsors] |
[OpenFOAM.com] error-msg. in OFv1906 compiling |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 3, 2019, 04:17 |
error-msg. in OFv1906 compiling
|
#1 |
Member
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7 |
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 |
|
September 7, 2019, 06:49 |
|
#2 |
Member
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 14 |
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 Code:
foam ./Allwmake > logOF.make 2>&1 Code:
foam ./Allwmake > logOF.make 2>&1 |
|
September 7, 2019, 09:34 |
thank you for the reply.
|
#3 |
Member
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7 |
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 |
|
September 8, 2019, 08:43 |
|
#4 |
Member
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 14 |
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. |
|
September 16, 2019, 00:30 |
thank you, gcengineer
|
#5 |
Member
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7 |
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 |
|
September 16, 2019, 04:58 |
|
#6 |
Member
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 14 |
I'm glad you're up and running.
|
|
October 25, 2019, 21:16 |
thanks for the reply
|
#7 |
Member
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Compiling OpenFOAM 5.0 on the Titan Supercomputer | wildfire230 | OpenFOAM Installation | 20 | May 6, 2020 08:30 |
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 |