CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] gcc and g++ 11.2.0 on Mint 21 (https://www.cfd-online.com/Forums/openfoam-installation/245618-gcc-g-11-2-0-mint-21-a.html)

AlexKaz October 16, 2022 05:23

gcc and g++ 11.2.0 on Mint 21
 
May be it can helpfull for somebody. 11.2.0 version is crashing the process of building of any OF version. I have change version of c++ ang gcc to 9 at OpenFOAM-v1806/wmake/rules/linux64Gcc/, after that compilation works ok. The piece of log file:

Quote:

libscotchmetis.so
make[2]: Leaving directory '/dev/shm/ThirdParty-v1806/scotch_6.0.3/src/libscotchmetis'
make[1]: Leaving directory '/dev/shm/ThirdParty-v1806/scotch_6.0.3/src/libscotchmetis'
make[1]: Entering directory '/dev/shm/ThirdParty-v1806/scotch_6.0.3/src/libscotchmetis'
make CC="gcc" SCOTCHLIB=ptscotch \
libscotchmetis.so
make[2]: Entering directory '/dev/shm/ThirdParty-v1806/scotch_6.0.3/src/libscotchmetis'
make[2]: 'libscotchmetis.so' is up to date.
make[2]: Leaving directory '/dev/shm/ThirdParty-v1806/scotch_6.0.3/src/libscotchmetis'
cp metis.h ../../include
cp libscotchmetis.so ../../lib
make[1]: Leaving directory '/dev/shm/ThirdParty-v1806/scotch_6.0.3/src/libscotchmetis'
mkdir /dev/shm/ThirdParty-v1806/platforms/linux64GccDPInt32/scotch_6.0.3/bin
mkdir /dev/shm/ThirdParty-v1806/platforms/linux64GccDPInt32/scotch_6.0.3/share
mkdir /dev/shm/ThirdParty-v1806/platforms/linux64GccDPInt32/scotch_6.0.3/share/man
mkdir /dev/shm/ThirdParty-v1806/platforms/linux64GccDPInt32/scotch_6.0.3/share/man/man1
cp -f ../bin/[agm]* /dev/shm/ThirdParty-v1806/platforms/linux64GccDPInt32/scotch_6.0.3/bin
cp -f ../bin/d[agm]* /dev/shm/ThirdParty-v1806/platforms/linux64GccDPInt32/scotch_6.0.3/bin
cp: cannot stat '../bin/d[agm]*': No such file or directory
make: [Makefile:116: install] Error 1 (ignored)



All times are GMT -4. The time now is 02:56.