Open JCGoran opened 1 month ago
When running NMODL on multiple mod files (such as nmodl file1.mod file2.mod ...) with SymPy enabled, a cryptic warning appears:
nmodl file1.mod file2.mod ...
context.c:56: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time
From this SO answer it seems the culprit is this line in cPython.
Possible solutions:
Py_IsInitialized
Python.h
Third option, only allow one MOD file at a time.
When running NMODL on multiple mod files (such as
nmodl file1.mod file2.mod ...
) with SymPy enabled, a cryptic warning appears:From this SO answer it seems the culprit is this line in cPython.
Possible solutions:
Py_IsInitialized
to check if the interpreter is running (part of stable ABI). This also needs thePython.h
header