|
[Sponsors] |
[OpenFOAM.com] ptscotch.h file cannot be found error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 26, 2020, 18:02 |
ptscotch.h file cannot be found error
|
#1 |
New Member
Earl Wilks
Join Date: May 2016
Posts: 3
Rep Power: 10 |
Hi Folks,
I'm trying to compile OpenFOAM v1806+ on Ubuntu 20.04 and I'm running into an issue with the compilation where I get the following error: Code:
wclean ptscotchDecomp wmake ptscotchDecomp wmake ptscotchDecomp wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file ptscotchDecomp.C wmkdepend: could not open 'ptscotch.h' for source file 'ptscotchDecomp.C': No such file or directory g++ -std=c++11 -m64 -DOPENFOAM=1806 -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 -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread -I/home/milo/OpenFOAM/ThirdParty-v1806/platforms/linux64GccDPInt32/scotch_6.0.3/include -I/home/milo/OpenFOAM/ThirdParty-v1806/platforms/linux64GccDPInt32/scotch_6.0.3/include/openmpi-system -I../decompositionMethods/lnInclude -IlnInclude -I. -I/home/milo/OpenFOAM/OpenFOAM-v1806/src/OpenFOAM/lnInclude -I/home/milo/OpenFOAM/OpenFOAM-v1806/src/OSspecific/POSIX/lnInclude -fPIC -c ptscotchDecomp.C -o /home/milo/OpenFOAM/OpenFOAM-v1806/build/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o ptscotchDecomp.C:214:10: fatal error: ptscotch.h: No such file or directory 214 | #include "ptscotch.h" | ^~~~~~~~~~~~ compilation terminated. make: *** [/home/milo/OpenFOAM/OpenFOAM-v1806/wmake/rules/General/transform:35: /home/milo/OpenFOAM/OpenFOAM-v1806/build/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o] Error 1 Code:
libptscotch-dev: /usr/include/scotch-int32/ptscotch.h libptscotch-dev: /usr/include/scotch-int64/ptscotch.h libptscotch-dev: /usr/include/scotch-long/ptscotch.h libptscotch-dev: /usr/include/scotch/ptscotch.h Thanks in advance for any suggestions or advice! |
|
October 2, 2020, 10:46 |
|
#2 |
New Member
R Kyle
Join Date: Feb 2017
Location: Scotland
Posts: 11
Rep Power: 9 |
I'm having a similar issue with installing OpenFOAM v6 on Ubuntu 20.04 for Windows. Did you manage to get a solution to this?
|
|
October 3, 2020, 10:45 |
|
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
OpenFOAM-v1806 is two years old!
In more recent versions, the handling of dpkg-architecture has greatly improved. IMO the easier way is to install the precompiled pack for 1912 or 2006. https://develop.openfoam.com/Develop...ompiled/debian |
|
October 5, 2020, 06:05 |
|
#4 |
New Member
R Kyle
Join Date: Feb 2017
Location: Scotland
Posts: 11
Rep Power: 9 |
Hi Earl,
I've found this link useful, the problem might be a newer version of mpi. Maybe worth having a look! https://bugs.openfoam.org/view.php?id=3216 |
|
October 5, 2020, 14:40 |
|
#5 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |