View Issue Details

IDProjectCategoryView StatusLast Update
0003571OpenFOAM[All Projects] Bugpublic2020-10-21 10:25
ReporterlxAssigned Towyldckat 
Status closedResolutionno change required 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Product Version7 
Fixed in Version 
Summary0003571: Cannot run Docker image OpenFoAM7-Linux in Ubuntu 20.04
DescriptionI can't finish compilation...
I have the following error

Allwmake src/parallel
Allwmake src/parallel/decompose
    using SCOTCH_ARCH_PATH=/opt/ThirdParty-8/platforms/linux64GccDPInt32/scotch_6.0.9
wmake scotchDecomp
Making dependency list for source file scotchDecomp.C
could not open file scotch.h for source file scotchDecomp.C due to No such file or directory
g++ -std=c++11 -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 -Wno-attributes -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/opt/ThirdParty-8/platforms/linux64GccDPInt32/scotch_6.0.9/include -I/usr/include/scotch -I../decompositionMethods/lnInclude -IlnInclude -I. -I/opt/openfoam8/src/OpenFOAM/lnInclude -I/opt/openfoam8/src/OSspecific/POSIX/lnInclude -fPIC -c scotchDecomp.C -o /opt/openfoam8/platforms/linux64GccDPInt32Opt/src/parallel/decompose/scotchDecomp/scotchDecomp.o
scotchDecomp.C:36:10: fatal error: scotch.h: No such file or directory
   36 | #include "scotch.h"
      | ^~~~~~~~~~
compilation terminated.
make: *** [/opt/openfoam8/wmake/rules/General/transform:26: /opt/openfoam8/platforms/linux64GccDPInt32Opt/src/parallel/decompose/scotchDecomp/scotchDecomp.o] Error 1

Do you know what I should do?

thank you
TagsNo tags attached.



2020-10-15 09:53

reporter   ~0011605

I expanded the memory to 20GB, but still failed to compile


2020-10-15 14:23

updater   ~0011606

1. Official installation instructions from source code:

2. The shell environment for OpenFOAM 8 is still loaded in, while you are trying to build OpenFOAM 7. You should edit your "~/.bashrc" file and change it accordingly to the version you want to load, then start a new terminal.


2020-10-21 10:25

updater   ~0011637

Closing this issue, given that no additional feedback was given.

Issue History

Date Modified Username Field Change
2020-10-14 15:51 lx New Issue
2020-10-15 09:53 lx Note Added: 0011605
2020-10-15 09:55 lx Issue cloned: 0003573
2020-10-15 14:23 wyldckat Note Added: 0011606
2020-10-21 10:25 wyldckat Assigned To => wyldckat
2020-10-21 10:25 wyldckat Status new => closed
2020-10-21 10:25 wyldckat Resolution open => no change required
2020-10-21 10:25 wyldckat Note Added: 0011637