BlueBrain / CoreNeuron

Simulator optimized for large scale neural network simulations.
BSD 3-Clause "New" or "Revised" License
135 stars 39 forks source link

Build and install step of installation not working #888

Open mjribeiro opened 1 year ago

mjribeiro commented 1 year ago

Describe the issue I am currently trying to install NEURON/CoreNEURON following the instructions on the README in this repo, but the build and install step is not working. See logs and system specs below. Thank you!

To Reproduce

Expected behavior The build and install step should not fail

Logs Output from cmake --build . --parallel 8 --target install:

[  0%] [BISON][modlunitparser] Building parser with bison 3.8.2
[  0%] [BISON][parse1] Building parser with bison 3.8.2
[  0%] [BISON][nocmodlparser] Building parser with bison 3.8.2
[  0%] Building CXX object src/coreneuron/CMakeFiles/corenrn_mpi.dir/mpi/lib/mpispike.cpp.o
../../../../src/nmodl/parse1.ypp: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
../../../../src/nmodl/parse1.ypp: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[  0%] Generating ../../share/coreneuron/enginemech.cpp
[  0%] Update hh.mod for CoreNEURON compatibility
[  0%] Building CUDA object src/coreneuron/CMakeFiles/coreneuron-cuda.dir/permute/cellorder.cu.o
[  0%] Generating ../../share/coreneuron/mod_func.c.pl
[  0%] Built target hh_update
[  0%] Generating ../../share/modfile/exp2syn.mod
[  0%] Generating ../../share/modfile/expsyn.mod
[  0%] Generating ../../share/modfile/hh.mod
[  0%] [BISON][nocmodlparser] Building parser with bison 3.8.2
../../../../src/nmodl/diffeq.ypp: warning: 5 shift/reduce conflicts [-Wconflicts-sr]
../../../../src/nmodl/diffeq.ypp: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[  1%] Generating ../../share/modfile/netstim.mod
[  1%] Generating ../../share/modfile/passive.mod
[  1%] Generating ../../share/modfile/pattern.mod
[  1%] Generating ../../share/modfile/stim.mod
[  1%] Generating ../../share/modfile/svclmp.mod
[  1%] [FLEX][modlunitlexer] Building scanner with flex 2.6.4
[  1%] Built target coreneuron-copy-nrnivmodl-core-dependencies
[  2%] Generating help_data.dat
[  2%] Building CXX object src/nrnpython/CMakeFiles/rxdmath.dir/rxdmath.cpp.o
[  2%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/consist.cpp.o
[  2%] [FLEX][nocmodllexer] Building scanner with flex 2.6.4
[  2%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/consist.cpp.o
[  2%] Built target nrnversion_h
nvc++-Info-Switch -Mvect forces -O2
[  2%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/deriv.cpp.o
[  2%] Built target help_data_dat
[  2%] [BISON][diffeq] Building parser with bison 3.8.2
../../../../../external/mod2c/src/mod2c_core/diffeq.y: warning: 5 shift/reduce conflicts [-Wconflicts-sr]
../../../../../external/mod2c/src/mod2c_core/diffeq.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[  2%] Generating share/nrn/demo/testca.hoc
nvc++-Info-Switch -Mvect forces -O2
[  2%] Generating share/nrn/demo/cycle.hoc
nvc++-Info-Switch -Mvect forces -O2
[  2%] Generating share/nrn/demo/d3init.hoc
[  2%] Generating share/nrn/demo/demo.hoc
[  2%] Generating share/nrn/demo/demo.ses
[  2%] [FLEX][lex] Building scanner with flex 2.6.4
[  2%] Generating share/nrn/demo/dend3.ses
[  2%] Generating share/nrn/demo/dend3/control.hoc
[  2%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/consist.c.o
[  2%] Generating share/nrn/demo/dend3/dend3.nrn
[  3%] Generating share/nrn/demo/dend3/syn3.hoc
[  3%] Generating share/nrn/demo/dynchan.ses
nvc-Info-Switch -Mvect forces -O2
[  3%] Generating share/nrn/demo/dynclamp.hoc
[  3%] Generating share/nrn/demo/dynclamp.ses
[  3%] Generating share/nrn/demo/hh.hoc
[  3%] Generating share/nrn/demo/hh.ses
[  3%] Generating share/nrn/demo/nomodel.hoc
[  3%] Generating share/nrn/demo/pyramid.nrn
[  3%] Generating share/nrn/demo/pyramid.ses
[  4%] Generating share/nrn/demo/reconst.hoc
[  4%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/io.c.o
[  4%] Generating share/nrn/demo/release.hoc
[  4%] Generating share/nrn/demo/release.ses
[  4%] Generating share/nrn/demo/release/cabpump.mod
nvc-Info-Switch -Mvect forces -O2
[  4%] Generating share/nrn/demo/release/cachan1.mod
[  4%] Generating share/nrn/demo/release/camchan.mod
[  4%] Generating share/nrn/demo/release/capump.mod
[  4%] Generating share/nrn/demo/release/invlfire.mod
[  4%] Generating share/nrn/demo/release/khhchan.mod
[  5%] Generating share/nrn/demo/release/mcna.mod
[  5%] Generating share/nrn/demo/release/nacaex.mod
[  6%] Linking CXX shared library ../../lib/librxdmath.so
[  6%] Generating share/nrn/demo/release/nachan.mod
[  6%] Generating share/nrn/demo/release/release.mod
[  6%] Generating share/nrn/demo/singhh.hoc
[  6%] Generating share/nrn/demo/singhh.ses
[  6%] Generating share/nrn/demo/singhhchan.hoc
[  6%] Generating share/nrn/demo/sync/cell.hoc
[  6%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/list.c.o
[  6%] Generating share/nrn/demo/sync/demosync.hoc
[  7%] Generating share/nrn/demo/sync/init.hoc
nvc-Info-Switch -Mvect forces -O2
[  7%] Generating share/nrn/demo/sync/spkplot.hoc
[  7%] Generating share/nrn/demo/sync/start.ses
[  7%] Built target rxdmath
[  7%] Generating share/nrn/demo/sync/synchronize.hoc
[  7%] Copying /home/mafalda/nrn/share/demo to /home/mafalda/nrn/build/share/nrn/demo
[  7%] Generating share/nrn/lib/shape.cm2
[  7%] Built target copy_share_demo_to_build
[  7%] Generating share/nrn/lib/auditscripts/gettarname
[  7%] Building CXX object src/coreneuron/CMakeFiles/corenrn_mpi.dir/mpi/lib/nrnmpi.cpp.o
[  7%] Generating share/nrn/lib/auditscripts/hocaudit.sh
/home/mafalda/nrn/src/coreneuron/mechanism/mechanism.hpp(106): warning #177-D: variable "cannot_reallocate_on_device" was declared but never referenced

[  7%] Generating share/nrn/lib/auditscripts/notes
[  8%] Generating share/nrn/lib/auditscripts/retrieve.sh
[  9%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/nocpout.c.o
[  9%] Generating share/nrn/lib/auditscripts/saveaudit
[  9%] Generating share/nrn/lib/cleanup
[  9%] Generating share/nrn/lib/helpdict
nvc-Info-Switch -Mvect forces -O2
[  9%] Generating share/nrn/lib/hoc/atoltool.hoc
[  9%] Generating share/nrn/lib/hoc/attshape.hoc
[  9%] Generating share/nrn/lib/hoc/binfo.hoc
[  9%] Generating share/nrn/lib/hoc/celbild.hoc
[ 10%] Generating share/nrn/lib/hoc/celbild/celbild1.hoc
[ 10%] Generating share/nrn/lib/hoc/celbild/celgeom.hoc
[ 10%] Generating share/nrn/lib/hoc/celbild/celmang.hoc
[ 10%] Generating share/nrn/lib/hoc/celbild/celmemb.hoc
[ 10%] Generating share/nrn/lib/hoc/celbild/celset.hoc
[ 10%] Generating share/nrn/lib/hoc/celbild/celtopol.hoc
[ 10%] Generating share/nrn/lib/hoc/celbild/inhomofn.hoc
[ 10%] Generating share/nrn/lib/hoc/celbild/psubset.hoc
[ 10%] Generating share/nrn/lib/hoc/chanbild.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/chanbild1.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/const.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/exp.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/gategui.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/kschanbg.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/ksgate.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/ksstate.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/kstgui.hoc
[ 11%] Generating share/nrn/lib/hoc/chanbild/kstrans.hoc
[ 12%] Generating share/nrn/lib/hoc/chanbild/linoid.hoc
[ 12%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/declare.cpp.o
[ 12%] Generating share/nrn/lib/hoc/chanbild/properties.hoc
[ 12%] Generating share/nrn/lib/hoc/chanbild/sigmoid.hoc
[ 12%] Generating share/nrn/lib/hoc/chanbild/table.hoc
nvc++-Info-Switch -Mvect forces -O2
[ 12%] Generating share/nrn/lib/hoc/corenrn.hoc
[ 12%] Generating share/nrn/lib/hoc/electrod.hoc
[ 12%] Generating share/nrn/lib/hoc/family.hoc
[ 12%] Generating share/nrn/lib/hoc/funfit.hoc
[ 12%] Generating share/nrn/lib/hoc/gatherv.hoc
[ 13%] Generating share/nrn/lib/hoc/grapher.hoc
[ 13%] Generating share/nrn/lib/hoc/impedanc.hoc
[ 13%] Generating share/nrn/lib/hoc/impedanx.hoc
[ 13%] Generating share/nrn/lib/hoc/import3d.hoc
[ 13%] Generating share/nrn/lib/hoc/import3d/import3d_gui.hoc
[ 13%] Generating share/nrn/lib/hoc/import3d/import3d_sec.hoc
[ 13%] Generating share/nrn/lib/hoc/import3d/read_morphml.hoc
[ 13%] Generating share/nrn/lib/hoc/import3d/read_nlcda.hoc
[ 13%] Generating share/nrn/lib/hoc/import3d/read_nlcda3.hoc
[ 14%] Generating share/nrn/lib/hoc/import3d/read_nts.hoc
[ 14%] Generating share/nrn/lib/hoc/import3d/read_swc.hoc
[ 14%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/partial.c.o
[ 14%] Generating share/nrn/lib/hoc/impratio.hoc
[ 14%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/solve.c.o
[ 15%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/discrete.cpp.o
[ 15%] Generating share/nrn/lib/hoc/inserter.hoc
nvc-Info-Switch -Mvect forces -O2
[ 15%] Generating share/nrn/lib/hoc/lincir.hoc
nvc-Info-Switch -Mvect forces -O2
[ 15%] Generating share/nrn/lib/hoc/lincir/elmbase.hoc
nvc++-Info-Switch -Mvect forces -O2
[ 15%] Generating share/nrn/lib/hoc/lincir/lincir1.hoc
[ 15%] Generating share/nrn/lib/hoc/lincir/lingraph.hoc
[ 15%] Generating share/nrn/lib/hoc/lincir/linmech.hoc
[ 16%] Generating share/nrn/lib/hoc/loadbal.hoc
[ 16%] Generating share/nrn/lib/hoc/logax.hoc
[ 16%] Generating share/nrn/lib/hoc/macload.hoc
/home/mafalda/nrn/src/coreneuron/mechanism/mechanism.hpp(106): warning #177-D: variable "cannot_reallocate_on_device" was declared but never referenced

[ 16%] Generating share/nrn/lib/hoc/mkcurve.hoc
[ 16%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/version.c.o
[ 16%] Generating share/nrn/lib/hoc/mknrndll.hoc
[ 16%] Generating share/nrn/lib/hoc/modlunit.hoc
[ 16%] Generating share/nrn/lib/hoc/movierun.hoc
nvc-Info-Switch -Mvect forces -O2
[ 16%] Generating share/nrn/lib/hoc/mulfit.hoc
[ 17%] Generating share/nrn/lib/hoc/mulfit/clampfit.hoc
[ 17%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/init.cpp.o
[ 17%] Generating share/nrn/lib/hoc/mulfit/e_actpot.hoc
[ 17%] Generating share/nrn/lib/hoc/mulfit/e_norm.hoc
[ 17%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/io.cpp.o
[ 17%] Generating share/nrn/lib/hoc/mulfit/e_xy.hoc
nvc++-Info-Switch -Mvect forces -O2
[ 17%] Generating share/nrn/lib/hoc/mulfit/e_y.hoc
[ 17%] Generating share/nrn/lib/hoc/mulfit/eonefunc.hoc
nvc++-Info-Switch -Mvect forces -O2
[ 17%] Generating share/nrn/lib/hoc/mulfit/eoneprim.hoc
[ 17%] Generating share/nrn/lib/hoc/mulfit/eonerun.hoc
[ 17%] Generating share/nrn/lib/hoc/mulfit/eparmlst.hoc
[ 18%] Generating share/nrn/lib/hoc/mulfit/fitparm.hoc
[ 18%] Generating share/nrn/lib/hoc/mulfit/mulfit1.hoc
[ 18%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/discrete.c.o
[ 18%] Generating share/nrn/lib/hoc/mulfit/optwrap.hoc
[ 18%] Generating share/nrn/lib/hoc/mulfit/protorun.hoc
[ 18%] Generating share/nrn/lib/hoc/mview.hoc
[ 18%] Generating share/nrn/lib/hoc/mview/allcell.hoc
nvc-Info-Switch -Mvect forces -O2
[ 18%] Generating share/nrn/lib/hoc/mview/allpp.hoc
[ 18%] Generating share/nrn/lib/hoc/mview/artview.hoc
[ 18%] Generating share/nrn/lib/hoc/mview/distinct.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/distinctparm.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/mview1.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/mviewgui.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/mviewxml.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/ncview.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/parmsets.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/parmvals.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/ppanal.hoc
[ 19%] Generating share/nrn/lib/hoc/mview/rcclasses.hoc
[ 20%] Generating share/nrn/lib/hoc/mview/realcell.hoc
[ 20%] Generating share/nrn/lib/hoc/mview/secanal.hoc
[ 20%] Generating share/nrn/lib/hoc/mview/treeview.hoc
[ 20%] Generating share/nrn/lib/hoc/netbild.hoc
[ 20%] Generating share/nrn/lib/hoc/netbild/artcel.hoc
[ 20%] Generating share/nrn/lib/hoc/netbild/edgegui.hoc
[ 20%] Generating share/nrn/lib/hoc/netbild/grstrlst.hoc
[ 20%] Generating share/nrn/lib/hoc/netbild/netdata.hoc
[ 20%] Generating share/nrn/lib/hoc/netbild/netgui.hoc
[ 21%] Generating share/nrn/lib/hoc/netbild/netready.hoc
[ 21%] Generating share/nrn/lib/hoc/netbild/spkplot.hoc
[ 21%] Generating share/nrn/lib/hoc/netbild/syntypes.hoc
[ 21%] Generating share/nrn/lib/hoc/netparmpi.hoc
[ 21%] Generating share/nrn/lib/hoc/noload.hoc
[ 21%] Generating share/nrn/lib/hoc/nrngui.hoc
[ 21%] Generating share/nrn/lib/hoc/nrngui1.hoc
[ 21%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/kinunit.cpp.o
[ 21%] Generating share/nrn/lib/hoc/parcom.hoc
[ 21%] Built target corenrn_mpi
[ 21%] Generating share/nrn/lib/hoc/pcchdir.hoc
[ 22%] Generating share/nrn/lib/hoc/pointbsr.hoc
[ 22%] Generating share/nrn/lib/hoc/pointgrp.hoc
[ 22%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/init.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 22%] Generating share/nrn/lib/hoc/pointman.hoc
[ 22%] Generating share/nrn/lib/hoc/prcellstate.hoc
nvc++-Info-Switch -Mvect forces -O2
[ 22%] Generating share/nrn/lib/hoc/runfit.hoc
[ 22%] Generating share/nrn/lib/hoc/shapebox.hoc
[ 22%] Generating share/nrn/lib/hoc/showmech.hoc
[ 22%] Generating share/nrn/lib/hoc/single.hoc
[ 23%] Generating share/nrn/lib/hoc/single1.hoc
[ 23%] Generating share/nrn/lib/hoc/stdgui.hoc
[ 23%] Generating share/nrn/lib/hoc/stdlib.hoc
[ 23%] Generating share/nrn/lib/hoc/stdrun.hoc
[ 23%] Generating share/nrn/lib/hoc/subiter.hoc
[ 23%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/kinetic.c.o
[ 23%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/modl.c.o
[ 23%] Generating share/nrn/lib/hoc/thresh.hoc
[ 23%] Generating share/nrn/lib/hoc/varmeth1.hoc
nvc-Info-Switch -Mvect forces -O2
nvc-Info-Switch -Mvect forces -O2
[ 23%] Generating share/nrn/lib/hoc/vecwrap.hoc
[ 23%] Generating share/nrn/lib/hoc/vplay.hoc
[ 24%] Generating share/nrn/lib/hoc/wingroup.hoc
[ 24%] Generating share/nrn/lib/hocload.sh
[ 24%] Generating share/nrn/lib/nrn.defaults.in
[ 24%] Generating share/nrn/lib/nrnunits.lib.in
[ 24%] Generating share/nrn/lib/prologue.id
[ 24%] Generating share/nrn/lib/python/neuron/__init__.py
[ 24%] Generating share/nrn/lib/python/neuron/config.py
[ 24%] Generating share/nrn/lib/python/neuron/coreneuron.py
[ 24%] Generating share/nrn/lib/python/neuron/crxd/__init__.py
[ 25%] Generating share/nrn/lib/python/neuron/doc.py
[ 25%] Generating share/nrn/lib/python/neuron/expect_hocerr.py
[ 25%] Generating share/nrn/lib/python/neuron/gui.py
[ 25%] Generating share/nrn/lib/python/neuron/gui2/__init__.py
[ 25%] Generating share/nrn/lib/python/neuron/gui2/config.py
[ 25%] Generating share/nrn/lib/python/neuron/gui2/plotshape.py
[ 25%] Generating share/nrn/lib/python/neuron/gui2/rangevar.py
[ 25%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/parsact.c.o
[ 25%] Generating share/nrn/lib/python/neuron/gui2/setup_threejs.py
[ 25%] Generating share/nrn/lib/python/neuron/gui2/utilities.py
[ 26%] Generating share/nrn/lib/python/neuron/hclass3.py
[ 27%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/list.cpp.o
[ 26%] Generating share/nrn/lib/python/neuron/neuroml/__init__.py
[ 27%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/io.cpp.o
[ 27%] Generating share/nrn/lib/python/neuron/neuroml/biophysics.py
nvc-Info-Switch -Mvect forces -O2
[ 27%] Generating share/nrn/lib/python/neuron/neuroml/metadata.py
[ 27%] Generating share/nrn/lib/python/neuron/neuroml/morphml.py
nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
[ 27%] Generating share/nrn/lib/python/neuron/neuroml/neuroml.py
[ 27%] Generating share/nrn/lib/python/neuron/neuroml/rdxml.py
[ 27%] Generating share/nrn/lib/python/neuron/neuroml/xml2nrn.py
[ 27%] Generating share/nrn/lib/python/neuron/nonvint_block_supervisor.py
[ 28%] Generating share/nrn/lib/python/neuron/psection.py
[ 28%] Generating share/nrn/lib/python/neuron/rxd/__init__.py
[ 28%] Generating share/nrn/lib/python/neuron/rxd/constants.py
[ 28%] Generating share/nrn/lib/python/neuron/rxd/dimension3.py
[ 28%] Generating share/nrn/lib/python/neuron/rxd/export.py
[ 28%] Generating share/nrn/lib/python/neuron/rxd/generalizedReaction.py
[ 28%] Generating share/nrn/lib/python/neuron/rxd/geometry.py
[ 28%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/CMakeLists.txt
[ 28%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/FullJoinMorph.py
[ 29%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/GeneralizedVoxelization.py
[ 29%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/__init__.py
[ 29%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/kinetic.cpp.o
[ 29%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/ctng.pyx
[ 29%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/graphicsPrimitives.pyx
nvc++-Info-Switch -Mvect forces -O2
[ 29%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/scalarField.py
[ 29%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/setup.py.in
[ 29%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/simplevolume_helper.py
[ 29%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/surface.py
[ 30%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/surface_a.py
[ 30%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/surfaces.pyx
[ 31%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/sens.c.o
[ 31%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/triangularMesh.py
[ 31%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/voxelize.py
[ 31%] Generating share/nrn/lib/python/neuron/rxd/geometry3d/voxelize2.py
[ 31%] Generating share/nrn/lib/python/neuron/rxd/gui.py
nvc-Info-Switch -Mvect forces -O2
[ 31%] Generating share/nrn/lib/python/neuron/rxd/initializer.py
[ 31%] Generating share/nrn/lib/python/neuron/rxd/multiCompartmentReaction.py
[ 31%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/model.cpp.o
[ 31%] Generating share/nrn/lib/python/neuron/rxd/node.py
[ 32%] Generating share/nrn/lib/python/neuron/rxd/nodelist.py
[ 32%] Generating share/nrn/lib/python/neuron/rxd/options.py
[ 32%] Generating share/nrn/lib/python/neuron/rxd/plugins.py
[ 32%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/list.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 32%] Generating share/nrn/lib/python/neuron/rxd/rangevar.py
[ 32%] Generating share/nrn/lib/python/neuron/rxd/rate.py
[ 32%] Generating share/nrn/lib/python/neuron/rxd/reaction.py
nvc++-Info-Switch -Mvect forces -O2
[ 32%] Generating share/nrn/lib/python/neuron/rxd/region.py
[ 32%] Generating share/nrn/lib/python/neuron/rxd/rxd.py
[ 32%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/symbol.c.o
[ 32%] Generating share/nrn/lib/python/neuron/rxd/rxdException.py
[ 33%] Generating share/nrn/lib/python/neuron/rxd/rxdmath.py
nvc-Info-Switch -Mvect forces -O2
[ 33%] Generating share/nrn/lib/python/neuron/rxd/rxdsection.py
[ 33%] Generating share/nrn/lib/python/neuron/rxd/section1d.py
[ 33%] Generating share/nrn/lib/python/neuron/rxd/species.py
[ 33%] Generating share/nrn/lib/python/neuron/rxdtests/do_test.py
[ 33%] Generating share/nrn/lib/python/neuron/rxdtests/readme.txt
[ 33%] Generating share/nrn/lib/python/neuron/rxdtests/run_all.py
[ 33%] Generating share/nrn/lib/python/neuron/rxdtests/tests/3d/circadian_rhythm.py
[ 33%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/deriv.c.o
[ 33%] Generating share/nrn/lib/python/neuron/rxdtests/tests/3d/include_flux3d.py
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/3d/include_flux3d_cvode.py
nvc-Info-Switch -Mvect forces -O2
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/3d/multicompartment_reactions.py
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/3d/pure_diffusion_3d.py
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/3d/pure_diffusion_3d_cvode.py
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/3d/torun.txt
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/IraHH.py
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/c91662.swc
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ca_pump.py
[ 34%] Generating share/nrn/lib/python/neuron/rxdtests/tests/cabuf.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/cabuf_fixed_step.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/ecs_before_sections.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/ecs_example.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/ecs_example_cvode.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/ecs_include_flux.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/ecs_include_flux_cvode.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/ecs_multi_example.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/ecs_multi_example_cvode.py
[ 35%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/pump.mod
[ 36%] Generating share/nrn/lib/python/neuron/rxdtests/tests/ecs/torun.txt
[ 36%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hh.py
[ 36%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hh_cvode.py
[ 36%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/init.c.o
[ 36%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/noccout.c.o
[ 36%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hh_morph.py
[ 36%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hh_param.py
nvc-Info-Switch -Mvect forces -O2
[ 36%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hh_param_cvode.py
nvc-Info-Switch -Mvect forces -O2
[ 36%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hybrid/bistable_hybrid.py
[ 36%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/modl.cpp.o
[ 36%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hybrid/bistable_hybrid_change_nthread.py
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hybrid/bistable_hybrid_cvode.py
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hybrid/bistable_hybrid_cvode_change_nthread.py
nvc++-Info-Switch -Mvect forces -O2
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hybrid/pure_diffusion_hybrid.py
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hybrid/pure_diffusion_hybrid_cvode.py
[ 37%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/nocpout.cpp.o
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/hybrid/torun.txt
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/include_flux.py
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/include_flux_cvode.py
nvc++-Info-Switch -Mvect forces -O2
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/multicompartment_mebrane_mismatch.py
[ 37%] Generating share/nrn/lib/python/neuron/rxdtests/tests/multicompartment_reactions.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/multicompartment_reactions_del.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/multicompartment_reactions_with_v.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/nodes_update.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/pure_diffusion.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/pure_diffusion_cvode.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/react_region_specified.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/reaction_null_dest.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/reaction_param_test.py
[ 38%] Generating share/nrn/lib/python/neuron/rxdtests/tests/reaction_test.py
[ 38%] Linking CUDA shared library ../../lib/libcoreneuron-cuda.so
[ 38%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/simultan.c.o
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/torun.txt
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/verify_no_initialization_order_issue.py
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/cal2.mod
nvc-Info-Switch -Mvect forces -O2
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/caleak.mod
[ 39%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/nrnunit.cpp.o
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/readme.txt
[ 39%] Built target coreneuron-cuda
[ 39%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/passn.cpp.o
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/torun.txt
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/wave1d_125_1.py
nvc++-Info-Switch -Mvect forces -O2
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/wave1d_25_5.py
nvc++-Info-Switch -Mvect forces -O2
[ 39%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/wave1d_taper_125_1.py
[ 40%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/wave1d_taper_25_5.py
[ 40%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/wave1d_tree2_125_1.py
[ 40%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/units.c.o
[ 40%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/wave1d_tree2_25_5.py
[ 40%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/wave1d_tree_125_1.py
[ 40%] Generating share/nrn/lib/python/neuron/rxdtests/tests/wave1d/wave1d_tree_25_5.py
nvc-Info-Switch -Mvect forces -O2
[ 40%] Generating share/nrn/lib/python/neuron/sections.py
[ 40%] Generating share/nrn/lib/python/neuron/tests/__init__.py
[ 40%] Generating share/nrn/lib/python/neuron/tests/_subclass.py
[ 40%] Generating share/nrn/lib/python/neuron/tests/test_all.py
[ 41%] Generating share/nrn/lib/python/neuron/tests/test_neuron.py
[ 41%] Generating share/nrn/lib/python/neuron/tests/test_rxd.py
[ 41%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/noccout.cpp.o
[ 41%] Generating share/nrn/lib/python/neuron/tests/test_vector.py
[ 41%] Generating share/nrn/lib/python/neuron/tests/utils/__init__.py
[ 41%] Generating share/nrn/lib/python/neuron/tests/utils/checkresult.py
nvc++-Info-Switch -Mvect forces -O2
[ 41%] Generating share/nrn/lib/python/neuron/units.py
[ 41%] Generating share/nrn/lib/python/scripts/_README.txt
[ 41%] Generating share/nrn/lib/python/scripts/_binwrapper.py
[ 41%] Generating share/nrn/lib/python/scripts/idraw
[ 42%] Generating share/nrn/lib/python/scripts/mkthreadsafe
[ 42%] Generating share/nrn/lib/python/scripts/modlunit
[ 43%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/parsact.cpp.o
[ 43%] Generating share/nrn/lib/python/scripts/neurondemo
[ 43%] Generating share/nrn/lib/python/scripts/nrngui
[ 43%] Generating share/nrn/lib/python/scripts/nrniv
nvc++-Info-Switch -Mvect forces -O2
[ 43%] Generating share/nrn/lib/python/scripts/nrniv-core
[ 43%] Generating share/nrn/lib/python/scripts/nrnivmodl
[ 43%] Generating share/nrn/lib/python/scripts/nrnivmodl-core
[ 44%] Generating share/nrn/lib/python/scripts/nrnpyenv.sh
[ 44%] Generating share/nrn/lib/python/scripts/sortspike
[ 44%] Generating share/nrn/lib/shape.cm1
[ 44%] Copying /home/mafalda/nrn/share/lib to /home/mafalda/nrn/build/share/nrn/lib
[ 44%] Built target copy_share_lib_to_build
[ 44%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/apps/corenrn_parameters.cpp.o
[ 44%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/diffeq.c.o
nvc-Info-Switch -Mvect forces -O2
[ 44%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/netrec_discon.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 44%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/parse1.c.o
[ 45%] Building C object external/mod2c/src/mod2c_core/CMakeFiles/mod2c_core.dir/lex.c.o
[ 45%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/symbol.cpp.o
nvc-Info-Switch -Mvect forces -O2
nvc-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
[ 45%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/simultan.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 45%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/solve.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 45%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/units.cpp.o
[ 45%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/symbol.cpp.o
[ 45%] Linking C executable ../../../../bin/mod2c_core
[ 45%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/units.cpp.o
nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
[ 45%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/units1.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 45%] Built target mod2c_core
[ 45%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/version.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 45%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/nocmodl_generated/lex.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 45%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/nocmodl_generated/parse1.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 46%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/nocmodl_generated/diffeq.cpp.o
[ 46%] Built target nrnivmodl-core
[ 46%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/apps/main1.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 46%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/gpu/nrn_acc_manager.cpp.o
[ 46%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/version.cpp.o
nvc++-Info-[ 46%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/core2nrn_data_return.cpp.o
Switch -Mvect forces -O2
[ 47%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/file_utils.cpp.o
[ 47%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/modlunit_generated/lex.cpp.o
nvc++-Info-Switch -Mvect forces -O2
[ 48%] Building CXX object src/nrniv/CMakeFiles/modlunit.dir/modlunit_generated/parse1.cpp.o
[ 48%] Linking CXX executable ../../bin/nocmodl
nvc++-Info-Switch -Mvect forces -O2
[ 48%] Built target nocmodl
[ 48%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/global_vars.cpp.o
[ 48%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/lfp.cpp.o
[ 48%] Generating ../oc/hocusr.h
[ 48%] [BISON][ocparser] Building parser with bison 3.8.2
../../../../src/oc/parse.ypp: warning: 98 shift/reduce conflicts [-Wconflicts-sr]
../../../../src/oc/parse.ypp: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[ 48%] Generating ../nrnoc/apcount.cpp
Translating /home/mafalda/nrn/src/nrnoc/apcount.mod into /home/mafalda/nrn/src/nrnoc/apcount.cpp
Thread Safe
[ 48%] Generating ../nrnoc/exp2syn.cpp
Translating /home/mafalda/nrn/src/nrnoc/exp2syn.mod into /home/mafalda/nrn/src/nrnoc/exp2syn.cpp
Thread Safe
[ 48%] Generating ../nrnoc/expsyn.cpp
Translating /home/mafalda/nrn/src/nrnoc/expsyn.mod into /home/mafalda/nrn/src/nrnoc/expsyn.cpp
Thread Safe
[ 48%] Generating ../nrnoc/feature.cpp
Translating /home/mafalda/nrn/src/nrnoc/feature.mod into /home/mafalda/nrn/src/nrnoc/feature.cpp
Notice: VERBATIM blocks are not thread safe
[ 49%] Generating ../nrnoc/hh.cpp
Translating /home/mafalda/nrn/src/nrnoc/hh.mod into /home/mafalda/nrn/src/nrnoc/hh.cpp
Thread Safe
    [ 49%] Generating ../nrnoc/intfire1.cpp
Translating /home/mafalda/nrn/src/nrnoc/intfire1.mod into /home/mafalda/nrn/src/nrnoc/intfire1.cpp
Thread Safe
[ 49%] Linking CXX executable ../../bin/modlunit
[ 49%] Generating ../nrnoc/intfire2.cpp
Translating /home/mafalda/nrn/src/nrnoc/intfire2.mod into /home/mafalda/nrn/src/nrnoc/intfire2.cpp
Thread Safe
[ 49%] Generating ../nrnoc/intfire4.cpp
Translating /home/mafalda/nrn/src/nrnoc/intfire4.mod into /home/mafalda/nrn/src/nrnoc/intfire4.cpp
Thread Safe
[ 49%] Generating ../nrnoc/netstim.cpp
Translating /home/mafalda/nrn/src/nrnoc/netstim.mod into /home/mafalda/nrn/src/nrnoc/netstim.cpp
Notice: ARTIFICIAL_CELL is a synonym for POINT_PROCESS which hints that it
only affects and is affected by discrete events. As such it is not
located in a section and is not associated with an integrator
Thread Safe
[ 49%] Generating ../nrnoc/oclmp.cpp
Translating /home/mafalda/nrn/src/nrnoc/oclmp.mod into /home/mafalda/nrn/src/nrnoc/oclmp.cpp
Thread Safe
[ 49%] Generating ../nrnoc/passive.cpp
Translating /home/mafalda/nrn/src/nrnoc/passive.mod into /home/mafalda/nrn/src/nrnoc/passive.cpp
Thread Safe
[ 49%] Generating ../nrnoc/pattern.cpp
Translating /home/mafalda/nrn/src/nrnoc/pattern.mod into /home/mafalda/nrn/src/nrnoc/pattern.cpp
Notice: ARTIFICIAL_CELL is a synonym for POINT_PROCESS which hints that it
only affects and is affected by discrete events. As such it is not
located in a section and is not associated with an integrator
Thread Safe
[ 49%] Generating ../nrnoc/ppmark.cpp
[ 49%] Built target modlunit
Translating /home/mafalda/nrn/src/nrnoc/ppmark.mod into /home/mafalda/nrn/src/nrnoc/ppmark.cpp
Thread Safe
[ 50%] Generating ../nrnoc/stim.cpp
[ 50%] Generating ../nrnoc/svclmp.cpp
Translating /home/mafalda/nrn/src/nrnoc/stim.mod into /home/mafalda/nrn/src/nrnoc/stim.cpp
Thread Safe
Translating /home/mafalda/nrn/src/nrnoc/svclmp.mod into /home/mafalda/nrn/src/nrnoc/svclmp.cpp
Thread Safe
[ 50%] Generating ../nrnoc/syn.cpp
[ 50%] Generating ../nrnoc/vclmp.cpp
Translating /home/mafalda/nrn/src/nrnoc/syn.mod into /home/mafalda/nrn/src/nrnoc/syn.cpp
Thread Safe
Translating /home/mafalda/nrn/src/nrnoc/vclmp.mod into /home/mafalda/nrn/src/nrnoc/vclmp.cpp
Notice: VERBATIM blocks are not thread safe
Notice: LINEAR is not thread safe.
[ 50%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/mech_report.cpp.o
[ 50%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/apwindow.cpp.o
[ 50%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/axis.cpp.o
[ 50%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/mem_layout_util.cpp.o
[ 50%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/bndedval.cpp.o
[ 50%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/cbwidget.cpp.o
[ 50%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/mk_mech.cpp.o
[ 50%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/nrn2core_data_init.cpp.o
[ 50%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/nrn_checkpoint.cpp.o
[ 50%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/nrn_filehandler.cpp.o
[ 51%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/checkpnt.cpp.o
[ 51%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/epsprint.cpp.o
[ 51%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/fourier.cpp.o
[ 51%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/gifimage.cpp.o
[ 52%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/nrn_setup.cpp.o
[ 52%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/output_spikes.cpp.o
[ 52%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/graph.cpp.o
[ 52%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/graphvec.cpp.o
[ 52%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/phase1.cpp.o
[ 52%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/grglyph.cpp.o
[ 52%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/phase2.cpp.o
[ 52%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/grmanip.cpp.o
[ 52%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/hocmark.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/htlist.cpp.o
[ 53%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/prcellstate.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/idraw.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivoc.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivocmain.cpp.o
[ 53%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/reports/binary_report_handler.cpp.o
[ 53%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/reports/nrnreport.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivocrand.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o
[ 53%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/reports/report_configuration_parser.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/matrix.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/mlinedit.cpp.o
[ 53%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/reports/report_event.cpp.o
[ 53%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/mymath.cpp.o
[ 54%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/objcmd.cpp.o
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/reports/report_handler.cpp.o
nvc++-Fatal-/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/tools/cpp2 TERMINATED by signal 11
Arguments to /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/tools/cpp2
/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/tools/cpp2 /home/mafalda/nrn/src/ivoc/ivocvect.cpp -debug -x 120 0x8000 -opt 2 -terse 1 -inform warn -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 19 0x400000 -x 28 0x40000 -x 120 0x10000000 -x 70 0x8000 -x 122 1 -x 125 0x20000 -quad -vect 56 -y 34 16 -x 37 0x480000 -x 34 0x8 -x 32 67108864 -y 19 8 -y 35 0 -x 42 0x30 -x 39 0x40 -x 42 0x20000 -x 39 0x80 -x 59 4 -x 129 2 -y 129 0x8000 -tp zen3 -astype 0 -x 121 1 -fn /home/mafalda/nrn/src/ivoc/ivocvect.cpp -il /tmp/nvc++vBrmm-yoYpdgN.il -x 117 0x200 -x 123 0x80000000 -x 123 4 -x 119 0x20 -def __pgnu_vsn=110300 -x 70 0x40000000 -x 183 4 -x 121 0x800 -x 6 0x20000 -autoinl 10 -x 168 400 -x 174 128000 -x 14 0x200000 -x 14 0x400000 -autoinl 10 -x 168 400 -x 174 128000 -x 14 0x200000 -x 14 0x400000 -x 249 140 -x 120 0x200000 -x 70 0x40000000 -x 8 0x40000000 -x 164 0x800000 -x 71 0x2000 -x 71 0x4000 -x 34 0x40000000 -x 83 0x1 -x 85 0x1 -x 15 0x1000000 -x 206 0x02 -x 120 0x1000000 -x 68 0x1 -x 39 4 -x 56 0x10 -x 26 0x10 -x 26 1 -x 56 0x4000 -x 197 0 -x 175 0 -x 203 0 -x 204 0 -y 163 0xc0000000 -x 192 0x40000000 -x 189 0x10 -y 189 0x4000000 -x 60 512 -x 9 1 -x 72 0x1 -x 136 0x11 -x 9 1 -x 72 0x1 -x 136 0x11 -x 62 8 -gnuvsn 110300 -x 69 0x200 -x 123 0x400 -x 119 0x08 -cmdline '+nvc++ /tmp/nvc++vBrmm-yoYpdgN.il -DHAVE_CONFIG_H -DMPICH_SKIP_MPICXX=1 -DMPI_NO_CPPBIND=1 -DNRN_ENABLE_THREADS -DOMPI_SKIP_MPICXX=1 -DR123_USE_INTRIN_H=0 -Dnrniv_lib_EXPORTS -DUSEBBS=1 -DUSEGNU=1 -DUSEMATRIX=1 -I/home/mafalda/nrn/src/ivoc -I/home/mafalda/nrn/src/nrncvode -I/home/mafalda/nrn/src/nrniv -I/home/mafalda/nrn/src/nrnoc -I/home/mafalda/nrn/src/oc -I/home/mafalda/nrn/build -I/home/mafalda/nrn/build/src/nrncvode -I/home/mafalda/nrn/build/src/nrnoc -I/home/mafalda/nrn/build/src/nrnpython -I/home/mafalda/nrn/build/src/oc -I/home/mafalda/nrn/build/src/parallel -I/home/mafalda/nrn/build/src/sundials -I/home/mafalda/nrn/build/src/sundials/shared -I/home/mafalda/nrn/external/Random123/include -I/home/mafalda/nrn/src -I/home/mafalda/nrn/src/gnu -I/home/mafalda/nrn/src/mesch -I/home/mafalda/nrn/src/nrnmpi -I/home/mafalda/nrn/src/nrnpython -I/home/mafalda/nrn/src/parallel -I/home/mafalda/nrn/src/scopmath -I/home/mafalda/nrn/src/sparse -I/home/mafalda/nrn/src/sparse13 -I/home/mafalda/nrn/src/sundials -I/home/mafalda/nrn/src/sundials/cvodes -I/home/mafalda/nrn/src/sundials/ida -I/home/mafalda/nrn/src/sundials/shared -I/usr/include/python3.10 -I/home/mafalda/nrn/build/src/nrniv/oc_generated -I/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/include -I/home/mafalda/nrn/src/nrniv/nrniv_lib -I/home/mafalda/nrn/src/ivos -I/home/mafalda/nrn/build/src/ivos -g -O2 -Mvect=simd -Mno-signed-zeros -fPIC --diag_suppress=1,47,111,128,170,174,177,180,186,301,541,550,816,941,2465 --c++17 -MD -MT src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o -MF CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o.d -o CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o -c' -asm /tmp/nvc++LBrmmVNnjrMfw.ll
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/reports/sonata_report_handler.cpp.o
gmake[2]: *** [src/nrniv/CMakeFiles/nrniv_lib.dir/build.make:464: src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o] Error 127
gmake[2]: *** Waiting for unfinished jobs....
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/io/setup_fornetcon.cpp.o
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/mechanism/capac.cpp.o
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/mechanism/eion.cpp.o
gmake[1]: *** [CMakeFiles/Makefile2:1570: src/nrniv/CMakeFiles/nrniv_lib.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/mechanism/mech_mapping.cpp.o
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/mechanism/patternstim.cpp.o
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/mechanism/register_mech.cpp.o
[ 55%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/mpi/core/nrnmpi_def_cinc.cpp.o
[ 56%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/network/cvodestb.cpp.o
[ 56%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/network/multisend.cpp.o
[ 56%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/network/multisend_setup.cpp.o
[ 56%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/network/netcvode.cpp.o
[ 56%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/network/netpar.cpp.o
[ 56%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/network/partrans.cpp.o
[ 56%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/network/partrans_setup.cpp.o
[ 56%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/network/tqueue.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/permute/balance.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/permute/cellorder.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/permute/cellorder1.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/permute/cellorder2.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/permute/data_layout.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/permute/node_permute.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/sim/fadvance_core.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/sim/fast_imem.cpp.o
[ 57%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/sim/finitialize.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/sim/multicore.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/sim/scopmath/abort.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/sim/scopmath/newton_thread.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/sim/solve_core.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/sim/treeset_core.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/ivocvect.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/lpt.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/memory.cpp.o
[ 58%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/memory_utils.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/nrn_stats.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/nrnoc_aux.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/nrntimeout.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/progressbar/progressbar.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/randoms/nrnran123.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/string_utils.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/utils.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/utils/vrecord.cpp.o
[ 59%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/mpi/core/resolve.cpp.o
[ 60%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/mpi/core/nrnmpidec.cpp.o
[ 60%] Building CXX object src/coreneuron/CMakeFiles/coreneuron-core.dir/__/__/coreneuron/config/config.cpp.o
[ 60%] Linking CXX static library ../../lib/libcoreneuron-core.a
[ 60%] Built target coreneuron-core
gmake: *** [Makefile:156: all] Error 2

System

pramodk commented 1 year ago

@mjribeiro : I locally tried to build with NVHPC 22.11 and CUDA 11.8 but don't see obvious issue. In your logs I see:

nvc++-Fatal-/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/tools/cpp2 TERMINATED by signal 11
Arguments to /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/tools/cpp2
/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/tools/cpp2 /home/mafalda/nrn/src/ivoc/ivocvect.cpp ...

i.e. cpp2 seems to be failing. First thing comes to my mind is if you could try with --parallel 2 or --parallel 1 in case this is memory usage related issue from the compiler itself.

My local cmake / build log is:

$ cmake .. -DNRN_ENABLE_CORENEURON=ON -DCORENRN_ENABLE_GPU=ON -DNRN_ENABLE_INTERVIEWS=OFF -DNRN_ENABLE_RX3D=OFF -DCMAKE_INSTALL_PREFIX=$HOME/install -DCMAKE_C_COMPILER=nvc -DCMAKE_CXX_COMPILER=nvc++ -DCMAKE_CUDA_COMPILER=nvcc
-- The C compiler identification is NVHPC 22.11.0
-- The CXX compiler identification is NVHPC 22.11.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/nvc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/nvc++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- 3rd party project: using Random123 from "external/Random123"
-- -DPYTHON_EXECUTABLE not specified. Looking for `python3` in the PATH exclusively...
--  Setting PYTHON_EXECUTABLE=/gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/bin/python3
-- Found BISON: /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/bison-3.8.2-ej2cew/bin/bison (found version "3.8.2")
-- Found FLEX: /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/flex-2.6.3-3mtl7j/bin/flex (found suitable version "2.6.3", minimum required is "2.6")
-- Found Readline: /usr/include
-- Found MPI_C: /usr/lib64/libpthread.so (found version "3.1")
-- Found MPI_CXX: /usr/lib64/libpthread.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
MPT: libxmpi.so 'HPE HMPT 2.25  10/22/21 03:19:55'
-- Found PythonInterp: /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/bin/python3 (found suitable version "3.9.7", minimum required is "3.8")
-- Found PythonInterp: /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/bin/python3 (found suitable version "3.9.7", minimum required is "3")
-- Found PythonLibs: /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/lib/libpython3.9.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Building CoreNEURON
-- 3rd party project: using CLI11 from "external/CLI11"
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- Setting default CUDA architectures to 70;80
-- The CUDA compiler identification is NVIDIA 11.8.89
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/cuda-11.8.0-wlynz6/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Found CUDAToolkit: /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/cuda-11.8.0-wlynz6/include (found suitable version "11.8.89", minimum required is "9.0")
-- Found Perl: /usr/bin/perl (found version "5.16.3")
-- Found MOD2C: /gpfs/bbp.cscs.ch/home/kumbhar/nrn/external/mod2c
-- Using mod2c submodule from /gpfs/bbp.cscs.ch/home/kumbhar/nrn/external/mod2c
-- mod2c is used as APPLICATION_NAME
-- Found FLEX: /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/flex-2.6.3-3mtl7j/bin/flex (found version "2.6.3")
--
-- CoreNEURON is enabled with following build configuration:
-- --------------------+--------------------------------------------------------
--  Build option       | Status
-- --------------------+--------------------------------------------------------
-- CXX COMPILER        | /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/nvc++
-- COMPILE FLAGS       |  -mp  -g  -O2  --c++17 -cuda -gpu=cuda11.8,lineinfo,cc70,cc80 -acc -Mautoinline -DCORENEURON_CUDA_PROFILING -DCORENEURON_ENABLE_GPU -DCORENEURON_BUILD -DHAVE_MALLOC_H -DEIGEN_DONT_VECTORIZE=1 -DNRNMPI=1 -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -DLAYOUT=0 -DDISABLE_HOC_EXP -DENABLE_SPLAYTREE_QUEUING -DCORENEURON_USE_LEGACY_UNITS=0
-- Build Type          | SHARED
-- MPI                 | ON
--   DYNAMIC           | OFF
--   INC               | /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/include
-- OpenMP              | ON
-- Use legacy units    | OFF
-- NMODL               | OFF
-- MOD2CPP PATH        | /gpfs/bbp.cscs.ch/home/kumbhar/nrn/build/bin/mod2c_core
-- GPU Support         | ON
--   CUDA              | /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/cuda-11.8.0-wlynz6/lib64
--   Offload           | OpenACC
--   Unified Memory    | OFF
-- Auto Timeout        | ON
-- Wrap exp()          | OFF
-- SplayTree Queue     | ON
-- NetReceive Buffer   | ON
-- Caliper             | OFF
-- Likwid              | OFF
-- Unit Tests          | OFF
-- Reporting           | OFF
-- --------------+--------------------------------------------------------------
--
Extracting link flags from target 'Threads::Threads', beware that this can be fragile. Got:
Extracting link flags from path '/usr/lib64/libreadline.so', beware that this can be fragile. Got: -lreadline
Extracting link flags from path '/usr/lib64/libcurses.so', beware that this can be fragile. Got: -lcurses
Extracting link flags from path '/usr/lib64/libform.so', beware that this can be fragile. Got: -lform
Generating link flags from path /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/lib/libpython3.9.so Got: /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/lib/libpython3.9.so -Wl,-rpath,/gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/lib
Extracting link flags from path '/usr/lib64/libpthread.so', beware that this can be fragile. Got: -lpthread
Generating link flags from path /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/lib/libmpi.so Got: /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/lib/libmpi.so -Wl,-rpath,/gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/lib
Generating link flags from name 'dl', beware that this can be fragile. Got: -ldl
--
-- Configured NEURON 9.0.0
--
-- You can now build NEURON using:
--   cmake --build . --parallel 8 [--target TARGET]
-- You might want to adjust the number of parallel build jobs for your system.
-- Some non-default targets you might want to build:
-- --------------+--------------------------------------------------------------
--  Target       |   Description
-- --------------+--------------------------------------------------------------
-- install       | Will install NEURON to: /gpfs/bbp.cscs.ch/home/kumbhar/install
--               | Change the install location of NEURON using:
--               |   cmake <src_path> -DCMAKE_INSTALL_PREFIX=<install_path>
-- docs          | Build full docs. Calls targets: doxygen, notebooks, sphinx, notebooks-clean
-- uninstall     | Removes files installed by make install (todo)
-- --------------+--------------------------------------------------------------
--  Build option | Status
-- --------------+--------------------------------------------------------------
-- C COMPILER    | /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/nvc
-- CXX COMPILER  | /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/nvc++
-- BUILD_TYPE    | RelWithDebInfo (allowed: Custom;Debug;Release;RelWithDebInfo;Fast)
-- COMPILE FLAGS | -g  -O2  --diag_suppress=1,47,111,128,170,174,177,180,186,301,541,550,816,941,2465
-- Shared        | ON
-- Default units | modern units (2019 nist constants)
-- MPI           | ON
--   DYNAMIC     | OFF
--   INC         | /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/include
--   LIB         | /usr/lib64/libpthread.so
-- Python        | ON
--   EXE         | /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/bin/python3
--   INC         | /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/include/python3.9
--   LIB         | /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/lib/libpython3.9.so
--   MODULE      | ON
--   DYNAMIC     | OFF
-- Readline      | /usr/lib64/libreadline.so
-- Curses        | /usr/lib64/libcurses.so;/usr/lib64/libform.so
-- RX3D          | OFF
-- Interviews    | OFF
-- CoreNEURON    | ON
--   PATH        | /gpfs/bbp.cscs.ch/home/kumbhar/nrn/src/coreneuron
--   LINK FLAGS  | -cuda -gpu=cuda11.8,lineinfo,cc70,cc80 -acc -lcorenrnmech  -lcoreneuron-cuda -lpthread -Wl,-rpath,/gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/lib /gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/lib/libmpi.so -ldl
--   Legacy Units| OFF
-- Tests         | OFF
-- --------------+--------------------------------------------------------------
--  See documentation : https://www.neuron.yale.edu/neuron/
-- --------------+--------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /gpfs/bbp.cscs.ch/home/kumbhar/nrn/build

kumbhar@r2i3n2:~/nrn/build$ make -j12
...
nvc++-Warning-CUDA_HOME has been deprecated. Please, use NVHPC_CUDA_HOME instead.
[100%] Linking CXX executable ../../bin/nrniv
nvc++-Warning-CUDA_HOME has been deprecated. Please, use NVHPC_CUDA_HOME instead.
[100%] Built target nrniv
nvc++-Warning-CUDA_HOME has been deprecated. Please, use NVHPC_CUDA_HOME instead.
[100%] Built target hoc_module

kumbhar@r2i3n2:~/nrn/build$ make install
[  0%] Built target CLI11
[  3%] Built target mod2c_core
mjribeiro commented 1 year ago

@pramodk: Thank you for your reply. I have just tried using --parallel 2 and --parallel 1 but got the same error. I have also deleted and re-created the build directory, and ran the same cmake command you showed. I got mostly the same output, except some warnings after -- 3rd party project: using CLI11 from external/CLI11, as follows:

...

-- Building CoreNEURON
-- 3rd party project: using CLI11 from "external/CLI11"
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.1") found components: doxygen dot 
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:66 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:70 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:82 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:94 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:102 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Git: /usr/bin/git (found version "2.34.1") 
-- Setting default CUDA architectures to 70;80

...

I am attaching the whole CMake log at the end of this post too in case it helps. Let me know if there is any further information I can provide or anything else I can try on my end.

CMake log:

$ cmake .. -DNRN_ENABLE_CORENEURON=ON -DCORENRN_ENABLE_GPU=ON -DNRN_ENABLE_INTERVIEWS=OFF -DNRN_ENABLE_RX3D=OFF -DCMAKE_INSTALL_PREFIX=$HOME/install -DCMAKE_C_COMPILER=nvc -DCMAKE_CXX_COMPILER=nvc++ -DCMAKE_CUDA_COMPILER=nvcc
-- The C compiler identification is NVHPC 22.11.0
-- The CXX compiler identification is NVHPC 22.11.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvc++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- 3rd party project: using Random123 from "external/Random123"
-- -DPYTHON_EXECUTABLE not specified. Looking for `python3` in the PATH exclusively...
--  Setting PYTHON_EXECUTABLE=/usr/bin/python3
-- Found BISON: /usr/bin/bison (found version "3.8.2") 
-- Found FLEX: /usr/bin/flex (found suitable version "2.6.4", minimum required is "2.6") 
-- Found Readline: /usr/include  
-- Found MPI_C: /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi.so (found version "3.1") 
-- Found MPI_CXX: /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_cxx.so (found version "3.1") 
-- Found MPI: TRUE (found version "3.1")  
-- Detected OpenMPI 3.1.5
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.6", minimum required is "3.8") 
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.6", minimum required is "3") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Building CoreNEURON
-- 3rd party project: using CLI11 from "external/CLI11"
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.1") found components: doxygen dot 
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:66 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:70 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:82 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:94 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  external/CLI11/CMakeLists.txt:102 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Git: /usr/bin/git (found version "2.34.1") 
-- Setting default CUDA architectures to 70;80
-- The CUDA compiler identification is NVIDIA 11.8.89
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Found CUDAToolkit: /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/cuda/11.8/include (found suitable version "11.8.89", minimum required is "9.0") 
-- Found Perl: /usr/bin/perl (found version "5.34.0") 
-- Found MOD2C: /home/mafalda/nrn/external/mod2c  
-- Using mod2c submodule from /home/mafalda/nrn/external/mod2c
-- mod2c is used as APPLICATION_NAME
-- Found FLEX: /usr/bin/flex (found version "2.6.4") 
-- 
-- CoreNEURON is enabled with following build configuration:
-- --------------------+--------------------------------------------------------
--  Build option       | Status
-- --------------------+--------------------------------------------------------
-- CXX COMPILER        | /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvc++
-- COMPILE FLAGS       | -g  -O2  --c++17 -cuda -gpu=cuda11.8,lineinfo,cc70,cc80 -acc -Mautoinline -DCORENEURON_CUDA_PROFILING -DCORENEURON_ENABLE_GPU -DCORENEURON_BUILD -DHAVE_MALLOC_H -DEIGEN_DONT_VECTORIZE=1 -DNRNMPI=1 -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -DLAYOUT=0 -DDISABLE_HOC_EXP -DENABLE_SPLAYTREE_QUEUING -DCORENEURON_USE_LEGACY_UNITS=0
-- Build Type          | SHARED
-- MPI                 | ON
--   DYNAMIC           | OFF
--   INC               | /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/include
-- OpenMP              | ON
-- Use legacy units    | OFF
-- NMODL               | OFF
-- MOD2CPP PATH        | /home/mafalda/nrn/build/bin/mod2c_core
-- GPU Support         | ON
--   CUDA              | /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/cuda/11.8/lib64
--   Offload           | OpenACC
--   Unified Memory    | OFF
-- Auto Timeout        | ON
-- Wrap exp()          | OFF
-- SplayTree Queue     | ON
-- NetReceive Buffer   | ON
-- Caliper             | OFF
-- Likwid              | OFF
-- Unit Tests          | OFF
-- Reporting           | OFF
-- --------------+--------------------------------------------------------------
-- 
Extracting link flags from target 'Threads::Threads', beware that this can be fragile. Got: 
Generating link flags from path /usr/lib/x86_64-linux-gnu/libreadline.so Got: /usr/lib/x86_64-linux-gnu/libreadline.so -Wl,-rpath,/usr/lib/x86_64-linux-gnu
Generating link flags from path /usr/lib/x86_64-linux-gnu/libcurses.so Got: /usr/lib/x86_64-linux-gnu/libcurses.so -Wl,-rpath,/usr/lib/x86_64-linux-gnu
Generating link flags from path /usr/lib/x86_64-linux-gnu/libform.so Got: /usr/lib/x86_64-linux-gnu/libform.so -Wl,-rpath,/usr/lib/x86_64-linux-gnu
Generating link flags from path /usr/lib/x86_64-linux-gnu/libpython3.10.so Got: /usr/lib/x86_64-linux-gnu/libpython3.10.so -Wl,-rpath,/usr/lib/x86_64-linux-gnu
Generating link flags from path /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi.so Got: /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi.so -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib
Generating link flags from name 'dl', beware that this can be fragile. Got: -ldl
-- 
-- Configured NEURON 9.0.0
-- 
-- You can now build NEURON using:
--   cmake --build . --parallel 8 [--target TARGET]
-- You might want to adjust the number of parallel build jobs for your system.
-- Some non-default targets you might want to build:
-- --------------+--------------------------------------------------------------
--  Target       |   Description
-- --------------+--------------------------------------------------------------
-- install       | Will install NEURON to: /home/mafalda/install
--               | Change the install location of NEURON using:
--               |   cmake <src_path> -DCMAKE_INSTALL_PREFIX=<install_path>
-- docs          | Build full docs. Calls targets: doxygen, notebooks, sphinx, notebooks-clean
-- uninstall     | Removes files installed by make install (todo)
-- --------------+--------------------------------------------------------------
--  Build option | Status
-- --------------+--------------------------------------------------------------
-- C COMPILER    | /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvc
-- CXX COMPILER  | /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvc++
-- BUILD_TYPE    | RelWithDebInfo (allowed: Custom;Debug;Release;RelWithDebInfo;Fast)
-- COMPILE FLAGS | -g  -O2  --diag_suppress=1,47,111,128,170,174,177,180,186,301,541,550,816,941,2465
-- Shared        | ON
-- Default units | modern units (2019 nist constants)
-- MPI           | ON
--   DYNAMIC     | OFF
--   INC         | /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/include
--   LIB         | /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_cxx.so
-- Python        | ON
--   EXE         | /usr/bin/python3
--   INC         | /usr/include/python3.10
--   LIB         | /usr/lib/x86_64-linux-gnu/libpython3.10.so
--   MODULE      | ON
--   DYNAMIC     | OFF
-- Readline      | /usr/lib/x86_64-linux-gnu/libreadline.so
-- Curses        | /usr/lib/x86_64-linux-gnu/libcurses.so;/usr/lib/x86_64-linux-gnu/libform.so
-- RX3D          | OFF
-- Interviews    | OFF
-- CoreNEURON    | ON
--   PATH        | /home/mafalda/nrn/src/coreneuron
--   LINK FLAGS  | -cuda -gpu=cuda11.8,lineinfo,cc70,cc80 -acc -lcorenrnmech  -lcoreneuron-cuda -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_cxx.so -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib /opt/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi.so -ldl
--   Legacy Units| OFF
-- Tests         | OFF
-- --------------+--------------------------------------------------------------
--  See documentation : https://www.neuron.yale.edu/neuron/
-- --------------+--------------------------------------------------------------
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mafalda/nrn/build
pramodk commented 1 year ago

Sorry for delay in response.

Not sure how I end-up in this situation but I am seeing same issue on our machine! ("similar" config I reported in previous comment was working).

So just to have the details for the record here, I am adding following information:

On BB5:

kumbhar@r2i3n2:~/workarena/systems/bbpv/repos/bbp/nrn/build_gpu$ module list
Currently Loaded Modulefiles:
  1) unstable             3) /flex/2.6.3          5) /python/3.9.7        7) python-dev/0.4       9) /nvhpc/22.11
  2) gcc/11.2.0           4) /bison/3.8.2         6) /hpe-mpi/2.25.hmpt   8) /cmake/3.21.4       10) /cuda/11.8.0
$ git rev-parse --short HEAD
c8174d5

CMakeCache.txt env.txt

[  4%] Building CXX object src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o
cd /gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrniv && /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/nvc++ -DHAVE_CONFIG_H -DMPICH_SKIP_MPICXX=1 -DMPI_NO_CPPBIND=1 -DNRN_ENABLE_THREADS -DOMPI_SKIP_MPICXX=1 -DR123_USE_INTRIN_H=0 -Dnrniv_lib_EXPORTS -DUSEBBS=1 -DUSEGNU=1 -DUSEMATRIX=1 -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/ivoc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrncvode -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrniv -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrnoc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/oc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrncvode -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrnoc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrnpython -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/oc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/parallel -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/sundials -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/sundials/shared -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/external/Random123/include -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/gnu -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/mesch -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrnmpi -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrnpython -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/parallel -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/scopmath -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sparse -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sparse13 -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sundials -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sundials/cvodes -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sundials/ida -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sundials/shared -I/gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/include/python3.9 -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrniv/oc_generated -I/gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/include -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrniv/nrniv_lib -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/ivos -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/ivos -g  -O2  -fPIC --diag_suppress=1,47,111,128,170,174,177,180,186,301,541,550,816,941,2465 --c++17 -MD -MT src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o -MF CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o.d -o CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o -c /gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/ivoc/ivocvect.cpp
nvc++-Warning-CUDA_HOME has been deprecated. Please, use NVHPC_CUDA_HOME instead.
nvc++-Fatal-/gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/tools/cpp2 TERMINATED by signal 11
Arguments to /gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/tools/cpp2
/gpfs/bbp.cscs.ch/ssd/apps/bsd/pulls/1654/stage_externals/install_gcc-11.2.0-skylake/nvhpc-22.11-rx7dzj/Linux_x86_64/22.11/compilers/bin/tools/cpp2 /gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/ivoc/ivocvect.cpp -debug -x 120 0x8000 -opt 2 -terse 1 -inform warn -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 19 0x400000 -x 28 0x40000 -x 120 0x10000000 -x 70 0x8000 -x 122 1 -x 125 0x20000 -quad -vect 56 -y 34 16 -x 37 0x480000 -x 34 0x8 -x 32 25952256 -y 19 8 -y 35 0 -x 42 0x30 -x 39 0x40 -x 42 0x20000 -x 39 0x80 -x 59 4 -x 129 2 -y 129 0x8000 -tp skylake-avx512 -astype 0 -x 121 1 -fn /gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/ivoc/ivocvect.cpp -il /gpfs/bbp.cscs.ch/ssd/slurmTmpFS/kumbhar/1204718/nvc++CDRYu2Pl5vPh.il -x 117 0x200 -x 123 0x80000000 -x 123 4 -x 119 0x20 -def __pgnu_vsn=110200 -x 70 0x40000000 -x 183 4 -x 121 0x800 -x 6 0x20000 -autoinl 10 -x 168 400 -x 174 128000 -x 14 0x200000 -x 14 0x400000 -autoinl 10 -x 168 400 -x 174 128000 -x 14 0x200000 -x 14 0x400000 -x 249 140 -x 120 0x200000 -x 70 0x40000000 -x 8 0x40000000 -x 164 0x800000 -x 71 0x2000 -x 71 0x4000 -x 34 0x40000000 -x 83 0x1 -x 85 0x1 -x 15 0x1000000 -x 206 0x02 -x 120 0x1000000 -x 68 0x1 -x 39 4 -x 56 0x10 -x 26 0x10 -x 26 1 -x 56 0x4000 -x 197 0 -x 175 0 -x 203 0 -x 204 0 -y 163 0xc0000000 -x 192 0x40000000 -x 189 0x10 -y 189 0x4000000 -x 60 512 -x 9 1 -x 72 0x1 -x 136 0x11 -x 9 1 -x 72 0x1 -x 136 0x11 -x 62 8 -gnuvsn 110200 -x 69 0x200 -x 123 0x400 -x 119 0x08 -cmdline '+nvc++ /gpfs/bbp.cscs.ch/ssd/slurmTmpFS/kumbhar/1204718/nvc++CDRYu2Pl5vPh.il -D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1 -DHAVE_CONFIG_H -DMPICH_SKIP_MPICXX=1 -DMPI_NO_CPPBIND=1 -DNRN_ENABLE_THREADS -DOMPI_SKIP_MPICXX=1 -DR123_USE_INTRIN_H=0 -Dnrniv_lib_EXPORTS -DUSEBBS=1 -DUSEGNU=1 -DUSEMATRIX=1 -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/ivoc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrncvode -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrniv -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrnoc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/oc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrncvode -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrnoc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrnpython -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/oc -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/parallel -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/sundials -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/sundials/shared -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/external/Random123/include -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/gnu -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/mesch -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrnmpi -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrnpython -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/parallel -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/scopmath -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sparse -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sparse13 -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sundials -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sundials/cvodes -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sundials/ida -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/sundials/shared -I/gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/include/python3.9 -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/nrniv/oc_generated -I/gpfs/bbp.cscs.ch/ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/hpe-mpi-2.25.hmpt-4ukyxt/include -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/nrniv/nrniv_lib -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/src/ivos -I/gpfs/bbp.cscs.ch/home/kumbhar/workarena/systems/bbpv/repos/bbp/nrn/build_gpu/src/ivos -g -O2 -Mvect=simd -Mno-signed-zeros -fPIC --diag_suppress=1,47,111,128,170,174,177,180,186,301,541,550,816,941,2465 --c++17 -MD -MT src/nrniv/CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o -MF CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o.d -o CMakeFiles/nrniv_lib.dir/__/ivoc/ivocvect.cpp.o -c' -asm /gpfs/bbp.cscs.ch/ssd/slurmTmpFS/kumbhar/1204718/nvc++CDRYuV9lwXTy.ll

I will take a look into this bit later today.

pramodk commented 1 year ago

@mjribeiro : I can confirm that there is an issue in the latest neuron master with the newer NVHPC compilers. I have reported compiler bug to NVIDIA/NVHPC forum here: https://forums.developer.nvidia.com/t/cpp2-terminated-by-signal-11-error-with-newer-nvhpc-releases-like-23-1-22-11/242001.

The error is triggered by the last week's change in NEURON: https://github.com/neuronsimulator/nrn/pull/2200.

Until we find a workaround, one option I can suggest is to use an older commit than the above mentioned change i.e. if you have cloned git repo then do:

git checkout 2ad762b934b2ffc42b21b3d609fd10091535ea22
git submodule update -f --init --recursive      # not strictly required as the moment as submodules are not changed

and then build the project same way.

Let me know if that allows you to build the process successfully.

mjribeiro commented 1 year ago

@pramodk Thank you for your suggestion. I tried using the older commit with NVHPC 22.11 but was still getting the same errors, so I ended up reverting to NVHPC 22.9 as well and it seems to be installing correctly now. Thanks for your help with this!