-
Notifications
You must be signed in to change notification settings - Fork 57
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
GeNN while using along with Brian2genn fails on Power9 #362
Comments
Hum .. it looks like the linker can't locate the cuda library. Can you establish where the correct cuda library is located on your system? The current command line is instructing the linker to look in |
The |
To help diagnose the touch test.h && cpp -dM test.h | grep linux && rm test.h |
Attempting to replicate on Summit as well with the latest release version of genn-4.3.3...
My guess is that the version of swig deployed is significantly older than the one expected by genn 4.3.3 |
To be clear, is that the output from summit or summit-dev? Either way, I can see no reason why GeNN wouldn't work on this system. Could you try running one of GeNN's own example projects e.g. https://github.com/genn-team/genn/tree/master/userproject/PotjansMicrocircuit_project? If that works, there should be no problem with Brian2GeNN One thing to note is that, slightly-confusingly, Brian2GeNN does not require GeNN's python interface so doesn't need SWIG! |
Summit, specifically, a login node. Didn't realize people were still using summit-dev
Good to know, but just for the sake of completeness, upgrading to the latest release version of SWIG (4.0.x) clears the
Now, back to GeNN...
I haven't isolated the reason why
|
That sounds positive - I would be interested to know if |
It does, if I replace |
Good to know! I'll fix that right away but will leave this open in case you have further issues running Brian2GeNN. |
Hi,
I am trying to compile GeNN for Brian2GeNN in order to run on the Summit Supercomputer with Power9 PC.
I saw that the utility library expects the PATH_MAX variable to be defined,
genn/include/genn/third_party/path.h:80:19: error: 'PATH_MAX' was not declared in this scope
char temp[PATH_MAX];
I added a #define PATH_MAX 4096.
But now I see the following while building the genn executable:
mkdir -p /gpfs/alpine/csc382/proj-shared/shruti/framework/examples/snn-simulation-evaluation/GeNNworkspace
/sw/summit/ibm-wml-ce/anaconda-base/envs/ibm-wml-ce-1.7.0-3/bin/powerpc64le-conda_cos7-linux-gnu-c++ -std=c++11 -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -mcpu=power8 -mtune=power8 -mpower8-fusion -mpower8-vector -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -Wall -Wpedantic -Wextra -MMD -MP -I/gpfs/alpine/csc382/proj-shared/shruti/genn/include/genn/genn -I/gpfs/alpine/csc382/proj-shared/shruti/genn/include/genn/third_party -I/gpfs/alpine/csc382/proj-shared/shruti/framework/examples/snn-simulation-evaluation -I/gpfs/alpine/csc382/proj-shared/shruti/framework/examples/snn-simulation-evaluation/GeNNworkspace -I/gpfs/alpine/csc382/proj-shared/shruti/framework/examples/snn-simulation-evaluation/GeNNworkspace/brianlib/randomkit -I/gpfs/alpine/csc382/proj-shared/shruti/genn/include/genn/backends/cuda -DMODEL="/gpfs/alpine/csc382/proj-shared/shruti/framework/examples/snn-simulation-evaluation/GeNNworkspace/magicnetwork_model.cpp" -DBACKEND_NAMESPACE=CUDA -I"/sw/summit/cuda/10.1.243/include" generator.cc -o /gpfs/alpine/csc382/proj-shared/shruti/framework/examples/snn-simulation-evaluation/GeNNworkspace/generator -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -L/gpfs/alpine/csc382/proj-shared/shruti/genn/lib -lgenn_cuda_backend -lgenn -L"/sw/summit/cuda/10.1.243/lib64" -lcuda -lcudart
make: Leaving directory '/gpfs/alpine/csc382/proj-shared/shruti/genn/src/genn/generator'
genn-buildmodel.sh:86: error 50: command failure
/autofs/nccs-svm1_sw/summit/ibm-wml-ce/anaconda-base/envs/ibm-wml-ce-1.7.0-3/bin/../lib/gcc/powerpc64le-conda_cos7-linux-gnu/7.3.0/../../../../powerpc64le-conda_cos7-linux-gnu/bin/ld: cannot find -lcuda
collect2: error: ld returned 1 exit status
make: *** [MakefileCommon:41: /gpfs/alpine/csc382/proj-shared/shruti/framework/examples/snn-simulation-evaluation/GeNNworkspace/generator] Error 1
Could you please let me know if there is a fix for this?
The OS is RHEL 7.6, with gcc version 4.8.5. Do let me know if you need more details on this.
Thanks.
The text was updated successfully, but these errors were encountered: