Compilation issues (NEURON with coreNEURON)

**Hi all,
I have been trying to simulate a network with a few thousand of neurons on the NEURON simulator (Ubuntu). I was told that using the coreNEURON module it would be possible to execute my model using the GPU (Nvidia) from my laptop. Based on that, I followed the steps provided on the documentation (https://neuronsimulator.github.io/nrn/coreneuron/how-to/coreneuron.html) but the compilation did not work. I got several errors and I am not sure how to fix them.**
My setup:
cmake version 3.10.2
Python 3
NVIDIA HPC SDK
CUDA 11.3
When I execute the command:
$ cmake ..  Calls targets: doxygen, sphinx
-- --------------------+--------------------------------------------------------
--  Build option       | Status
-- --------------------+--------------------------------------------------------
-- C COMPILER          | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc
-- CXX COMPILER        | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++
-- COMPILE FLAGS       | -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14
-- Build Type          | STATIC
-- MPI                 | ON
--   INC               | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include
-- OpenMP              | ON
-- Use legacy units    | OFF
-- NMODL               | OFF
-- MOD2CPP PATH        | /home/jhielson/neuron/nrn/build/bin/mod2c_core
-- GPU Support         | ON
--   CUDA              | /usr/local/cuda-11.3
--   Unified Memory    | OFF
--   HOST COMPILER     | /usr/bin/gcc
-- Auto Timeout        | ON
-- Wrap exp()          | OFF
-- SplayTree Queue     | ON
-- NetReceive Buffer   | ON
-- Caliper             | OFF
-- Likwid              | OFF
-- Unit Tests          | OFF
-- Reporting           | OFF
-- --------------+--------------------------------------------------------------
--  See documentation : https://github.com/BlueBrain/CoreNeuron/
-- --------------+--------------------------------------------------------------
--
NOTICEUsing Target in compiling and linking, you should take care of it if
                    it fail miserabily (CODE:<PHONE_NUMBER>)
--
-- Configured NEURON 8.0
--
-- You can now build NEURON using:
--   cmake --build . [--target TARGET] -- -j 8
-- 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/jhielson/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
-- uninstall     | Removes files installed by make install (todo)
-- --------------+--------------------------------------------------------------
--  Build option | Status
-- --------------+--------------------------------------------------------------
-- C COMPILER    | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc
-- CXX COMPILER  | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++
-- BUILD_TYPE    | RelWithDebInfo (allowed: Custom;Debug;Release;RelWithDebInfo;Fast)
-- COMPILE FLAGS | -g  -O2
-- Shared        | ON
-- Default units | modern units (2019 nist constants)
-- MPI           | ON
--   INC         | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include
--   LIB         | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_cxx.so
--   DYNAMIC     | OFF
-- Python        | ON
--   EXE         | /usr/bin/python3
--   INC         | /usr/include/python3.6m
--   LIB         | /usr/lib/x86_64-linux-gnu/libpython3.6m.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/jhielson/neuron/nrn/external/coreneuron
--   LINK FLAGS  | -acc -gpu=cuda11.3,cc60,cc70 -rdynamic -lrt -Wl,--whole-archive -Lx86_64 -lcorenrnmech -L/home/jhielson/install/lib -lcoreneuron -lcudacoreneuron -Wl,--no-whole-archive /usr/local/cuda-11.3/lib64/libcudart_static.a
--   Legacy Units| OFF
-- --------------+--------------------------------------------------------------
--  See documentation : https://www.neuron.yale.edu/neuron/
-- --------------+--------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jhielson/neuron/nrn/build

**It seems to be everything fine until this point. But, when I compile the package (make -j), I get the following errors:**

[  0%] Built target nrnivmodl-core
[  1%] Generating help_data.dat
[  1%] Built target rxdmath
[  3%] Built target coreneuron-copy-nrnivmodl-core-dependencies
[  3%] Built target kin_deriv_header
[  3%] Update hh.mod for CoreNEURON compatibility
[  4%] Built target scopmath

... Removed a few lines to make it shorter

[ 14%] Building CXX object src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/solve.cpp.o
nvc++-Info-Switch -Mvect forces -O2nvc++-Info-Switch -Mvect forces -O2

nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: invalid combination of type specifiers
    typedef __SIZE_TYPE__ 	size_t;
                          	^

nvc++-Info-Switch -Mvect forces -O2
Switch -Mvect forces -O2
nvc++-Info-nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: invalid combination of type specifiers
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: invalid combination of type specifiers
    typedef __SIZE_TYPE__ 	size_t;
                          	^

nvc++-Info-Switch -Mvect forces -O2
"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: invalid combination of type specifiers
    typedef __SIZE_TYPE__ 	size_t;
                          	^

nvc++-Info-Switch -Mvect forces -O2
"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: invalid combination of type specifiers
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: invalid combination of type specifiers
    typedef __SIZE_TYPE__ 	size_t;
                          	^

nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: invalid combination of type specifiers
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: duplicate specifier in declaration
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h", line 231: error: invalid combination of type specifiers
    typedef __SIZE_TYPE__ 	size_t;
                          	^

"/usr/include/c++/7/new", line 120: error: expected an identifier
  void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                          ^

"/usr/include/c++/7/new", line 120: error: invalid combination of type specifiers
  void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                          ^

"/usr/include/c++/7/new", line 122: error: expected an identifier
  void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                            ^

"/usr/include/c++/7/new", line 122: error: invalid combination of type specifiers
  void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                            ^

"/usr/include/c++/7/new", line 134: error: expected an identifier
  void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                          ^

"/usr/include/c++/7/new", line 134: error: invalid combination of type specifiers
  void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                          ^

"/usr/include/c++/7/new", line 136: error: expected an identifier
  void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                            ^

"/usr/include/c++/7/new", line 136: error: invalid combination of type specifiers
  void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                            ^

"/usr/include/c++/7/new", line 168: error: expected an identifier
  inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                 ^

"/usr/include/c++/7/new", line 168: error: invalid combination of type specifiers
  inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                 ^

"/usr/include/c++/7/new", line 170: error: expected an identifier
  inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                   ^

"/usr/include/c++/7/new", line 170: error: invalid combination of type specifiers
  inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                   ^

nvc++-Info-Switch -Mvect forces -O2
nvc++-Info-Switch -Mvect forces -O2
"/usr/include/c++/7/type_traits", line 362: error: expected an identifier
    template<typename _Tp, std::size_t _Size>
                                ^

"/usr/include/c++/7/type_traits", line 362: error: invalid combination of type specifiers
    template<typename _Tp, std::size_t _Size>
                                ^

...
... ... Removed several lines to make it shorter
...

"/home/jhielson/neuron/nrn/src/nmodl/lex.lpp", line 221: warning: conversion from a string literal to "char *" is deprecated
  	diag("equation addition can't occur in this type of block", (char *)0);
  	     ^

"/home/jhielson/neuron/nrn/src/nmodl/lex.lpp", line 231: warning: conversion from a string literal to "char *" is deprecated
  	diag("equations can't occur in this type of block", (char *)0);
  	     ^

"/home/jhielson/neuron/nrn/src/nmodl/lex.lpp", line 244: warning: conversion from a string literal to "char *" is deprecated
  { yylval.qp = putintoken("{", 0); return yytext[0]; }
                           ^

"/home/jhielson/neuron/nrn/src/nmodl/lex.lpp", line 245: warning: statement is unreachable
  	YY_BREAK
  	^

"/home/jhielson/neuron/nrn/src/nmodl/lex.lpp", line 245: warning: conversion from a string literal to "char *" is deprecated
  { yylval.qp = putintoken("}", 0); return yytext[0]; }
                           ^

"/home/jhielson/neuron/nrn/src/nmodl/lex.lpp", line 246: warning: statement is unreachable
  	YY_BREAK
  	^

"/home/jhielson/neuron/nrn/src/nmodl/lex.lpp", line 247: warning: statement is unreachable
  	YY_BREAK
  	^

98 errors detected in the compilation of "/home/jhielson/neuron/nrn/src/modlunit/lex.cpp".
src/nrniv/CMakeFiles/modlunit.dir/build.make:97: recipe for target 'src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/lex.cpp.o' failed
make[2]: *** [src/nrniv/CMakeFiles/modlunit.dir/__/modlunit/lex.cpp.o] Error 2
CMakeFiles/Makefile2:1750: recipe for target 'src/nrniv/CMakeFiles/modlunit.dir/all' failed
make[1]: *** [src/nrniv/CMakeFiles/modlunit.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
"/usr/include/c++/7/ext/new_allocator.h", line 130: error: type name is not allowed
        { return size_t(-1) / sizeof(_Tp); }
                 ^
          detected during:
            instantiation of "std::allocator_traits<std::allocator<_Tp>>::size_type std::allocator_traits<std::allocator<_Tp>>::max_size(const std::allocator_traits<std::allocator<_Tp>>::allocator_type &) [with _Tp=char]" at line 932 of "/usr/include/c++/7/bits/basic_string.h"
            instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::max_size() const [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 311 of "/usr/include/c++/7/bits/basic_string.h"
            instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_check_length(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const char *) const [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 1257 of "/usr/include/c++/7/bits/basic_string.h"
            instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc> &std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT *) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 5929 of "/usr/include/c++/7/bits/basic_string.h"
            instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc> &, const _CharT *) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 351 of "/usr/include/c++/7/system_error"

"/usr/include/c++/7/ext/new_allocator.h", line 130: error: expected a ";"
        { return size_t(-1) / sizeof(_Tp); }
                 ^
          detected during:
            instantiation of "std::allocator_traits<std::allocator<_Tp>>::size_type std::allocator_traits<std::allocator<_Tp>>::max_size(const std::allocator_traits<std::allocator<_Tp>>::allocator_type &) [with _Tp=char]" at line 932 of "/usr/include/c++/7/bits/basic_string.h"
            instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::max_size() const [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 311 of "/usr/include/c++/7/bits/basic_string.h"
            instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_check_length(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const char *) const [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 1257 of "/usr/include/c++/7/bits/basic_string.h"
            instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc> &std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT *) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 5929 of "/usr/include/c++/7/bits/basic_string.h"
            instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc> &, const _CharT *) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 351 of "/usr/include/c++/7/system_error"

"/home/jhielson/neuron/nrn/src/nmodl/lex.cpp", line 1494: warning: function "yyunput" was declared but never referenced
      static void yyunput (int c, char * yy_bp )
                  ^

98 errors detected in the compilation of "/home/jhielson/neuron/nrn/src/nmodl/lex.cpp".
src/nrniv/CMakeFiles/nocmodl.dir/build.make:128: recipe for target 'src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/lex.cpp.o' failed
make[2]: *** [src/nrniv/CMakeFiles/nocmodl.dir/__/nmodl/lex.cpp.o] Error 2
CMakeFiles/Makefile2:1681: recipe for target 'src/nrniv/CMakeFiles/nocmodl.dir/all' failed
make[1]: *** [src/nrniv/CMakeFiles/nocmodl.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

Can you please verify that your installation's nvc/nvc++ is able to build and link some trivial C/C++ "hello world" examples?
It looks like something may have gone wrong in the makelocalrc part of the NVHPC toolkit installation (i.e. there is something wrong in the localrc file being read by the compiler).
You do have slightly newer versions of NVHPC and CUDA than I have tested recently, but I would guess that is not the problem.

Thanks! I will check it out and keep you posted.

Hi,
I have created and compiled hello world applications (.c and .cpp) using nvc and nvc++ respectively and it worked fine.
I am not sure if I understood the second part about the makelocalrc.

I will try and find time to test with the newer CUDA and NVHPC versions that you have.
In the meantime, could you paste the output of nvc++ -dryrun -c foo.cpp ? (foo.cpp does not need to exist) That might give some clues.
In the output of that command you will (I assume) see some line like
Reading rcfile {...}/localrc.{hostname}

that localrc file should be generated as part of installation by the makelocalrc script bundled with the compilers. This will steer which version of the GCC headers is picked up. I don't know quite what the problem is here, but I wonder from the errors if two different sets of system headers are being mixed together.

Thanks! I execute the command you suggested. It seems there is something wrong.  I could install them on my computer to see if it works for me.

I don't see any red flags there.
NEURON master has worked for me with NVHPC 21.2 (with the standard library/headers from GCC 9.3.0; you seem to have GCC 7.5.0) and CUDA 11.0.2. I am more inclined to suspect the problem is related to GCC7 vs. GCC9 rather than the minor differences in CUDA/NVHPC versions, but I am not sure.

I have finally reproduced your issue: with NVHPC 21.5 + GCC 7.5.0 and CUDA 11.3.1 then changing from CMake 3.20.3 to CMake 3.10.2 triggers your errors. I'll look into it.

Thanks! CMake 3.10.2 is considered to be the latest version on Ubuntu 18.04. Please, let me know if there is a way to solve the compilation problem using Ubuntu 18.04 and CMake 3.10.2.

Can you please test the following patch?
diff --git a/cmake/MacroHelper.cmake b/cmake/MacroHelper.cmake
index a8289e017..c450955c2 100644
--- a/cmake/MacroHelper.cmake
+++ b/cmake/MacroHelper.cmake
@@ -56,13 +56,15 @@ macro(nrn_check_type_exists HEADER TYPE DEFAULT_TYPE VARIABLE)
       if (sizeof (@type@))
         return 0\;
       return 0\;
-    }")
+    }
+")
   string(REPLACE "@header@" ${HEADER} CONFTEST_TYPE "${CONFTEST_TYPE_TPL}")
   string(REPLACE "@type@" ${TYPE} CONFTEST_TYPE "${CONFTEST_TYPE}")

(i.e. just add a new line after the } and ensure the " is the first character on the line)

Hi,
Thanks! That was really interesting. It solved that issue. But, I got a new one when was close to the end of the compilation:
[ 97%] Running nrnivmodl-core with halfgap.mod
[INFO] Running: make -j1 -f /home/jhielson/neuron/nrn/build/share/coreneuron/nrnivmodl_core_makefile ROOT=/home/jhielson/neuron/nrn/build MOD2CPP_BINARY=/home/jhielson/neuron/nrn/build/bin/mod2c_core MODS_PATH=x86_64/corenrn/mod2c BUILD_TYPE=STATIC
Default NMODL flags:
diff: x86_64/corenrn/mod2c/_mod_func.cpp: No such file or directory
Translating x86_64/corenrn/mod2c/exp2syn.mod into x86_64/corenrn/mod2c//exp2syn.cpp
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/expsyn.mod into x86_64/corenrn/mod2c//expsyn.cpp
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/halfgap.mod into x86_64/corenrn/mod2c//halfgap.cpp
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/hh.mod into x86_64/corenrn/mod2c//hh.cpp
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/netstim.mod into x86_64/corenrn/mod2c//netstim.cpp
cvode_emit=0 cvode_not_allowed=0
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
Translating x86_64/corenrn/mod2c/passive.mod into x86_64/corenrn/mod2c//passive.cpp
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/pattern.mod into x86_64/corenrn/mod2c//pattern.cpp
cvode_emit=0 cvode_not_allowed=0
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
Translating x86_64/corenrn/mod2c/stim.mod into x86_64/corenrn/mod2c//stim.cpp
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/svclmp.mod into x86_64/corenrn/mod2c//svclmp.cpp
cvode_emit=0 cvode_not_allowed=0
Thread Safe
NVC++-W-1053-External and Static variables are not supported in acc routine - _ZN10coreneuron11nrn_threadsE (x86_64/corenrn/mod2c/exp2syn.cpp: 396)
NVC++/x86-64 Linux 21.5-0: compilation completed with warnings
NVC++-W-1053-External and Static variables are not supported in acc routine - _ZN10coreneuron11nrn_threadsE (x86_64/corenrn/mod2c/expsyn.cpp: 378)
NVC++/x86-64 Linux 21.5-0: compilation completed with warnings
/home/jhielson/neuron/nrn/build/bin
=> Binary creating x86_64/special-core
/home/jhielson/neuron/nrn/build/share/coreneuron/coreneuron.cpp:
/home/jhielson/anaconda3/envs/p27/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib/librt.so: undefined reference to `__vdso_clock_gettime@GLIBC_PRIVATE'
pgacclnk: child process exit status 1: /usr/bin/ld
/home/jhielson/neuron/nrn/build/share/coreneuron/nrnivmodl_core_makefile:183: recipe for target 'x86_64/special-core' failed
make[3]: *** [x86_64/special-core] Error 2
external/coreneuron/coreneuron/CMakeFiles/nrniv-core.dir/build.make:75: recipe for target 'bin/x86_64/special-core' failed
make[2]: *** [bin/x86_64/special-core] Error 2
CMakeFiles/Makefile2:1564: recipe for target 'external/coreneuron/coreneuron/CMakeFiles/nrniv-core.dir/all' failed
make[1]: *** [external/coreneuron/coreneuron/CMakeFiles/nrniv-core.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
Could you help me with this one?

OK, great that it fixed it. We can merge a similar fix into NEURON.
Your new error seems to be related to a conda environment (/home/jhielson/anaconda3/...), can you try in a cleaner shell?

A brief explanation, if you're curious: CMake versions from v3.9.0 to v3.19.0 were passing the -A option to the compiler when detecting the presence of certain symbols (nrn_check_type_exists), which makes PGI/NVHPC compilers very pedantic. Specifically they were aborting because the code generated by NEURON to detect the presence of size_t did not end with a new line character...then NEURON defines size_t itself and you get the errors you reported.
One reason this does not seem to be such a widespread problem is that the Spack version of CMake patches out the -A flag for v3.15+.

Thanks a lot. It was indeed because of the conda environment. Sorry to bring another error. I downloaded the package again and tried to rebuild it and now I get the following error:
$cmake .. -DNRN_ENABLE_CORENEURON=ON -DCORENRN_ENABLE_GPU=ON -DNRN_ENABLE_INTERVIEWS=OFF -DNRN_ENABLE_RX3D=OFF -DCMAKE_INSTALL_PREFIX=$HOME/nvidia/nvhpc_2021_215_Linux_x86_64_cuda_11.3/install -DCMAKE_C_COMPILER=nvc -DCMAKE_CXX_COMPILER=nvc++ -DCMAKE_LIBRARY_ARCHITECTURE="x86_64-linux-gnu"             -DCMAKE_CXX_FLAGS="-O3 -g"  -DCMAKE_C_FLAGS="-O3 -g"
CMake Error at cmake/ExternalProjectHelper.cmake:50 (add_subdirectory):
The source directory
/home/jhielson/neuron/nrn/external/coreneuron

does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:377 (add_external_project)
NOTICEUsing Target in compiling and linking, you should take care of it if
it fail miserabily (CODE:<PHONE_NUMBER>)

CoreNEURON is a git submodule of NEURON. The cmake step should automatically fetch it if needed...I would hope there was an error message from git a little above the one about add_subdirectory? Can you post the full output?
You can also update the submodule manually, with
git submodule init
git submodule update

from the top-level NEURON directory, but this shouldn't be needed.

After executing the git commands I got new errors:
-- The C compiler identification is PGI 21.5.0
-- The CXX compiler identification is PGI 21.5.0
-- Check for working C compiler: /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc
-- Check for working C compiler: /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++
-- Check for working CXX compiler: /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
heads/master
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found Readline: /usr/include
-- Found MPI_C: /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi.so (found version "3.1")
-- Found MPI_CXX: /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_cxx.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Found PythonInterp: /usr/bin/python3.6 (found suitable version "3.6.9", minimum required is "3.6")
-- Found PythonInterp: /usr/bin/python3.6 (found suitable version "3.6.9", minimum required is "3")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Building CoreNEURON from submodule
-- Sub-project : using coreneuron from from /home/jhielson/neuron/nrn/external/coreneuron
-- Could NOT find HpcCodingConv (missing: HpcCodingConv_PROJ)
-- Sub-module CMake/hpc-coding-conventions missing: running git submodule update --init
Submodule 'CMake/hpc-coding-conventions' (https://github.com/BlueBrain/hpc-coding-conventions.git) registered for path 'CMake/hpc-coding-conventions'
Cloning into '/home/jhielson/neuron/nrn/external/coreneuron/CMake/hpc-coding-conventions'...

Submodule path 'external/Random123': checked out 'b5cb15614e8f3eb0ff316bdc50c300ddd32fa3c1'
-- Found CLI11: /home/jhielson/neuron/nrn/bin
-- Found Git: /usr/bin/git (found version "2.17.1")
CMake Error at external/coreneuron/CMakeLists.txt:68 (add_subdirectory):
The source directory
/home/jhielson/neuron/nrn/external/coreneuron/external/CLI11

does not contain a CMakeLists.txt file.
-- Found CUDA: /usr/local/cuda-11.3 (found suitable version "11.3", minimum required is "9.0")
-- Found PythonInterp: /usr/bin/python3.6 (found version "3.6.9")
-- Found Perl: /usr/bin/perl (found version "5.26.1")
-- Found MOD2C: /home/jhielson/neuron/nrn/bin
-- Using mod2c submodule from /home/jhielson/neuron/nrn/bin
CMake Error at external/coreneuron/CMake/AddMod2cSubmodule.cmake:30 (add_subdirectory):
The source directory
/home/jhielson/neuron/nrn/external/coreneuron/external/mod2c

does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
external/coreneuron/CMakeLists.txt:278 (include)
--
-- Configured CoreNEURON 0.21.0
-- Some things you can do now:
-- --------------------+--------------------------------------------------------
-- Command             |   Description
-- --------------------+--------------------------------------------------------
-- make install        | Will install CoreNEURON to: /home/jhielson/nvidia/nvhpc_2021_215_Linux_x86_64_cuda_11.3/install
-- make docs           | Build full docs. Calls targets: doxygen, sphinx
-- --------------------+--------------------------------------------------------
--  Build option       | Status
-- --------------------+--------------------------------------------------------
-- C COMPILER          | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc
-- CXX COMPILER        | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++
-- COMPILE FLAGS       | -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14
-- Build Type          | STATIC
-- MPI                 | ON
--   INC               | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include
-- OpenMP              | ON
-- Use legacy units    | OFF
-- NMODL               | OFF
-- MOD2CPP PATH        | /home/jhielson/neuron/nrn/build/bin/mod2c_core
-- GPU Support         | ON
--   CUDA              | /usr/local/cuda-11.3
--   Unified Memory    | OFF
--   HOST COMPILER     | /usr/bin/gcc
-- Auto Timeout        | ON
-- Wrap exp()          | OFF
-- SplayTree Queue     | ON
-- NetReceive Buffer   | ON
-- Caliper             | OFF
-- Likwid              | OFF
-- Unit Tests          | OFF
-- Reporting           | OFF
-- --------------+--------------------------------------------------------------
--  See documentation : https://github.com/BlueBrain/CoreNeuron/
-- --------------+--------------------------------------------------------------
NOTICEUsing Target in compiling and linking, you should take care of it if
it fail miserabily (CODE:<PHONE_NUMBER>)
-- Configured NEURON 8.0
-- You can now build NEURON using:
--   cmake --build . [--target TARGET] -- -j 8
-- 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/jhielson/nvidia/nvhpc_2021_215_Linux_x86_64_cuda_11.3/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
-- uninstall     | Removes files installed by make install (todo)
-- --------------+--------------------------------------------------------------
--  Build option | Status
-- --------------+--------------------------------------------------------------
-- C COMPILER    | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc
-- CXX COMPILER  | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++
-- BUILD_TYPE    | RelWithDebInfo (allowed: Custom;Debug;Release;RelWithDebInfo;Fast)
-- COMPILE FLAGS | -g  -O2
-- Shared        | ON
-- Default units | modern units (2019 nist constants)
-- MPI           | ON
--   INC         | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include
--   LIB         | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_cxx.so
--   DYNAMIC     | OFF
-- Python        | ON
--   EXE         | /usr/bin/python3.6
--   INC         | /usr/include/python3.6m
--   LIB         | /usr/lib/x86_64-linux-gnu/libpython3.6m.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/jhielson/neuron/nrn/external/coreneuron
--   LINK FLAGS  | -acc -gpu=cuda11.3,cc60,cc70 -rdynamic -lrt -Wl,--whole-archive -Lx86_64 -lcorenrnmech -L/home/jhielson/nvidia/nvhpc_2021_215_Linux_x86_64_cuda_11.3/install/lib -lcoreneuron -lcudacoreneuron -Wl,--no-whole-archive /usr/local/cuda-11.3/lib64/libcudart_static.a
--   Legacy Units| OFF
-- --------------+--------------------------------------------------------------
--  See documentation : https://www.neuron.yale.edu/neuron/
-- --------------+--------------------------------------------------------------
-- Configuring incomplete, errors occurred!
See also "/home/jhielson/neuron/nrn/build/CMakeFiles/CMakeOutput.log".
See also "/home/jhielson/neuron/nrn/build/CMakeFiles/CMakeError.log".

Sorry, I forgot an option for updating manually: git submodule update --init --recursive from the top level should do it.

Thanks. It works. When I run make install I get the following error:
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/jhielson/nvidia/nvhpc_2021_215_Linux_x86_64_cuda_11.3/install/share/nrn/lib
CMake Error at cmake_install.cmake:49 (file):
file INSTALL cannot make directory
"/home/jhielson/nvidia/nvhpc_2021_215_Linux_x86_64_cuda_11.3/install/share/nrn/lib":
Not a directory
Makefile:139: recipe for target 'install' failed
make: *** [install] Error 1
The directory "share/nrn/lib/" can be found at /usr/share/nrn/lib/hoc/...
Should I change my cmake flag from
-DCMAKE_INSTALL_PREFIX=$HOME/nvidia/nvhpc_2021_215_Linux_x86_64_cuda_11.3/install
to
-DCMAKE_INSTALL_PREFIX=$/usr

Hi,
After changing my cmake command to
cmake .. -DNRN_ENABLE_CORENEURON=ON -DCORENRN_ENABLE_GPU=ON -DNRN_ENABLE_INTERVIEWS=OFF -DNRN_ENABLE_RX3D=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=nvc -DCMAKE_CXX_COMPILER=nvc++ -DCMAKE_LIBRARY_ARCHITECTURE="x86_64-linux-gnu" -DCMAKE_CXX_FLAGS="-O3 -g"  -DCMAKE_C_FLAGS="-O3 -g"
I could install the package (output bellow). But python does not recognize neuron (ModuleNotFoundError: No module named 'neuron'
).
[  4%] Built target mod2c_core
[  5%] Built target cudacoreneuron
[  7%] Built target coreneuron-copy-nrnivmodl-core-dependencies
[  7%] Built target nrnivmodl-core
[  7%] Built target kin_deriv_header
[ 17%] Built target coreneuron
[ 18%] Built target scopmath
[ 20%] Built target nrniv-core
[ 24%] Built target nocmodl
[ 27%] Built target modlunit
[ 27%] Built target nrnversion_h
[ 28%] Generating help_data.dat
[ 28%] Built target help_data_dat
[ 28%] Update hh.mod for CoreNEURON compatibility
[ 28%] Built target hh_update
[ 98%] Built target nrniv_lib
[100%] Built target nrniv
Building python module with: /usr/bin/python3.6
[100%] Built target hoc_module
[100%] Built target rxdmath
Install the project...

-- Install configuration: "RelWithDebInfo"
-- Up-to-date: /usr/share/nrn/lib
-- Up-to-date: /usr/share/nrn/lib/helpdict
-- Up-to-date: /usr/share/nrn/lib/hocload.sh
-- Up-to-date: /usr/share/nrn/lib/shape.cm1
-- Up-to-date: /usr/share/nrn/lib/hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/electrod.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/varmeth1.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/impedanc.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/single1.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/showmech.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/stdlib.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/movierun.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/shapebox.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild/celmemb.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild/inhomofn.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild/celbild1.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild/celtopol.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild/celgeom.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild/celmang.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild/celset.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild/psubset.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/binfo.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/runfit.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/macload.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/grapher.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/inserter.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/stdrun.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/noload.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/subiter.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/pointman.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netparmpi.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/pointbsr.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/stdgui.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/pointgrp.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/nrngui1.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/impedanx.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/prcellstate.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mknrndll.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/wingroup.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/funfit.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/thresh.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/nrngui.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/vecwrap.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/kinbuild.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/lincir.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/modlunit.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/attshape.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/gatherv.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/lincir
-- Up-to-date: /usr/share/nrn/lib/hoc/lincir/lingraph.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/lincir/lincir1.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/lincir/linmech.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/lincir/elmbase.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/parmvals.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/mviewxml.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/distinctparm.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/realcell.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/mviewgui.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/ncview.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/ppanal.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/mview1.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/treeview.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/parmsets.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/secanal.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/allpp.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/allcell.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/artview.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/rcclasses.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mview/distinct.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/ksgate.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/kschanbg.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/properties.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/const.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/gategui.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/linoid.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/ksstate.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/kstrans.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/exp.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/kstgui.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/sigmoid.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/chanbild1.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/chanbild/table.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/corenrn.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/pcchdir.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/vplay.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/loadbal.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d/read_nlcda3.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d/read_swc.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d/read_morphml.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d/read_nlcda.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d/import3d_gui.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d/import3d_sec.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/import3d/read_nts.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/atoltool.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/parcom.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/celbild.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/single.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mkcurve.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/logax.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/singlech.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/impratio.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/family.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild/spkplot.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild/edgegui.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild/netdata.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild/artcel.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild/syntypes.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild/netgui.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild/grstrlst.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/netbild/netready.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/fitparm.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/eonerun.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/e_y.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/e_norm.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/eparmlst.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/e_actpot.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/e_xy.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/eoneprim.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/mulfit1.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/clampfit.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/eonefunc.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/optwrap.hoc
-- Up-to-date: /usr/share/nrn/lib/hoc/mulfit/protorun.hoc
-- Up-to-date: /usr/share/nrn/lib/nrnunits.lib.in
-- Up-to-date: /usr/share/nrn/lib/auditscripts
-- Up-to-date: /usr/share/nrn/lib/auditscripts/saveaudit
-- Up-to-date: /usr/share/nrn/lib/auditscripts/retrieve.sh
-- Up-to-date: /usr/share/nrn/lib/auditscripts/notes
-- Up-to-date: /usr/share/nrn/lib/auditscripts/hocaudit.sh
-- Up-to-date: /usr/share/nrn/lib/auditscripts/gettarname
-- Up-to-date: /usr/share/nrn/lib/shape.cm2
-- Up-to-date: /usr/share/nrn/lib/cleanup
-- Up-to-date: /usr/share/nrn/lib/prologue.id
-- Up-to-date: /usr/share/nrn/lib/nrn.defaults.in
-- Up-to-date: /usr/share/nrn/demo
-- Up-to-date: /usr/share/nrn/demo/hh.hoc
-- Up-to-date: /usr/share/nrn/demo/reconst.hoc
-- Up-to-date: /usr/share/nrn/demo/singhhchan.hoc
-- Up-to-date: /usr/share/nrn/demo/singhh.ses
-- Up-to-date: /usr/share/nrn/demo/release.ses
-- Up-to-date: /usr/share/nrn/demo/dynchan.ses
-- Up-to-date: /usr/share/nrn/demo/nomodel.hoc
-- Up-to-date: /usr/share/nrn/demo/d3init.hoc
-- Up-to-date: /usr/share/nrn/demo/sync
-- Up-to-date: /usr/share/nrn/demo/sync/spkplot.hoc
-- Up-to-date: /usr/share/nrn/demo/sync/synchronize.hoc
-- Up-to-date: /usr/share/nrn/demo/sync/init.hoc
-- Up-to-date: /usr/share/nrn/demo/sync/start.ses
-- Up-to-date: /usr/share/nrn/demo/sync/cell.hoc
-- Up-to-date: /usr/share/nrn/demo/sync/demosync.hoc
-- Up-to-date: /usr/share/nrn/demo/dynclamp.hoc
-- Up-to-date: /usr/share/nrn/demo/hh.ses
-- Up-to-date: /usr/share/nrn/demo/cycle.hoc
-- Up-to-date: /usr/share/nrn/demo/pyramid.ses
-- Up-to-date: /usr/share/nrn/demo/testca.hoc
-- Up-to-date: /usr/share/nrn/demo/pyramid.nrn
-- Up-to-date: /usr/share/nrn/demo/singhh.hoc
-- Up-to-date: /usr/share/nrn/demo/dynclamp.ses
-- Up-to-date: /usr/share/nrn/demo/demo.ses
-- Up-to-date: /usr/share/nrn/demo/release.hoc
-- Up-to-date: /usr/share/nrn/demo/release
-- Up-to-date: /usr/share/nrn/demo/release/invlfire.mod
-- Up-to-date: /usr/share/nrn/demo/release/khhchan.mod
-- Up-to-date: /usr/share/nrn/demo/release/capump.mod
-- Up-to-date: /usr/share/nrn/demo/release/nacaex.mod
-- Up-to-date: /usr/share/nrn/demo/release/cachan1.mod
-- Up-to-date: /usr/share/nrn/demo/release/camchan.mod
-- Up-to-date: /usr/share/nrn/demo/release/nachan.mod
-- Up-to-date: /usr/share/nrn/demo/release/release.mod
-- Up-to-date: /usr/share/nrn/demo/release/mcna.mod
-- Up-to-date: /usr/share/nrn/demo/release/cabpump.mod
-- Up-to-date: /usr/share/nrn/demo/demo.hoc
-- Up-to-date: /usr/share/nrn/demo/dend3
-- Up-to-date: /usr/share/nrn/demo/dend3/control.hoc
-- Up-to-date: /usr/share/nrn/demo/dend3/syn3.hoc
-- Up-to-date: /usr/share/nrn/demo/dend3/dend3.nrn
-- Up-to-date: /usr/share/nrn/demo/dend3.ses
-- Up-to-date: /usr/share/nrn/lib/nrnunits.lib
-- Up-to-date: /usr/share/nrn/lib/nrn.defaults
-- Up-to-date: /usr/share/nrn/lib/cleanup
-- Up-to-date: /usr/include
-- Up-to-date: /usr/include/nrnisaac.h
-- Up-to-date: /usr/include/nrncvode
-- Up-to-date: /usr/include/nrncvode/nrnneosm.h
-- Up-to-date: /usr/include/ocfunc.h
-- Up-to-date: /usr/include/nrnconf.h
-- Up-to-date: /usr/include/ivstream.h
-- Up-to-date: /usr/include/nrnoc_ml.h
-- Up-to-date: /usr/include/nmodlmutex.h
-- Up-to-date: /usr/include/nrnran123.h
-- Up-to-date: /usr/include/multicore.h
-- Up-to-date: /usr/include/cspredef.h
-- Up-to-date: /usr/include/nrniv_mf.h
-- Up-to-date: /usr/include/nrnjava.h
-- Up-to-date: /usr/include/nrnmpiuse.h
-- Up-to-date: /usr/include/nrnmpi.h
-- Up-to-date: /usr/include/Random123
-- Up-to-date: /usr/include/Random123/aes.h
-- Up-to-date: /usr/include/Random123/u01fixedpt.h
-- Up-to-date: /usr/include/Random123/threefry.h
-- Up-to-date: /usr/include/Random123/ars.h
-- Up-to-date: /usr/include/Random123/philox.h
-- Up-to-date: /usr/include/Random123/ReinterpretCtr.hpp
-- Up-to-date: /usr/include/Random123/gsl_microrng.h
-- Up-to-date: /usr/include/Random123/boxmuller.hpp
-- Up-to-date: /usr/include/Random123/MicroURNG.hpp
-- Up-to-date: /usr/include/Random123/array.h
-- Up-to-date: /usr/include/Random123/uniform.hpp
-- Up-to-date: /usr/include/Random123/conventional
-- Up-to-date: /usr/include/Random123/conventional/Engine.hpp
-- Up-to-date: /usr/include/Random123/conventional/gsl_cbrng.h
-- Up-to-date: /usr/include/Random123/features
-- Up-to-date: /usr/include/Random123/features/xlcfeatures.h
-- Up-to-date: /usr/include/Random123/features/open64features.h
-- Up-to-date: /usr/include/Random123/features/clangfeatures.h
-- Up-to-date: /usr/include/Random123/features/nvccfeatures.h
-- Up-to-date: /usr/include/Random123/features/iccfeatures.h
-- Up-to-date: /usr/include/Random123/features/fujitsufeatures.h
-- Up-to-date: /usr/include/Random123/features/metalfeatures.h
-- Up-to-date: /usr/include/Random123/features/sunprofeatures.h
-- Up-to-date: /usr/include/Random123/features/gccfeatures.h
-- Up-to-date: /usr/include/Random123/features/compilerfeatures.h
-- Up-to-date: /usr/include/Random123/features/crayfeatures.h
-- Up-to-date: /usr/include/Random123/features/openclfeatures.h
-- Up-to-date: /usr/include/Random123/features/sse.h
-- Up-to-date: /usr/include/Random123/features/msvcfeatures.h
-- Up-to-date: /usr/include/Random123/features/pgccfeatures.h
-- Up-to-date: /usr/include/coreneuron
-- Up-to-date: /usr/include/coreneuron/membrane_definitions.h
-- Up-to-date: /usr/include/coreneuron/mpi
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpi_def_cinc.h
-- Up-to-date: /usr/include/coreneuron/mpi/mpispike.hpp
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpiuse.h
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpi.h
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpidec.h
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpi_impl.h
-- Up-to-date: /usr/include/coreneuron/apps
-- Up-to-date: /usr/include/coreneuron/apps/corenrn_parameters.hpp
-- Up-to-date: /usr/include/coreneuron/nrnconf.h
-- Up-to-date: /usr/include/coreneuron/sim
-- Up-to-date: /usr/include/coreneuron/sim/fast_imem.hpp
-- Up-to-date: /usr/include/coreneuron/sim/multicore.hpp
-- Up-to-date: /usr/include/coreneuron/sim/scopmath
-- Up-to-date: /usr/include/coreneuron/sim/scopmath/errcodes.h
-- Up-to-date: /usr/include/coreneuron/sim/scopmath/newton_struct.h
-- Up-to-date: /usr/include/coreneuron/mechanism
-- Up-to-date: /usr/include/coreneuron/mechanism/mech_mapping.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/register_mech.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/eion.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/mech
-- Up-to-date: /usr/include/coreneuron/mechanism/mech/cfile
-- Up-to-date: /usr/include/coreneuron/mechanism/mech/cfile/scoplib.h
-- Up-to-date: /usr/include/coreneuron/mechanism/mech/cfile/cabvars.h
-- Up-to-date: /usr/include/coreneuron/mechanism/mech/mod2c_core_thread.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/mechanism.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/nrnoc_ml.ispc
-- Up-to-date: /usr/include/coreneuron/mechanism/membfunc.hpp
-- Up-to-date: /usr/include/coreneuron/utils
-- Up-to-date: /usr/include/coreneuron/utils/ivocvect.hpp
-- Up-to-date: /usr/include/coreneuron/utils/nrnmutdec.h
-- Up-to-date: /usr/include/coreneuron/utils/progressbar
-- Up-to-date: /usr/include/coreneuron/utils/progressbar/progressbar.h
-- Up-to-date: /usr/include/coreneuron/utils/vrecitem.h
-- Up-to-date: /usr/include/coreneuron/utils/memory.h
-- Up-to-date: /usr/include/coreneuron/utils/lpt.hpp
-- Up-to-date: /usr/include/coreneuron/utils/string_utils.h
-- Up-to-date: /usr/include/coreneuron/utils/nrnoc_aux.hpp
-- Up-to-date: /usr/include/coreneuron/utils/randoms
-- Up-to-date: /usr/include/coreneuron/utils/randoms/nrnran123.h
-- Up-to-date: /usr/include/coreneuron/utils/nrn_assert.h
-- Up-to-date: /usr/include/coreneuron/utils/profile
-- Up-to-date: /usr/include/coreneuron/utils/profile/cuda_profile.h
-- Up-to-date: /usr/include/coreneuron/utils/profile/profiler_interface.h
-- Up-to-date: /usr/include/coreneuron/utils/memory_utils.h
-- Up-to-date: /usr/include/coreneuron/utils/nrn_stats.h
-- Up-to-date: /usr/include/coreneuron/network
-- Up-to-date: /usr/include/coreneuron/network/have2want.h
-- Up-to-date: /usr/include/coreneuron/network/partrans.hpp
-- Up-to-date: /usr/include/coreneuron/network/tqueue.hpp
-- Up-to-date: /usr/include/coreneuron/network/tnode.hpp
-- Up-to-date: /usr/include/coreneuron/network/netpar.hpp
-- Up-to-date: /usr/include/coreneuron/network/netcvode.hpp
-- Up-to-date: /usr/include/coreneuron/network/netcon.hpp
-- Up-to-date: /usr/include/coreneuron/network/multisend.hpp
-- Up-to-date: /usr/include/coreneuron/nrnoc
-- Up-to-date: /usr/include/coreneuron/nrnoc/md1redef.h
-- Up-to-date: /usr/include/coreneuron/nrnoc/nrnunits_modern.h
-- Up-to-date: /usr/include/coreneuron/nrnoc/md2redef.h
-- Up-to-date: /usr/include/coreneuron/config
-- Up-to-date: /usr/include/coreneuron/config/config.h
-- Up-to-date: /usr/include/coreneuron/engine.h
-- Up-to-date: /usr/include/coreneuron/io
-- Up-to-date: /usr/include/coreneuron/io/core2nrn_data_return.hpp
-- Up-to-date: /usr/include/coreneuron/io/lfp.hpp
-- Up-to-date: /usr/include/coreneuron/io/file_utils.hpp
-- Up-to-date: /usr/include/coreneuron/io/phase2.hpp
-- Up-to-date: /usr/include/coreneuron/io/setup_fornetcon.hpp
-- Up-to-date: /usr/include/coreneuron/io/prcellstate.hpp
-- Up-to-date: /usr/include/coreneuron/io/nrn_setup.hpp
-- Up-to-date: /usr/include/coreneuron/io/user_params.hpp
-- Up-to-date: /usr/include/coreneuron/io/mech_report.h
-- Up-to-date: /usr/include/coreneuron/io/nrnsection_mapping.hpp
-- Up-to-date: /usr/include/coreneuron/io/mem_layout_util.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports
-- Up-to-date: /usr/include/coreneuron/io/reports/report_handler.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports/report_event.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports/binary_report_handler.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports/sonata_report_handler.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports/nrnreport.hpp
-- Up-to-date: /usr/include/coreneuron/io/nrn2core_direct.h
-- Up-to-date: /usr/include/coreneuron/io/nrn_filehandler.hpp
-- Up-to-date: /usr/include/coreneuron/io/output_spikes.hpp
-- Up-to-date: /usr/include/coreneuron/io/nrn_checkpoint.hpp
-- Up-to-date: /usr/include/coreneuron/io/phase1.hpp
-- Up-to-date: /usr/include/coreneuron/permute
-- Up-to-date: /usr/include/coreneuron/permute/node_permute.h
-- Up-to-date: /usr/include/coreneuron/permute/cellorder.hpp
-- Up-to-date: /usr/include/coreneuron/permute/data_layout.hpp
-- Up-to-date: /usr/include/coreneuron/gpu
-- Up-to-date: /usr/include/coreneuron/gpu/nrn_acc_manager.hpp
-- Up-to-date: /usr/include/coreneuron/coreneuron.hpp
-- Up-to-date: /usr/include/coreneuron/nrniv
-- Up-to-date: /usr/include/coreneuron/nrniv/profiler_interface.h
-- Up-to-date: /usr/include/coreneuron/nrniv/nrniv_decl.h
-- Up-to-date: /usr/include/nrnapi.h
-- Up-to-date: /usr/include/spconfig.h
-- Up-to-date: /usr/include/nrnassrt.h
-- Up-to-date: /usr/include/scoplib.h
-- Up-to-date: /usr/include/hoclist.h
-- Up-to-date: /usr/include/nrnmpidec.h
-- Up-to-date: /usr/include/scoplib_ansi.h
-- Up-to-date: /usr/include/nrncvode.h
-- Up-to-date: /usr/include/md1redef.h
-- Up-to-date: /usr/include/membfunc.h
-- Up-to-date: /usr/include/hocassrt.h
-- Up-to-date: /usr/include/hocdec.h
-- Up-to-date: /usr/include/oc_ansi.h
-- Up-to-date: /usr/include/nrnpthread.h
-- Up-to-date: /usr/include/multisplit.h
-- Up-to-date: /usr/include/options.h
-- Up-to-date: /usr/include/ocmisc.h
-- Up-to-date: /usr/include/nrnredef.h
-- Up-to-date: /usr/include/spmatrix.h
-- Up-to-date: /usr/include/hoc_membf.h
-- Up-to-date: /usr/include/membdef.h
-- Up-to-date: /usr/include/nrn_ansi.h
-- Up-to-date: /usr/include/md2redef.h
-- Up-to-date: /usr/include/hocparse.h
-- Up-to-date: /usr/include/section.h
-- Up-to-date: /usr/include/nrnpy_hoc.h
-- Up-to-date: /usr/include/cabvars.h
-- Up-to-date: /usr/include/neuron.h
-- Up-to-date: /usr/include/hocgetsym.h
-- Up-to-date: /usr/include/isoc99.h
-- Up-to-date: /usr/include/cspmatrix.h
-- Up-to-date: /usr/include/hoc.h
-- Up-to-date: /usr/share/cmake/coreneuron-config.cmake
-- Up-to-date: /usr/share/cmake/coreneuron.cmake
-- Up-to-date: /usr/share/cmake/coreneuron-relwithdebinfo.cmake
-- Up-to-date: /usr/share/mod2c/nrnunits.lib
-- Installing: /usr/bin/mod2c_core
-- Up-to-date: /usr/lib/libcoreneuron.a
-- Up-to-date: /usr/lib/libcudacoreneuron.a
-- Up-to-date: /usr/lib/libscopmath.a
-- Up-to-date: /usr/include//coreneuron
-- Up-to-date: /usr/include//coreneuron/membrane_definitions.h
-- Up-to-date: /usr/include//coreneuron/mpi
-- Up-to-date: /usr/include//coreneuron/mpi/nrnmpi_def_cinc.h
-- Up-to-date: /usr/include//coreneuron/mpi/mpispike.hpp
-- Up-to-date: /usr/include//coreneuron/mpi/nrnmpiuse.h
-- Up-to-date: /usr/include//coreneuron/mpi/nrnmpi.h
-- Up-to-date: /usr/include//coreneuron/mpi/nrnmpidec.h
-- Up-to-date: /usr/include//coreneuron/mpi/nrnmpi_impl.h
-- Up-to-date: /usr/include//coreneuron/apps
-- Up-to-date: /usr/include//coreneuron/apps/corenrn_parameters.hpp
-- Up-to-date: /usr/include//coreneuron/nrnconf.h
-- Up-to-date: /usr/include//coreneuron/sim
-- Up-to-date: /usr/include//coreneuron/sim/fast_imem.hpp
-- Up-to-date: /usr/include//coreneuron/sim/multicore.hpp
-- Up-to-date: /usr/include//coreneuron/sim/scopmath
-- Up-to-date: /usr/include//coreneuron/sim/scopmath/errcodes.h
-- Up-to-date: /usr/include//coreneuron/sim/scopmath/newton_struct.h
-- Up-to-date: /usr/include//coreneuron/mechanism
-- Up-to-date: /usr/include//coreneuron/mechanism/mech_mapping.hpp
-- Up-to-date: /usr/include//coreneuron/mechanism/register_mech.hpp
-- Up-to-date: /usr/include//coreneuron/mechanism/eion.hpp
-- Up-to-date: /usr/include//coreneuron/mechanism/mech
-- Up-to-date: /usr/include//coreneuron/mechanism/mech/cfile
-- Up-to-date: /usr/include//coreneuron/mechanism/mech/cfile/scoplib.h
-- Up-to-date: /usr/include//coreneuron/mechanism/mech/cfile/cabvars.h
-- Up-to-date: /usr/include//coreneuron/mechanism/mech/mod2c_core_thread.hpp
-- Up-to-date: /usr/include//coreneuron/mechanism/mechanism.hpp
-- Up-to-date: /usr/include//coreneuron/mechanism/nrnoc_ml.ispc
-- Up-to-date: /usr/include//coreneuron/mechanism/membfunc.hpp
-- Up-to-date: /usr/include//coreneuron/utils
-- Up-to-date: /usr/include//coreneuron/utils/ivocvect.hpp
-- Up-to-date: /usr/include//coreneuron/utils/nrnmutdec.h
-- Up-to-date: /usr/include//coreneuron/utils/progressbar
-- Up-to-date: /usr/include//coreneuron/utils/progressbar/progressbar.h
-- Up-to-date: /usr/include//coreneuron/utils/vrecitem.h
-- Up-to-date: /usr/include//coreneuron/utils/memory.h
-- Up-to-date: /usr/include//coreneuron/utils/lpt.hpp
-- Up-to-date: /usr/include//coreneuron/utils/string_utils.h
-- Up-to-date: /usr/include//coreneuron/utils/nrnoc_aux.hpp
-- Up-to-date: /usr/include//coreneuron/utils/randoms
-- Up-to-date: /usr/include//coreneuron/utils/randoms/nrnran123.h
-- Up-to-date: /usr/include//coreneuron/utils/nrn_assert.h
-- Up-to-date: /usr/include//coreneuron/utils/profile
-- Up-to-date: /usr/include//coreneuron/utils/profile/cuda_profile.h
-- Up-to-date: /usr/include//coreneuron/utils/profile/profiler_interface.h
-- Up-to-date: /usr/include//coreneuron/utils/memory_utils.h
-- Up-to-date: /usr/include//coreneuron/utils/nrn_stats.h
-- Up-to-date: /usr/include//coreneuron/network
-- Up-to-date: /usr/include//coreneuron/network/have2want.h
-- Up-to-date: /usr/include//coreneuron/network/partrans.hpp
-- Up-to-date: /usr/include//coreneuron/network/tqueue.hpp
-- Up-to-date: /usr/include//coreneuron/network/tnode.hpp
-- Up-to-date: /usr/include//coreneuron/network/netpar.hpp
-- Up-to-date: /usr/include//coreneuron/network/netcvode.hpp
-- Up-to-date: /usr/include//coreneuron/network/netcon.hpp
-- Up-to-date: /usr/include//coreneuron/network/multisend.hpp
-- Up-to-date: /usr/include//coreneuron/nrnoc
-- Up-to-date: /usr/include//coreneuron/nrnoc/md1redef.h
-- Up-to-date: /usr/include//coreneuron/nrnoc/nrnunits_modern.h
-- Up-to-date: /usr/include//coreneuron/nrnoc/md2redef.h
-- Up-to-date: /usr/include//coreneuron/config
-- Up-to-date: /usr/include//coreneuron/config/config.h
-- Up-to-date: /usr/include//coreneuron/engine.h
-- Up-to-date: /usr/include//coreneuron/io
-- Up-to-date: /usr/include//coreneuron/io/core2nrn_data_return.hpp
-- Up-to-date: /usr/include//coreneuron/io/lfp.hpp
-- Up-to-date: /usr/include//coreneuron/io/file_utils.hpp
-- Up-to-date: /usr/include//coreneuron/io/phase2.hpp
-- Up-to-date: /usr/include//coreneuron/io/setup_fornetcon.hpp
-- Up-to-date: /usr/include//coreneuron/io/prcellstate.hpp
-- Up-to-date: /usr/include//coreneuron/io/nrn_setup.hpp
-- Up-to-date: /usr/include//coreneuron/io/user_params.hpp
-- Up-to-date: /usr/include//coreneuron/io/mech_report.h
-- Up-to-date: /usr/include//coreneuron/io/nrnsection_mapping.hpp
-- Up-to-date: /usr/include//coreneuron/io/mem_layout_util.hpp
-- Up-to-date: /usr/include//coreneuron/io/reports
-- Up-to-date: /usr/include//coreneuron/io/reports/report_handler.hpp
-- Up-to-date: /usr/include//coreneuron/io/reports/report_event.hpp
-- Up-to-date: /usr/include//coreneuron/io/reports/binary_report_handler.hpp
-- Up-to-date: /usr/include//coreneuron/io/reports/sonata_report_handler.hpp
-- Up-to-date: /usr/include//coreneuron/io/reports/nrnreport.hpp
-- Up-to-date: /usr/include//coreneuron/io/nrn2core_direct.h
-- Up-to-date: /usr/include//coreneuron/io/nrn_filehandler.hpp
-- Up-to-date: /usr/include//coreneuron/io/output_spikes.hpp
-- Up-to-date: /usr/include//coreneuron/io/nrn_checkpoint.hpp
-- Up-to-date: /usr/include//coreneuron/io/phase1.hpp
-- Up-to-date: /usr/include//coreneuron/permute
-- Up-to-date: /usr/include//coreneuron/permute/node_permute.h
-- Up-to-date: /usr/include//coreneuron/permute/cellorder.hpp
-- Up-to-date: /usr/include//coreneuron/permute/data_layout.hpp
-- Up-to-date: /usr/include//coreneuron/gpu
-- Up-to-date: /usr/include//coreneuron/gpu/nrn_acc_manager.hpp
-- Up-to-date: /usr/include//coreneuron/coreneuron.hpp
-- Up-to-date: /usr/include//coreneuron/nrniv
-- Up-to-date: /usr/include//coreneuron/nrniv/profiler_interface.h
-- Up-to-date: /usr/include//coreneuron/nrniv/nrniv_decl.h
-- Up-to-date: /usr/share/coreneuron/kinderiv.py
-- Up-to-date: /usr/share/coreneuron/mod_func.c.pl
-- Up-to-date: /usr/share/coreneuron/dimplic.cpp
-- Up-to-date: /usr/share/coreneuron/enginemech.cpp
-- Up-to-date: /usr/bin/mod2c_core
-- Up-to-date: /usr/share/mod2c/nrnunits.lib
-- Up-to-date: /usr/bin/nrniv-core
-- Up-to-date: /usr/share/coreneuron/coreneuron.cpp
-- Up-to-date: /usr/include
-- Up-to-date: /usr/include/nrnisaac.h
-- Up-to-date: /usr/include/nrncvode
-- Up-to-date: /usr/include/nrncvode/nrnneosm.h
-- Up-to-date: /usr/include/ocfunc.h
-- Up-to-date: /usr/include/nrnconf.h
-- Up-to-date: /usr/include/ivstream.h
-- Up-to-date: /usr/include/nrnoc_ml.h
-- Up-to-date: /usr/include/nmodlmutex.h
-- Up-to-date: /usr/include/nrnran123.h
-- Up-to-date: /usr/include/multicore.h
-- Up-to-date: /usr/include/cspredef.h
-- Up-to-date: /usr/include/nrniv_mf.h
-- Up-to-date: /usr/include/nrnjava.h
-- Up-to-date: /usr/include/nrnmpiuse.h
-- Up-to-date: /usr/include/nrnmpi.h
-- Up-to-date: /usr/include/Random123
-- Up-to-date: /usr/include/Random123/aes.h
-- Up-to-date: /usr/include/Random123/u01fixedpt.h
-- Up-to-date: /usr/include/Random123/threefry.h
-- Up-to-date: /usr/include/Random123/ars.h
-- Up-to-date: /usr/include/Random123/philox.h
-- Up-to-date: /usr/include/Random123/ReinterpretCtr.hpp
-- Up-to-date: /usr/include/Random123/gsl_microrng.h
-- Up-to-date: /usr/include/Random123/boxmuller.hpp
-- Up-to-date: /usr/include/Random123/MicroURNG.hpp
-- Up-to-date: /usr/include/Random123/array.h
-- Up-to-date: /usr/include/Random123/uniform.hpp
-- Up-to-date: /usr/include/Random123/conventional
-- Up-to-date: /usr/include/Random123/conventional/Engine.hpp
-- Up-to-date: /usr/include/Random123/conventional/gsl_cbrng.h
-- Up-to-date: /usr/include/Random123/features
-- Up-to-date: /usr/include/Random123/features/xlcfeatures.h
-- Up-to-date: /usr/include/Random123/features/open64features.h
-- Up-to-date: /usr/include/Random123/features/clangfeatures.h
-- Up-to-date: /usr/include/Random123/features/nvccfeatures.h
-- Up-to-date: /usr/include/Random123/features/iccfeatures.h
-- Up-to-date: /usr/include/Random123/features/fujitsufeatures.h
-- Up-to-date: /usr/include/Random123/features/metalfeatures.h
-- Up-to-date: /usr/include/Random123/features/sunprofeatures.h
-- Up-to-date: /usr/include/Random123/features/gccfeatures.h
-- Up-to-date: /usr/include/Random123/features/compilerfeatures.h
-- Up-to-date: /usr/include/Random123/features/crayfeatures.h
-- Up-to-date: /usr/include/Random123/features/openclfeatures.h
-- Up-to-date: /usr/include/Random123/features/sse.h
-- Up-to-date: /usr/include/Random123/features/msvcfeatures.h
-- Up-to-date: /usr/include/Random123/features/pgccfeatures.h
-- Up-to-date: /usr/include/coreneuron
-- Up-to-date: /usr/include/coreneuron/membrane_definitions.h
-- Up-to-date: /usr/include/coreneuron/mpi
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpi_def_cinc.h
-- Up-to-date: /usr/include/coreneuron/mpi/mpispike.hpp
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpiuse.h
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpi.h
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpidec.h
-- Up-to-date: /usr/include/coreneuron/mpi/nrnmpi_impl.h
-- Up-to-date: /usr/include/coreneuron/apps
-- Up-to-date: /usr/include/coreneuron/apps/corenrn_parameters.hpp
-- Up-to-date: /usr/include/coreneuron/nrnconf.h
-- Up-to-date: /usr/include/coreneuron/sim
-- Up-to-date: /usr/include/coreneuron/sim/fast_imem.hpp
-- Up-to-date: /usr/include/coreneuron/sim/multicore.hpp
-- Up-to-date: /usr/include/coreneuron/sim/scopmath
-- Up-to-date: /usr/include/coreneuron/sim/scopmath/errcodes.h
-- Up-to-date: /usr/include/coreneuron/sim/scopmath/newton_struct.h
-- Up-to-date: /usr/include/coreneuron/mechanism
-- Up-to-date: /usr/include/coreneuron/mechanism/mech_mapping.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/register_mech.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/eion.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/mech
-- Up-to-date: /usr/include/coreneuron/mechanism/mech/cfile
-- Up-to-date: /usr/include/coreneuron/mechanism/mech/cfile/scoplib.h
-- Up-to-date: /usr/include/coreneuron/mechanism/mech/cfile/cabvars.h
-- Up-to-date: /usr/include/coreneuron/mechanism/mech/mod2c_core_thread.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/mechanism.hpp
-- Up-to-date: /usr/include/coreneuron/mechanism/nrnoc_ml.ispc
-- Up-to-date: /usr/include/coreneuron/mechanism/membfunc.hpp
-- Up-to-date: /usr/include/coreneuron/utils
-- Up-to-date: /usr/include/coreneuron/utils/ivocvect.hpp
-- Up-to-date: /usr/include/coreneuron/utils/nrnmutdec.h
-- Up-to-date: /usr/include/coreneuron/utils/progressbar
-- Up-to-date: /usr/include/coreneuron/utils/progressbar/progressbar.h
-- Up-to-date: /usr/include/coreneuron/utils/vrecitem.h
-- Up-to-date: /usr/include/coreneuron/utils/memory.h
-- Up-to-date: /usr/include/coreneuron/utils/lpt.hpp
-- Up-to-date: /usr/include/coreneuron/utils/string_utils.h
-- Up-to-date: /usr/include/coreneuron/utils/nrnoc_aux.hpp
-- Up-to-date: /usr/include/coreneuron/utils/randoms
-- Up-to-date: /usr/include/coreneuron/utils/randoms/nrnran123.h
-- Up-to-date: /usr/include/coreneuron/utils/nrn_assert.h
-- Up-to-date: /usr/include/coreneuron/utils/profile
-- Up-to-date: /usr/include/coreneuron/utils/profile/cuda_profile.h
-- Up-to-date: /usr/include/coreneuron/utils/profile/profiler_interface.h
-- Up-to-date: /usr/include/coreneuron/utils/memory_utils.h
-- Up-to-date: /usr/include/coreneuron/utils/nrn_stats.h
-- Up-to-date: /usr/include/coreneuron/network
-- Up-to-date: /usr/include/coreneuron/network/have2want.h
-- Up-to-date: /usr/include/coreneuron/network/partrans.hpp
-- Up-to-date: /usr/include/coreneuron/network/tqueue.hpp
-- Up-to-date: /usr/include/coreneuron/network/tnode.hpp
-- Up-to-date: /usr/include/coreneuron/network/netpar.hpp
-- Up-to-date: /usr/include/coreneuron/network/netcvode.hpp
-- Up-to-date: /usr/include/coreneuron/network/netcon.hpp
-- Up-to-date: /usr/include/coreneuron/network/multisend.hpp
-- Up-to-date: /usr/include/coreneuron/nrnoc
-- Up-to-date: /usr/include/coreneuron/nrnoc/md1redef.h
-- Up-to-date: /usr/include/coreneuron/nrnoc/nrnunits_modern.h
-- Up-to-date: /usr/include/coreneuron/nrnoc/md2redef.h
-- Up-to-date: /usr/include/coreneuron/config
-- Up-to-date: /usr/include/coreneuron/config/config.h
-- Up-to-date: /usr/include/coreneuron/engine.h
-- Up-to-date: /usr/include/coreneuron/io
-- Up-to-date: /usr/include/coreneuron/io/core2nrn_data_return.hpp
-- Up-to-date: /usr/include/coreneuron/io/lfp.hpp
-- Up-to-date: /usr/include/coreneuron/io/file_utils.hpp
-- Up-to-date: /usr/include/coreneuron/io/phase2.hpp
-- Up-to-date: /usr/include/coreneuron/io/setup_fornetcon.hpp
-- Up-to-date: /usr/include/coreneuron/io/prcellstate.hpp
-- Up-to-date: /usr/include/coreneuron/io/nrn_setup.hpp
-- Up-to-date: /usr/include/coreneuron/io/user_params.hpp
-- Up-to-date: /usr/include/coreneuron/io/mech_report.h
-- Up-to-date: /usr/include/coreneuron/io/nrnsection_mapping.hpp
-- Up-to-date: /usr/include/coreneuron/io/mem_layout_util.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports
-- Up-to-date: /usr/include/coreneuron/io/reports/report_handler.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports/report_event.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports/binary_report_handler.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports/sonata_report_handler.hpp
-- Up-to-date: /usr/include/coreneuron/io/reports/nrnreport.hpp
-- Up-to-date: /usr/include/coreneuron/io/nrn2core_direct.h
-- Up-to-date: /usr/include/coreneuron/io/nrn_filehandler.hpp
-- Up-to-date: /usr/include/coreneuron/io/output_spikes.hpp
-- Up-to-date: /usr/include/coreneuron/io/nrn_checkpoint.hpp
-- Up-to-date: /usr/include/coreneuron/io/phase1.hpp
-- Up-to-date: /usr/include/coreneuron/permute
-- Up-to-date: /usr/include/coreneuron/permute/node_permute.h
-- Up-to-date: /usr/include/coreneuron/permute/cellorder.hpp
-- Up-to-date: /usr/include/coreneuron/permute/data_layout.hpp
-- Up-to-date: /usr/include/coreneuron/gpu
-- Up-to-date: /usr/include/coreneuron/gpu/nrn_acc_manager.hpp
-- Up-to-date: /usr/include/coreneuron/coreneuron.hpp
-- Up-to-date: /usr/include/coreneuron/nrniv
-- Up-to-date: /usr/include/coreneuron/nrniv/profiler_interface.h
-- Up-to-date: /usr/include/coreneuron/nrniv/nrniv_decl.h
-- Up-to-date: /usr/include/nrnapi.h
-- Up-to-date: /usr/include/spconfig.h
-- Up-to-date: /usr/include/nrnassrt.h
-- Up-to-date: /usr/include/scoplib.h
-- Up-to-date: /usr/include/hoclist.h
-- Up-to-date: /usr/include/nrnmpidec.h
-- Up-to-date: /usr/include/scoplib_ansi.h
-- Up-to-date: /usr/include/nrncvode.h
-- Up-to-date: /usr/include/md1redef.h
-- Up-to-date: /usr/include/membfunc.h
-- Up-to-date: /usr/include/hocassrt.h
-- Up-to-date: /usr/include/hocdec.h
-- Up-to-date: /usr/include/oc_ansi.h
-- Up-to-date: /usr/include/nrnpthread.h
-- Up-to-date: /usr/include/multisplit.h
-- Up-to-date: /usr/include/options.h
-- Up-to-date: /usr/include/ocmisc.h
-- Up-to-date: /usr/include/nrnredef.h
-- Up-to-date: /usr/include/spmatrix.h
-- Up-to-date: /usr/include/hoc_membf.h
-- Up-to-date: /usr/include/membdef.h
-- Up-to-date: /usr/include/nrn_ansi.h
-- Up-to-date: /usr/include/md2redef.h
-- Up-to-date: /usr/include/hocparse.h
-- Up-to-date: /usr/include/section.h
-- Up-to-date: /usr/include/nrnpy_hoc.h
-- Up-to-date: /usr/include/cabvars.h
-- Up-to-date: /usr/include/neuron.h
-- Up-to-date: /usr/include/hocgetsym.h
-- Up-to-date: /usr/include/isoc99.h
-- Up-to-date: /usr/include/cspmatrix.h
-- Up-to-date: /usr/include/hoc.h
-- Up-to-date: /usr/share/modfile
-- Up-to-date: /usr/share/modfile/svclmp.mod
-- Up-to-date: /usr/share/modfile/pattern.mod
-- Up-to-date: /usr/share/modfile/netstim.mod
-- Up-to-date: /usr/share/modfile/passive.mod
-- Up-to-date: /usr/share/modfile/exp2syn.mod
-- Up-to-date: /usr/share/modfile/expsyn.mod
-- Up-to-date: /usr/share/modfile/hh.mod
-- Up-to-date: /usr/share/modfile/stim.mod
-- Up-to-date: /usr/share/coreneuron/nrnivmodl_core_makefile
-- Up-to-date: /usr/bin/nrnivmodl-core
-- Up-to-date: /usr/bin/nrniv
-- Installing: /usr/bin/nocmodl
-- Installing: /usr/bin/modlunit
-- Up-to-date: /usr/lib/libnrniv.so
-- Up-to-date: /usr/share/nrn/nrnmain.cpp
-- Up-to-date: /usr/include/nrnmpiuse.h
-- Up-to-date: /usr/include/nrncvode/nrnneosm.h
-- Up-to-date: /usr/include/nrnconf.h
-- Up-to-date: /usr/bin/nrngui
-- Up-to-date: /usr/bin/neurondemo
-- Up-to-date: /usr/bin/nrnivmodl
-- Up-to-date: /usr/bin/nrnmech_makefile
-- Up-to-date: /usr/bin/nrnpyenv.sh
-- Up-to-date: /usr/bin/sortspike
-- Up-to-date: /usr/bin/mkthreadsafe
-- Up-to-date: /usr/bin/nrnpyenv.sh
-- Up-to-date: /usr/bin/set_nrnpyenv.sh
-- Installing: /usr/lib/librxdmath.so
Installing python module using:
cd /home/jhielson/neuron/nrn/build/src/nrnpython
/usr/bin/python3.6 setup.py --quiet build --build-lib=/home/jhielson/neuron/nrn/build/lib/python install --prefix= --home=/usr

Hi,
Sorry to take your time with this issue. I have changed the pythonpath on my bashrc file to:
export PATH=$HOME/neuron/nrn/bin:$PATH
export PYTHONPATH=/usr/local/nrn/share/nrn/lib/python:$PYTHONPATH
export PYTHONPATH=/usr/local/nrn/lib/python/neuron:$PYTHONPATH
And, Python continues to not recognizing neuron:
ModuleNotFoundError: No module named 'neuron.hoc37'
Not sure how to fix that.

@jhielson : in the top comment yo have posted:
...
-- --------------+--------------------------------------------------------------
-- Build option | Status
-- --------------+--------------------------------------------------------------
-- C COMPILER | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc
-- CXX COMPILER | /opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++
-- BUILD_TYPE | RelWithDebInfo (allowed: Custom;Debug;Release;RelWithDebInfo;Fast)
....
-- DYNAMIC | OFF
-- Python | ON
-- EXE | /usr/bin/python3.6
-- INC | /usr/include/python3.6m
-- LIB | /usr/lib/x86_64-linux-gnu/libpython3.6m.so

i.e. python detected by CMake is /usr/bin/python3.6. Are you using same python version 3.6 to test neuron?
And just another recommendation - seems like you haven't set -DCMAKE_INSTALL_PREFIX=/install/dir/path option. Without this, neuron is installed in system directories like /usr/local, /usr/include, /usr/bin. This is not a good idea when installing multiple versions or using different python versions. So, I would recommend to remove all the installed files (mentioned in your previous comments) and do fresh installation in home directory (e.g. -DCMAKE_INSTALL_PREFIX=$HOME/nrn-install).

Thanks! I have done that, but it does not recognize coreneuron:
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import neuron
from neuron import coreneuron
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'coreneuron'
from neuron import h
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'h'

My .bashrc file:
export PYTHONPATH=$HOME/nrn-install:$PYTHONPATH
export PATH=$HOME/nrn-install/bin:$PATH
The directory and paths:
$ cd ~/nrn-install/
$ ls
bin  include  lib  share  x86_64
$ echo $PYTHONPATH
/home/jhielson/nrn-install:
$ echo $PATH
/usr/local/cuda-11.3/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/mpi/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin:/home/jhielson/nrn-install/bin:/home/jhielson/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/webots

Thanks! I have done that, but it does not recognize coreneuron:
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import neuron
from neuron import coreneuron
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'coreneuron'
from neuron import h
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'h'

My .bashrc file:
export PYTHONPATH=$HOME/nrn-install:$PYTHONPATH
export PATH=$HOME/nrn-install/bin:$PATH
The directory and paths:
$ cd ~/nrn-install/
$ ls
bin  include  lib  share  x86_64
$ echo $PYTHONPATH
/home/jhielson/nrn-install:
$ echo $PATH
/usr/local/cuda-11.3/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/mpi/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin:/home/jhielson/nrn-install/bin:/home/jhielson/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/webots

Sorry. I did not mean to close it

Hi,
I have managed to install the package by following your suggestions. When I execute the command:
$ python3 -c "from neuron import h; from neuron import coreneuron"
the output is clean without any import error.
The package was installed at $HOME/nrn-install and my bash file containing the following export commands:
#coreNEURON
export PYTHONPATH=$HOME/nrn-install:$PYTHONPATH
export PATH=$HOME/nrn-install/bin:$PATH
export PYTHONPATH=$HOME/neuron/nrn/build/lib/python:$PYTHONPATH
export PYTHONPATH=/usr/local/nrn/share/nrn/lib/python:$PYTHONPATH
export PYTHONPATH=/usr/local/nrn/lib/python/neuron:$PYTHONPATH
#nvidia
export MANPATH=$MANPATH:/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/man
export PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin:$PATH
export PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/mpi/bin:$PATH
export MANPATH=$MANPATH:/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/mpi/man
export NVHPCSDK=/opt/nvidia/hpc_sdk
But, I can not compile any mod file. I get the following output:
$ nrnivmodl -coreneuron izhi2007b.mod
/home/jhielson/netpyneExample/spdemo
Mod files: "./izhi2007b.mod"
COBJS=''
FATAL: Invalid mods directory: 'izhi2007b.mod'
$ nrnivmodl -coreneuron spikeout.mod
/home/jhielson/netpyneExample/spdemo
Mod files: "./spikeout.mod"
COBJS=''
FATAL: Invalid mods directory: 'spikeout.mod'
Am I doing something wrong?

You should run nrnivmodl -coreneuron directory_containing_mod_files/, not nrnivmodl -coreneuron path/to/file.mod.
See: https://nrn.readthedocs.io/en/latest/coreneuron/how-to/coreneuron.html#building-mod-files

Sorry, my bad. I have three different mod files and I get the following error:
Mod files: "./spdemo/izhi2007b.mod" "./spdemo/spikeout.mod" "./spdemo/SynExp2NMDA.mod"
Creating x86_64 directory for .o files.
COBJS=''
[INFO] Running: make -j4 -f /usr/share/coreneuron/nrnivmodl_core_makefile ROOT=/usr MODS_PATH=x86_64/corenrn/mod2c BUILD_TYPE=STATIC
Default NMODL flags:
diff: x86_64/corenrn/mod2c/_mod_func.cpp: No such file or directory
Translating x86_64/corenrn/mod2c/SynExp2NMDA.mod into x86_64/corenrn/mod2c//SynExp2NMDA.cpp
Translating x86_64/corenrn/mod2c/expsyn.mod into x86_64/corenrn/mod2c//expsyn.cpp
Translating x86_64/corenrn/mod2c/exp2syn.mod into x86_64/corenrn/mod2c//exp2syn.cpp
cvode_emit=0 cvode_not_allowed=0
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/hh.mod into x86_64/corenrn/mod2c//hh.cpp
Thread Safe
cvode_emit=0 cvode_not_allowed=0
Thread Safe
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/izhi2007b.mod into x86_64/corenrn/mod2c//izhi2007b.cpp
Translating x86_64/corenrn/mod2c/netstim.mod into x86_64/corenrn/mod2c//netstim.cpp
Translating x86_64/corenrn/mod2c/passive.mod into x86_64/corenrn/mod2c//passive.cpp
cvode_emit=0 cvode_not_allowed=0
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
cvode_emit=0 cvode_not_allowed=0
Thread Safe
Translating x86_64/corenrn/mod2c/pattern.mod into x86_64/corenrn/mod2c//pattern.cpp
Notice: VERBATIM blocks are not thread safe
cvode_emit=0 cvode_not_allowed=0
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
cvode_emit=0 cvode_not_allowed=0
Error : x86_64/corenrn/mod2c/izhi2007b.mod is not thread safe and incompatible with CoreNEURON
See details at https://neuron.yale.edu/neuron/docs/multithread-parallelizationTranslating x86_64/corenrn/mod2c/spikeout.mod into x86_64/corenrn/mod2c//spikeout.cpp
cvode_emit=0 cvode_not_allowed=0
Translating x86_64/corenrn/mod2c/stim.mod into x86_64/corenrn/mod2c//stim.cpp
Thread Safe
Translating x86_64/corenrn/mod2c/svclmp.mod into x86_64/corenrn/mod2c//svclmp.cpp
cvode_emit=0 cvode_not_allowed=0
Thread Safe
cvode_emit=0 cvode_not_allowed=0
Thread Safe
"/usr/include/c++/7/cstdlib", line 75: catastrophic error: cannot open source file "stdlib.h"
#include_next <stdlib.h>
^
1 catastrophic error detected in the compilation of "/usr/share/coreneuron/enginemech.cpp".
Compilation terminated.
/usr/share/coreneuron/nrnivmodl_core_makefile:195: recipe for target 'x86_64/corenrn/build/enginemech.o' failed
make: *** [x86_64/corenrn/build/enginemech.o] Error 2
make: *** Waiting for unfinished jobs....
Aborted (core dumped)
/usr/share/coreneuron/nrnivmodl_core_makefile:225: recipe for target 'x86_64/corenrn/mod2c/izhi2007b.cpp' failed
make: *** [x86_64/corenrn/mod2c/izhi2007b.cpp] Error 134
make: *** Deleting file 'x86_64/corenrn/mod2c/izhi2007b.cpp'
Should I close this issue and open a new one? Maybe this error is related to the version of my gcc.

Hi @olupton ,
Sorry for taking your time again but I could not solve the last compilation issue. When I try to compile my models (mod files) I get the following error:
$ nrnivmodl -coreneuron .
/home/jhielson/netpyneExample/spdemo
Mod files: "./spikeout.mod" "./SynExp2NMDA.mod"
COBJS=''
[INFO] Running: make -j4 -f /usr/share/coreneuron/nrnivmodl_core_makefile ROOT=/usr MODS_PATH=x86_64/corenrn/mod2c BUILD_TYPE=STATIC
Default NMODL flags:
"/usr/include/c++/7/cstdlib", line 75: catastrophic error: cannot open source file "stdlib.h"
#include_next <stdlib.h>
^
1 catastrophic error detected in the compilation of "/usr/share/coreneuron/enginemech.cpp".
Compilation terminated.
/usr/share/coreneuron/nrnivmodl_core_makefile:195: recipe for target 'x86_64/corenrn/build/enginemech.o' failed
make: *** [x86_64/corenrn/build/enginemech.o] Error 2
make: *** Waiting for unfinished jobs....
"/usr/include/c++/7/cmath", line 45: catastrophic error: cannot open source file "math.h"
#include_next <math.h>
^
1 catastrophic error detected in the compilation of "x86_64/corenrn/mod2c/_dimplic.cpp".
Compilation terminated.
/usr/share/coreneuron/nrnivmodl_core_makefile:213: recipe for target 'x86_64/corenrn/build/_dimplic.o' failed
make: *** [x86_64/corenrn/build/_dimplic.o] Error 2
"/usr/include/c++/7/cstdlib", line 75: catastrophic error: cannot open source file "stdlib.h"
#include_next <stdlib.h>
^
1 catastrophic error detected in the compilation of "x86_64/corenrn/mod2c/SynExp2NMDA.cpp".
Compilation terminated.
/usr/share/coreneuron/nrnivmodl_core_makefile:213: recipe for target 'x86_64/corenrn/build/SynExp2NMDA.o' failed
make: *** [x86_64/corenrn/build/SynExp2NMDA.o] Error 2
Please, can you help me with that?

Can you attach the full log of VERBOSE=1 nrnivmodl -coreneuron . please?

That is the output  :
/home/jhielson/netpyneExample/spdemo
Mod files: "./spikeout.mod" "./SynExp2NMDA.mod"
COBJS=''
[INFO] Running: make -j4 -f /usr/share/coreneuron/nrnivmodl_core_makefile ROOT=/usr MODS_PATH=x86_64/corenrn/mod2c BUILD_TYPE=STATIC
Default NMODL flags:
/usr/bin/perl /usr/share/coreneuron/mod_func.c.pl SynExp2NMDA.mod exp2syn.mod expsyn.mod hh.mod netstim.mod passive.mod pattern.mod spikeout.mod stim.mod svclmp.mod > x86_64/corenrn/mod2c/_mod_func.cpp.tmp
cd x86_64/corenrn/mod2c;
/usr/bin/python3.6 /usr/share/coreneuron/kinderiv.py;
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/usr/include -I/usr/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c -DADDITIONAL_MECHS /usr/share/coreneuron/enginemech.cpp -o x86_64/corenrn/build/enginemech.o
diff -q x86_64/corenrn/mod2c/_mod_func.cpp.tmp x86_64/corenrn/mod2c/_mod_func.cpp ||
mv x86_64/corenrn/mod2c/_mod_func.cpp.tmp x86_64/corenrn/mod2c/_mod_func.cpp
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/usr/include -I/usr/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c x86_64/corenrn/mod2c/_dimplic.cpp -o x86_64/corenrn/build/_dimplic.o
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/usr/include -I/usr/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c x86_64/corenrn/mod2c/SynExp2NMDA.cpp -o x86_64/corenrn/build/SynExp2NMDA.o
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/usr/include -I/usr/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c x86_64/corenrn/mod2c/exp2syn.cpp -o x86_64/corenrn/build/exp2syn.o
"/usr/include/c++/7/cstdlib", line 75: catastrophic error: cannot open source file "stdlib.h"
#include_next <stdlib.h>
^
1 catastrophic error detected in the compilation of "/usr/share/coreneuron/enginemech.cpp".
Compilation terminated.
/usr/share/coreneuron/nrnivmodl_core_makefile:195: recipe for target 'x86_64/corenrn/build/enginemech.o' failed
make: *** [x86_64/corenrn/build/enginemech.o] Error 2
make: *** Waiting for unfinished jobs....
"/usr/include/c++/7/cmath", line 45: catastrophic error: cannot open source file "math.h"
#include_next <math.h>
^
1 catastrophic error detected in the compilation of "x86_64/corenrn/mod2c/_dimplic.cpp".
Compilation terminated.
/usr/share/coreneuron/nrnivmodl_core_makefile:213: recipe for target 'x86_64/corenrn/build/_dimplic.o' failed
make: *** [x86_64/corenrn/build/_dimplic.o] Error 2
"/usr/include/c++/7/cstdlib", line 75: catastrophic error: cannot open source file "stdlib.h"
#include_next <stdlib.h>
^
1 catastrophic error detected in the compilation of "x86_64/corenrn/mod2c/SynExp2NMDA.cpp".
Compilation terminated.
"/usr/include/c++/7/cstdlib", line 75: catastrophic error: cannot open source file "stdlib.h"
#include_next <stdlib.h>
^
1 catastrophic error detected in the compilation of "x86_64/corenrn/mod2c/exp2syn.cpp".
Compilation terminated.
/usr/share/coreneuron/nrnivmodl_core_makefile:213: recipe for target 'x86_64/corenrn/build/SynExp2NMDA.o' failed
make: *** [x86_64/corenrn/build/SynExp2NMDA.o] Error 2
/usr/share/coreneuron/nrnivmodl_core_makefile:213: recipe for target 'x86_64/corenrn/build/exp2syn.o' failed
make: *** [x86_64/corenrn/build/exp2syn.o] Error 2

The problem seems to come from NVHPC's handling of include directories, here is a tiny example:
$ echo "#include <cstdlib>" > foo.cpp && nvc++ -I/usr/include -o foo foo.cpp
"[snipped]/gcc-9.3.0-45gzrp/include/c++/9.3.0/cstdlib", line 75: catastrophic error: cannot open source file "stdlib.h"
  #include_next <stdlib.h>
                          ^
1 catastrophic error detected in the compilation of "foo.cpp".
Compilation terminated.

and we can see above you have:
nvc++ ... -I/usr/include -I/usr/include/coreneuron/utils/randoms ... -c /usr/share/coreneuron/enginemech.cpp -o x86_64/corenrn/build/enginemech.o

which looks like you still have CMAKE_INSTALL_PREFIX=/usr.
Can you try a clean build? I understood from the comments above that you had changed to installing into a folder in your home directory, so I guess this is an accident?

Thanks. I had an old pythonpath in my bashfile. After removing it, the compilation completed with warnings:
VERBOSE=1 nrnivmodl -coreneuron
/home/jhielson/netpyneExample/spdemo
Mod files: "./spikeout.mod" "./SynExp2NMDA.mod"
COBJS=''
[INFO] Running: make -j4 -f /home/jhielson/nrn-install/share/coreneuron/nrnivmodl_core_makefile ROOT=/home/jhielson/nrn-install MODS_PATH=x86_64/corenrn/mod2c BUILD_TYPE=STATIC
Default NMODL flags:
/usr/bin/perl /home/jhielson/nrn-install/share/coreneuron/mod_func.c.pl SynExp2NMDA.mod exp2syn.mod expsyn.mod hh.mod netstim.mod passive.mod pattern.mod spikeout.mod stim.mod svclmp.mod > x86_64/corenrn/mod2c/_mod_func.cpp.tmp
cd x86_64/corenrn/mod2c;
/usr/bin/python3.6 /home/jhielson/nrn-install/share/coreneuron/kinderiv.py;
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/home/jhielson/nrn-install/include -I/home/jhielson/nrn-install/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c -DADDITIONAL_MECHS /home/jhielson/nrn-install/share/coreneuron/enginemech.cpp -o x86_64/corenrn/build/enginemech.o
diff -q x86_64/corenrn/mod2c/_mod_func.cpp.tmp x86_64/corenrn/mod2c/_mod_func.cpp ||
mv x86_64/corenrn/mod2c/_mod_func.cpp.tmp x86_64/corenrn/mod2c/_mod_func.cpp
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/home/jhielson/nrn-install/include -I/home/jhielson/nrn-install/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c x86_64/corenrn/mod2c/_dimplic.cpp -o x86_64/corenrn/build/_dimplic.o
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/home/jhielson/nrn-install/include -I/home/jhielson/nrn-install/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c x86_64/corenrn/mod2c/SynExp2NMDA.cpp -o x86_64/corenrn/build/SynExp2NMDA.o
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/home/jhielson/nrn-install/include -I/home/jhielson/nrn-install/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c x86_64/corenrn/mod2c/exp2syn.cpp -o x86_64/corenrn/build/exp2syn.o
/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/compilers/bin/nvc++ -O3 -g -acc -gpu=cuda11.3,cc60,cc70 --diag_suppress 161,177,550 -mp   -g  -O2  --c++14 -fPIC  -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -DMPICH_SKIP_MPICXX=1 -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  -I/home/jhielson/nrn-install/include -I/home/jhielson/nrn-install/include/coreneuron/utils/randoms  -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/comm_libs/openmpi/openmpi-3.1.5/include  -c x86_64/corenrn/mod2c/expsyn.cpp -o x86_64/corenrn/build/expsyn.o
NVC++-S-1053-External and Static variables are not supported in acc routine - _ZN58_INTERNAL_36_x86_64_corenrn_mod2c_SynExp2NMDA_cpp_cc3caf8a10coreneuron1FE (x86_64/corenrn/mod2c/SynExp2NMDA.cpp: 453)
NVC++/x86-64 Linux 21.5-0: compilation completed with severe errors
/home/jhielson/nrn-install/share/coreneuron/nrnivmodl_core_makefile:213: recipe for target 'x86_64/corenrn/build/SynExp2NMDA.o' failed
make: *** [x86_64/corenrn/build/SynExp2NMDA.o] Error 2
make: *** Waiting for unfinished jobs....
NVC++-W-1053-External and Static variables are not supported in acc routine - _ZN10coreneuron11nrn_threadsE (x86_64/corenrn/mod2c/expsyn.cpp: 378)
NVC++-W-1053-External and Static variables are not supported in acc routine - _ZN10coreneuron11nrn_threadsE (x86_64/corenrn/mod2c/exp2syn.cpp: 396)
NVC++/x86-64 Linux 21.5-0: compilation completed with warnings
NVC++/x86-64 Linux 21.5-0: compilation completed with warnings

I see
NVC++/x86-64 Linux 21.5-0: compilation completed with severe errors
/home/jhielson/nrn-install/share/coreneuron/nrnivmodl_core_makefile:213: recipe for target 'x86_64/corenrn/build/SynExp2NMDA.o' failed
make: *** [x86_64/corenrn/build/SynExp2NMDA.o] Error 2
make: *** Waiting for unfinished jobs....

there. Can you check for other errors?
Did you rebuild in and reinstall to a clean directory, or is this just with a change to your Python path?

Hi,
I rebuilt the package from a clean directory. But it only worked after removing the wrong python path inside the bashrc file.
It also says:
NVC++-S-1053-External and Static variables are not supported in acc routine - _ZN58_INTERNAL_36_x86_64_corenrn_mod2c_SynExp2NMDA_cpp_cc3caf8a10coreneuron1FE (x86_64/corenrn/mod2c/SynExp2NMDA.cpp: 453)

OK, that is normally only a warning, but it seems that with this SynExp2NMDA.mod mechanism it's an error. I can reproduce it locally (with this file, hopefully it's the same one you're using). I'll have a look.

Thanks! It is the same mod file.

This seems to be a problem with the combination of OpenACC/GPU support, the MOD2C translator, and this mechanism -- specifically that it contains a CONSTANT { ... } block.
For me it works locally if we merge the CONSTANT block into the PARAMETER block and add GLOBAL T, F, R, z to the NEURON block:
--- SynExp2NMDA.mod  2021-06-28 16:39:32.672863000 +0200
+++ SynExp2NMDA.mod  2021-06-28 16:39:12.146030000 +0200
@@ -39,6 +39,7 @@
 NEURON {
        POINT_PROCESS Exp2NMDA
        NONSPECIFIC_CURRENT i
+       GLOBAL T, F, R, z
        RANGE tau1, tau2, e, i, Mg, K0, delta, wf
        THREADSAFE
 }
@@ -66,9 +67,6 @@
        delta = 0.8     (1)             : the electrical distance of the Mg2+ binding site from the outside of the membrane from Spruston95
 : Parameter Controls Ohm's law in NMDAR
        e = -0.7                (mV)    : in CA1-CA3 region = -0.7 from Spruston95
-}
-
-CONSTANT {
        T = 273.16      (degC)
        F = 9.648e4     (coul)  : Faraday's constant (coulombs/mol)
        R = 8.315       (J/degC): universal gas constant (joules/mol/K)

hopefully you can use this workaround for the moment.

Thanks! It works. I am gonna create a network using those models to test.

Hi,
Do you known if there are commands to activate the package, like bellow, but for NetpyNE models?

Enable cache efficiency :
from neuron import h
h.cvode.cache_efficient(1)

Enable CoreNEURON :
from neuron import coreneuron
coreneuron.enable = True

If GPU support is enabled during build, enable GPU execution using:
coreneuron.gpu = True
 :warning: In this case you must launch your script using the special binary! This is explained in more detail below.

Use psolve to run simulation after initialization :
h.stdinit()
pc.psolve(h.tstop)

Hello @jhielson ,
Currently we're working with NetPyNE developers to integrate CoreNEURON support in NetPyNE.
It would be helpful if you could create a ticket in the NetPyNE repo about that and we can check how to make a version of NetPyNE available with this feature.
Thank you very much!

Thank you! I will create a ticket there.


feat: add DinkMigrate client command

Closes #563
https://github.com/PJGJ210/Discord-Collection-Logger/issues/5 :white_check_mark:
https://github.com/Boredska/gim-bank-discord/issues/3
https://github.com/MidgetJake/UniversalDiscordNotifier/issues/41
https://github.com/jamesdrudolph/Discord-Death-Notifications/issues/11
https://github.com/RinZJ/better-discord-loot-logger/issues/30
https://github.com/ATremonte/Discord-Level-Notifications/issues/12 :white_check_mark:
https://github.com/jack0lantern/raidshamer/issues/2 :white_check_mark:

No objections from the other plugin authors within a (little over a) month; merging


[Fix] no-duplicates: valid default + named types fixer

Fixes #2114, #2130
Note that #2114 suggests the correct fix looks like:
import type {default as dnajs, AccountQuery} from '@netflix-internal/dnajs';

but this PR will generate:
import type dnajs from '@netflix-internal/dnajs';
import type {AccountQuery} from '@netflix-internal/dnajs';

This avoids conflicts with no-named-default mentioned in #2130.

@GoodForOneFare are you no longer interested in landing this?

@ljharb would you have otherwise accepted this PR? I'd be happy to open a new PR and see it through, we've been bitten by this before.

@nwalters512 please do not open a new PR - i'd prefer @GoodForOneFare to restore the branch and reopen this one, and i can take your branch and pull it into this PR.
I haven't had a chance to review this one, but any fixer that's safe is one I'm always anxious to add.

Sure - how long would you like to wait for @GoodForOneFare to reopen? If they've abandoned it entirely, I would still very much like to get this fix landed.

Hi folks! I only had a short window in which I could contribute, so @nwalters512 can pick this up without stepping on my toes 😸
fwiw, even with this fix, enabling this + consistent-type-imports was too noisy for our largest repo 😞 If I was picking this back up, I'd get both rules to play nice by only mandating import type when there are no non-type imports for a dependency.

@GoodForOneFare any chance you could restore the branch and reopen the PR? That way @nwalters512 can post a link to a branch and I can pull in the commits, without needing an extra PR.

Done 👍  All yours, @nwalters512!

@nwalters512 please comment with a link to a rebased/updated branch, and i'll pull it in :-)

@ljharb here you go! https://github.com/nwalters512/eslint-plugin-import/tree/no-duplicates-types