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.org] ThirdParty-3.0.x (https://www.cfd-online.com/Forums/openfoam-installation/172759-thirdparty-3-0-x.html)

Tobi June 5, 2016 06:02

ThirdParty-3.0.x
 
Dear all,

compiling OpenFoam-3.0.x lead to a problem with ptScotch. The first error:

Code:

Build Scotch decomposition library scotch_6.0.3
    /home/shorty/OpenFOAM/ThirdParty-3.0.x/platforms/linux64GccInt32/scotch_6.0.3
+ cd scotch_6.0.3/src
/home/shorty/OpenFOAM/ThirdParty-3.0.x/Allwmake: 203: cd: can't cd to scotch_6.0.3/src
+ exit 1

and finally during the build:
Code:

could not open file ptscotch.h for source file ptscotchDecomp.C due to No such file or directory
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 -mtune=bdver1 -march=bdver1  -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -I/include -I/home/shorty/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/shorty/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/shorty/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude  -fPIC -c ptscotchDecomp.C -o /home/shorty/OpenFOAM/OpenFOAM-3.0.x/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o
ptscotchDecomp.C:126:26: fatal error: ptscotch.h: No such file or directory
    #include "ptscotch.h"
                          ^

I checked the sources and found out that the ThirdParty-3.0.x do not have the Paraview4 and ptScotch folder included (like for example in the ThirdParty-dev).

So I just want to ask why it is like that? Finally I decided to compile the development repository. I am not sure if there is just something wrong with the initialization of the repository. Hence, I just wanted to report this and inform other people who are not so familiar with the compiling procedure.

arianam June 17, 2016 09:34

Hi Tobias,
I have the same problem installing that on Centos. It is strange because this problem with ptscotchDecomp did not exist one month ago. I saw that you had already reported it. Please let us know if you find the solution.
Best,
M. Ariana

wyldckat June 18, 2016 16:28

Quick answers:
Quote:

Originally Posted by Tobi (Post 603426)
I checked the sources and found out that the ThirdParty-3.0.x do not have the Paraview4 and ptScotch folder included (like for example in the ThirdParty-dev).

Two details:
  1. You should have read the big README.org file that is shown at the front-page of the repository: https://github.com/OpenFOAM/ThirdParty-3.0.x/ - where it states the packages that need to be downloaded.
  2. All of the instructions provided at this wiki page tell you in detail which packages to download: https://openfoamwiki.net/index.php/I...M-3.0.x/Ubuntu ;)

Quote:

Originally Posted by Tobi (Post 603426)
So I just want to ask why it is like that?

Read Henry's comments here: http://bugs.openfoam.org/view.php?id=2098


All times are GMT -4. The time now is 06:35.