BlueBrain / spack-packages

Repository of spack external packages
7 stars 6 forks source link

spack support for NEST neural simulator #4

Closed sharkovsky closed 7 years ago

sharkovsky commented 7 years ago

Adding possibility to compile NEST from their github repository.

For the moment, I tested on viz cluster and it works. Will push fixes as we test other architectures.

Supports python, mpi, and the tau-profiler stack in the same way that coreneuron does. When python is enabled, it automatically appends the correct PYTHONPATH when the module is loaded.

pramodskumbhar commented 7 years ago

looks good.. I am able to install nest on my laptop as below where it install py-cython and gsl:

$ spack install nest
$ spack load nest
$± |buildsystems {3} ?:10 ✗| → spack load nest
Autoloading gsl/2.4-clang

 2017-08-13 23:44:34 ☆  bluebrain045 in ~/workarena/software/sources/spack/var/spack/repos/bbp/packages
± |buildsystems {3} ?:10 ✗| → nest
...
[INFO] [2017.8.13 23:44:38 /tmp/kumbhar/spack-stage/spack-stage-9k5LDb/nest-simulator/nestkernel/rng_manager.cpp:284 @ Network::create_grng_] : Creating new default global RNG

              -- N E S T --

  Copyright (C) 2004 The NEST Initiative
  Version 2.12.0 Aug 13 2017 23:28:16

This program is provided AS IS and comes with
NO WARRANTY. See the file LICENSE for details.

Problems or suggestions?
  Visit http://www.nest-simulator.org

Type 'help' to get more information.
Type 'quit' or CTRL-D to quit NEST.

SLI ]

and don't know how to use it though :)

pramodskumbhar commented 7 years ago

@sharkovsky : thanks again! this is now building fine now on OS X, linux box, bg-q (+shared,-shared,+python,-ptyhon) with xl, gcc, clang compilers. Merging now.