Disable "hard" examples in CI
[qpms.git] / qpms / tests / vswf_translation_test_rays_combocompile.sh
blob514c5b41fa875a0376834d97e7c5a25a7fb44fc3
1 for an in 0 1 2 3 ; do
2 for am in 0 2 ; do
3 for bn in 0 1 2 3 ; do
4 for bm in 0 2 ; do
5 for bf in 0 1 2 3 ; do
6 c99 -o ../../tests/raytests/z/AN${an}M${am}BN${bn}M${bm}F${bf} -DAN${an} -DAM${am} -DBN${bn} -DBM${bm} -DBF${bf} -ggdb -O2 -I .. vswf_translation_test_rays.c ../translations.c ../vswf.c ../gaunt.c ../legendre.c -lgsl -lm -lblas
7 done
8 done
9 done
10 done
11 done
13 export NORM="129"
14 for an in 0 1 2 3 ; do
15 for am in 0 2 ; do
16 for bn in 0 1 2 3 ; do
17 for bm in 0 2 ; do
18 for bf in 0 1 2 3 ; do
19 ./AN${an}M${am}BN${bn}M${bm}F${bf} an${an}m${am}bn${bn}m${bm}f${bf}_${NORM} 1 0 ${NORM}
20 sed -e 's/\./,/g' an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.0 > an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.0.tsv
21 sed -e 's/\./,/g' an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.1 > an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.1.tsv
22 sed -e 's/\./,/g' an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.2 > an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.2.tsv
23 # for i in an${an}m${am}bn${bn}m${bm}_130.? ; do
24 # sed -e 's/\./,/g' $i >${i}.tsv
25 # done
26 done
27 done
28 done
29 done
30 done
33 export NORM="129"
34 export smer="125"
35 export an=1 am=0 bn=1 bm=0 bf=0
36 c99 -o ../../tests/raytests/$smer/AN${an}M${am}BN${bn}M${bm}F${bf} -DAN${an} -DAM${am} -DBN${bn} -DBM${bm} -DBF${bf} -ggdb -I .. vswf_translation_test_rays.c ../translations.c ../vswf.c ../gaunt.c ../legendre.c -lgsl -lm -lblas
37 cd ../../tests/raytests/$smer
38 ./AN${an}M${am}BN${bn}M${bm}F${bf} an${an}m${am}bn${bn}m${bm}f${bf}_${NORM} 1 0 ${NORM}
39 sed -e 's/\./,/g' an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.0 > an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.0.tsv
40 sed -e 's/\./,/g' an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.1 > an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.1.tsv
41 sed -e 's/\./,/g' an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.2 > an${an}m${am}bn${bn}m${bm}f${bf}_${NORM}.2.tsv
42 cd -