{"action":"created","issue":{"url":"https://api.github.com/repos/nest/nest-simulator/issues/657","repository_url":"https://api.github.com/repos/nest/nest-simulator","labels_url":"https://api.github.com/repos/nest/nest-simulator/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/nest/nest-simulator/issues/657/comments","events_url":"https://api.github.com/repos/nest/nest-simulator/issues/657/events","html_url":"https://github.com/nest/nest-simulator/issues/657","id":206281428,"number":657,"title":"Compile NEST on JUQUEEN with jemalloc and gsl","user":{"login":"jakobj","id":1562742,"avatar_url":"https://avatars3.githubusercontent.com/u/1562742?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobj","html_url":"https://github.com/jakobj","followers_url":"https://api.github.com/users/jakobj/followers","following_url":"https://api.github.com/users/jakobj/following{/other_user}","gists_url":"https://api.github.com/users/jakobj/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobj/subscriptions","organizations_url":"https://api.github.com/users/jakobj/orgs","repos_url":"https://api.github.com/users/jakobj/repos","events_url":"https://api.github.com/users/jakobj/events{/privacy}","received_events_url":"https://api.github.com/users/jakobj/received_events","type":"User","site_admin":false},"labels":[{"id":481270930,"url":"https://api.github.com/repos/nest/nest-simulator/labels/C:%20Installation","name":"C: Installation","color":"5affc8","default":false},{"id":481274440,"url":"https://api.github.com/repos/nest/nest-simulator/labels/I:%20No%20breaking%20change","name":"I: No breaking change","color":"cbd5ff","default":false},{"id":481272175,"url":"https://api.github.com/repos/nest/nest-simulator/labels/P:%20Pending","name":"P: Pending","color":"e2bfff","default":false},{"id":481273188,"url":"https://api.github.com/repos/nest/nest-simulator/labels/S:%20Low","name":"S: Low","color":"ffbfbf","default":false},{"id":199518931,"url":"https://api.github.com/repos/nest/nest-simulator/labels/T:%20Bug","name":"T: Bug","color":"ff8800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-08T18:19:34Z","updated_at":"2017-07-02T10:03:52Z","closed_at":null,"body":"I am trying to compile NEST on JUQUEEN with jemalloc as the allocator. I have successfully compiled jemalloc and NEST without gsl. However, neuron models supporting gap junctions need NEST to be compiled with gsl. When loading the gsl module and changing my cmake line to\r\n```bash\r\ncmake -DCMAKE_TOOLCHAIN_FILE=Platform/BlueGeneQ_GCC -DCMAKE_INSTALL_PREFIX:PATH=/homea/jinb33/jinb3317/opt/nest-simulator_exp.install/ -Dwith-python=OFF -Dstatic-libraries=ON -Dwith-optimize=-O2 -Dwith-mpi=ON -Dwith-libraries=/homea/jinb33/jinb3317/opt/jemalloc-4.4.0.install/lib/libjemalloc.a -Dwith-gsl=ON /homea/jinb33/jinb3317/opt/nest-simulator_exp\r\n```\r\n I get the following error while compiling:\r\n```bash\r\n/bgsys/local/gsl/2.1_strict/lib/libgsl.a(zuf.o): In function `zuf_set': \r\n/homea/software/mathprod/JUQUEEN/GSL/gsl-2.1/rng/zuf.c:128: undefined reference to `__f64tou64rz'\r\n/bgsys/local/gsl/2.1_strict/lib/libgsl.a(ranlxd.o): In function `ranlxd_get':\r\n/homea/software/mathprod/JUQUEEN/GSL/gsl-2.1/rng/ranlxd.c:152: undefined reference to `__f64tou64rz'\r\n/bgsys/local/gsl/2.1_strict/lib/libgsl.a(ranlxs.o): In function `ranlxs_get':\r\n/homea/software/mathprod/JUQUEEN/GSL/gsl-2.1/rng/ranlxs.c:202: undefined reference to `__f64tou64rz'\r\n```\r\nI guess this could be an issue of using gcc for jemalloc and NEST, while gsl was probably compiled with the xlc compiler. I hence tried to compile gsl 2.1 myself using gcc, but I get the following error:\r\n```bash\r\n/bgsys/drivers/toolchain/V1R2M4_base/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/bin/ld: attempted static link of dynamic object `./.libs/libgsl.so'\r\n```\r\nHas anyone already solved this before?\r\n@apeyser @tammoippen @sdiazpier @terhorstd @mschmidt87 "},"comment":{"url":"https://api.github.com/repos/nest/nest-simulator/issues/comments/312482014","html_url":"https://github.com/nest/nest-simulator/issues/657#issuecomment-312482014","issue_url":"https://api.github.com/repos/nest/nest-simulator/issues/657","id":312482014,"user":{"login":"jakobj","id":1562742,"avatar_url":"https://avatars3.githubusercontent.com/u/1562742?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobj","html_url":"https://github.com/jakobj","followers_url":"https://api.github.com/users/jakobj/followers","following_url":"https://api.github.com/users/jakobj/following{/other_user}","gists_url":"https://api.github.com/users/jakobj/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobj/subscriptions","organizations_url":"https://api.github.com/users/jakobj/orgs","repos_url":"https://api.github.com/users/jakobj/repos","events_url":"https://api.github.com/users/jakobj/events{/privacy}","received_events_url":"https://api.github.com/users/jakobj/received_events","type":"User","site_admin":false},"created_at":"2017-07-02T10:03:52Z","updated_at":"2017-07-02T10:03:52Z","body":"No, not so much. I finally decided that gap junction simulations are typically so small that they don't really need jemalloc. This is of course not true for other network simulations the require gsl for the neuron models. Unfortunately I don't have too much time to look into this further."}}
{"actor":{"display_login":"jakobj"}}