-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
281 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# | ||
|
||
AC_PREREQ(2.52) | ||
AC_INIT([nest], [2.4.0], [[email protected]]) | ||
AC_INIT([nest], [2.4.1], [[email protected]]) | ||
|
||
# Prevent automatic rebuilding of Makefile.ins and configure if their | ||
# content or timestamp changes. Not doing this lead to failing builds | ||
|
@@ -20,7 +20,7 @@ AM_MAINTAINER_MODE([disable]) | |
# releasetools/buildnest | ||
SLI_MAJOR=2 | ||
SLI_MINOR=4 | ||
SLI_PATCHLEVEL=0 | ||
SLI_PATCHLEVEL=1 | ||
|
||
SLI_PRGNAME="nest-$SLI_MAJOR.$SLI_MINOR.$SLI_PATCHLEVEL" | ||
SLI_VERSION=$SLI_MAJOR.$SLI_MINOR.$SLI_PATCHLEVEL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
/* | ||
* ticket-881.sli | ||
* | ||
* This file is part of NEST. | ||
* | ||
* Copyright (C) 2004 The NEST Initiative | ||
* | ||
* NEST is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* NEST is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with NEST. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
/* BeginDocumentation | ||
|
||
Name: testsuite::ticket-881 - ConnectLayers creates too few connections under some conditions when running on multiple threads | ||
|
||
Synopsis: (ticket-881) run -> NEST exits if test fails | ||
|
||
Description: | ||
This tests creates a small layer, connects it all-to-all and checks if all expected connections have been created. | ||
|
||
This is a regression from nest-2.2.2 to 10kproject@r11284 (precise location unknown so far) | ||
Author: Hans Ekkehard Plesser | ||
*/ | ||
|
||
|
||
(unittest) run | ||
/unittest using | ||
|
||
/topology lookup not { exit_test_gracefully } if | ||
using | ||
|
||
M_ERROR setverbosity | ||
|
||
/num_threads 4 def | ||
/node_pos [ [0.0 0.0] [0.0 0.0] [0.0 0.0] [0.0 0.0] ] def | ||
/num_nodes node_pos length def | ||
|
||
/num_expected num_nodes dup mul def % all to all | ||
|
||
% Test 1: pairwise convergent | ||
{ | ||
ResetKernel | ||
0 << /local_num_threads num_threads >> SetStatus | ||
|
||
<< /elements /iaf_neuron /positions node_pos >> CreateLayer | ||
dup | ||
<< /connection_type (convergent) >> ConnectLayers | ||
|
||
<< >> GetConnections length num_expected eq | ||
} assert_or_die | ||
|
||
% Test 2: pairwise divergent | ||
{ | ||
ResetKernel | ||
0 << /local_num_threads num_threads >> SetStatus | ||
|
||
<< /elements /iaf_neuron /positions node_pos >> CreateLayer | ||
dup | ||
<< /connection_type (divergent) >> ConnectLayers | ||
|
||
<< >> GetConnections length num_expected eq | ||
} assert_or_die | ||
|
||
% Test 3: fixed fan-in | ||
{ | ||
ResetKernel | ||
0 << /local_num_threads num_threads >> SetStatus | ||
|
||
<< /elements /iaf_neuron /positions node_pos >> CreateLayer | ||
dup | ||
<< /connection_type (convergent) /number_of_connections num_nodes >> ConnectLayers | ||
|
||
<< >> GetConnections length num_expected eq | ||
} assert_or_die | ||
|
||
% Test 4: fixed fan-out | ||
{ | ||
ResetKernel | ||
0 << /local_num_threads num_threads >> SetStatus | ||
|
||
<< /elements /iaf_neuron /positions node_pos >> CreateLayer | ||
dup | ||
<< /connection_type (divergent) /number_of_connections num_nodes >> ConnectLayers | ||
|
||
<< >> GetConnections length num_expected eq | ||
} assert_or_die | ||
|
||
|
||
|
||
endusing | ||
endusing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.