Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions python/hpc_benchmark/test_hpc_benchmark_hg/check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
for i in $(seq 0 9); do diff raster_plot$i.png ../test_hpc_benchmark_p2p/raster_plot$i.png; done
1 change: 1 addition & 0 deletions python/hpc_benchmark/test_hpc_benchmark_hg/check2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
more log_* | grep firi > tmp1.txt; more ../test_hpc_benchmark_p2p/log_* | grep firi > tmp2.txt; diff tmp1.txt tmp2.txt
1 change: 1 addition & 0 deletions python/hpc_benchmark/test_hpc_benchmark_wg/check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
for i in $(seq 0 9); do diff raster_plot$i.png ../test_hpc_benchmark_p2p/raster_plot$i.png; done
1 change: 1 addition & 0 deletions python/hpc_benchmark/test_hpc_benchmark_wg/check2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
more log_* | grep firi > tmp1.txt; more ../test_hpc_benchmark_p2p/log_* | grep firi > tmp2.txt; diff tmp1.txt tmp2.txt
8 changes: 4 additions & 4 deletions python/test/logp3_connect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

Homepage: https://github.com/nest/nest-gpu

Calibrating ...
Allocating auxiliary GPU memory...
Sorting...
Done
########################################
Even to all
{'index': 0, 'source': 0, 'target': 1, 'port': 0, 'syn_group': 0, 'delay': 1.0, 'weight': 100.0}
Expand Down Expand Up @@ -100,7 +104,3 @@ Even to 3,4,5,6
{'index': 34, 'source': 6, 'target': 9, 'port': 0, 'syn_group': 0, 'delay': 69.0, 'weight': 6900.0}


Calibrating ...
Allocating auxiliary GPU memory...
Sorting...
Done
4 changes: 2 additions & 2 deletions python/test/test_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pass_str[0]="TEST PASSED"
pass_str[1]="TEST NOT PASSED"
:>log.txt
for fn in test_iaf_psc_exp_g.py test_iaf_psc_alpha.py test_fixed_total_number.py test_iaf_psc_exp.py test_spike_times.py test_aeif_cond_alpha.py test_aeif_cond_beta.py test_aeif_psc_alpha.py test_aeif_psc_delta.py test_aeif_psc_exp.py test_aeif_cond_alpha_multisynapse.py test_aeif_cond_beta_multisynapse.py test_aeif_psc_alpha_multisynapse.py test_aeif_psc_exp_multisynapse.py test_stdp_list.py test_stdp.py test_syn_model.py test_brunel_list.py test_brunel_outdegree.py test_brunel_user_m1.py test_spike_detector.py; do
python3 $fn >> log.txt 2>err.txt
python3 -u $fn >> log.txt 2>err.txt
res=$?
cat err.txt >> log.txt
rm -f err.txt
Expand All @@ -12,7 +12,7 @@ for fn in test_iaf_psc_exp_g.py test_iaf_psc_alpha.py test_fixed_total_number.py
echo $fn : ${pass_str[$res]}
done
for fn in syn_group connect getarr setvar2 group_param; do
python3 test_$fn.py 2>&1 | grep -v dyl | grep -v 'Time:' | grep -v 'storage bytes:' | grep -v Indexing | grep -v 'Total number' > tmp
python3 -u test_$fn.py 2>&1 | grep -v dyl | grep -v 'Time:' | grep -v 'storage bytes:' | grep -v Indexing | grep -v 'Total number' | grep -v 'Time from' > tmp
diff -qs tmp logp3_$fn.txt 2>&1 >> log.txt
res=$?
echo $fn : ${pass_str[$res]}
Expand Down
2 changes: 1 addition & 1 deletion python/test/test_stdp/cases/test_all.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
for i in $(seq 1 10); do python3 case$i.py | grep '^dw'; done
for i in $(seq 1 10); do python3 -u case$i.py | grep '^dw'; done
Loading