View Issue Details

IDProjectCategoryView StatusLast Update
0004170OpenFOAMBugpublic2024-11-01 18:44
ReporterMurzarim Assigned To 
PrioritynormalSeverityblockReproducibilityalways
Status newResolutionopen 
Platformx86_64OSALT LinuxOS VersionRegular
Product Versiondev 
Summary0004170: Can't compile OpenFOAM-dev because of the "cannot touch" error
DescriptionHello,
compilation stops with error message:
touch: невозможно выполнить touch для '/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/Pstream/mpi/using:openmpi-system': Нет такого файла или каталога

Same problem has been described here [https://bugs.openfoam.org/view.php?id=4125], but I used standard paths for folders like in the installation tutorial.
Steps To Reproducegit clone https://github.com/OpenFOAM/ThirdParty-dev.git
git clone https://github.com/OpenFOAM/OpenFOAM-dev.git
# put all in /home/maria/OpenFOAM
# add to .bashrc file
source $HOME/OpenFOAM/OpenFOAM-dev/etc/bashrc
# update bashrc file
source $HOME/.bashrc
cd ~/OpenFOAM/OpenFOAM-dev/
./Allwmake | tee installation.log
TagsNo tags attached.

Activities

Murzarim

2024-10-30 16:55

reporter  

installation.log (5,233 bytes)   
Allwmake /home/maria/OpenFOAM/OpenFOAM-dev
make: Цель «all» не требует выполнения команд.

========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

========================================
ThirdParty installation of Scotch decomposition found
    scotch header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include
    scotch libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib

========================================
ThirdParty installation of PT-Scotch decomposition found
    ptscotch header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include/openmpi-system
    ptscotch libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib/openmpi-system

========================================
METIS decomposition is disabled

========================================
ParMETIS decomposition is disabled

========================================
ThirdParty installation of Zoltan decomposition found
    Zoltan header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/Zoltan-3.90/include
    Zoltan libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib/openmpi-system

========================================
Done ThirdParty Allwmake
========================================

Allwmake src
removing .o files corresponding to OpenFOAM/global/global.o ...
Allwmake src/Pstream
wmake dummy
wclean mpi
wmake mpi
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file UOPwrite.C
Making dependency list for source file UIPread.C
Making dependency list for source file UPstream.C
Making dependency list for source file PstreamGlobals.C
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UOPwrite.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UOPwrite.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UIPread.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UIPread.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UPstream.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UPstream.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c PstreamGlobals.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/PstreamGlobals.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -fuse-ld=bfd -shared -Xlinker --add-needed -Xlinker --no-as-needed /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UOPwrite.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UIPread.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UPstream.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/PstreamGlobals.o -L/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib \
    -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -lmpi  -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so
installation.log (5,233 bytes)   

wyldckat

2024-10-30 19:02

updater   ~0013440

Quick question: If you run the following commands, does the 'pwd' command give the same address as the folder 'cd' went into?

cd /home
pwd -P

cd /home/maria
pwd -P

cd /home/maria/OpenFOAM
pwd -P

Murzarim

2024-10-31 11:00

reporter   ~0013441

[maria@alt ~]$ cd /home
[maria@alt home]$ pwd -P
/home

[maria@alt home]$ cd /home/maria
[maria@alt ~]$ pwd -P
/home/maria

[maria@alt ~]$ cd /home/maria/OpenFOAM
[maria@alt OpenFOAM]$ pwd -P
/home/maria/OpenFOAM

wyldckat

2024-10-31 12:36

updater   ~0013442

OK, so there is not a clear reason as to what failed exactly.
The log file is incomplete, because it does not have the error messages.

In order to ensure the error messages are placed inside the log file, as well as having them in English, to make it easier for us to diagnose, please run the following commands in a new terminal:

  source $HOME/OpenFOAM/OpenFOAM-dev/etc/bashrc
  export LANG=en_US.UTF-8
  export LANGUAGE=en
  export LANG=C
  foam
  src/Pstream/Allwclean
  ./Allwmake > log.make 2>&1

Then attach the resulting "log.make" file here.

Murzarim

2024-10-31 14:40

reporter   ~0013443

log.make (8,072 bytes)   
Allwmake /home/maria/OpenFOAM/OpenFOAM-dev
make: Nothing to be done for 'all'.

========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

========================================
ThirdParty installation of Scotch decomposition found
    scotch header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include
    scotch libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib

========================================
ThirdParty installation of PT-Scotch decomposition found
    ptscotch header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include/openmpi-system
    ptscotch libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib/openmpi-system

========================================
METIS decomposition is disabled

========================================
ParMETIS decomposition is disabled

========================================
ThirdParty installation of Zoltan decomposition found
    Zoltan header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/Zoltan-3.90/include
    Zoltan libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib/openmpi-system

========================================
Done ThirdParty Allwmake
========================================

Allwmake src
version changed from previous build
removing .o files corresponding to OpenFOAM/global/global.o ...
Allwmake src/Pstream
wmake dummy
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file UPstream.C
Making dependency list for source file UIPread.C
Making dependency list for source file UOPwrite.C
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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   -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UPstream.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UPstream.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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   -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UIPread.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UIPread.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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   -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UOPwrite.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UOPwrite.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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   -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -fuse-ld=bfd -shared -Xlinker --add-needed -Xlinker --no-as-needed /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UPstream.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UIPread.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UOPwrite.o -L/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib \
    -lpthread  -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/dummy/libPstream.so
wclean mpi
wmake mpi
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file UOPwrite.C
Making dependency list for source file UIPread.C
Making dependency list for source file UPstream.C
Making dependency list for source file PstreamGlobals.C
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UOPwrite.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UOPwrite.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UIPread.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UIPread.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UPstream.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UPstream.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c PstreamGlobals.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/PstreamGlobals.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -fuse-ld=bfd -shared -Xlinker --add-needed -Xlinker --no-as-needed /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UOPwrite.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UIPread.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UPstream.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/PstreamGlobals.o -L/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib \
    -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -lmpi  -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so
touch: cannot touch '/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/Pstream/mpi/using:openmpi-system': No such file or directory
log.make (8,072 bytes)   

wyldckat

2024-10-31 15:34

updater   ~0013444

Then what happens if you run the following commands manually:

  mkdir -p /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/Pstream/mpi/
  touch /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/Pstream/mpi/using:openmpi-system

Does the last command given the same error message?

If there is no error message, then what happens when you now try to continue building OpenFOAM by using the 'Allwmake' script, the same way as before?

Murzarim

2024-10-31 16:23

reporter   ~0013445

The compilation passed through the touch error, but after a while, it stopped again with the same error for two other files. Do I have to repeat the same steps to continue compilation?
log-2.make (11,682 bytes)   
Compiling enabled on 8 cores
Allwmake /home/maria/OpenFOAM/OpenFOAM-dev
make: Nothing to be done for 'all'.

========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

========================================
ThirdParty installation of Scotch decomposition found
    scotch header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include
    scotch libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib

========================================
ThirdParty installation of PT-Scotch decomposition found
    ptscotch header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include/openmpi-system
    ptscotch libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib/openmpi-system

========================================
METIS decomposition is disabled

========================================
ParMETIS decomposition is disabled

========================================
ThirdParty installation of Zoltan decomposition found
    Zoltan header in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/Zoltan-3.90/include
    Zoltan libs   in /home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib/openmpi-system

========================================
Done ThirdParty Allwmake
========================================

Allwmake src
same version as previous build
Allwmake src/Pstream
wmake dummy
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file UPstream.C
Making dependency list for source file UIPread.C
Making dependency list for source file UOPwrite.C
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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   -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UPstream.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UPstream.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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   -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UIPread.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UIPread.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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   -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UOPwrite.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UOPwrite.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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   -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -fuse-ld=bfd -shared -Xlinker --add-needed -Xlinker --no-as-needed /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UPstream.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UIPread.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UOPwrite.o -L/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib \
    -lpthread  -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/dummy/libPstream.so
wmake mpi
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file UOPwrite.C
Making dependency list for source file UIPread.C
Making dependency list for source file UPstream.C
Making dependency list for source file PstreamGlobals.C
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UOPwrite.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UOPwrite.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UIPread.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UIPread.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UPstream.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UPstream.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c PstreamGlobals.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/PstreamGlobals.o
g++ -std=c++14 -m64 -DLIB_NAME=libPstream.so -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/local/include -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -fuse-ld=bfd -shared -Xlinker --add-needed -Xlinker --no-as-needed /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UOPwrite.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UIPread.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/UPstream.o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/Pstream/mpi/PstreamGlobals.o -L/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib \
    -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -lmpi  -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so
Allwmake libo src/OSspecific/POSIX
    found <sys/inotify.h>  --  enabling inotify for file monitoring.
wmake libo .
wmake OpenFOAM
wmake fileFormats
wmake surfMesh
wmake triSurface
wmake meshTools
Allwmake src/dummyThirdParty
wmake scotch
wmake ptscotch
wmake metis
wmake MGridGen
wmake finiteVolume
wmake ODE
wmake physicalProperties
Allwmake src/thermophysicalModels
wmake specie
wmake thermophysicalProperties
wmake basic
wmake multicomponentThermo
wmake laminarFlameSpeed
wmake chemistryModel
wmake solidThermo
wmake saturationModels
wmake tracking
wmake lagrangian/basic
Allwmake src/generic
wmake genericPatches
wmake genericFields
wmake genericFvPatches
wmake genericFvFields
wmake sampling
wmake meshCheck
wmake motionSolvers
wmake mesh/extrudeModel
wmake polyTopoChange
wmake conversion
Allwmake src/parallel
Allwmake src/parallel/decompose
wmake decompositionMethods
wmake scotch
Allwmake src/parallel/decompose/scotch
    using SCOTCH_ARCH_PATH=/home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9
wmake ptscotch
Allwmake src/parallel/decompose/ptscotch
    using SCOTCH_ARCH_PATH=/home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9
wmake 
Making dependency list for source file ptscotch.C
g++ -std=c++14 -m64 -DLIB_NAME=libptscotchDecomp.so -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/local/include -I/home/maria/OpenFOAM/OpenFOAM-dev/src/Pstream/mpi/lnInclude -I/home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include/openmpi-system -I/home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include -I/usr/include/scotch -I../decompositionMethods/lnInclude -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c ptscotch.C -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/parallel/decompose/ptscotch/ptscotch.o
g++ -std=c++14 -m64 -DLIB_NAME=libptscotchDecomp.so -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/local/include -I/home/maria/OpenFOAM/OpenFOAM-dev/src/Pstream/mpi/lnInclude -I/home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include/openmpi-system -I/home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/include -I/usr/include/scotch -I../decompositionMethods/lnInclude -IlnInclude -I. -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/maria/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -fuse-ld=bfd -shared -Xlinker --add-needed -Xlinker --no-as-needed /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/parallel/decompose/ptscotch/ptscotch.o -L/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib \
    -L/home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/scotch_6.0.9/lib  -L/home/maria/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt32/lib/openmpi-system -lptscotch -lptscotcherrexit -lscotch -lrt  -o /home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libptscotchDecomp.so
touch: cannot touch '/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotch/using:openmpi-system': No such file or directory
touch: cannot touch '/home/maria/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/parallel/decompose/ptscotch/using:scotch_6.0.9': No such file or directory
log-2.make (11,682 bytes)   

wyldckat

2024-10-31 18:11

updater   ~0013446

Yes, to at least get past this issue, is to do these steps manually, adjusted accordingly to the error message at the end.

I don't know if it's something that is missing in your system, given that this usually works well in Ubuntu and openSUSE... and I've built on RockyLinux 9 without problems as well.

Murzarim

2024-11-01 18:44

reporter   ~0013447

I used the touch command a couple of times to create missing files, and it finally compiled without any error messages. OpenFOAM seems to be working. 

Thank you very much!

Issue History

Date Modified Username Field Change
2024-10-30 16:55 Murzarim New Issue
2024-10-30 16:55 Murzarim File Added: installation.log
2024-10-30 19:02 wyldckat Note Added: 0013440
2024-10-31 11:00 Murzarim Note Added: 0013441
2024-10-31 12:36 wyldckat Note Added: 0013442
2024-10-31 14:40 Murzarim Note Added: 0013443
2024-10-31 14:40 Murzarim File Added: log.make
2024-10-31 15:34 wyldckat Note Added: 0013444
2024-10-31 16:23 Murzarim Note Added: 0013445
2024-10-31 16:23 Murzarim File Added: log-2.make
2024-10-31 18:11 wyldckat Note Added: 0013446
2024-11-01 18:44 Murzarim Note Added: 0013447