Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

externalInput component.dylib isn't getting recompiled when calling convert_script_s2b #10

Closed
sebjameswml opened this issue Jun 25, 2014 · 4 comments
Labels

Comments

@sebjameswml
Copy link
Collaborator

Hi @ajc158 - it doesn't seem to recompile externalInput successfully for me:

dyn201167:SpineML_2_BRAHMS sebjames$ pwd
/Users/sebjames/SpineML_2_BRAHMS
dyn201167:SpineML_2_BRAHMS sebjames$ SYSTEMML_INSTALL_PATH=/Applications/spinecreator.app/Contents/MacOS/SystemML/ REBUILD=false PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Applications/spinecreator.app/Contents/MacOS/SystemML/BRAHMS/bin/ BRAHMS_NS=/usr/bin:/bin:/usr/sbin:/sbin:/Users/sebjames/SpineML_2_BRAHMS/temp/Namespace/ ./convert_script_s2b
Tools compiled correctly
~/SpineML_2_BRAHMS/temp ~/SpineML_2_BRAHMS
In directory:  /Users/sebjames/SpineML_2_BRAHMS/temp
Execute: ./output.script experiment.xml false /Users/sebjames/SpineML_2_BRAHMS  true /Users/sebjames/SpineML_2_BRAHMS/xsl
Creating the Neuron populations...
Component for population 1 exists, skipping
Creating the projections...
Dir = /Users/sebjames/SpineML_2_BRAHMS
Building the SystemML system...
Building the SystemML execution...
Done!
Running!
Executing brahms --par-NamespaceRoots=/Users/sebjames/SpineML_2_BRAHMS:../tools sys-exe.xml
E_MODULE_NOT_FOUND: module not found "../tools/dev/SpineML/tools/externalInput/brahms/0/component.dylib"
    whilst processing "engine->open()"
Failed to run output.script on the experiment.xml. Falling at the last hurdle.
dyn201167:SpineML_2_BRAHMS sebjames$

Could you try removing one of your component.dylib files in your tools subdirectory and see if a model will still run?

Note that in the above, I'm setting all the env. variables on the same command line as I call ./convert_script_s2b.

@ajc158
Copy link
Collaborator

ajc158 commented Jun 25, 2014

Looks like it didn't try to recompile - try removing current_os
On 25 Jun 2014 14:58, "Seb James" notifications@github.com wrote:

Hi @ajc158 https://github.com/ajc158 - it doesn't seem to recompile
externalInput successfully for me:

dyn201167:SpineML_2_BRAHMS sebjames$ pwd
/Users/sebjames/SpineML_2_BRAHMS
dyn201167:SpineML_2_BRAHMS sebjames$ SYSTEMML_INSTALL_PATH=/Applications/spinecreator.app/Contents/MacOS/SystemML/ REBUILD=false PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Applications/spinecreator.app/Contents/MacOS/SystemML/BRAHMS/bin/ BRAHMS_NS=/usr/bin:/bin:/usr/sbin:/sbin:/Users/sebjames/SpineML_2_BRAHMS/temp/Namespace/ ./convert_script_s2b
Tools compiled correctly
~/SpineML_2_BRAHMS/temp ~/SpineML_2_BRAHMS
In directory: /Users/sebjames/SpineML_2_BRAHMS/temp
Execute: ./output.script experiment.xml false /Users/sebjames/SpineML_2_BRAHMS true /Users/sebjames/SpineML_2_BRAHMS/xsl
Creating the Neuron populations...
Component for population 1 exists, skipping
Creating the projections...
Dir = /Users/sebjames/SpineML_2_BRAHMS
Building the SystemML system...
Building the SystemML execution...
Done!
Running!
Executing brahms --par-NamespaceRoots=/Users/sebjames/SpineML_2_BRAHMS:../tools sys-exe.xml
E_MODULE_NOT_FOUND: module not found "../tools/dev/SpineML/tools/externalInput/brahms/0/component.dylib"
whilst processing "engine->open()"
Failed to run output.script on the experiment.xml. Falling at the last hurdle.
dyn201167:SpineML_2_BRAHMS sebjames$

Could you try removing one of your component.dylib files in your tools
subdirectory and see if a model will still run?

Note that in the above, I'm setting all the env. variables on the same
command line as I call ./convert_script_s2b.


Reply to this email directly or view it on GitHub
#10.

@sebjameswml
Copy link
Collaborator Author

Ok, that solved it. There needs to be some warning that due to the presence of that file it isn't recompiling, in case you manually removed the .dylib to try to force it to recompile.

@sebjameswml
Copy link
Collaborator Author

I plan to add a test for the presence of the various component.dylib files (or component.so files if on Linux) after the test of the content of current_os. I may also add a command line option to force a rebuild of the tools, as if there had been an "OS change detected.."

@sebjameswml
Copy link
Collaborator Author

The current code will now do the relevant testing for component.dylib/component.so files, so this should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants