/var/tmp/portage/sci-physics/lammps-20181212/work/lammps-patch_12Dec2018/src/kspace.cpp: In member function ‘void LAMMPS_NS::KSpace::qsum_qsq()’: /var/tmp/portage/sci-physics/lammps-20181212/work/lammps-patch_12Dec2018/src/kspace.cpp:280:3: error: ‘nlocal’ not specified in enclosing ‘parallel’ 280 | for (int i = 0; i < nlocal; i++) { | ^~~ /var/tmp/portage/sci-physics/lammps-20181212/work/lammps-patch_12Dec2018/src/kspace.cpp:278:9: error: enclosing ‘parallel’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome_libressl_20190510-223704 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.1.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * Available Rust versions: [1] rust-bin-1.34.1 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.12.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpvO sci-physics/lammps [ebuild N ] sci-physics/lammps-20181212 USE="-cuda -examples -gzip -lammps-memalign -mpi -netcdf -python -test" PYTHON_TARGETS="python2_7 python3_6 -python3_5"
Created attachment 576330 [details] emerge-info.txt
Created attachment 576332 [details] emerge-history.txt
Created attachment 576334 [details] environment
Created attachment 576336 [details] etc.portage.tbz2
Created attachment 576338 [details] logs.tbz2
Created attachment 576340 [details] sci-physics:lammps-20181212:20190513-003612.log.bz2
Created attachment 576342 [details] temp.tbz2
You can use the workaround from Fedora: find . -type f \( -name "*.cpp" -or -name "*.h" \) -exec sed -e '/#pragma omp/s/default(none)/default(shared)/' -e '/#pragma omp/s/shared([^)]\+)//' -i {} +
Fixed in https://github.com/lammps/lammps/commit/3e05b983c1cc02b5923f93490981311e3d8bea42 and released as https://github.com/lammps/lammps/releases/tag/stable_5Jun2019 . Revbump perhaps?
(In reply to Michael 'veremitz' Everitt from comment #9) > Fixed in > https://github.com/lammps/lammps/commit/ > 3e05b983c1cc02b5923f93490981311e3d8bea42 and released as > https://github.com/lammps/lammps/releases/tag/stable_5Jun2019 . > > Revbump perhaps? Not really a fix, it just disables OpenMP support.
This should be fixed as of the April 15th release: https://github.com/lammps/lammps/commit/9a1b4a8edb9f1d19f79b0f6ab65a9ec4b1ebc9eb
Cannon reproduce with the 20200303 release.