Skip to content

Commit a3ce638

Browse files
authored
Merge pull request #121 from JoseJVS/upstream-mpi-comm
Upstream mpi comm
2 parents 9332bba + 80d134d commit a3ce638

File tree

16 files changed

+498
-244
lines changed

16 files changed

+498
-244
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
for i in $(seq 0 9); do diff raster_plot$i.png ../test_hpc_benchmark_p2p/raster_plot$i.png; done
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
more log_* | grep firi > tmp1.txt; more ../test_hpc_benchmark_p2p/log_* | grep firi > tmp2.txt; diff tmp1.txt tmp2.txt
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
for i in $(seq 0 9); do diff raster_plot$i.png ../test_hpc_benchmark_p2p/raster_plot$i.png; done
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
more log_* | grep firi > tmp1.txt; more ../test_hpc_benchmark_p2p/log_* | grep firi > tmp2.txt; diff tmp1.txt tmp2.txt

python/test/logp3_connect.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

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

11+
Calibrating ...
12+
Allocating auxiliary GPU memory...
13+
Sorting...
14+
Done
1115
########################################
1216
Even to all
1317
{'index': 0, 'source': 0, 'target': 1, 'port': 0, 'syn_group': 0, 'delay': 1.0, 'weight': 100.0}
@@ -100,7 +104,3 @@ Even to 3,4,5,6
100104
{'index': 34, 'source': 6, 'target': 9, 'port': 0, 'syn_group': 0, 'delay': 69.0, 'weight': 6900.0}
101105

102106

103-
Calibrating ...
104-
Allocating auxiliary GPU memory...
105-
Sorting...
106-
Done

python/test/test_all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pass_str[0]="TEST PASSED"
22
pass_str[1]="TEST NOT PASSED"
33
:>log.txt
44
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
5-
python3 $fn >> log.txt 2>err.txt
5+
python3 -u $fn >> log.txt 2>err.txt
66
res=$?
77
cat err.txt >> log.txt
88
rm -f err.txt
@@ -12,7 +12,7 @@ for fn in test_iaf_psc_exp_g.py test_iaf_psc_alpha.py test_fixed_total_number.py
1212
echo $fn : ${pass_str[$res]}
1313
done
1414
for fn in syn_group connect getarr setvar2 group_param; do
15-
python3 test_$fn.py 2>&1 | grep -v dyl | grep -v 'Time:' | grep -v 'storage bytes:' | grep -v Indexing | grep -v 'Total number' > tmp
15+
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
1616
diff -qs tmp logp3_$fn.txt 2>&1 >> log.txt
1717
res=$?
1818
echo $fn : ${pass_str[$res]}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
for i in $(seq 1 10); do python3 case$i.py | grep '^dw'; done
1+
for i in $(seq 1 10); do python3 -u case$i.py | grep '^dw'; done

0 commit comments

Comments
 (0)