File: multi_compare.sh

package info (click to toggle)
sasmodels 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,888 kB
  • sloc: python: 25,392; ansic: 7,377; makefile: 149; sh: 61
file content (22 lines) | stat: -rwxr-xr-x 716 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

sasview=( ../sasview/build/lib.* )
sep=$(python -c "import os;print(os.pathsep)")
PYTHONPATH=../bumps${sep}../periodictable${sep}$sasview
export PYTHONPATH
#echo PYTHONPATH=$PYTHONPATH

#PYOPENCL_COMPILER_OUTPUT=1; export PYOPENCL_COMPILER_OUTPUT
#PYOPENCL_CTX=${CTX:-1}; export PYOPENCL_CTX

#SAS_OPENMP=1; export SAS_OPENMP

python -m sasmodels.compare_many $*

#for dim in 1d100 2d32; do
#    python -m sasmodels.compare_many all 100 $dim 0 > ${dim}_poly_0.csv
#    python -m sasmodels.compare_many all 100 $dim 1e-5 > ${dim}_poly_1e-5.csv
#    python -m sasmodels.compare_many all 100 $dim 1e-3 > ${dim}_poly_1e-3.csv
#    python -m sasmodels.compare_many all 100 $dim mono > ${dim}_mono.csv
#done