|
[Sponsors] |
[OpenFOAM.org] error installation openfoam for ptscotchDecomp.C |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 3, 2017, 03:49 |
error installation openfoam for ptscotchDecomp.C
|
#1 |
New Member
LintaoZhong
Join Date: Mar 2017
Location: Chengdu,China
Posts: 13
Rep Power: 9 |
Hi
I am trying to install OpenFOAM-3.0.X on ubuntu 14.04,but it noted compilation terminated. it seems the ptscotchDecomp.C has some problem ,but I dont sure .Specific code has been written below. .................................................. ..................................... wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file ptscotchDecomp.C g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/include -I/home/zlt001/OpenFOAM/ThirdParty-3.0.x/platforms/linux64GccInt32/scotch_6.0.3/include/openmpi-system -I/usr/include/scotch -I../decompositionMethods/lnInclude -IlnInclude -I. -I/home/zlt001/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/zlt001/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c ptscotchDecomp.C -o /home/zlt001/OpenFOAM/OpenFOAM-3.0.x/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o ptscotchDecomp.C:127:17: fatal error: mpi.h: No such file or directory #include <mpi.h> ^ compilation terminated. make: *** [/home/zlt001/OpenFOAM/OpenFOAM-3.0.x/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o] Error 1 |
|
March 26, 2017, 16:50 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Sergeyevichsky,
I don't know if you have solved this problem or not, but it should be because Open-MPI was not properly picked up by OpenFOAM's environment loading scripts. If you follow the instructions given here: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 - it should be possible to build OpenFOAM 3.0.x on Ubuntu 14.04. The main details that might be missing from your installation:
Bruno
__________________
|
|
March 29, 2017, 06:35 |
|
#3 | |
New Member
LintaoZhong
Join Date: Mar 2017
Location: Chengdu,China
Posts: 13
Rep Power: 9 |
Quote:
Thanks for your help, I have solved this problem by installing Ubuntu 16.04.2, but I'm still very grateful to your help. Sincerely Lintao |
||
Tags |
openfoam, ubuntu 14.04 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
OpenFOAM Foundation releases OpenFOAMŪ 3.0.0 | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 1 | November 7, 2015 16:16 |
OpenFOAM Foundation Releases OpenFOAM v2.3.0 | opencfd | OpenFOAM Announcements from OpenFOAM Foundation | 3 | December 23, 2014 04:43 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |