Skip to content

debian12 source build of2306 failed

Summary

Hello,I am building the openfoam of version 2406 and version 2306 by following the official document.But there are many errors when compiling the solvers.Below is the detailed information.

Steps to reproduce

  • i install these libs:

sudo apt-get update
sudo apt-get install build-essential autoconf autotools-dev cmake gawk gnuplot
sudo apt-get install flex libfl-dev libreadline-dev zlib1g-dev openmpi-bin libopenmpi-dev mpi-default-bin mpi-default-dev
sudo apt-get install libgmp-dev libmpfr-dev libmpc-dev
sudo apt-get install libfftw3-dev libscotch-dev libptscotch-dev libboost-system-dev libboost-thread-dev libcgal-dev
sudo apt install libmetis-dev libadios-dev
  • then i configure the build options by

./bin/tools/foamConfigurePaths -sys-openmpi -dp -int32  -adios adios-system -fftw fftw-system -metis metis-system -scotch scotch-system -paraview system
  • i put the Third party into the of source dir.and then source ./etc/bashrc.and then use ./Allwmake -l -s -k to compile it.

What is the current bug behaviour?

  • when compile the lib and the utilies,there are some libs and utilies skiped,like:

    image
  • when compile the solves,there are many same errors,like

    image
  • And we can cat the log to pipe,and grep -i error,there are many errors related to the creatFields.H.I really really have no idea.

What is the expected correct behavior?

  • As we all know,the right behavior is we can successfully build the most solvers,but i can only compile a part of them,i even do not have simpleFoam!

Environment information

  • OpenFOAM version :v2406 and v2306
  • Operating system :debian 12 (kernel 6.1.0-22-amd64)
  • Hardware info :amd cpu(i do not know what may help)
  • Compiler :gcc version 11.3.0 (Debian 11.3.0-12)

Relevant logs and/or images

  • the log file is too big,so i put into the attach

log.linux64GccDPInt32Opt