Comments (23)
Yes, many thanks! I am sure Mark and I will be circling back but at least we can get into trouble with making and compiling conductances and novel mechanisms on all the OSs now. :-)
from xolotl.
it's fairly hard for me to troubleshoot this as i don't have a windows computer, but can you try this:
cpplab.search('conductances')
what do you get? I suspect you get nothign
from xolotl.
from xolotl.
@smbaca cpplab.search('conductances')
loops indefinitely? is this true on other OSes as well? thanks for the bug report, we can probably sort this out quickly
from xolotl.
from xolotl.
OK, thanks for that info. just to be clear,
this:
cpplab.search('conductances')
loops indefinitely on windows?
from xolotl.
from xolotl.
thanks. could you also run this on your windows computer:
xroot = fileparts(fileparts(which('xolotl')))
from xolotl.
from xolotl.
OK i'm scratching my head. the only way this is possible is if there is a loop on your filesystem. perhaps you accidentally created an alias in one of the folders to a parent so that when it searches those folders it keeps going round and round?
other than that the only thing i can suggest is to reinstall. unless you're using a bleeding edge feature using the toolbox installer should work on windows
from xolotl.
from xolotl.
ugh!
is this preventing you from running xololt on windows? i know this is a bug but i want to prioritize you getting to working again
from xolotl.
from xolotl.
can you do a screenshare?
from xolotl.
from xolotl.
Machine info
Windows Build | 19044
MATLAB Version | 9.12.0.2009381 (R2022a) Update 4
>> mex.getCompilerConfigurations("C++")
ans =
CompilerConfiguration with properties:
Name: 'MinGW64 Compiler (C++)'
Manufacturer: 'GNU'
Language: 'C++'
Version: '6.3.0'
Location: 'C:\ProgramData\MATLAB\SupportPackages\R2022a\3P.instrset\mingw_w64.instrset'
ShortName: 'mingw64-g++'
Priority: 'E'
Details: [1×1 mex.CompilerConfigurationDetails]
LinkerName: 'C:\ProgramData\MATLAB\SupportPackages\R2022a\3P.instrset\mingw_w64.instrset\bin\g++'
LinkerVersion: ''
MexOpt: 'C:\Users\alech\AppData\Roaming\MathWorks\MATLAB\R2022a\mex_C++_win64.xml'
Proof of life:
Error
I was able to reproduce the issue @smbaca is having. cpplab.search('conductances')
works as expected, but xolotl.testConductances
fails:
>> xolotl.testConductances
No objects found
One or more output arguments not assigned during call to "varargout".
Error in xolotl/testConductances (line 8)
all_cond = cpplab.search([xroot filesep 'c++' filesep 'conductances']);
from xolotl.
@sg-s The issue is in the regex matching here:
https://github.com/sg-s/cpplab/blob/1e6857bce8756594b0d63b154ba0052390b58051/%40cpplab/search.m#L55
from xolotl.
Windows doesn't like that you're using regex/escaping with backslashes. Using the contains
function fixes that. There's also an issue with trailing whitespaces/newlines due to the CLRF line endings used by Windows and no other OS I know of. Basically, these problems are because we were developing and testing only on *nix machines. Fortunately, they are easy to fix (and also xolotl worked fine the whole time -- it was just tests that were failing).
See PR here: sg-s/cpplab#74
from xolotl.
@smbaca does this help? you'll have to update your cpplab
from xolotl.
from xolotl.
honestly i don't remember what happens if you do that. it probably won't work on windows anyway. i would update xolotl and cpplab from github using git and you should be good to go
from xolotl.
from xolotl.
excellent! thanks to @alec-hoyland for fixing this. i have no idea what he's done, but he's done it!
from xolotl.
Related Issues (20)
- synapse activation functions binaries being stored in the wrong place
- Is it possible to build a model without recompiling everything?
- xolotl.uninstall doesn't work when installed with a toolbox
- merge neuron-db into this HOT 1
- Can we re-architecture the entire thing to cut out cpplab? HOT 1
- Trouble building C++ code from matlab HOT 5
- New C++11 features may allow us to do away with much of the type heirarchy HOT 5
- Struggling with inhibitory synapses HOT 11
- Implementing dynamic clamp / real-time simulation HOT 2
- add rectifying electrical synapse
- there should exist infrastructure to pass vectors of data to compartments
- AlphaSynapse is broken (at least in some version) HOT 5
- demo page on docs shows colors in plot, which is not produced because defaults are changed HOT 1
- documentation may lead to accidentally include .git folders in their path, causing chaos HOT 24
- i can't test xolotl without the global optimization toolbox HOT 1
- xolotl needs a new release
- xolotl x.fit issue HOT 2
- add new course info
- xolotl won't run on M3 Mac HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xolotl.