View Issue Details

IDProjectCategoryView StatusLast Update
0004170OpenFOAMBugpublic2024-10-30 19:02
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

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