Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Error in code generation of reduced dentate benchmark (2) #692

Description

@kotsaloscv

I followed the instructions of the reduced dentate benchmark (https://github.com/pramodk/reduced_dentate), and I got the following compilation error (code generation issue):

x86_64/corenrn/mod2c/vecevent.cpp(204): error: identifier "id" is undefined
                void* vv = (void*)(inst->ptr[indexes[2*pnodecount + id]]);  
                                                                    ^

x86_64/corenrn/mod2c/vecevent.cpp(206): error: identifier "vector_pobj" is undefined
                        hoc_obj_unref(*vector_pobj(vv));
                                       ^

x86_64/corenrn/mod2c/vecevent.cpp(206): error: identifier "hoc_obj_unref" is undefined
                        hoc_obj_unref(*vector_pobj(vv));
                        ^

compilation aborted for x86_64/corenrn/mod2c/vecevent.cpp (code 2)
make: *** [x86_64/corenrn/build/vecevent.o] Error 2

By simply removing this part of the generated code, it eventually compiles. However, there is an issue in the generate code.

I have used nrn + coreneuron + nmodl to produce the special.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcodegenCode generation backendnecessary-featureFunctionality required for simulations

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions