View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004170 | OpenFOAM | Bug | public | 2024-10-30 16:55 | 2024-10-31 12:36 |
Reporter | Murzarim | Assigned To | |||
Priority | normal | Severity | block | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86_64 | OS | ALT Linux | OS Version | Regular |
Product Version | dev | ||||
Summary | 0004170: Can't compile OpenFOAM-dev because of the "cannot touch" error | ||||
Description | Hello, 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 Reproduce | git 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 | ||||
Tags | No tags attached. | ||||
|
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 |
|
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 |
|
[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 |
|
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. |