Hello
We have recently been given access to a new supercomputer here in Norway, Olivia — Sigma2 documentation. When I try to compile the latest release of LAMMPS (patch_10Sep2025) on it using GNU 14.3.0 I get an error almost immediately,
error: cannot convert ‘<brace-enclosed initializer list>’ to ‘unsigned int’ in initialization :
…
[ 5%] Generating includes/lammps/lmptype.h
[ 5%] Built target lmptype.h
[ 5%] Generating includes/lammps/memory.h
[ 5%] Built target memory.h
[ 5%] Generating includes/lammps/modify.h
[ 5%] Built target modify.h
[ 5%] Building CXX object CMakeFiles/lammps.dir/cluster/home/oystegul/lammps/src/angle.cpp.o
In file included from /cluster/software/NRIS/zen5/software/GCCcore/14.3.0/include/c++/14.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h:35,
from /cluster/software/NRIS/zen5/software/GCCcore/14.3.0/include/c++/14.3.0/x86_64-pc-linux-gnu/bits/gthr.h:157,
from /cluster/software/NRIS/zen5/software/GCCcore/14.3.0/include/c++/14.3.0/ext/atomicity.h:35,
from /cluster/software/NRIS/zen5/software/GCCcore/14.3.0/include/c++/14.3.0/bits/ios_base.h:39,
from /cluster/software/NRIS/zen5/software/GCCcore/14.3.0/include/c++/14.3.0/streambuf:43,
from /cluster/software/NRIS/zen5/software/GCCcore/14.3.0/include/c++/14.3.0/bits/streambuf_iterator.h:35,
from /cluster/software/NRIS/zen5/software/GCCcore/14.3.0/include/c++/14.3.0/iterator:66,
from /cluster/home/oystegul/lammps/src/fmt/format.h:40,
from /cluster/home/oystegul/lammps/src/pointers.h:33,
from /cluster/home/oystegul/lammps/src/angle.h:17,
from /cluster/home/oystegul/lammps/src/angle.cpp:14:
/cluster/software/NRIS/zen5/software/GCCcore/14.3.0/include/c++/14.3.0/ext/concurrence.h:252:32: error: cannot convert ‘’ to ‘unsigned int’ in initialization
252 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
| ^~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/lammps.dir/build.make:79: CMakeFiles/lammps.dir/cluster/home/oystegul/lammps/src/angle.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:176: CMakeFiles/lammps.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
Some more information about the compilation:
– Running check for auto-generated files from make-based build system
– Found MPI_CXX: /cluster/software/NRIS/zen5/software/impi/2021.16.1-intel-compilers-2025.2.0/mpi/2021.16/lib/libmpicxx.so (found version “4.1”)
– Found MPI: TRUE (found version “4.1”) found components: CXX
– Looking for C++ include omp.h
– Looking for C++ include omp.h - found
– Found OpenMP_CXX: -fopenmp (found version “4.5”)
– Found OpenMP: TRUE (found version “4.5”) found components: CXX
– Looking for sgemm_
– Looking for sgemm_ - not found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– Looking for sgemm_
– Looking for sgemm_ - found
I have asked the support from the Norwegian Research Infrastructure Services but they were not able to help me, unfortunately. Can any of you help me here?
Øystein
