source:
sasmodels/compare_all.sh
@
301e096
Last change on this file since 301e096 was 34d49af, checked in by pkienzle, 10 years ago | |
---|---|
|
|
File size: 454 bytes |
Rev | Line | |
---|---|---|
[216a9e1] | 1 | #!/bin/sh |
2 | ||
[34d49af] | 3 | SASVIEW=$(ls -d ../sasview/build/lib.*) |
[216a9e1] | 4 | PYOPENCL_CTX=1 |
[34d49af] | 5 | PYTHONPATH=../bumps:../periodictable:$SASVIEW |
[216a9e1] | 6 | export PYOPENCL_CTX PYTHONPATH |
7 | ||
[34d49af] | 8 | echo PYTHONPATH=$PYTHONPATH |
[8fc26f8] | 9 | set -x |
10 | ||
[216a9e1] | 11 | for dim in 1d100 2d32; do |
[8fc26f8] | 12 | ./compare_many.py all 100 $dim 0 > ${dim}_poly_0.csv |
13 | ./compare_many.py all 100 $dim 1e-5 > ${dim}_poly_1e-5.csv | |
14 | ./compare_many.py all 100 $dim 1e-3 > ${dim}_poly_1e-3.csv | |
15 | ./compare_many.py all 10000 $dim mono > ${dim}_mono.csv | |
[216a9e1] | 16 | done |
Note: See TracBrowser
for help on using the repository browser.