https://launchpad.net/ubuntu/+source/pysph/1.0~b1-6/+build/26516225 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-s390x-015 5.4.0-156-generic #173-Ubuntu SMP Tue Jul 11 07:24:43 UTC 2023 s390x Buildd toolchain package versions: launchpad-buildd_234~642~ubuntu20.04.1 python3-lpbuildd_234~642~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git-build-recipe_0.3.6 git_1:2.25.1-1ubuntu3.11 dpkg-dev_1.19.7ubuntu3.2 python3-debian_0.1.36ubuntu1.1. Syncing the system clock with the buildd NTP service... 17 Aug 17:24:44 ntpdate[1873]: adjust time server 10.211.37.1 offset 0.000023 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=mantic --arch=s390x PACKAGEBUILD-26516225 --image-type chroot /home/buildd/filecache-default/22b7ec405c1fe881d1e0795ebcfd3bff662be15c Creating target for build PACKAGEBUILD-26516225 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=mantic --arch=s390x PACKAGEBUILD-26516225 Starting target for build PACKAGEBUILD-26516225 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=mantic --arch=s390x PACKAGEBUILD-26516225 'deb http://ftpmaster.internal/ubuntu mantic main universe' 'deb http://ftpmaster.internal/ubuntu mantic-security main universe' 'deb http://ftpmaster.internal/ubuntu mantic-updates main universe' 'deb http://ftpmaster.internal/ubuntu mantic-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-26516225 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=mantic --arch=s390x PACKAGEBUILD-26516225 Updating target for build PACKAGEBUILD-26516225 Get:1 http://ftpmaster.internal/ubuntu mantic InRelease [255 kB] Get:2 http://ftpmaster.internal/ubuntu mantic-security InRelease [90.7 kB] Get:3 http://ftpmaster.internal/ubuntu mantic-updates InRelease [90.7 kB] Get:4 http://ftpmaster.internal/ubuntu mantic-proposed InRelease [118 kB] Get:5 http://ftpmaster.internal/ubuntu mantic/main s390x Packages [1320 kB] Get:6 http://ftpmaster.internal/ubuntu mantic/main Translation-en [512 kB] Get:7 http://ftpmaster.internal/ubuntu mantic/universe s390x Packages [14.2 MB] Get:8 http://ftpmaster.internal/ubuntu mantic/universe Translation-en [5972 kB] Get:9 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x Packages [189 kB] Get:10 http://ftpmaster.internal/ubuntu mantic-proposed/main Translation-en [63.3 kB] Get:11 http://ftpmaster.internal/ubuntu mantic-proposed/universe s390x Packages [557 kB] Get:12 http://ftpmaster.internal/ubuntu mantic-proposed/universe Translation-en [213 kB] Fetched 23.6 MB in 9s (2670 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: g++-12 libstdc++-12-dev Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: cpp-13 g++-13 gcc-13 gcc-13-base libgcc-13-dev libproc2-0 libsframe1 libstdc++-13-dev systemd-dev The following packages will be upgraded: adduser advancecomp apt base-files bash binutils binutils-common binutils-s390x-linux-gnu bsdutils build-essential ca-certificates coreutils cpp cpp-12 dash debconf debianutils diffutils dpkg dpkg-dev e2fsprogs fakeroot findutils g++ g++-12 gcc gcc-12 gcc-12-base gpg gpg-agent gpgconf gpgv grep hostname init init-system-helpers libacl1 libapparmor1 libapt-pkg6.0 libargon2-1 libasan8 libassuan0 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcom-err2 libcrypt-dev libcrypt1 libcryptsetup12 libctf-nobfd0 libctf0 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libext2fs2 libfakeroot libfdisk1 libgcc-12-dev libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libip4tc2 libisl23 libitm1 libjson-c5 libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 liblzma5 libmd0 libmount1 libmpfr6 libncurses6 libncursesw6 libnettle8 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libperl5.36 libpng16-16 libreadline8 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsepol2 libsmartcols1 libsqlite3-0 libss2 libssl3 libstdc++-12-dev libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtinfo6 libubsan1 libudev1 libuuid1 libzstd1 linux-libc-dev logsave lsb-base lto-disabled-list mawk mount ncurses-base ncurses-bin openssl perl perl-base perl-modules-5.36 pkgbinarymangler procps readline-common sed sensible-utils systemd systemd-sysv sysvinit-utils tar tzdata usrmerge util-linux util-linux-extra xz-utils zlib1g 148 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 134 MB of archives. After this operation, 127 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu mantic/main s390x libcrypt-dev s390x 1:4.4.36-2 [117 kB] Get:2 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libc6-dev s390x 2.38-1ubuntu3 [1628 kB] Get:3 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libc-dev-bin s390x 2.38-1ubuntu3 [20.0 kB] Get:4 http://ftpmaster.internal/ubuntu mantic/main s390x libcrypt1 s390x 1:4.4.36-2 [87.2 kB] Get:5 http://ftpmaster.internal/ubuntu mantic/main s390x linux-libc-dev s390x 6.3.0-7.7 [1539 kB] Get:6 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libc6 s390x 2.38-1ubuntu3 [2841 kB] Get:7 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libc-bin s390x 2.38-1ubuntu3 [659 kB] Get:8 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x gcc-13-base s390x 13.2.0-2ubuntu1 [42.9 kB] Get:9 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libgcc-s1 s390x 13.2.0-2ubuntu1 [35.6 kB] Get:10 http://ftpmaster.internal/ubuntu mantic/main s390x base-files s390x 13ubuntu1 [74.0 kB] Get:11 http://ftpmaster.internal/ubuntu mantic/main s390x debianutils s390x 5.8-1 [103 kB] Get:12 http://ftpmaster.internal/ubuntu mantic/main s390x bash s390x 5.2.15-2ubuntu1 [786 kB] Get:13 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x bsdutils s390x 1:2.39.1-4ubuntu1 [94.5 kB] Get:14 http://ftpmaster.internal/ubuntu mantic/main s390x coreutils s390x 9.1-1ubuntu2 [1390 kB] Get:15 http://ftpmaster.internal/ubuntu mantic/main s390x liblzma5 s390x 5.4.1-0.2 [124 kB] Get:16 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libstdc++6 s390x 13.2.0-2ubuntu1 [876 kB] Get:17 http://ftpmaster.internal/ubuntu mantic/main s390x libzstd1 s390x 1.5.5+dfsg2-1ubuntu2 [273 kB] Get:18 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libgpg-error0 s390x 1.47-2 [73.9 kB] Get:19 http://ftpmaster.internal/ubuntu mantic/main s390x libgcrypt20 s390x 1.10.2-2ubuntu1 [513 kB] Get:20 http://ftpmaster.internal/ubuntu mantic/main s390x libacl1 s390x 2.3.1-3 [16.5 kB] Get:21 http://ftpmaster.internal/ubuntu mantic/main s390x libapparmor1 s390x 3.0.8-1ubuntu4 [46.3 kB] Get:22 http://ftpmaster.internal/ubuntu mantic/main s390x libaudit-common all 1:3.1.1-1 [5426 B] Get:23 http://ftpmaster.internal/ubuntu mantic/main s390x libcap-ng0 s390x 0.8.3-1build2 [15.1 kB] Get:24 http://ftpmaster.internal/ubuntu mantic/main s390x libaudit1 s390x 1:3.1.1-1 [46.2 kB] Get:25 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libblkid1 s390x 2.39.1-4ubuntu1 [125 kB] Get:26 http://ftpmaster.internal/ubuntu mantic/main s390x libcap2 s390x 1:2.66-4ubuntu1 [29.5 kB] Get:27 http://ftpmaster.internal/ubuntu mantic/main s390x libip4tc2 s390x 1.8.9-2ubuntu2 [23.1 kB] Get:28 http://ftpmaster.internal/ubuntu mantic/main s390x libperl5.36 s390x 5.36.0-7ubuntu1 [4717 kB] Get:29 http://ftpmaster.internal/ubuntu mantic/main s390x perl s390x 5.36.0-7ubuntu1 [235 kB] Get:30 http://ftpmaster.internal/ubuntu mantic/main s390x perl-base s390x 5.36.0-7ubuntu1 [1716 kB] Get:31 http://ftpmaster.internal/ubuntu mantic/main s390x perl-modules-5.36 all 5.36.0-7ubuntu1 [2984 kB] Get:32 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libdb5.3 s390x 5.3.28+dfsg2-2 [752 kB] Get:33 http://ftpmaster.internal/ubuntu mantic/main s390x zlib1g s390x 1:1.2.13.dfsg-1ubuntu5 [74.6 kB] Get:34 http://ftpmaster.internal/ubuntu mantic/main s390x debconf all 1.5.82 [125 kB] Get:35 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libssl3 s390x 3.0.10-1ubuntu2 [1645 kB] Get:36 http://ftpmaster.internal/ubuntu mantic/main s390x libkmod2 s390x 30+20230519-1ubuntu2 [54.0 kB] Get:37 http://ftpmaster.internal/ubuntu mantic/main s390x libpcre2-8-0 s390x 10.42-2 [210 kB] Get:38 http://ftpmaster.internal/ubuntu mantic/main s390x libselinux1 s390x 3.5-1 [77.6 kB] Get:39 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libmount1 s390x 2.39.1-4ubuntu1 [144 kB] Get:40 http://ftpmaster.internal/ubuntu mantic/main s390x libpam0g s390x 1.5.2-6ubuntu1 [64.8 kB] Get:41 http://ftpmaster.internal/ubuntu mantic/main s390x libseccomp2 s390x 2.5.4-1ubuntu3 [49.1 kB] Get:42 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x systemd-sysv s390x 253.5-1ubuntu2 [11.5 kB] Get:43 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x systemd s390x 253.5-1ubuntu2 [3076 kB] Get:44 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libsystemd-shared s390x 253.5-1ubuntu2 [1899 kB] Get:45 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x systemd-dev all 253.5-1ubuntu2 [79.0 kB] Get:46 http://ftpmaster.internal/ubuntu mantic/main s390x libargon2-1 s390x 0~20190702+dfsg-3 [50.4 kB] Get:47 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libudev1 s390x 253.5-1ubuntu2 [163 kB] Get:48 http://ftpmaster.internal/ubuntu mantic/main s390x libdevmapper1.02.1 s390x 2:1.02.185-2ubuntu1 [141 kB] Get:49 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libjson-c5 s390x 0.17-1 [36.4 kB] Get:50 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libuuid1 s390x 2.39.1-4ubuntu1 [33.7 kB] Get:51 http://ftpmaster.internal/ubuntu mantic/main s390x libcryptsetup12 s390x 2:2.6.1-4ubuntu1 [229 kB] Get:52 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libfdisk1 s390x 2.39.1-4ubuntu1 [149 kB] Get:53 http://ftpmaster.internal/ubuntu mantic/main s390x libp11-kit0 s390x 0.24.1-2ubuntu1 [249 kB] Get:54 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x mount s390x 2.39.1-4ubuntu1 [118 kB] Get:55 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libsystemd0 s390x 253.5-1ubuntu2 [414 kB] Get:56 http://ftpmaster.internal/ubuntu mantic/main s390x libapt-pkg6.0 s390x 2.7.3 [964 kB] Get:57 http://ftpmaster.internal/ubuntu mantic/main s390x tar s390x 1.34+dfsg-1.2ubuntu1 [289 kB] Get:58 http://ftpmaster.internal/ubuntu mantic/main s390x dpkg s390x 1.21.22ubuntu1 [1380 kB] Get:59 http://ftpmaster.internal/ubuntu mantic/main s390x dash s390x 0.5.12-6ubuntu1 [94.7 kB] Get:60 http://ftpmaster.internal/ubuntu mantic/main s390x diffutils s390x 1:3.8-4 [177 kB] Get:61 http://ftpmaster.internal/ubuntu mantic/main s390x findutils s390x 4.9.0-5 [297 kB] Get:62 http://ftpmaster.internal/ubuntu mantic/main s390x grep s390x 3.11-2 [172 kB] Get:63 http://ftpmaster.internal/ubuntu mantic/main s390x hostname s390x 3.23+nmu1ubuntu1 [10.8 kB] Get:64 http://ftpmaster.internal/ubuntu mantic/main s390x libncurses6 s390x 6.4+20230625-2 [122 kB] Get:65 http://ftpmaster.internal/ubuntu mantic/main s390x libncursesw6 s390x 6.4+20230625-2 [158 kB] Get:66 http://ftpmaster.internal/ubuntu mantic/main s390x libtinfo6 s390x 6.4+20230625-2 [116 kB] Get:67 http://ftpmaster.internal/ubuntu mantic/main s390x ncurses-bin s390x 6.4+20230625-2 [195 kB] Get:68 http://ftpmaster.internal/ubuntu mantic/main s390x sed s390x 4.9-1 [193 kB] Get:69 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libsmartcols1 s390x 2.39.1-4ubuntu1 [65.8 kB] Get:70 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x util-linux-extra s390x 2.39.1-4ubuntu1 [121 kB] Get:71 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x util-linux s390x 2.39.1-4ubuntu1 [1135 kB] Get:72 http://ftpmaster.internal/ubuntu mantic/main s390x init-system-helpers all 1.65.2ubuntu1 [38.7 kB] Get:73 http://ftpmaster.internal/ubuntu mantic/main s390x ncurses-base all 6.4+20230625-2 [24.5 kB] Get:74 http://ftpmaster.internal/ubuntu mantic/main s390x sysvinit-utils s390x 3.07-1ubuntu1 [33.8 kB] Get:75 http://ftpmaster.internal/ubuntu mantic/main s390x lsb-base all 11.6 [4606 B] Get:76 http://ftpmaster.internal/ubuntu mantic/main s390x adduser all 3.137ubuntu1 [101 kB] Get:77 http://ftpmaster.internal/ubuntu mantic/main s390x gpgv s390x 2.2.40-1.1ubuntu1 [136 kB] Get:78 http://ftpmaster.internal/ubuntu mantic/main s390x libgmp10 s390x 2:6.3.0+dfsg-2ubuntu3 [338 kB] Get:79 http://ftpmaster.internal/ubuntu mantic/main s390x libnettle8 s390x 3.9.1-2 [209 kB] Get:80 http://ftpmaster.internal/ubuntu mantic/main s390x libhogweed6 s390x 3.9.1-2 [203 kB] Get:81 http://ftpmaster.internal/ubuntu mantic/main s390x libidn2-0 s390x 2.3.4-1 [109 kB] Get:82 http://ftpmaster.internal/ubuntu mantic/main s390x libtasn1-6 s390x 4.19.0-3 [43.9 kB] Get:83 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libgnutls30 s390x 3.8.1-3ubuntu1 [944 kB] Get:84 http://ftpmaster.internal/ubuntu mantic/main s390x apt s390x 2.7.3 [1374 kB] Get:85 http://ftpmaster.internal/ubuntu mantic/main s390x libpam-modules-bin s390x 1.5.2-6ubuntu1 [48.2 kB] Get:86 http://ftpmaster.internal/ubuntu mantic/main s390x libpam-modules s390x 1.5.2-6ubuntu1 [280 kB] Get:87 http://ftpmaster.internal/ubuntu mantic/main s390x logsave s390x 1.47.0-2ubuntu1 [22.0 kB] Get:88 http://ftpmaster.internal/ubuntu mantic/main s390x libext2fs2 s390x 1.47.0-2ubuntu1 [229 kB] Get:89 http://ftpmaster.internal/ubuntu mantic/main s390x e2fsprogs s390x 1.47.0-2ubuntu1 [611 kB] Get:90 http://ftpmaster.internal/ubuntu mantic/main s390x init s390x 1.65.2ubuntu1 [5508 B] Get:91 http://ftpmaster.internal/ubuntu mantic/main s390x libattr1 s390x 1:2.5.1-4 [12.4 kB] Get:92 http://ftpmaster.internal/ubuntu mantic/main s390x libdebconfclient0 s390x 0.270ubuntu1 [11.1 kB] Get:93 http://ftpmaster.internal/ubuntu mantic/main s390x libmd0 s390x 1.1.0-1 [23.4 kB] Get:94 http://ftpmaster.internal/ubuntu mantic/main s390x libpam-runtime all 1.5.2-6ubuntu1 [41.5 kB] Get:95 http://ftpmaster.internal/ubuntu mantic/main s390x libsemanage-common all 3.5-1 [9890 B] Get:96 http://ftpmaster.internal/ubuntu mantic/main s390x libsepol2 s390x 3.5-1 [283 kB] Get:97 http://ftpmaster.internal/ubuntu mantic/main s390x libsemanage2 s390x 3.5-1 [88.4 kB] Get:98 http://ftpmaster.internal/ubuntu mantic/main s390x usrmerge all 35ubuntu1 [58.2 kB] Get:99 http://ftpmaster.internal/ubuntu mantic/main s390x libcom-err2 s390x 1.47.0-2ubuntu1 [22.2 kB] Get:100 http://ftpmaster.internal/ubuntu mantic/main s390x libproc2-0 s390x 2:4.0.3-1ubuntu1 [52.0 kB] Get:101 http://ftpmaster.internal/ubuntu mantic/main s390x libss2 s390x 1.47.0-2ubuntu1 [17.0 kB] Get:102 http://ftpmaster.internal/ubuntu mantic/main s390x mawk s390x 1.3.4.20230730-1 [131 kB] Get:103 http://ftpmaster.internal/ubuntu mantic/main s390x procps s390x 2:4.0.3-1ubuntu1 [605 kB] Get:104 http://ftpmaster.internal/ubuntu mantic/main s390x sensible-utils all 0.0.20 [19.6 kB] Get:105 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x openssl s390x 3.0.10-1ubuntu2 [1187 kB] Get:106 http://ftpmaster.internal/ubuntu mantic/main s390x ca-certificates all 20230311ubuntu1 [152 kB] Get:107 http://ftpmaster.internal/ubuntu mantic/main s390x libgssapi-krb5-2 s390x 1.20.1-2 [136 kB] Get:108 http://ftpmaster.internal/ubuntu mantic/main s390x libkrb5-3 s390x 1.20.1-2 [340 kB] Get:109 http://ftpmaster.internal/ubuntu mantic/main s390x libkrb5support0 s390x 1.20.1-2 [32.6 kB] Get:110 http://ftpmaster.internal/ubuntu mantic/main s390x libk5crypto3 s390x 1.20.1-2 [82.6 kB] Get:111 http://ftpmaster.internal/ubuntu mantic/main s390x readline-common all 8.2-1.3 [55.7 kB] Get:112 http://ftpmaster.internal/ubuntu mantic/main s390x libreadline8 s390x 8.2-1.3 [151 kB] Get:113 http://ftpmaster.internal/ubuntu mantic/main s390x libsqlite3-0 s390x 3.42.0-1 [657 kB] Get:114 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x tzdata all 2023c-9ubuntu1 [270 kB] Get:115 http://ftpmaster.internal/ubuntu mantic/main s390x libpng16-16 s390x 1.6.40-1 [183 kB] Get:116 http://ftpmaster.internal/ubuntu mantic/main s390x xz-utils s390x 5.4.1-0.2 [270 kB] Get:117 http://ftpmaster.internal/ubuntu mantic/main s390x advancecomp s390x 2.5-1 [174 kB] Get:118 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libctf0 s390x 2.41-4ubuntu1 [97.8 kB] Get:119 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libctf-nobfd0 s390x 2.41-4ubuntu1 [99.2 kB] Get:120 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x binutils-s390x-linux-gnu s390x 2.41-4ubuntu1 [2271 kB] Get:121 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libbinutils s390x 2.41-4ubuntu1 [447 kB] Get:122 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x binutils s390x 2.41-4ubuntu1 [3052 B] Get:123 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x binutils-common s390x 2.41-4ubuntu1 [228 kB] Get:124 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libsframe1 s390x 2.41-4ubuntu1 [14.1 kB] Get:125 http://ftpmaster.internal/ubuntu mantic/main s390x libisl23 s390x 0.26-3 [722 kB] Get:126 http://ftpmaster.internal/ubuntu mantic/main s390x libmpfr6 s390x 4.2.0-1 [278 kB] Get:127 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x cpp-13 s390x 13.2.0-2ubuntu1 [8785 kB] Get:128 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x g++ s390x 4:13.2.0-1ubuntu1 [1120 B] Get:129 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x gcc s390x 4:13.2.0-1ubuntu1 [5164 B] Get:130 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x cpp s390x 4:13.2.0-1ubuntu1 [28.9 kB] Get:131 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libcc1-0 s390x 13.2.0-2ubuntu1 [50.3 kB] Get:132 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libgomp1 s390x 13.2.0-2ubuntu1 [146 kB] Get:133 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libitm1 s390x 13.2.0-2ubuntu1 [31.3 kB] Get:134 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libatomic1 s390x 13.2.0-2ubuntu1 [9378 B] Get:135 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libasan8 s390x 13.2.0-2ubuntu1 [2853 kB] Get:136 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libubsan1 s390x 13.2.0-2ubuntu1 [1112 kB] Get:137 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libgcc-13-dev s390x 13.2.0-2ubuntu1 [999 kB] Get:138 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x gcc-13 s390x 13.2.0-2ubuntu1 [17.6 MB] Get:139 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libstdc++-13-dev s390x 13.2.0-2ubuntu1 [2454 kB] Get:140 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x g++-13 s390x 13.2.0-2ubuntu1 [10.2 MB] Get:141 http://ftpmaster.internal/ubuntu mantic/main s390x dpkg-dev all 1.21.22ubuntu1 [1118 kB] Get:142 http://ftpmaster.internal/ubuntu mantic/main s390x libdpkg-perl all 1.21.22ubuntu1 [247 kB] Get:143 http://ftpmaster.internal/ubuntu mantic/main s390x lto-disabled-list all 42 [12.4 kB] Get:144 http://ftpmaster.internal/ubuntu mantic/main s390x build-essential s390x 12.10ubuntu1 [4930 B] Get:145 http://ftpmaster.internal/ubuntu mantic-proposed/universe s390x g++-12 s390x 12.3.0-7ubuntu2 [9455 kB] Get:146 http://ftpmaster.internal/ubuntu mantic-proposed/universe s390x libstdc++-12-dev s390x 12.3.0-7ubuntu2 [2207 kB] Get:147 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x gcc-12 s390x 12.3.0-7ubuntu2 [16.2 MB] Get:148 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libgcc-12-dev s390x 12.3.0-7ubuntu2 [854 kB] Get:149 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x cpp-12 s390x 12.3.0-7ubuntu2 [8179 kB] Get:150 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x gcc-12-base s390x 12.3.0-7ubuntu2 [43.2 kB] Get:151 http://ftpmaster.internal/ubuntu mantic/main s390x libfakeroot s390x 1.32.1-1 [31.0 kB] Get:152 http://ftpmaster.internal/ubuntu mantic/main s390x fakeroot s390x 1.32.1-1 [59.6 kB] Get:153 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libassuan0 s390x 2.5.6-1 [37.4 kB] Get:154 http://ftpmaster.internal/ubuntu mantic/main s390x gpg s390x 2.2.40-1.1ubuntu1 [508 kB] Get:155 http://ftpmaster.internal/ubuntu mantic/main s390x gpgconf s390x 2.2.40-1.1ubuntu1 [97.4 kB] Get:156 http://ftpmaster.internal/ubuntu mantic/main s390x gpg-agent s390x 2.2.40-1.1ubuntu1 [213 kB] Get:157 http://ftpmaster.internal/ubuntu mantic/main s390x pkgbinarymangler all 153 [16.3 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 MB in 16s (8403 kB/s) (Reading database ... 12875 files and directories currently installed.) Preparing to unpack .../libcrypt-dev_1%3a4.4.36-2_s390x.deb ... Unpacking libcrypt-dev:s390x (1:4.4.36-2) over (1:4.4.33-1) ... Preparing to unpack .../libc6-dev_2.38-1ubuntu3_s390x.deb ... Unpacking libc6-dev:s390x (2.38-1ubuntu3) over (2.36-0ubuntu4) ... Replacing files in old package libc6:s390x (2.36-0ubuntu4) ... Preparing to unpack .../libc-dev-bin_2.38-1ubuntu3_s390x.deb ... Unpacking libc-dev-bin (2.38-1ubuntu3) over (2.36-0ubuntu4) ... Preparing to unpack .../libcrypt1_1%3a4.4.36-2_s390x.deb ... Unpacking libcrypt1:s390x (1:4.4.36-2) over (1:4.4.33-1) ... Setting up libcrypt1:s390x (1:4.4.36-2) ... (Reading database ... 12881 files and directories currently installed.) Preparing to unpack .../linux-libc-dev_6.3.0-7.7_s390x.deb ... Unpacking linux-libc-dev:s390x (6.3.0-7.7) over (5.19.0-21.21) ... Preparing to unpack .../libc6_2.38-1ubuntu3_s390x.deb ... Unpacking libc6:s390x (2.38-1ubuntu3) over (2.36-0ubuntu4) ... Setting up libc6:s390x (2.38-1ubuntu3) ... (Reading database ... 12887 files and directories currently installed.) Preparing to unpack .../libc-bin_2.38-1ubuntu3_s390x.deb ... Unpacking libc-bin (2.38-1ubuntu3) over (2.36-0ubuntu4) ... Setting up libc-bin (2.38-1ubuntu3) ... Selecting previously unselected package gcc-13-base:s390x. (Reading database ... 12889 files and directories currently installed.) Preparing to unpack .../gcc-13-base_13.2.0-2ubuntu1_s390x.deb ... Unpacking gcc-13-base:s390x (13.2.0-2ubuntu1) ... Setting up gcc-13-base:s390x (13.2.0-2ubuntu1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libgcc-s1_13.2.0-2ubuntu1_s390x.deb ... Unpacking libgcc-s1:s390x (13.2.0-2ubuntu1) over (12.2.0-10ubuntu1) ... Setting up libgcc-s1:s390x (13.2.0-2ubuntu1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../base-files_13ubuntu1_s390x.deb ... Unpacking base-files (13ubuntu1) over (12.3ubuntu1) ... Setting up base-files (13ubuntu1) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../debianutils_5.8-1_s390x.deb ... Unpacking debianutils (5.8-1) over (5.7-0.4) ... Setting up debianutils (5.8-1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../bash_5.2.15-2ubuntu1_s390x.deb ... Unpacking bash (5.2.15-2ubuntu1) over (5.2-1ubuntu2) ... Setting up bash (5.2.15-2ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.39.1-4ubuntu1_s390x.deb ... Unpacking bsdutils (1:2.39.1-4ubuntu1) over (1:2.38.1-4ubuntu1) ... Setting up bsdutils (1:2.39.1-4ubuntu1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../coreutils_9.1-1ubuntu2_s390x.deb ... Unpacking coreutils (9.1-1ubuntu2) over (8.32-4.1ubuntu1) ... Setting up coreutils (9.1-1ubuntu2) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../liblzma5_5.4.1-0.2_s390x.deb ... Unpacking liblzma5:s390x (5.4.1-0.2) over (5.2.9-0.0) ... Setting up liblzma5:s390x (5.4.1-0.2) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libstdc++6_13.2.0-2ubuntu1_s390x.deb ... Unpacking libstdc++6:s390x (13.2.0-2ubuntu1) over (12.2.0-10ubuntu1) ... Setting up libstdc++6:s390x (13.2.0-2ubuntu1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libzstd1_1.5.5+dfsg2-1ubuntu2_s390x.deb ... Unpacking libzstd1:s390x (1.5.5+dfsg2-1ubuntu2) over (1.5.2+dfsg-1) ... Setting up libzstd1:s390x (1.5.5+dfsg2-1ubuntu2) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.47-2_s390x.deb ... Unpacking libgpg-error0:s390x (1.47-2) over (1.46-1) ... Setting up libgpg-error0:s390x (1.47-2) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.10.2-2ubuntu1_s390x.deb ... Unpacking libgcrypt20:s390x (1.10.2-2ubuntu1) over (1.10.1-2ubuntu1) ... Setting up libgcrypt20:s390x (1.10.2-2ubuntu1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libacl1_2.3.1-3_s390x.deb ... Unpacking libacl1:s390x (2.3.1-3) over (2.3.1-2) ... Setting up libacl1:s390x (2.3.1-3) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libapparmor1_3.0.8-1ubuntu4_s390x.deb ... Unpacking libapparmor1:s390x (3.0.8-1ubuntu4) over (3.0.8-1ubuntu1) ... Preparing to unpack .../libaudit-common_1%3a3.1.1-1_all.deb ... Unpacking libaudit-common (1:3.1.1-1) over (1:3.0.7-1ubuntu3) ... Setting up libaudit-common (1:3.1.1-1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.8.3-1build2_s390x.deb ... Unpacking libcap-ng0:s390x (0.8.3-1build2) over (0.8.3-1build1) ... Setting up libcap-ng0:s390x (0.8.3-1build2) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.1.1-1_s390x.deb ... Unpacking libaudit1:s390x (1:3.1.1-1) over (1:3.0.7-1ubuntu3) ... Setting up libaudit1:s390x (1:3.1.1-1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libblkid1_2.39.1-4ubuntu1_s390x.deb ... Unpacking libblkid1:s390x (2.39.1-4ubuntu1) over (2.38.1-4ubuntu1) ... Setting up libblkid1:s390x (2.39.1-4ubuntu1) ... (Reading database ... 12894 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.66-4ubuntu1_s390x.deb ... Unpacking libcap2:s390x (1:2.66-4ubuntu1) over (1:2.44-1build3) ... Setting up libcap2:s390x (1:2.66-4ubuntu1) ... (Reading database ... 12896 files and directories currently installed.) Preparing to unpack .../libip4tc2_1.8.9-2ubuntu2_s390x.deb ... Unpacking libip4tc2:s390x (1.8.9-2ubuntu2) over (1.8.7-1ubuntu7) ... Preparing to unpack .../libperl5.36_5.36.0-7ubuntu1_s390x.deb ... Unpacking libperl5.36:s390x (5.36.0-7ubuntu1) over (5.36.0-4ubuntu2) ... Preparing to unpack .../perl_5.36.0-7ubuntu1_s390x.deb ... Unpacking perl (5.36.0-7ubuntu1) over (5.36.0-4ubuntu2) ... Preparing to unpack .../perl-base_5.36.0-7ubuntu1_s390x.deb ... Unpacking perl-base (5.36.0-7ubuntu1) over (5.36.0-4ubuntu2) ... Setting up perl-base (5.36.0-7ubuntu1) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../perl-modules-5.36_5.36.0-7ubuntu1_all.deb ... Unpacking perl-modules-5.36 (5.36.0-7ubuntu1) over (5.36.0-4ubuntu2) ... Preparing to unpack .../libdb5.3_5.3.28+dfsg2-2_s390x.deb ... Unpacking libdb5.3:s390x (5.3.28+dfsg2-2) over (5.3.28+dfsg1-0.10) ... Setting up libdb5.3:s390x (5.3.28+dfsg2-2) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.13.dfsg-1ubuntu5_s390x.deb ... Unpacking zlib1g:s390x (1:1.2.13.dfsg-1ubuntu5) over (1:1.2.11.dfsg-4.1ubuntu1) ... Setting up zlib1g:s390x (1:1.2.13.dfsg-1ubuntu5) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../debconf_1.5.82_all.deb ... Unpacking debconf (1.5.82) over (1.5.79ubuntu1) ... Setting up debconf (1.5.82) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../libssl3_3.0.10-1ubuntu2_s390x.deb ... Unpacking libssl3:s390x (3.0.10-1ubuntu2) over (3.0.5-2ubuntu2) ... Preparing to unpack .../libkmod2_30+20230519-1ubuntu2_s390x.deb ... Unpacking libkmod2:s390x (30+20230519-1ubuntu2) over (30+20220905-1ubuntu1) ... Preparing to unpack .../libpcre2-8-0_10.42-2_s390x.deb ... Unpacking libpcre2-8-0:s390x (10.42-2) over (10.40-1ubuntu1) ... Setting up libpcre2-8-0:s390x (10.42-2) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../libselinux1_3.5-1_s390x.deb ... Unpacking libselinux1:s390x (3.5-1) over (3.4-1build1) ... Setting up libselinux1:s390x (3.5-1) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../libmount1_2.39.1-4ubuntu1_s390x.deb ... Unpacking libmount1:s390x (2.39.1-4ubuntu1) over (2.38.1-4ubuntu1) ... Setting up libmount1:s390x (2.39.1-4ubuntu1) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../libpam0g_1.5.2-6ubuntu1_s390x.deb ... Unpacking libpam0g:s390x (1.5.2-6ubuntu1) over (1.5.2-5ubuntu1) ... Setting up libpam0g:s390x (1.5.2-6ubuntu1) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.4-1ubuntu3_s390x.deb ... Unpacking libseccomp2:s390x (2.5.4-1ubuntu3) over (2.5.4-1ubuntu2) ... Setting up libseccomp2:s390x (2.5.4-1ubuntu3) ... (Reading database ... 12897 files and directories currently installed.) Preparing to unpack .../systemd-sysv_253.5-1ubuntu2_s390x.deb ... Unpacking systemd-sysv (253.5-1ubuntu2) over (251.4-1ubuntu7) ... Setting up libssl3:s390x (3.0.10-1ubuntu2) ... (Reading database ... 12898 files and directories currently installed.) Preparing to unpack .../systemd_253.5-1ubuntu2_s390x.deb ... Unpacking systemd (253.5-1ubuntu2) over (251.4-1ubuntu7) ... Preparing to unpack .../libsystemd-shared_253.5-1ubuntu2_s390x.deb ... Unpacking libsystemd-shared:s390x (253.5-1ubuntu2) over (251.4-1ubuntu7) ... Selecting previously unselected package systemd-dev. Preparing to unpack .../systemd-dev_253.5-1ubuntu2_all.deb ... Unpacking systemd-dev (253.5-1ubuntu2) ... Preparing to unpack .../libargon2-1_0~20190702+dfsg-3_s390x.deb ... Unpacking libargon2-1:s390x (0~20190702+dfsg-3) over (0~20171227-0.3) ... Preparing to unpack .../libudev1_253.5-1ubuntu2_s390x.deb ... Unpacking libudev1:s390x (253.5-1ubuntu2) over (251.4-1ubuntu7) ... Setting up libudev1:s390x (253.5-1ubuntu2) ... (Reading database ... 12932 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-2ubuntu1_s390x.deb ... Unpacking libdevmapper1.02.1:s390x (2:1.02.185-2ubuntu1) over (2:1.02.185-1ubuntu1) ... Preparing to unpack .../libjson-c5_0.17-1_s390x.deb ... Unpacking libjson-c5:s390x (0.17-1) over (0.16-2) ... Preparing to unpack .../libuuid1_2.39.1-4ubuntu1_s390x.deb ... Unpacking libuuid1:s390x (2.39.1-4ubuntu1) over (2.38.1-4ubuntu1) ... Setting up libuuid1:s390x (2.39.1-4ubuntu1) ... (Reading database ... 12932 files and directories currently installed.) Preparing to unpack .../libcryptsetup12_2%3a2.6.1-4ubuntu1_s390x.deb ... Unpacking libcryptsetup12:s390x (2:2.6.1-4ubuntu1) over (2:2.5.0-6ubuntu3) ... Preparing to unpack .../libfdisk1_2.39.1-4ubuntu1_s390x.deb ... Unpacking libfdisk1:s390x (2.39.1-4ubuntu1) over (2.38.1-4ubuntu1) ... Preparing to unpack .../libp11-kit0_0.24.1-2ubuntu1_s390x.deb ... Unpacking libp11-kit0:s390x (0.24.1-2ubuntu1) over (0.24.1-1ubuntu2) ... Setting up libp11-kit0:s390x (0.24.1-2ubuntu1) ... (Reading database ... 12932 files and directories currently installed.) Preparing to unpack .../mount_2.39.1-4ubuntu1_s390x.deb ... Unpacking mount (2.39.1-4ubuntu1) over (2.38.1-4ubuntu1) ... Preparing to unpack .../libsystemd0_253.5-1ubuntu2_s390x.deb ... Unpacking libsystemd0:s390x (253.5-1ubuntu2) over (251.4-1ubuntu7) ... Setting up libsystemd0:s390x (253.5-1ubuntu2) ... (Reading database ... 12933 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.7.3_s390x.deb ... Unpacking libapt-pkg6.0:s390x (2.7.3) over (2.5.4) ... Setting up libapt-pkg6.0:s390x (2.7.3) ... (Reading database ... 12933 files and directories currently installed.) Preparing to unpack .../tar_1.34+dfsg-1.2ubuntu1_s390x.deb ... Unpacking tar (1.34+dfsg-1.2ubuntu1) over (1.34+dfsg-1.1) ... Setting up tar (1.34+dfsg-1.2ubuntu1) ... (Reading database ... 12933 files and directories currently installed.) Preparing to unpack .../dpkg_1.21.22ubuntu1_s390x.deb ... Unpacking dpkg (1.21.22ubuntu1) over (1.21.11ubuntu2) ... Setting up dpkg (1.21.22ubuntu1) ... (Reading database ... 12936 files and directories currently installed.) Preparing to unpack .../dash_0.5.12-6ubuntu1_s390x.deb ... Unpacking dash (0.5.12-6ubuntu1) over (0.5.11+git20210903+057cd650a4ed-9ubuntu1) ... Setting up dash (0.5.12-6ubuntu1) ... Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.8-4_s390x.deb ... Unpacking diffutils (1:3.8-4) over (1:3.8-1) ... Setting up diffutils (1:3.8-4) ... (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../findutils_4.9.0-5_s390x.deb ... Unpacking findutils (4.9.0-5) over (4.9.0-3ubuntu1) ... Setting up findutils (4.9.0-5) ... (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../archives/grep_3.11-2_s390x.deb ... Unpacking grep (3.11-2) over (3.8-3) ... Setting up grep (3.11-2) ... (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../hostname_3.23+nmu1ubuntu1_s390x.deb ... Unpacking hostname (3.23+nmu1ubuntu1) over (3.23ubuntu2) ... Setting up hostname (3.23+nmu1ubuntu1) ... (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../libncurses6_6.4+20230625-2_s390x.deb ... Unpacking libncurses6:s390x (6.4+20230625-2) over (6.3+20220423-2) ... Preparing to unpack .../libncursesw6_6.4+20230625-2_s390x.deb ... Unpacking libncursesw6:s390x (6.4+20230625-2) over (6.3+20220423-2) ... Preparing to unpack .../libtinfo6_6.4+20230625-2_s390x.deb ... Unpacking libtinfo6:s390x (6.4+20230625-2) over (6.3+20220423-2) ... Setting up libtinfo6:s390x (6.4+20230625-2) ... (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.4+20230625-2_s390x.deb ... Unpacking ncurses-bin (6.4+20230625-2) over (6.3+20220423-2) ... Setting up ncurses-bin (6.4+20230625-2) ... (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../archives/sed_4.9-1_s390x.deb ... Unpacking sed (4.9-1) over (4.8-1ubuntu2) ... Setting up sed (4.9-1) ... (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.39.1-4ubuntu1_s390x.deb ... Unpacking libsmartcols1:s390x (2.39.1-4ubuntu1) over (2.38.1-4ubuntu1) ... Setting up libsmartcols1:s390x (2.39.1-4ubuntu1) ... (Reading database ... 12934 files and directories currently installed.) Preparing to unpack .../util-linux-extra_2.39.1-4ubuntu1_s390x.deb ... Unpacking util-linux-extra (2.39.1-4ubuntu1) over (2.38.1-4ubuntu1) ... Setting up util-linux-extra (2.39.1-4ubuntu1) ... (Reading database ... 12945 files and directories currently installed.) Preparing to unpack .../util-linux_2.39.1-4ubuntu1_s390x.deb ... Unpacking util-linux (2.39.1-4ubuntu1) over (2.38.1-4ubuntu1) ... Setting up util-linux (2.39.1-4ubuntu1) ... (Reading database ... 12946 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.65.2ubuntu1_all.deb ... Unpacking init-system-helpers (1.65.2ubuntu1) over (1.65.2) ... Setting up init-system-helpers (1.65.2ubuntu1) ... (Reading database ... 12946 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.4+20230625-2_all.deb ... Unpacking ncurses-base (6.4+20230625-2) over (6.3+20220423-2) ... Setting up ncurses-base (6.4+20230625-2) ... (Reading database ... 12944 files and directories currently installed.) Preparing to unpack .../archives/lsb-base_11.6_all.deb ... Unpacking lsb-base (11.6) over (11.2ubuntu1) ... Preparing to unpack .../sysvinit-utils_3.07-1ubuntu1_s390x.deb ... Unpacking sysvinit-utils (3.07-1ubuntu1) over (3.04-1ubuntu1) ... Setting up sysvinit-utils (3.07-1ubuntu1) ... (Reading database ... 12944 files and directories currently installed.) Preparing to unpack .../adduser_3.137ubuntu1_all.deb ... moving unchanged adduser.conf to adduser.conf.update-old. New dpkg-conffile will come from the package. Unpacking adduser (3.137ubuntu1) over (3.121ubuntu1) ... Setting up adduser (3.137ubuntu1) ... Installing new version of config file /etc/deluser.conf ... (Reading database ... 12908 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.40-1.1ubuntu1_s390x.deb ... Unpacking gpgv (2.2.40-1.1ubuntu1) over (2.2.40-1ubuntu1) ... Setting up gpgv (2.2.40-1.1ubuntu1) ... (Reading database ... 12908 files and directories currently installed.) Preparing to unpack .../libgmp10_2%3a6.3.0+dfsg-2ubuntu3_s390x.deb ... Unpacking libgmp10:s390x (2:6.3.0+dfsg-2ubuntu3) over (2:6.2.1+dfsg1-1.1ubuntu1) ... Setting up libgmp10:s390x (2:6.3.0+dfsg-2ubuntu3) ... (Reading database ... 12908 files and directories currently installed.) Preparing to unpack .../libnettle8_3.9.1-2_s390x.deb ... Unpacking libnettle8:s390x (3.9.1-2) over (3.8.1-2) ... Setting up libnettle8:s390x (3.9.1-2) ... (Reading database ... 12908 files and directories currently installed.) Preparing to unpack .../libhogweed6_3.9.1-2_s390x.deb ... Unpacking libhogweed6:s390x (3.9.1-2) over (3.8.1-2) ... Setting up libhogweed6:s390x (3.9.1-2) ... (Reading database ... 12908 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.4-1_s390x.deb ... Unpacking libidn2-0:s390x (2.3.4-1) over (2.3.3-1build1) ... Setting up libidn2-0:s390x (2.3.4-1) ... (Reading database ... 12908 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.19.0-3_s390x.deb ... Unpacking libtasn1-6:s390x (4.19.0-3) over (4.19.0-2) ... Setting up libtasn1-6:s390x (4.19.0-3) ... (Reading database ... 12908 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.8.1-3ubuntu1_s390x.deb ... Unpacking libgnutls30:s390x (3.8.1-3ubuntu1) over (3.7.7-2ubuntu2) ... Setting up libgnutls30:s390x (3.8.1-3ubuntu1) ... (Reading database ... 12908 files and directories currently installed.) Preparing to unpack .../archives/apt_2.7.3_s390x.deb ... Unpacking apt (2.7.3) over (2.5.4) ... Setting up apt (2.7.3) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.5.2-6ubuntu1_s390x.deb ... Unpacking libpam-modules-bin (1.5.2-6ubuntu1) over (1.5.2-5ubuntu1) ... Setting up libpam-modules-bin (1.5.2-6ubuntu1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.5.2-6ubuntu1_s390x.deb ... Unpacking libpam-modules:s390x (1.5.2-6ubuntu1) over (1.5.2-5ubuntu1) ... Setting up libpam-modules:s390x (1.5.2-6ubuntu1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../logsave_1.47.0-2ubuntu1_s390x.deb ... Unpacking logsave (1.47.0-2ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Preparing to unpack .../libext2fs2_1.47.0-2ubuntu1_s390x.deb ... Unpacking libext2fs2:s390x (1.47.0-2ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Setting up libext2fs2:s390x (1.47.0-2ubuntu1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.47.0-2ubuntu1_s390x.deb ... Unpacking e2fsprogs (1.47.0-2ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Setting up libargon2-1:s390x (0~20190702+dfsg-3) ... Setting up libdevmapper1.02.1:s390x (2:1.02.185-2ubuntu1) ... Setting up libjson-c5:s390x (0.17-1) ... Setting up libcryptsetup12:s390x (2:2.6.1-4ubuntu1) ... Setting up libfdisk1:s390x (2.39.1-4ubuntu1) ... Setting up libkmod2:s390x (30+20230519-1ubuntu2) ... Setting up libapparmor1:s390x (3.0.8-1ubuntu4) ... Setting up libip4tc2:s390x (1.8.9-2ubuntu2) ... Setting up libsystemd-shared:s390x (253.5-1ubuntu2) ... Setting up systemd-dev (253.5-1ubuntu2) ... Setting up mount (2.39.1-4ubuntu1) ... Setting up systemd (253.5-1ubuntu2) ... Installing new version of config file /etc/systemd/journald.conf ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/sleep.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from random generator. Setting up systemd-sysv (253.5-1ubuntu2) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../init_1.65.2ubuntu1_s390x.deb ... Unpacking init (1.65.2ubuntu1) over (1.65.2) ... Preparing to unpack .../libattr1_1%3a2.5.1-4_s390x.deb ... Unpacking libattr1:s390x (1:2.5.1-4) over (1:2.5.1-3) ... Setting up libattr1:s390x (1:2.5.1-4) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.270ubuntu1_s390x.deb ... Unpacking libdebconfclient0:s390x (0.270ubuntu1) over (0.264ubuntu1) ... Setting up libdebconfclient0:s390x (0.270ubuntu1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../libmd0_1.1.0-1_s390x.deb ... Unpacking libmd0:s390x (1.1.0-1) over (1.0.4-2) ... Setting up libmd0:s390x (1.1.0-1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.5.2-6ubuntu1_all.deb ... Unpacking libpam-runtime (1.5.2-6ubuntu1) over (1.5.2-5ubuntu1) ... Setting up libpam-runtime (1.5.2-6ubuntu1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.5-1_all.deb ... Unpacking libsemanage-common (3.5-1) over (3.4-1build1) ... Setting up libsemanage-common (3.5-1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../libsepol2_3.5-1_s390x.deb ... Unpacking libsepol2:s390x (3.5-1) over (3.4-2) ... Setting up libsepol2:s390x (3.5-1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.5-1_s390x.deb ... Unpacking libsemanage2:s390x (3.5-1) over (3.4-1build1) ... Setting up libsemanage2:s390x (3.5-1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../usrmerge_35ubuntu1_all.deb ... Unpacking usrmerge (35ubuntu1) over (33ubuntu1) ... Setting up usrmerge (35ubuntu1) ... (Reading database ... 12905 files and directories currently installed.) Preparing to unpack .../00-libcom-err2_1.47.0-2ubuntu1_s390x.deb ... Unpacking libcom-err2:s390x (1.47.0-2ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Selecting previously unselected package libproc2-0:s390x. Preparing to unpack .../01-libproc2-0_2%3a4.0.3-1ubuntu1_s390x.deb ... Unpacking libproc2-0:s390x (2:4.0.3-1ubuntu1) ... Preparing to unpack .../02-libss2_1.47.0-2ubuntu1_s390x.deb ... Unpacking libss2:s390x (1.47.0-2ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Preparing to unpack .../03-mawk_1.3.4.20230730-1_s390x.deb ... Unpacking mawk (1.3.4.20230730-1) over (1.3.4.20200120-3.1) ... Preparing to unpack .../04-procps_2%3a4.0.3-1ubuntu1_s390x.deb ... Unpacking procps (2:4.0.3-1ubuntu1) over (2:3.3.17-7ubuntu1) ... Preparing to unpack .../05-sensible-utils_0.0.20_all.deb ... Unpacking sensible-utils (0.0.20) over (0.0.17) ... Preparing to unpack .../06-openssl_3.0.10-1ubuntu2_s390x.deb ... Unpacking openssl (3.0.10-1ubuntu2) over (3.0.5-2ubuntu2) ... Preparing to unpack .../07-ca-certificates_20230311ubuntu1_all.deb ... Unpacking ca-certificates (20230311ubuntu1) over (20211016ubuntu1) ... Preparing to unpack .../08-libgssapi-krb5-2_1.20.1-2_s390x.deb ... Unpacking libgssapi-krb5-2:s390x (1.20.1-2) over (1.20.1-1build1) ... Preparing to unpack .../09-libkrb5-3_1.20.1-2_s390x.deb ... Unpacking libkrb5-3:s390x (1.20.1-2) over (1.20.1-1build1) ... Preparing to unpack .../10-libkrb5support0_1.20.1-2_s390x.deb ... Unpacking libkrb5support0:s390x (1.20.1-2) over (1.20.1-1build1) ... Preparing to unpack .../11-libk5crypto3_1.20.1-2_s390x.deb ... Unpacking libk5crypto3:s390x (1.20.1-2) over (1.20.1-1build1) ... Preparing to unpack .../12-readline-common_8.2-1.3_all.deb ... Unpacking readline-common (8.2-1.3) over (8.2-1.2) ... Preparing to unpack .../13-libreadline8_8.2-1.3_s390x.deb ... Unpacking libreadline8:s390x (8.2-1.3) over (8.2-1.2) ... Preparing to unpack .../14-libsqlite3-0_3.42.0-1_s390x.deb ... Unpacking libsqlite3-0:s390x (3.42.0-1) over (3.40.0-1) ... Preparing to unpack .../15-tzdata_2023c-9ubuntu1_all.deb ... Unpacking tzdata (2023c-9ubuntu1) over (2022g-1ubuntu1) ... Preparing to unpack .../16-libpng16-16_1.6.40-1_s390x.deb ... Unpacking libpng16-16:s390x (1.6.40-1) over (1.6.39-2) ... Preparing to unpack .../17-xz-utils_5.4.1-0.2_s390x.deb ... Unpacking xz-utils (5.4.1-0.2) over (5.2.9-0.0) ... Preparing to unpack .../18-advancecomp_2.5-1_s390x.deb ... Unpacking advancecomp (2.5-1) over (2.4-1) ... Preparing to unpack .../19-libctf0_2.41-4ubuntu1_s390x.deb ... Unpacking libctf0:s390x (2.41-4ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../20-libctf-nobfd0_2.41-4ubuntu1_s390x.deb ... Unpacking libctf-nobfd0:s390x (2.41-4ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../21-binutils-s390x-linux-gnu_2.41-4ubuntu1_s390x.deb ... Unpacking binutils-s390x-linux-gnu (2.41-4ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../22-libbinutils_2.41-4ubuntu1_s390x.deb ... Unpacking libbinutils:s390x (2.41-4ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../23-binutils_2.41-4ubuntu1_s390x.deb ... Unpacking binutils (2.41-4ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../24-binutils-common_2.41-4ubuntu1_s390x.deb ... Unpacking binutils-common:s390x (2.41-4ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Selecting previously unselected package libsframe1:s390x. Preparing to unpack .../25-libsframe1_2.41-4ubuntu1_s390x.deb ... Unpacking libsframe1:s390x (2.41-4ubuntu1) ... Preparing to unpack .../26-libisl23_0.26-3_s390x.deb ... Unpacking libisl23:s390x (0.26-3) over (0.25-1) ... Preparing to unpack .../27-libmpfr6_4.2.0-1_s390x.deb ... Unpacking libmpfr6:s390x (4.2.0-1) over (4.1.0-3build3) ... Selecting previously unselected package cpp-13. Preparing to unpack .../28-cpp-13_13.2.0-2ubuntu1_s390x.deb ... Unpacking cpp-13 (13.2.0-2ubuntu1) ... Preparing to unpack .../29-g++_4%3a13.2.0-1ubuntu1_s390x.deb ... Unpacking g++ (4:13.2.0-1ubuntu1) over (4:12.2.0-1ubuntu1) ... Preparing to unpack .../30-gcc_4%3a13.2.0-1ubuntu1_s390x.deb ... Unpacking gcc (4:13.2.0-1ubuntu1) over (4:12.2.0-1ubuntu1) ... Preparing to unpack .../31-cpp_4%3a13.2.0-1ubuntu1_s390x.deb ... Unpacking cpp (4:13.2.0-1ubuntu1) over (4:12.2.0-1ubuntu1) ... Preparing to unpack .../32-libcc1-0_13.2.0-2ubuntu1_s390x.deb ... Unpacking libcc1-0:s390x (13.2.0-2ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../33-libgomp1_13.2.0-2ubuntu1_s390x.deb ... Unpacking libgomp1:s390x (13.2.0-2ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../34-libitm1_13.2.0-2ubuntu1_s390x.deb ... Unpacking libitm1:s390x (13.2.0-2ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../35-libatomic1_13.2.0-2ubuntu1_s390x.deb ... Unpacking libatomic1:s390x (13.2.0-2ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../36-libasan8_13.2.0-2ubuntu1_s390x.deb ... Unpacking libasan8:s390x (13.2.0-2ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../37-libubsan1_13.2.0-2ubuntu1_s390x.deb ... Unpacking libubsan1:s390x (13.2.0-2ubuntu1) over (12.2.0-10ubuntu1) ... Selecting previously unselected package libgcc-13-dev:s390x. Preparing to unpack .../38-libgcc-13-dev_13.2.0-2ubuntu1_s390x.deb ... Unpacking libgcc-13-dev:s390x (13.2.0-2ubuntu1) ... Selecting previously unselected package gcc-13. Preparing to unpack .../39-gcc-13_13.2.0-2ubuntu1_s390x.deb ... Unpacking gcc-13 (13.2.0-2ubuntu1) ... Selecting previously unselected package libstdc++-13-dev:s390x. Preparing to unpack .../40-libstdc++-13-dev_13.2.0-2ubuntu1_s390x.deb ... Unpacking libstdc++-13-dev:s390x (13.2.0-2ubuntu1) ... Selecting previously unselected package g++-13. Preparing to unpack .../41-g++-13_13.2.0-2ubuntu1_s390x.deb ... Unpacking g++-13 (13.2.0-2ubuntu1) ... Preparing to unpack .../42-dpkg-dev_1.21.22ubuntu1_all.deb ... Unpacking dpkg-dev (1.21.22ubuntu1) over (1.21.11ubuntu2) ... Preparing to unpack .../43-libdpkg-perl_1.21.22ubuntu1_all.deb ... Unpacking libdpkg-perl (1.21.22ubuntu1) over (1.21.11ubuntu2) ... Preparing to unpack .../44-lto-disabled-list_42_all.deb ... Unpacking lto-disabled-list (42) over (37) ... Preparing to unpack .../45-build-essential_12.10ubuntu1_s390x.deb ... Unpacking build-essential (12.10ubuntu1) over (12.9ubuntu3) ... Preparing to unpack .../46-g++-12_12.3.0-7ubuntu2_s390x.deb ... Unpacking g++-12 (12.3.0-7ubuntu2) over (12.2.0-10ubuntu1) ... Preparing to unpack .../47-libstdc++-12-dev_12.3.0-7ubuntu2_s390x.deb ... Unpacking libstdc++-12-dev:s390x (12.3.0-7ubuntu2) over (12.2.0-10ubuntu1) ... Preparing to unpack .../48-gcc-12_12.3.0-7ubuntu2_s390x.deb ... Unpacking gcc-12 (12.3.0-7ubuntu2) over (12.2.0-10ubuntu1) ... Preparing to unpack .../49-libgcc-12-dev_12.3.0-7ubuntu2_s390x.deb ... Unpacking libgcc-12-dev:s390x (12.3.0-7ubuntu2) over (12.2.0-10ubuntu1) ... Preparing to unpack .../50-cpp-12_12.3.0-7ubuntu2_s390x.deb ... Unpacking cpp-12 (12.3.0-7ubuntu2) over (12.2.0-10ubuntu1) ... Preparing to unpack .../51-gcc-12-base_12.3.0-7ubuntu2_s390x.deb ... Unpacking gcc-12-base:s390x (12.3.0-7ubuntu2) over (12.2.0-10ubuntu1) ... Preparing to unpack .../52-libfakeroot_1.32.1-1_s390x.deb ... Unpacking libfakeroot:s390x (1.32.1-1) over (1.30.1-1ubuntu1) ... Preparing to unpack .../53-fakeroot_1.32.1-1_s390x.deb ... Unpacking fakeroot (1.32.1-1) over (1.30.1-1ubuntu1) ... Preparing to unpack .../54-libassuan0_2.5.6-1_s390x.deb ... Unpacking libassuan0:s390x (2.5.6-1) over (2.5.5-5) ... Preparing to unpack .../55-gpg_2.2.40-1.1ubuntu1_s390x.deb ... Unpacking gpg (2.2.40-1.1ubuntu1) over (2.2.40-1ubuntu1) ... Preparing to unpack .../56-gpgconf_2.2.40-1.1ubuntu1_s390x.deb ... Unpacking gpgconf (2.2.40-1.1ubuntu1) over (2.2.40-1ubuntu1) ... Preparing to unpack .../57-gpg-agent_2.2.40-1.1ubuntu1_s390x.deb ... Unpacking gpg-agent (2.2.40-1.1ubuntu1) over (2.2.40-1ubuntu1) ... Preparing to unpack .../58-pkgbinarymangler_153_all.deb ... Unpacking pkgbinarymangler (153) over (149) ... Setting up lsb-base (11.6) ... Setting up lto-disabled-list (42) ... Setting up init (1.65.2ubuntu1) ... Setting up libsqlite3-0:s390x (3.42.0-1) ... Setting up binutils-common:s390x (2.41-4ubuntu1) ... Setting up linux-libc-dev:s390x (6.3.0-7.7) ... Setting up libctf-nobfd0:s390x (2.41-4ubuntu1) ... Setting up libcom-err2:s390x (1.47.0-2ubuntu1) ... Setting up libassuan0:s390x (2.5.6-1) ... Setting up libgomp1:s390x (13.2.0-2ubuntu1) ... Setting up libsframe1:s390x (2.41-4ubuntu1) ... Setting up libfakeroot:s390x (1.32.1-1) ... Setting up libkrb5support0:s390x (1.20.1-2) ... Setting up gcc-12-base:s390x (12.3.0-7ubuntu2) ... Setting up tzdata (2023c-9ubuntu1) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Aug 17 17:25:26 UTC 2023. Universal Time is now: Thu Aug 17 17:25:26 UTC 2023. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up fakeroot (1.32.1-1) ... Setting up perl-modules-5.36 (5.36.0-7ubuntu1) ... Setting up libmpfr6:s390x (4.2.0-1) ... Setting up libncurses6:s390x (6.4+20230625-2) ... Setting up xz-utils (5.4.1-0.2) ... Setting up libproc2-0:s390x (2:4.0.3-1ubuntu1) ... Setting up libpng16-16:s390x (1.6.40-1) ... Setting up libatomic1:s390x (13.2.0-2ubuntu1) ... Setting up libss2:s390x (1.47.0-2ubuntu1) ... Setting up libncursesw6:s390x (6.4+20230625-2) ... Setting up libk5crypto3:s390x (1.20.1-2) ... Setting up logsave (1.47.0-2ubuntu1) ... Setting up libubsan1:s390x (13.2.0-2ubuntu1) ... Setting up advancecomp (2.5-1) ... Setting up sensible-utils (0.0.20) ... Setting up libcrypt-dev:s390x (1:4.4.36-2) ... Setting up libasan8:s390x (13.2.0-2ubuntu1) ... Setting up procps (2:4.0.3-1ubuntu1) ... Setting up mawk (1.3.4.20230730-1) ... Setting up libkrb5-3:s390x (1.20.1-2) ... Setting up libbinutils:s390x (2.41-4ubuntu1) ... Setting up libisl23:s390x (0.26-3) ... Setting up libc-dev-bin (2.38-1ubuntu3) ... Setting up openssl (3.0.10-1ubuntu2) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up readline-common (8.2-1.3) ... Setting up libcc1-0:s390x (13.2.0-2ubuntu1) ... Setting up libperl5.36:s390x (5.36.0-7ubuntu1) ... Setting up libitm1:s390x (13.2.0-2ubuntu1) ... Setting up libctf0:s390x (2.41-4ubuntu1) ... Setting up cpp-12 (12.3.0-7ubuntu2) ... Setting up binutils-s390x-linux-gnu (2.41-4ubuntu1) ... Setting up pkgbinarymangler (153) ... Setting up cpp-13 (13.2.0-2ubuntu1) ... Setting up libreadline8:s390x (8.2-1.3) ... Setting up e2fsprogs (1.47.0-2ubuntu1) ... Setting up binutils (2.41-4ubuntu1) ... Setting up ca-certificates (20230311ubuntu1) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 19 added, 6 removed; done. Setting up perl (5.36.0-7ubuntu1) ... Setting up libgcc-12-dev:s390x (12.3.0-7ubuntu2) ... Setting up libgssapi-krb5-2:s390x (1.20.1-2) ... Setting up libdpkg-perl (1.21.22ubuntu1) ... Setting up libgcc-13-dev:s390x (13.2.0-2ubuntu1) ... Setting up cpp (4:13.2.0-1ubuntu1) ... Setting up gpgconf (2.2.40-1.1ubuntu1) ... Setting up libc6-dev:s390x (2.38-1ubuntu3) ... Setting up gpg (2.2.40-1.1ubuntu1) ... Setting up libstdc++-13-dev:s390x (13.2.0-2ubuntu1) ... Setting up gpg-agent (2.2.40-1.1ubuntu1) ... Setting up libstdc++-12-dev:s390x (12.3.0-7ubuntu2) ... Setting up dpkg-dev (1.21.22ubuntu1) ... Setting up gcc-12 (12.3.0-7ubuntu2) ... Setting up gcc-13 (13.2.0-2ubuntu1) ... Setting up g++-12 (12.3.0-7ubuntu2) ... Setting up g++-13 (13.2.0-2ubuntu1) ... Setting up gcc (4:13.2.0-1ubuntu1) ... Setting up g++ (4:13.2.0-1ubuntu1) ... Setting up build-essential (12.10ubuntu1) ... Processing triggers for libc-bin (2.38-1ubuntu3) ... Processing triggers for debianutils (5.8-1) ... Processing triggers for ca-certificates (20230311ubuntu1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-26516225 s390x mantic-proposed -c chroot:build-PACKAGEBUILD-26516225 --arch=s390x --dist=mantic-proposed --nolog 'pysph_1.0~b1-6.dsc' Initiating build PACKAGEBUILD-26516225 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-156-generic #173-Ubuntu SMP Tue Jul 11 07:24:43 UTC 2023 s390x sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-s390x-015.buildd +==============================================================================+ | pysph 1.0~b1-6 (s390x) Thu, 17 Aug 2023 17:25:29 +0000 | +==============================================================================+ Package: pysph Version: 1.0~b1-6 Source Version: 1.0~b1-6 Distribution: mantic-proposed Machine Architecture: s390x Host Architecture: s390x Build Architecture: s390x Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-26516225/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/pysph-A9ikwg/resolver-40Hacf' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- pysph_1.0~b1-6.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/pysph-A9ikwg/pysph-1.0~b1' with '<>' I: NOTICE: Log filtering will replace 'build/pysph-A9ikwg' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: cython3, debhelper-compat (= 13), dh-python, dh-sequence-numpy3, dh-sequence-python3, dh-sequence-sphinxdoc, libjs-mathjax, libtrilinos-zoltan-dev, mayavi2, mpi-default-dev, python3-all-dev, python3-beaker, python3-compyle, python3-cyarray, python3-h5py, python3-mako (>= 1.1.0), python3-mpi4py, python3-numpy, python3-pyopencl, python3-pyside2.qtwidgets, python3-pytest, python3-pytest-runner, python3-pytools, python3-setuptools, python3-sphinx, python3-sphinx-rtd-theme, python3-stl, python3-traits, python3-pyzoltan, build-essential, fakeroot Filtered Build-Depends: cython3, debhelper-compat (= 13), dh-python, dh-sequence-numpy3, dh-sequence-python3, dh-sequence-sphinxdoc, libjs-mathjax, libtrilinos-zoltan-dev, mayavi2, mpi-default-dev, python3-all-dev, python3-beaker, python3-compyle, python3-cyarray, python3-h5py, python3-mako (>= 1.1.0), python3-mpi4py, python3-numpy, python3-pyopencl, python3-pyside2.qtwidgets, python3-pytest, python3-pytest-runner, python3-pytools, python3-setuptools, python3-sphinx, python3-sphinx-rtd-theme, python3-stl, python3-traits, python3-pyzoltan, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [963 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [575 B] Get:5 copy:/<>/apt_archive ./ Packages [645 B] Fetched 2183 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: g++-12 libstdc++-12-dev Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils cython3 debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz file fontconfig fontconfig-config fonts-font-awesome fonts-lato fonts-mathjax fonts-noto-core gettext gettext-base gfortran-12 groff-base ibverbs-providers intltool-debian iso-codes libaec0 libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libblas3 libbrotli1 libbsd0 libcairo2 libcap2-bin libcbor0.8 libclang-common-15-dev libclang-cpp15 libclc-15 libclc-15-dev libcups2 libcurl3-gnutls libcurl4 libdbus-1-3 libdebhelper-perl libdeflate0 libdouble-conversion3 libdrm-amdgpu1 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libdw1 libedit2 libegl-mesa0 libegl1 libelf1 libevdev2 libevent-2.1-7 libevent-core-2.1-7 libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libexpat1 libexpat1-dev libfabric1 libfido2-1 libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgbm1 libgfortran-12-dev libgfortran5 libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libglew2.2 libglib2.0-0 libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libharfbuzz0b libhdf5-103-1 libhdf5-hl-100 libhwloc-dev libhwloc-plugins libhwloc15 libhyphen0 libibverbs-dev libibverbs1 libice6 libicu72 libinput-bin libinput10 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-ui libjs-mathjax libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 liblapack3 libldap2 libllvm15 libllvmspirvlib15 libltdl-dev libltdl7 liblzf1 libmagic-mgc libmagic1 libmd4c0 libmtdev1 libmunge2 libnetcdf19 libnghttp2-14 libnl-3-200 libnl-3-dev libnl-route-3-200 libnl-route-3-dev libnuma-dev libnuma1 libogg0 libopengl0 libopenmpi-dev libopenmpi3 liborc-0.4-0 libpciaccess0 libpcre2-16-0 libpipeline1 libpixman-1-0 libpmix-dev libpmix2 libproj25 libpsl5 libptscotch-7.0 libpyside2-py3-5.15 libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.11 libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5 libqt5help5 libqt5network5 libqt5opengl5 libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5qmlmodels5 libqt5quick5 libqt5sensors5 libqt5sql5 libqt5svg5 libqt5test5 libqt5webchannel5 libqt5webkit5 libqt5widgets5 libqt5xml5 librdmacm1 librtmp1 libsasl2-2 libsasl2-modules-db libscotch-7.0 libsensors-config libsensors5 libshiboken2-py3-5.15 libsm6 libssh-4 libsub-override-perl libsz2 libtbb12 libtbbbind-2-5 libtbbmalloc2 libtcl8.6 libtheora0 libtiff6 libtk8.6 libtool libtrilinos-zoltan-13.2 libtrilinos-zoltan-dev libuchardet0 libvtk9.1 libvtk9.1-qt libwacom-common libwacom9 libwayland-client0 libwayland-server0 libwebp7 libwoff1 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxfixes3 libxft2 libxkbcommon-x11-0 libxkbcommon0 libxml2 libxnvctrl0 libxrender1 libxshmfence1 libxslt1.1 libxss1 libxxf86vm1 m4 man-db mayavi2 media-types mesa-opencl-icd mpi-default-bin mpi-default-dev ocl-icd-libopencl1 openmpi-bin openmpi-common openssh-client po-debconf proj-data python-babel-localedata python3 python3-alabaster python3-all python3-all-dev python3-appdirs python3-apptools python3-babel python3-beaker python3-certifi python3-chardet python3-compyle python3-configobj python3-cyarray python3-decorator python3-dev python3-distutils python3-docutils python3-envisage python3-h5py python3-h5py-serial python3-idna python3-imagesize python3-iniconfig python3-jinja2 python3-lib2to3 python3-mako python3-markupsafe python3-minimal python3-mpi4py python3-numpy python3-packaging python3-pkg-resources python3-platformdirs python3-pluggy python3-pyface python3-pygments python3-pyopencl python3-pyqt5 python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-pyqt5.sip python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtwidgets python3-pytest python3-pytest-runner python3-python-utils python3-pytools python3-pyzoltan python3-requests python3-roman python3-setuptools python3-six python3-snowballstemmer python3-sphinx python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-stl python3-traits python3-traitsui python3-typing-extensions python3-tz python3-urllib3 python3-vtk9 python3.11 python3.11-dev python3.11-minimal sgml-base shared-mime-info sphinx-common sphinx-rtd-theme-common trilinos-dev x11-common xkb-data xml-core zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc cython-doc dh-make flit python3-build python3-installer python3-wheel gettext-doc libasprintf-dev libgettextpo-dev gfortran-12-multilib gfortran-12-doc libcoarrays-dev groff isoquery cups-common glew-utils low-memory-monitor libvisual-0.4-plugins gstreamer1.0-tools libjs-jquery-ui-docs fonts-mathjax-extras fonts-stix libjs-mathjax-doc libtool-doc openmpi-doc pciutils proj-bin libthai0 qgnomeplatform-qt5 qt5-image-formats-plugins qt5-qmltooling-plugins lm-sensors tcl8.6 tk8.6 gcj-jdk trilinos-doc vtk9-doc vtk9-examples libwacom-bin m4-doc apparmor less www-browser python3-scipy ipython3 gfortran | fortran-compiler keychain libpam-ssh monkeysphere ssh-askpass libmail-box-perl python3-doc python3-tk python3-venv python-apptools-doc python3-sqlalchemy python3-nss | python3-pycryptodome | python3-pycryptopp python3-pylibmc | python3-memcache python3-pymongo python3-redis python3-pycuda python-configobj-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french texlive-latex-base texlive-latex-recommended python-h5py-doc python-jinja2-doc python-mako-doc gfortran python-pygments-doc ttf-bitstream-vera python3-pil.imagetk python3-matplotlib python3-opengl python-pyside2-doc python3-cryptography python3-openssl python3-socks python-requests-doc python-setuptools-doc python3-stemmer dvipng fonts-freefont-otf imagemagick-6.q16 latexmk sphinx-doc tex-gyre texlive-fonts-recommended texlive-latex-extra texlive-plain-generic python3-brotli python3.11-venv python3.11-doc binfmt-support sgml-base-doc Recommended packages: curl | wget | lynx libpam-cap libclang-rt-15-dev dbus libarchive-cpio-perl libgl1-amber-dri libglib2.0-data xdg-user-dirs gstreamer1.0-plugins-base javascript-common libjson-xs-perl libldap-common libcoarrays-openmpi-dev publicsuffix qttranslations5-l10n qt5-gtk-platformtheme qtwayland5 geoclue-2.0 libqt5sql5-sqlite | libqt5sql5-mysql | libqt5sql5-odbc | libqt5sql5-psql | libqt5sql5-tds | libqt5sql5-ibase libsasl2-modules xauth libmail-sendmail-perl libpaper-utils python3-pil python-pyopencl-doc The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils cython3 debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz file fontconfig fontconfig-config fonts-font-awesome fonts-lato fonts-mathjax fonts-noto-core gettext gettext-base gfortran-12 groff-base ibverbs-providers intltool-debian iso-codes libaec0 libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libblas3 libbrotli1 libbsd0 libcairo2 libcap2-bin libcbor0.8 libclang-common-15-dev libclang-cpp15 libclc-15 libclc-15-dev libcups2 libcurl3-gnutls libcurl4 libdbus-1-3 libdebhelper-perl libdeflate0 libdouble-conversion3 libdrm-amdgpu1 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libdw1 libedit2 libegl-mesa0 libegl1 libelf1 libevdev2 libevent-2.1-7 libevent-core-2.1-7 libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libexpat1 libexpat1-dev libfabric1 libfido2-1 libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgbm1 libgfortran-12-dev libgfortran5 libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libglew2.2 libglib2.0-0 libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libharfbuzz0b libhdf5-103-1 libhdf5-hl-100 libhwloc-dev libhwloc-plugins libhwloc15 libhyphen0 libibverbs-dev libibverbs1 libice6 libicu72 libinput-bin libinput10 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-ui libjs-mathjax libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 liblapack3 libldap2 libllvm15 libllvmspirvlib15 libltdl-dev libltdl7 liblzf1 libmagic-mgc libmagic1 libmd4c0 libmtdev1 libmunge2 libnetcdf19 libnghttp2-14 libnl-3-200 libnl-3-dev libnl-route-3-200 libnl-route-3-dev libnuma-dev libnuma1 libogg0 libopengl0 libopenmpi-dev libopenmpi3 liborc-0.4-0 libpciaccess0 libpcre2-16-0 libpipeline1 libpixman-1-0 libpmix-dev libpmix2 libproj25 libpsl5 libptscotch-7.0 libpyside2-py3-5.15 libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.11 libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5 libqt5help5 libqt5network5 libqt5opengl5 libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5qmlmodels5 libqt5quick5 libqt5sensors5 libqt5sql5 libqt5svg5 libqt5test5 libqt5webchannel5 libqt5webkit5 libqt5widgets5 libqt5xml5 librdmacm1 librtmp1 libsasl2-2 libsasl2-modules-db libscotch-7.0 libsensors-config libsensors5 libshiboken2-py3-5.15 libsm6 libssh-4 libsub-override-perl libsz2 libtbb12 libtbbbind-2-5 libtbbmalloc2 libtcl8.6 libtheora0 libtiff6 libtk8.6 libtool libtrilinos-zoltan-13.2 libtrilinos-zoltan-dev libuchardet0 libvtk9.1 libvtk9.1-qt libwacom-common libwacom9 libwayland-client0 libwayland-server0 libwebp7 libwoff1 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxfixes3 libxft2 libxkbcommon-x11-0 libxkbcommon0 libxml2 libxnvctrl0 libxrender1 libxshmfence1 libxslt1.1 libxss1 libxxf86vm1 m4 man-db mayavi2 media-types mesa-opencl-icd mpi-default-bin mpi-default-dev ocl-icd-libopencl1 openmpi-bin openmpi-common openssh-client po-debconf proj-data python-babel-localedata python3 python3-alabaster python3-all python3-all-dev python3-appdirs python3-apptools python3-babel python3-beaker python3-certifi python3-chardet python3-compyle python3-configobj python3-cyarray python3-decorator python3-dev python3-distutils python3-docutils python3-envisage python3-h5py python3-h5py-serial python3-idna python3-imagesize python3-iniconfig python3-jinja2 python3-lib2to3 python3-mako python3-markupsafe python3-minimal python3-mpi4py python3-numpy python3-packaging python3-pkg-resources python3-platformdirs python3-pluggy python3-pyface python3-pygments python3-pyopencl python3-pyqt5 python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-pyqt5.sip python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtwidgets python3-pytest python3-pytest-runner python3-python-utils python3-pytools python3-pyzoltan python3-requests python3-roman python3-setuptools python3-six python3-snowballstemmer python3-sphinx python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-stl python3-traits python3-traitsui python3-typing-extensions python3-tz python3-urllib3 python3-vtk9 python3.11 python3.11-dev python3.11-minimal sbuild-build-depends-main-dummy sgml-base shared-mime-info sphinx-common sphinx-rtd-theme-common trilinos-dev x11-common xkb-data xml-core zlib1g-dev 0 upgraded, 333 newly installed, 0 to remove and 0 not upgraded. Need to get 297 MB of archives. After this operation, 1307 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [862 B] Get:2 http://ftpmaster.internal/ubuntu mantic/main s390x libpython3.11-minimal s390x 3.11.4-1 [834 kB] Get:3 http://ftpmaster.internal/ubuntu mantic/main s390x libexpat1 s390x 2.5.0-2 [82.5 kB] Get:4 http://ftpmaster.internal/ubuntu mantic/main s390x python3.11-minimal s390x 3.11.4-1 [2118 kB] Get:5 http://ftpmaster.internal/ubuntu mantic/main s390x python3-minimal s390x 3.11.4-5 [26.8 kB] Get:6 http://ftpmaster.internal/ubuntu mantic/main s390x media-types all 10.1.0 [27.5 kB] Get:7 http://ftpmaster.internal/ubuntu mantic/main s390x libpython3.11-stdlib s390x 3.11.4-1 [1878 kB] Get:8 http://ftpmaster.internal/ubuntu mantic/main s390x python3.11 s390x 3.11.4-1 [572 kB] Get:9 http://ftpmaster.internal/ubuntu mantic/main s390x libpython3-stdlib s390x 3.11.4-5 [9506 B] Get:10 http://ftpmaster.internal/ubuntu mantic/main s390x python3 s390x 3.11.4-5 [22.9 kB] Get:11 http://ftpmaster.internal/ubuntu mantic/main s390x fonts-lato all 2.0-2.1 [2696 kB] Get:12 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libglib2.0-0 s390x 2.77.2-1 [1529 kB] Get:13 http://ftpmaster.internal/ubuntu mantic/main s390x libcap2-bin s390x 1:2.66-4ubuntu1 [33.6 kB] Get:14 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libgstreamer1.0-0 s390x 1.22.5-1 [983 kB] Get:15 http://ftpmaster.internal/ubuntu mantic/main s390x liborc-0.4-0 s390x 1:0.4.34-3 [172 kB] Get:16 http://ftpmaster.internal/ubuntu mantic/main s390x iso-codes all 4.15.0-1 [3458 kB] Get:17 http://ftpmaster.internal/ubuntu mantic/main s390x libgstreamer-plugins-base1.0-0 s390x 1.22.5-1 [876 kB] Get:18 http://ftpmaster.internal/ubuntu mantic/main s390x libhyphen0 s390x 2.8.8-7build2 [28.6 kB] Get:19 http://ftpmaster.internal/ubuntu mantic/main s390x libicu72 s390x 72.1-3ubuntu2 [10.7 MB] Get:20 http://ftpmaster.internal/ubuntu mantic/main s390x libjpeg-turbo8 s390x 2.1.5-2ubuntu1 [128 kB] Get:21 http://ftpmaster.internal/ubuntu mantic/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] Get:22 http://ftpmaster.internal/ubuntu mantic/main s390x libxml2 s390x 2.9.14+dfsg-1.3 [715 kB] Get:23 http://ftpmaster.internal/ubuntu mantic/main s390x shared-mime-info s390x 2.2-1 [459 kB] Get:24 http://ftpmaster.internal/ubuntu mantic/universe s390x libdouble-conversion3 s390x 3.3.0-1 [39.6 kB] Get:25 http://ftpmaster.internal/ubuntu mantic/main s390x libpcre2-16-0 s390x 10.42-2 [200 kB] Get:26 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5core5a s390x 5.15.10+dfsg-3 [2242 kB] Get:27 http://ftpmaster.internal/ubuntu mantic/main s390x libbrotli1 s390x 1.0.9-2build8 [312 kB] Get:28 http://ftpmaster.internal/ubuntu mantic/main s390x libfreetype6 s390x 2.13.0+dfsg-1 [430 kB] Get:29 http://ftpmaster.internal/ubuntu mantic/main s390x fonts-noto-core all 20201225-1build1 [12.2 MB] Get:30 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x fontconfig-config s390x 2.14.2-3ubuntu1 [35.5 kB] Get:31 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libfontconfig1 s390x 2.14.2-3ubuntu1 [147 kB] Get:32 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x fontconfig s390x 2.14.2-3ubuntu1 [191 kB] Get:33 http://ftpmaster.internal/ubuntu mantic/main s390x libdrm-common all 2.4.115-1 [7488 B] Get:34 http://ftpmaster.internal/ubuntu mantic/main s390x libdrm2 s390x 2.4.115-1 [39.9 kB] Get:35 http://ftpmaster.internal/ubuntu mantic/main s390x libglvnd0 s390x 1.6.0-1 [110 kB] Get:36 http://ftpmaster.internal/ubuntu mantic/main s390x libwayland-server0 s390x 1.22.0-2 [34.9 kB] Get:37 http://ftpmaster.internal/ubuntu mantic/main s390x libgbm1 s390x 23.1.3-1ubuntu1 [39.7 kB] Get:38 http://ftpmaster.internal/ubuntu mantic/main s390x libglapi-mesa s390x 23.1.3-1ubuntu1 [65.2 kB] Get:39 http://ftpmaster.internal/ubuntu mantic/main s390x libwayland-client0 s390x 1.22.0-2 [26.1 kB] Get:40 http://ftpmaster.internal/ubuntu mantic/main s390x libxau6 s390x 1:1.0.9-1build5 [7522 B] Get:41 http://ftpmaster.internal/ubuntu mantic/main s390x libbsd0 s390x 0.11.7-4 [42.5 kB] Get:42 http://ftpmaster.internal/ubuntu mantic/main s390x libxdmcp6 s390x 1:1.1.3-0ubuntu5 [10.8 kB] Get:43 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb1 s390x 1.15-1 [48.3 kB] Get:44 http://ftpmaster.internal/ubuntu mantic/main s390x libx11-data all 2:1.8.6-1 [115 kB] Get:45 http://ftpmaster.internal/ubuntu mantic/main s390x libx11-6 s390x 2:1.8.6-1 [645 kB] Get:46 http://ftpmaster.internal/ubuntu mantic/main s390x libx11-xcb1 s390x 2:1.8.6-1 [7782 B] Get:47 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-dri2-0 s390x 1.15-1 [7426 B] Get:48 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-dri3-0 s390x 1.15-1 [7270 B] Get:49 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-present0 s390x 1.15-1 [5752 B] Get:50 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-randr0 s390x 1.15-1 [19.0 kB] Get:51 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-sync1 s390x 1.15-1 [9392 B] Get:52 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-xfixes0 s390x 1.15-1 [10.5 kB] Get:53 http://ftpmaster.internal/ubuntu mantic/main s390x libxshmfence1 s390x 1.3-1build4 [5334 B] Get:54 http://ftpmaster.internal/ubuntu mantic/main s390x libegl-mesa0 s390x 23.1.3-1ubuntu1 [111 kB] Get:55 http://ftpmaster.internal/ubuntu mantic/main s390x libegl1 s390x 1.6.0-1 [28.8 kB] Get:56 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-glx0 s390x 1.15-1 [25.8 kB] Get:57 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-shm0 s390x 1.15-1 [5782 B] Get:58 http://ftpmaster.internal/ubuntu mantic/main s390x libxext6 s390x 2:1.3.4-1build1 [30.5 kB] Get:59 http://ftpmaster.internal/ubuntu mantic/main s390x libxfixes3 s390x 1:6.0.0-2 [10.6 kB] Get:60 http://ftpmaster.internal/ubuntu mantic/main s390x libxxf86vm1 s390x 1:1.1.4-1build3 [9900 B] Get:61 http://ftpmaster.internal/ubuntu mantic/main s390x libdrm-amdgpu1 s390x 2.4.115-1 [19.9 kB] Get:62 http://ftpmaster.internal/ubuntu mantic/main s390x libdrm-nouveau2 s390x 2.4.115-1 [17.1 kB] Get:63 http://ftpmaster.internal/ubuntu mantic/main s390x libdrm-radeon1 s390x 2.4.115-1 [21.3 kB] Get:64 http://ftpmaster.internal/ubuntu mantic/main s390x libelf1 s390x 0.189-4 [59.7 kB] Get:65 http://ftpmaster.internal/ubuntu mantic/main s390x libedit2 s390x 3.1-20221030-2 [95.3 kB] Get:66 http://ftpmaster.internal/ubuntu mantic/main s390x libllvm15 s390x 1:15.0.7-8 [28.9 MB] Get:67 http://ftpmaster.internal/ubuntu mantic/main s390x libsensors-config all 1:3.6.0-7ubuntu1 [5274 B] Get:68 http://ftpmaster.internal/ubuntu mantic/main s390x libsensors5 s390x 1:3.6.0-7ubuntu1 [25.3 kB] Get:69 http://ftpmaster.internal/ubuntu mantic/main s390x libgl1-mesa-dri s390x 23.1.3-1ubuntu1 [5623 kB] Get:70 http://ftpmaster.internal/ubuntu mantic/main s390x libglx-mesa0 s390x 23.1.3-1ubuntu1 [164 kB] Get:71 http://ftpmaster.internal/ubuntu mantic/main s390x libglx0 s390x 1.6.0-1 [28.3 kB] Get:72 http://ftpmaster.internal/ubuntu mantic/main s390x libgl1 s390x 1.6.0-1 [137 kB] Get:73 http://ftpmaster.internal/ubuntu mantic/main s390x libgraphite2-3 s390x 1.3.14-1build2 [68.1 kB] Get:74 http://ftpmaster.internal/ubuntu mantic/main s390x libharfbuzz0b s390x 8.0.1-1 [436 kB] Get:75 http://ftpmaster.internal/ubuntu mantic/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] Get:76 http://ftpmaster.internal/ubuntu mantic/main s390x libice6 s390x 2:1.0.10-1build2 [40.8 kB] Get:77 http://ftpmaster.internal/ubuntu mantic/main s390x libevdev2 s390x 1.13.1+dfsg-1 [35.6 kB] Get:78 http://ftpmaster.internal/ubuntu mantic/main s390x libmtdev1 s390x 1.1.6-1build4 [14.6 kB] Get:79 http://ftpmaster.internal/ubuntu mantic/main s390x libgudev-1.0-0 s390x 1:238-2 [15.0 kB] Get:80 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libwacom-common all 2.7.0-1 [60.5 kB] Get:81 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libwacom9 s390x 2.7.0-1 [23.0 kB] Get:82 http://ftpmaster.internal/ubuntu mantic/main s390x libinput-bin s390x 1.23.0-2 [21.1 kB] Get:83 http://ftpmaster.internal/ubuntu mantic/main s390x libinput10 s390x 1.23.0-2 [124 kB] Get:84 http://ftpmaster.internal/ubuntu mantic/universe s390x libmd4c0 s390x 0.4.8-1 [43.6 kB] Get:85 http://ftpmaster.internal/ubuntu mantic/main s390x libdbus-1-3 s390x 1.14.8-2ubuntu1 [209 kB] Get:86 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5dbus5 s390x 5.15.10+dfsg-3 [240 kB] Get:87 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5network5 s390x 5.15.10+dfsg-3 [784 kB] Get:88 http://ftpmaster.internal/ubuntu mantic/main s390x libsm6 s390x 2:1.2.3-1build2 [16.9 kB] Get:89 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-icccm4 s390x 0.4.1-1.1build2 [11.5 kB] Get:90 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-util1 s390x 0.4.0-1build2 [11.2 kB] Get:91 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-image0 s390x 0.4.0-2 [11.8 kB] Get:92 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-keysyms1 s390x 0.4.0-1build3 [8780 B] Get:93 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-render0 s390x 1.15-1 [17.0 kB] Get:94 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-render-util0 s390x 0.3.9-1build3 [10.1 kB] Get:95 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-shape0 s390x 1.15-1 [6146 B] Get:96 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-xinerama0 s390x 1.15-1 [5382 B] Get:97 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-xinput0 s390x 1.15-1 [34.6 kB] Get:98 http://ftpmaster.internal/ubuntu mantic/main s390x libxcb-xkb1 s390x 1.15-1 [32.3 kB] Get:99 http://ftpmaster.internal/ubuntu mantic/main s390x xkb-data all 2.38-2 [392 kB] Get:100 http://ftpmaster.internal/ubuntu mantic/main s390x libxkbcommon0 s390x 1.5.0-1 [117 kB] Get:101 http://ftpmaster.internal/ubuntu mantic/main s390x libxkbcommon-x11-0 s390x 1.5.0-1 [14.1 kB] Get:102 http://ftpmaster.internal/ubuntu mantic/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] Get:103 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5gui5 s390x 5.15.10+dfsg-3 [4147 kB] Get:104 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5positioning5 s390x 5.15.10+dfsg-2 [213 kB] Get:105 http://ftpmaster.internal/ubuntu mantic/main s390x libavahi-common-data s390x 0.8-10ubuntu1 [27.7 kB] Get:106 http://ftpmaster.internal/ubuntu mantic/main s390x libavahi-common3 s390x 0.8-10ubuntu1 [22.9 kB] Get:107 http://ftpmaster.internal/ubuntu mantic/main s390x libavahi-client3 s390x 0.8-10ubuntu1 [26.2 kB] Get:108 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libcups2 s390x 2.4.6-0ubuntu1 [277 kB] Get:109 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5widgets5 s390x 5.15.10+dfsg-3 [2716 kB] Get:110 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5printsupport5 s390x 5.15.10+dfsg-3 [217 kB] Get:111 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5qml5 s390x 5.15.10+dfsg-2 [1348 kB] Get:112 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5qmlmodels5 s390x 5.15.10+dfsg-2 [193 kB] Get:113 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5quick5 s390x 5.15.10+dfsg-2 [1656 kB] Get:114 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5sensors5 s390x 5.15.10-2 [119 kB] Get:115 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5webchannel5 s390x 5.15.10-2 [60.3 kB] Get:116 http://ftpmaster.internal/ubuntu mantic/main s390x libwebp7 s390x 1.2.4-0.2 [172 kB] Get:117 http://ftpmaster.internal/ubuntu mantic/main s390x libwoff1 s390x 1.0.2-2 [44.5 kB] Get:118 http://ftpmaster.internal/ubuntu mantic/main s390x libxslt1.1 s390x 1.1.35-1 [157 kB] Get:119 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5webkit5 s390x 5.212.0~alpha4-33 [10.7 MB] Get:120 http://ftpmaster.internal/ubuntu mantic/main s390x sgml-base all 1.31 [11.4 kB] Get:121 http://ftpmaster.internal/ubuntu mantic/main s390x python3-pkg-resources all 68.0.0-2 [167 kB] Get:122 http://ftpmaster.internal/ubuntu mantic/main s390x python3-pygments all 2.15.1+dfsg-1 [820 kB] Get:123 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x bsdextrautils s390x 2.39.1-4ubuntu1 [75.8 kB] Get:124 http://ftpmaster.internal/ubuntu mantic/main s390x libmagic-mgc s390x 1:5.44-3 [296 kB] Get:125 http://ftpmaster.internal/ubuntu mantic/main s390x libmagic1 s390x 1:5.44-3 [84.5 kB] Get:126 http://ftpmaster.internal/ubuntu mantic/main s390x file s390x 1:5.44-3 [21.7 kB] Get:127 http://ftpmaster.internal/ubuntu mantic/main s390x gettext-base s390x 0.21-13 [38.1 kB] Get:128 http://ftpmaster.internal/ubuntu mantic/main s390x libuchardet0 s390x 0.0.7-1build2 [76.4 kB] Get:129 http://ftpmaster.internal/ubuntu mantic/main s390x groff-base s390x 1.23.0-2 [1046 kB] Get:130 http://ftpmaster.internal/ubuntu mantic/main s390x libcbor0.8 s390x 0.8.0-2ubuntu1 [23.9 kB] Get:131 http://ftpmaster.internal/ubuntu mantic/main s390x libfido2-1 s390x 1.13.0-1 [78.8 kB] Get:132 http://ftpmaster.internal/ubuntu mantic/main s390x libnghttp2-14 s390x 1.55.1-1 [75.6 kB] Get:133 http://ftpmaster.internal/ubuntu mantic/main s390x libnuma1 s390x 2.0.16-1 [22.7 kB] Get:134 http://ftpmaster.internal/ubuntu mantic/main s390x libpipeline1 s390x 1.5.7-1 [23.4 kB] Get:135 http://ftpmaster.internal/ubuntu mantic/main s390x libpsl5 s390x 0.21.2-1 [59.1 kB] Get:136 http://ftpmaster.internal/ubuntu mantic/main s390x man-db s390x 2.11.2-3 [1234 kB] Get:137 http://ftpmaster.internal/ubuntu mantic/main s390x openssh-client s390x 1:9.3p1-1ubuntu2 [913 kB] Get:138 http://ftpmaster.internal/ubuntu mantic/main s390x m4 s390x 1.4.19-3 [243 kB] Get:139 http://ftpmaster.internal/ubuntu mantic/main s390x autoconf all 2.71-3 [339 kB] Get:140 http://ftpmaster.internal/ubuntu mantic/main s390x autotools-dev all 20220109.1 [44.9 kB] Get:141 http://ftpmaster.internal/ubuntu mantic/main s390x automake all 1:1.16.5-1.3 [558 kB] Get:142 http://ftpmaster.internal/ubuntu mantic/main s390x autopoint all 0.21-13 [422 kB] Get:143 http://ftpmaster.internal/ubuntu mantic/universe s390x cython3 s390x 0.29.36-1ubuntu1 [1243 kB] Get:144 http://ftpmaster.internal/ubuntu mantic/main s390x libdebhelper-perl all 13.11.5ubuntu1 [85.5 kB] Get:145 http://ftpmaster.internal/ubuntu mantic/main s390x libtool all 2.4.7-7 [166 kB] Get:146 http://ftpmaster.internal/ubuntu mantic/main s390x dh-autoreconf all 20 [16.1 kB] Get:147 http://ftpmaster.internal/ubuntu mantic/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] Get:148 http://ftpmaster.internal/ubuntu mantic/main s390x libsub-override-perl all 0.09-4 [8706 B] Get:149 http://ftpmaster.internal/ubuntu mantic/main s390x libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] Get:150 http://ftpmaster.internal/ubuntu mantic/main s390x dh-strip-nondeterminism all 1.13.1-1 [5362 B] Get:151 http://ftpmaster.internal/ubuntu mantic/main s390x libdw1 s390x 0.189-4 [253 kB] Get:152 http://ftpmaster.internal/ubuntu mantic/main s390x debugedit s390x 1:5.0-5 [47.5 kB] Get:153 http://ftpmaster.internal/ubuntu mantic/main s390x dwz s390x 0.15-1 [108 kB] Get:154 http://ftpmaster.internal/ubuntu mantic/main s390x gettext s390x 0.21-13 [850 kB] Get:155 http://ftpmaster.internal/ubuntu mantic/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] Get:156 http://ftpmaster.internal/ubuntu mantic/main s390x po-debconf all 1.0.21+nmu1 [233 kB] Get:157 http://ftpmaster.internal/ubuntu mantic/main s390x debhelper all 13.11.5ubuntu1 [934 kB] Get:158 http://ftpmaster.internal/ubuntu mantic/main s390x python3-lib2to3 all 3.11.4-1 [79.0 kB] Get:159 http://ftpmaster.internal/ubuntu mantic/main s390x python3-distutils all 3.11.4-1 [131 kB] Get:160 http://ftpmaster.internal/ubuntu mantic/universe s390x dh-python all 6.20230813 [109 kB] Get:161 http://ftpmaster.internal/ubuntu mantic/main s390x xml-core all 0.18+nmu1 [21.6 kB] Get:162 http://ftpmaster.internal/ubuntu mantic/main s390x docutils-common all 0.19+dfsg-7 [131 kB] Get:163 http://ftpmaster.internal/ubuntu mantic/main s390x fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] Get:164 http://ftpmaster.internal/ubuntu mantic/main s390x fonts-mathjax all 2.7.9+dfsg-1 [2208 kB] Get:165 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libgfortran5 s390x 13.2.0-2ubuntu1 [565 kB] Get:166 http://ftpmaster.internal/ubuntu mantic-proposed/universe s390x libgfortran-12-dev s390x 12.3.0-7ubuntu2 [517 kB] Get:167 http://ftpmaster.internal/ubuntu mantic-proposed/universe s390x gfortran-12 s390x 12.3.0-7ubuntu2 [8590 kB] Get:168 http://ftpmaster.internal/ubuntu mantic/main s390x libnl-3-200 s390x 3.7.0-0.2 [56.3 kB] Get:169 http://ftpmaster.internal/ubuntu mantic/main s390x libnl-route-3-200 s390x 3.7.0-0.2 [180 kB] Get:170 http://ftpmaster.internal/ubuntu mantic/main s390x libibverbs1 s390x 47.0-1 [68.7 kB] Get:171 http://ftpmaster.internal/ubuntu mantic/main s390x ibverbs-providers s390x 47.0-1 [397 kB] Get:172 http://ftpmaster.internal/ubuntu mantic/universe s390x libaec0 s390x 1.0.6-1 [21.1 kB] Get:173 http://ftpmaster.internal/ubuntu mantic/main s390x libblas3 s390x 3.11.0-2 [180 kB] Get:174 http://ftpmaster.internal/ubuntu mantic/main s390x libpixman-1-0 s390x 0.42.2-1 [173 kB] Get:175 http://ftpmaster.internal/ubuntu mantic/main s390x libcairo2 s390x 1.17.8-2 [528 kB] Get:176 http://ftpmaster.internal/ubuntu mantic/universe s390x libclang-common-15-dev all 1:15.0.7-8 [623 kB] Get:177 http://ftpmaster.internal/ubuntu mantic/universe s390x libclang-cpp15 s390x 1:15.0.7-8 [13.7 MB] Get:178 http://ftpmaster.internal/ubuntu mantic/universe s390x libclc-15-dev all 1:15.0.7-8 [56.4 kB] Get:179 http://ftpmaster.internal/ubuntu mantic/universe s390x libclc-15 all 1:15.0.7-8 [9883 kB] Get:180 http://ftpmaster.internal/ubuntu mantic/main s390x libsasl2-modules-db s390x 2.1.28+dfsg1-3 [20.8 kB] Get:181 http://ftpmaster.internal/ubuntu mantic/main s390x libsasl2-2 s390x 2.1.28+dfsg1-3 [58.8 kB] Get:182 http://ftpmaster.internal/ubuntu mantic/main s390x libldap2 s390x 2.6.6+dfsg-1~exp1ubuntu1 [199 kB] Get:183 http://ftpmaster.internal/ubuntu mantic/main s390x librtmp1 s390x 2.4+20151223.gitfa8646d.1-2build4 [56.4 kB] Get:184 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libssh-4 s390x 0.10.5-2 [175 kB] Get:185 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libcurl3-gnutls s390x 8.2.1-1ubuntu2 [334 kB] Get:186 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libcurl4 s390x 8.2.1-1ubuntu2 [340 kB] Get:187 http://ftpmaster.internal/ubuntu mantic/main s390x libdeflate0 s390x 1.18-1 [44.9 kB] Get:188 http://ftpmaster.internal/ubuntu mantic/main s390x libevent-2.1-7 s390x 2.1.12-stable-8ubuntu3 [137 kB] Get:189 http://ftpmaster.internal/ubuntu mantic/main s390x libevent-core-2.1-7 s390x 2.1.12-stable-8ubuntu3 [88.8 kB] Get:190 http://ftpmaster.internal/ubuntu mantic/main s390x libevent-extra-2.1-7 s390x 2.1.12-stable-8ubuntu3 [61.0 kB] Get:191 http://ftpmaster.internal/ubuntu mantic/main s390x libevent-pthreads-2.1-7 s390x 2.1.12-stable-8ubuntu3 [7690 B] Get:192 http://ftpmaster.internal/ubuntu mantic/main s390x libevent-openssl-2.1-7 s390x 2.1.12-stable-8ubuntu3 [14.8 kB] Get:193 http://ftpmaster.internal/ubuntu mantic/main s390x libevent-dev s390x 2.1.12-stable-8ubuntu3 [268 kB] Get:194 http://ftpmaster.internal/ubuntu mantic/main s390x libexpat1-dev s390x 2.5.0-2 [134 kB] Get:195 http://ftpmaster.internal/ubuntu mantic/main s390x librdmacm1 s390x 47.0-1 [73.7 kB] Get:196 http://ftpmaster.internal/ubuntu mantic/universe s390x libfabric1 s390x 1.17.0-3 [513 kB] Get:197 http://ftpmaster.internal/ubuntu mantic/universe s390x libgl2ps1.4 s390x 1.4.2+dfsg1-2 [40.2 kB] Get:198 http://ftpmaster.internal/ubuntu mantic/universe s390x libglew2.2 s390x 2.2.0-4 [202 kB] Get:199 http://ftpmaster.internal/ubuntu mantic/universe s390x libsz2 s390x 1.0.6-1 [5144 B] Get:200 http://ftpmaster.internal/ubuntu mantic/universe s390x libhdf5-103-1 s390x 1.10.8+repack1-1ubuntu1 [1213 kB] Get:201 http://ftpmaster.internal/ubuntu mantic/universe s390x libhdf5-hl-100 s390x 1.10.8+repack1-1ubuntu1 [54.9 kB] Get:202 http://ftpmaster.internal/ubuntu mantic/universe s390x libhwloc15 s390x 2.9.2-1 [150 kB] Get:203 http://ftpmaster.internal/ubuntu mantic/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] Get:204 http://ftpmaster.internal/ubuntu mantic/universe s390x libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] Get:205 http://ftpmaster.internal/ubuntu mantic/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] Get:206 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libjs-sphinxdoc all 5.3.0-7 [130 kB] Get:207 http://ftpmaster.internal/ubuntu mantic/main s390x libjson-perl all 4.10000-1 [81.9 kB] Get:208 http://ftpmaster.internal/ubuntu mantic/main s390x libjsoncpp25 s390x 1.9.5-6 [75.5 kB] Get:209 http://ftpmaster.internal/ubuntu mantic/main s390x liblapack3 s390x 3.11.0-2 [2233 kB] Get:210 http://ftpmaster.internal/ubuntu mantic/universe s390x libllvmspirvlib15 s390x 15.0.0-4 [764 kB] Get:211 http://ftpmaster.internal/ubuntu mantic/main s390x libltdl7 s390x 2.4.7-7 [41.6 kB] Get:212 http://ftpmaster.internal/ubuntu mantic/main s390x libltdl-dev s390x 2.4.7-7 [170 kB] Get:213 http://ftpmaster.internal/ubuntu mantic/universe s390x liblzf1 s390x 3.6-4 [7020 B] Get:214 http://ftpmaster.internal/ubuntu mantic/universe s390x libnetcdf19 s390x 1:4.9.2-1 [459 kB] Get:215 http://ftpmaster.internal/ubuntu mantic/main s390x libnl-3-dev s390x 3.7.0-0.2 [99.9 kB] Get:216 http://ftpmaster.internal/ubuntu mantic/main s390x libnl-route-3-dev s390x 3.7.0-0.2 [207 kB] Get:217 http://ftpmaster.internal/ubuntu mantic/main s390x libogg0 s390x 1.3.5-3 [22.7 kB] Get:218 http://ftpmaster.internal/ubuntu mantic/universe s390x libmunge2 s390x 0.5.15-2 [14.4 kB] Get:219 http://ftpmaster.internal/ubuntu mantic/main s390x libpciaccess0 s390x 0.17-2 [17.7 kB] Get:220 http://ftpmaster.internal/ubuntu mantic/main s390x libxnvctrl0 s390x 510.47.03-0ubuntu1 [11.7 kB] Get:221 http://ftpmaster.internal/ubuntu mantic/universe s390x ocl-icd-libopencl1 s390x 2.3.2-1 [39.1 kB] Get:222 http://ftpmaster.internal/ubuntu mantic/universe s390x libhwloc-plugins s390x 2.9.2-1 [15.7 kB] Get:223 http://ftpmaster.internal/ubuntu mantic/universe s390x libpmix2 s390x 5.0.0~rc1-2 [626 kB] Get:224 http://ftpmaster.internal/ubuntu mantic/universe s390x libopenmpi3 s390x 4.1.5-2ubuntu1 [2149 kB] Get:225 http://ftpmaster.internal/ubuntu mantic/main s390x libnuma-dev s390x 2.0.16-1 [36.5 kB] Get:226 http://ftpmaster.internal/ubuntu mantic/universe s390x libhwloc-dev s390x 2.9.2-1 [245 kB] Get:227 http://ftpmaster.internal/ubuntu mantic/main s390x zlib1g-dev s390x 1:1.2.13.dfsg-1ubuntu5 [904 kB] Get:228 http://ftpmaster.internal/ubuntu mantic/universe s390x libpmix-dev s390x 5.0.0~rc1-2 [3821 kB] Get:229 http://ftpmaster.internal/ubuntu mantic/universe s390x proj-data all 9.2.1-1 [7847 kB] Get:230 http://ftpmaster.internal/ubuntu mantic/main s390x libjbig0 s390x 2.1-6.1ubuntu1 [29.8 kB] Get:231 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x libtiff6 s390x 4.5.1+git230720-1ubuntu1 [214 kB] Get:232 http://ftpmaster.internal/ubuntu mantic/universe s390x libproj25 s390x 9.2.1-1 [1224 kB] Get:233 http://ftpmaster.internal/ubuntu mantic/universe s390x libptscotch-7.0 s390x 7.0.3-2 [770 kB] Get:234 http://ftpmaster.internal/ubuntu mantic/universe s390x libshiboken2-py3-5.15 s390x 5.15.10-3 [202 kB] Get:235 http://ftpmaster.internal/ubuntu mantic/universe s390x libpyside2-py3-5.15 s390x 5.15.10-3 [81.9 kB] Get:236 http://ftpmaster.internal/ubuntu mantic/main s390x libpython3.11 s390x 3.11.4-1 [2161 kB] Get:237 http://ftpmaster.internal/ubuntu mantic/main s390x libpython3.11-dev s390x 3.11.4-1 [5056 kB] Get:238 http://ftpmaster.internal/ubuntu mantic/main s390x libpython3-dev s390x 3.11.4-5 [9764 B] Get:239 http://ftpmaster.internal/ubuntu mantic/main s390x libpython3-all-dev s390x 3.11.4-5 [908 B] Get:240 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5xml5 s390x 5.15.10+dfsg-3 [129 kB] Get:241 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5designer5 s390x 5.15.10-3 [2792 kB] Get:242 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5sql5 s390x 5.15.10+dfsg-3 [130 kB] Get:243 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5help5 s390x 5.15.10-3 [155 kB] Get:244 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5opengl5 s390x 5.15.10+dfsg-3 [155 kB] Get:245 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5svg5 s390x 5.15.10-2 [142 kB] Get:246 http://ftpmaster.internal/ubuntu mantic/universe s390x libqt5test5 s390x 5.15.10+dfsg-3 [155 kB] Get:247 http://ftpmaster.internal/ubuntu mantic/universe s390x libscotch-7.0 s390x 7.0.3-2 [457 kB] Get:248 http://ftpmaster.internal/ubuntu mantic/universe s390x libtbbmalloc2 s390x 2021.9.0-2ubuntu1 [55.2 kB] Get:249 http://ftpmaster.internal/ubuntu mantic/universe s390x libtbbbind-2-5 s390x 2021.9.0-2ubuntu1 [14.6 kB] Get:250 http://ftpmaster.internal/ubuntu mantic/universe s390x libtbb12 s390x 2021.9.0-2ubuntu1 [90.1 kB] Get:251 http://ftpmaster.internal/ubuntu mantic/main s390x libtcl8.6 s390x 8.6.13+dfsg-2 [948 kB] Get:252 http://ftpmaster.internal/ubuntu mantic/main s390x libtheora0 s390x 1.1.1+dfsg.1-16.1 [262 kB] Get:253 http://ftpmaster.internal/ubuntu mantic/main s390x libxft2 s390x 2.3.6-1 [44.3 kB] Get:254 http://ftpmaster.internal/ubuntu mantic/main s390x libxss1 s390x 1:1.2.3-1build2 [8192 B] Get:255 http://ftpmaster.internal/ubuntu mantic/main s390x libtk8.6 s390x 8.6.13-2 [757 kB] Get:256 http://ftpmaster.internal/ubuntu mantic/universe s390x libtrilinos-zoltan-13.2 s390x 13.2.0-4 [381 kB] Get:257 http://ftpmaster.internal/ubuntu mantic/main s390x libopengl0 s390x 1.6.0-1 [45.8 kB] Get:258 http://ftpmaster.internal/ubuntu mantic/universe s390x libvtk9.1 s390x 9.1.0+really9.1.0+dfsg2-6 [19.3 MB] Get:259 http://ftpmaster.internal/ubuntu mantic/universe s390x libvtk9.1-qt s390x 9.1.0+really9.1.0+dfsg2-6 [167 kB] Get:260 http://ftpmaster.internal/ubuntu mantic/main s390x python3-numpy s390x 1:1.24.2-1 [3765 kB] Get:261 http://ftpmaster.internal/ubuntu mantic/main s390x python3-six all 1.16.0-4 [12.4 kB] Get:262 http://ftpmaster.internal/ubuntu mantic/main s390x python3-configobj all 5.0.8-2 [34.5 kB] Get:263 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-traits s390x 6.3.2-1build3 [4076 kB] Get:264 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyqt5.sip s390x 12.12.2-1 [63.3 kB] Get:265 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyqt5 s390x 5.15.9+dfsg-2 [2763 kB] Get:266 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyqt5.qtopengl s390x 5.15.9+dfsg-2 [137 kB] Get:267 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyqt5.qtsvg s390x 5.15.9+dfsg-2 [29.6 kB] Get:268 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyqt5.qtwebkit s390x 5.15.9+dfsg-2 [112 kB] Get:269 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyface all 7.4.0-1 [582 kB] Get:270 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-traitsui all 7.2.1-2 [5091 kB] Get:271 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-apptools all 5.1.0-2 [109 kB] Get:272 http://ftpmaster.internal/ubuntu mantic/main s390x python3-setuptools all 68.0.0-2 [396 kB] Get:273 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-envisage all 6.1.0-1 [129 kB] Get:274 http://ftpmaster.internal/ubuntu mantic/universe s390x openmpi-common all 4.1.5-2ubuntu1 [168 kB] Get:275 http://ftpmaster.internal/ubuntu mantic/universe s390x openmpi-bin s390x 4.1.5-2ubuntu1 [82.3 kB] Get:276 http://ftpmaster.internal/ubuntu mantic/universe s390x mpi-default-bin s390x 1.14 [2898 B] Get:277 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-mpi4py s390x 3.1.4-2build1 [435 kB] Get:278 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-vtk9 s390x 9.1.0+really9.1.0+dfsg2-6 [7051 kB] Get:279 http://ftpmaster.internal/ubuntu mantic/universe s390x mayavi2 s390x 4.8.0-2 [20.7 MB] Get:280 http://ftpmaster.internal/ubuntu mantic/universe s390x mesa-opencl-icd s390x 23.1.3-1ubuntu1 [12.1 MB] Get:281 http://ftpmaster.internal/ubuntu mantic/main s390x python-babel-localedata all 2.10.3-1 [6357 kB] Get:282 http://ftpmaster.internal/ubuntu mantic/main s390x python3-all s390x 3.11.4-5 [898 B] Get:283 http://ftpmaster.internal/ubuntu mantic/main s390x python3.11-dev s390x 3.11.4-1 [618 kB] Get:284 http://ftpmaster.internal/ubuntu mantic/main s390x python3-dev s390x 3.11.4-5 [26.8 kB] Get:285 http://ftpmaster.internal/ubuntu mantic/main s390x python3-all-dev s390x 3.11.4-5 [906 B] Get:286 http://ftpmaster.internal/ubuntu mantic/main s390x python3-appdirs all 1.4.4-4 [10.9 kB] Get:287 http://ftpmaster.internal/ubuntu mantic/main s390x python3-tz all 2023.3-4 [31.3 kB] Get:288 http://ftpmaster.internal/ubuntu mantic/main s390x python3-babel all 2.10.3-1 [87.5 kB] Get:289 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-beaker all 1.12.1-1ubuntu1 [40.4 kB] Get:290 http://ftpmaster.internal/ubuntu mantic/main s390x python3-certifi all 2022.9.24-1 [155 kB] Get:291 http://ftpmaster.internal/ubuntu mantic/main s390x python3-chardet all 5.1.0+dfsg-2 [119 kB] Get:292 http://ftpmaster.internal/ubuntu mantic/main s390x python3-markupsafe s390x 2.1.3-1 [12.3 kB] Get:293 http://ftpmaster.internal/ubuntu mantic/main s390x python3-mako all 1.2.4+ds-2 [63.3 kB] Get:294 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-typing-extensions all 4.7.1-1 [57.9 kB] Get:295 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-platformdirs all 3.10.0-1 [16.3 kB] Get:296 http://ftpmaster.internal/ubuntu mantic/main s390x python3-decorator all 5.1.1-4 [10.1 kB] Get:297 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pytools all 2022.1.14-2 [54.2 kB] Get:298 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-compyle all 0.8.1-4 [91.4 kB] Get:299 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-cyarray s390x 1.1-5build1 [97.6 kB] Get:300 http://ftpmaster.internal/ubuntu mantic/main s390x python3-roman all 3.3-3 [9632 B] Get:301 http://ftpmaster.internal/ubuntu mantic/main s390x python3-docutils all 0.19+dfsg-7 [386 kB] Get:302 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-h5py-serial s390x 3.7.0-8 [816 kB] Get:303 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-h5py all 3.7.0-8 [4742 B] Get:304 http://ftpmaster.internal/ubuntu mantic/main s390x python3-idna all 3.3-2 [45.4 kB] Get:305 http://ftpmaster.internal/ubuntu mantic/main s390x python3-imagesize all 1.4.1-1 [6844 B] Get:306 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] Get:307 http://ftpmaster.internal/ubuntu mantic/main s390x python3-jinja2 all 3.1.2-1 [107 kB] Get:308 http://ftpmaster.internal/ubuntu mantic/main s390x python3-packaging all 23.1-1 [38.1 kB] Get:309 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pluggy all 1.2.0-1 [19.2 kB] Get:310 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyopencl s390x 2023.1.1-1 [456 kB] Get:311 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyside2.qtcore s390x 5.15.10-3 [1147 kB] Get:312 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyside2.qtgui s390x 5.15.10-3 [1212 kB] Get:313 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyside2.qtwidgets s390x 5.15.10-3 [1882 kB] Get:314 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pytest all 7.4.0-2 [243 kB] Get:315 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pytest-runner all 2.11.1-4 [7450 B] Get:316 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-python-utils all 3.7.0-1 [70.6 kB] Get:317 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-pyzoltan s390x 1.0.1-6 [120 kB] Get:318 http://ftpmaster.internal/ubuntu mantic/main s390x python3-urllib3 all 1.26.16-1 [102 kB] Get:319 http://ftpmaster.internal/ubuntu mantic/main s390x python3-requests all 2.31.0+dfsg-1ubuntu1 [50.7 kB] Get:320 http://ftpmaster.internal/ubuntu mantic/main s390x python3-snowballstemmer all 2.2.0-4 [59.7 kB] Get:321 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x sphinx-common all 5.3.0-7 [691 kB] Get:322 http://ftpmaster.internal/ubuntu mantic/main s390x python3-alabaster all 0.7.12-1 [17.8 kB] Get:323 http://ftpmaster.internal/ubuntu mantic-proposed/main s390x python3-sphinx all 5.3.0-7 [556 kB] Get:324 http://ftpmaster.internal/ubuntu mantic/main s390x sphinx-rtd-theme-common all 1.2.2+dfsg-1 [991 kB] Get:325 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-sphinxcontrib.jquery all 4.1-3 [6892 B] Get:326 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-sphinx-rtd-theme all 1.2.2+dfsg-1 [23.2 kB] Get:327 http://ftpmaster.internal/ubuntu mantic/universe s390x python3-stl s390x 2.9.0-2build2 [37.3 kB] Get:328 http://ftpmaster.internal/ubuntu mantic/main s390x libibverbs-dev s390x 47.0-1 [705 kB] Get:329 http://ftpmaster.internal/ubuntu mantic/main s390x libjs-mathjax all 2.7.9+dfsg-1 [5665 kB] Get:330 http://ftpmaster.internal/ubuntu mantic/universe s390x libopenmpi-dev s390x 4.1.5-2ubuntu1 [824 kB] Get:331 http://ftpmaster.internal/ubuntu mantic/universe s390x trilinos-dev s390x 13.2.0-4 [12.8 kB] Get:332 http://ftpmaster.internal/ubuntu mantic/universe s390x libtrilinos-zoltan-dev s390x 13.2.0-4 [32.3 kB] Get:333 http://ftpmaster.internal/ubuntu mantic/universe s390x mpi-default-dev s390x 1.14 [3698 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 297 MB in 24s (12.3 MB/s) Selecting previously unselected package libpython3.11-minimal:s390x. (Reading database ... 13292 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.4-1_s390x.deb ... Unpacking libpython3.11-minimal:s390x (3.11.4-1) ... Selecting previously unselected package libexpat1:s390x. Preparing to unpack .../libexpat1_2.5.0-2_s390x.deb ... Unpacking libexpat1:s390x (2.5.0-2) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.4-1_s390x.deb ... Unpacking python3.11-minimal (3.11.4-1) ... Setting up libpython3.11-minimal:s390x (3.11.4-1) ... Setting up libexpat1:s390x (2.5.0-2) ... Setting up python3.11-minimal (3.11.4-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.11.4-5_s390x.deb ... Unpacking python3-minimal (3.11.4-5) ... Selecting previously unselected package media-types. Preparing to unpack .../media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package libpython3.11-stdlib:s390x. Preparing to unpack .../libpython3.11-stdlib_3.11.4-1_s390x.deb ... Unpacking libpython3.11-stdlib:s390x (3.11.4-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../python3.11_3.11.4-1_s390x.deb ... Unpacking python3.11 (3.11.4-1) ... Selecting previously unselected package libpython3-stdlib:s390x. Preparing to unpack .../libpython3-stdlib_3.11.4-5_s390x.deb ... Unpacking libpython3-stdlib:s390x (3.11.4-5) ... Setting up python3-minimal (3.11.4-5) ... Selecting previously unselected package python3. (Reading database ... 14014 files and directories currently installed.) Preparing to unpack .../000-python3_3.11.4-5_s390x.deb ... Unpacking python3 (3.11.4-5) ... Selecting previously unselected package fonts-lato. Preparing to unpack .../001-fonts-lato_2.0-2.1_all.deb ... Unpacking fonts-lato (2.0-2.1) ... Selecting previously unselected package libglib2.0-0:s390x. Preparing to unpack .../002-libglib2.0-0_2.77.2-1_s390x.deb ... Unpacking libglib2.0-0:s390x (2.77.2-1) ... Selecting previously unselected package libcap2-bin. Preparing to unpack .../003-libcap2-bin_1%3a2.66-4ubuntu1_s390x.deb ... Unpacking libcap2-bin (1:2.66-4ubuntu1) ... Selecting previously unselected package libgstreamer1.0-0:s390x. Preparing to unpack .../004-libgstreamer1.0-0_1.22.5-1_s390x.deb ... Unpacking libgstreamer1.0-0:s390x (1.22.5-1) ... Selecting previously unselected package liborc-0.4-0:s390x. Preparing to unpack .../005-liborc-0.4-0_1%3a0.4.34-3_s390x.deb ... Unpacking liborc-0.4-0:s390x (1:0.4.34-3) ... Selecting previously unselected package iso-codes. Preparing to unpack .../006-iso-codes_4.15.0-1_all.deb ... Unpacking iso-codes (4.15.0-1) ... Selecting previously unselected package libgstreamer-plugins-base1.0-0:s390x. Preparing to unpack .../007-libgstreamer-plugins-base1.0-0_1.22.5-1_s390x.deb ... Unpacking libgstreamer-plugins-base1.0-0:s390x (1.22.5-1) ... Selecting previously unselected package libhyphen0:s390x. Preparing to unpack .../008-libhyphen0_2.8.8-7build2_s390x.deb ... Unpacking libhyphen0:s390x (2.8.8-7build2) ... Selecting previously unselected package libicu72:s390x. Preparing to unpack .../009-libicu72_72.1-3ubuntu2_s390x.deb ... Unpacking libicu72:s390x (72.1-3ubuntu2) ... Selecting previously unselected package libjpeg-turbo8:s390x. Preparing to unpack .../010-libjpeg-turbo8_2.1.5-2ubuntu1_s390x.deb ... Unpacking libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... Selecting previously unselected package libjpeg8:s390x. Preparing to unpack .../011-libjpeg8_8c-2ubuntu11_s390x.deb ... Unpacking libjpeg8:s390x (8c-2ubuntu11) ... Selecting previously unselected package libxml2:s390x. Preparing to unpack .../012-libxml2_2.9.14+dfsg-1.3_s390x.deb ... Unpacking libxml2:s390x (2.9.14+dfsg-1.3) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../013-shared-mime-info_2.2-1_s390x.deb ... Unpacking shared-mime-info (2.2-1) ... Selecting previously unselected package libdouble-conversion3:s390x. Preparing to unpack .../014-libdouble-conversion3_3.3.0-1_s390x.deb ... Unpacking libdouble-conversion3:s390x (3.3.0-1) ... Selecting previously unselected package libpcre2-16-0:s390x. Preparing to unpack .../015-libpcre2-16-0_10.42-2_s390x.deb ... Unpacking libpcre2-16-0:s390x (10.42-2) ... Selecting previously unselected package libqt5core5a:s390x. Preparing to unpack .../016-libqt5core5a_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5core5a:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libbrotli1:s390x. Preparing to unpack .../017-libbrotli1_1.0.9-2build8_s390x.deb ... Unpacking libbrotli1:s390x (1.0.9-2build8) ... Selecting previously unselected package libfreetype6:s390x. Preparing to unpack .../018-libfreetype6_2.13.0+dfsg-1_s390x.deb ... Unpacking libfreetype6:s390x (2.13.0+dfsg-1) ... Selecting previously unselected package fonts-noto-core. Preparing to unpack .../019-fonts-noto-core_20201225-1build1_all.deb ... Unpacking fonts-noto-core (20201225-1build1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../020-fontconfig-config_2.14.2-3ubuntu1_s390x.deb ... Unpacking fontconfig-config (2.14.2-3ubuntu1) ... Selecting previously unselected package libfontconfig1:s390x. Preparing to unpack .../021-libfontconfig1_2.14.2-3ubuntu1_s390x.deb ... Unpacking libfontconfig1:s390x (2.14.2-3ubuntu1) ... Selecting previously unselected package fontconfig. Preparing to unpack .../022-fontconfig_2.14.2-3ubuntu1_s390x.deb ... Unpacking fontconfig (2.14.2-3ubuntu1) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../023-libdrm-common_2.4.115-1_all.deb ... Unpacking libdrm-common (2.4.115-1) ... Selecting previously unselected package libdrm2:s390x. Preparing to unpack .../024-libdrm2_2.4.115-1_s390x.deb ... Unpacking libdrm2:s390x (2.4.115-1) ... Selecting previously unselected package libglvnd0:s390x. Preparing to unpack .../025-libglvnd0_1.6.0-1_s390x.deb ... Unpacking libglvnd0:s390x (1.6.0-1) ... Selecting previously unselected package libwayland-server0:s390x. Preparing to unpack .../026-libwayland-server0_1.22.0-2_s390x.deb ... Unpacking libwayland-server0:s390x (1.22.0-2) ... Selecting previously unselected package libgbm1:s390x. Preparing to unpack .../027-libgbm1_23.1.3-1ubuntu1_s390x.deb ... Unpacking libgbm1:s390x (23.1.3-1ubuntu1) ... Selecting previously unselected package libglapi-mesa:s390x. Preparing to unpack .../028-libglapi-mesa_23.1.3-1ubuntu1_s390x.deb ... Unpacking libglapi-mesa:s390x (23.1.3-1ubuntu1) ... Selecting previously unselected package libwayland-client0:s390x. Preparing to unpack .../029-libwayland-client0_1.22.0-2_s390x.deb ... Unpacking libwayland-client0:s390x (1.22.0-2) ... Selecting previously unselected package libxau6:s390x. Preparing to unpack .../030-libxau6_1%3a1.0.9-1build5_s390x.deb ... Unpacking libxau6:s390x (1:1.0.9-1build5) ... Selecting previously unselected package libbsd0:s390x. Preparing to unpack .../031-libbsd0_0.11.7-4_s390x.deb ... Unpacking libbsd0:s390x (0.11.7-4) ... Selecting previously unselected package libxdmcp6:s390x. Preparing to unpack .../032-libxdmcp6_1%3a1.1.3-0ubuntu5_s390x.deb ... Unpacking libxdmcp6:s390x (1:1.1.3-0ubuntu5) ... Selecting previously unselected package libxcb1:s390x. Preparing to unpack .../033-libxcb1_1.15-1_s390x.deb ... Unpacking libxcb1:s390x (1.15-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../034-libx11-data_2%3a1.8.6-1_all.deb ... Unpacking libx11-data (2:1.8.6-1) ... Selecting previously unselected package libx11-6:s390x. Preparing to unpack .../035-libx11-6_2%3a1.8.6-1_s390x.deb ... Unpacking libx11-6:s390x (2:1.8.6-1) ... Selecting previously unselected package libx11-xcb1:s390x. Preparing to unpack .../036-libx11-xcb1_2%3a1.8.6-1_s390x.deb ... Unpacking libx11-xcb1:s390x (2:1.8.6-1) ... Selecting previously unselected package libxcb-dri2-0:s390x. Preparing to unpack .../037-libxcb-dri2-0_1.15-1_s390x.deb ... Unpacking libxcb-dri2-0:s390x (1.15-1) ... Selecting previously unselected package libxcb-dri3-0:s390x. Preparing to unpack .../038-libxcb-dri3-0_1.15-1_s390x.deb ... Unpacking libxcb-dri3-0:s390x (1.15-1) ... Selecting previously unselected package libxcb-present0:s390x. Preparing to unpack .../039-libxcb-present0_1.15-1_s390x.deb ... Unpacking libxcb-present0:s390x (1.15-1) ... Selecting previously unselected package libxcb-randr0:s390x. Preparing to unpack .../040-libxcb-randr0_1.15-1_s390x.deb ... Unpacking libxcb-randr0:s390x (1.15-1) ... Selecting previously unselected package libxcb-sync1:s390x. Preparing to unpack .../041-libxcb-sync1_1.15-1_s390x.deb ... Unpacking libxcb-sync1:s390x (1.15-1) ... Selecting previously unselected package libxcb-xfixes0:s390x. Preparing to unpack .../042-libxcb-xfixes0_1.15-1_s390x.deb ... Unpacking libxcb-xfixes0:s390x (1.15-1) ... Selecting previously unselected package libxshmfence1:s390x. Preparing to unpack .../043-libxshmfence1_1.3-1build4_s390x.deb ... Unpacking libxshmfence1:s390x (1.3-1build4) ... Selecting previously unselected package libegl-mesa0:s390x. Preparing to unpack .../044-libegl-mesa0_23.1.3-1ubuntu1_s390x.deb ... Unpacking libegl-mesa0:s390x (23.1.3-1ubuntu1) ... Selecting previously unselected package libegl1:s390x. Preparing to unpack .../045-libegl1_1.6.0-1_s390x.deb ... Unpacking libegl1:s390x (1.6.0-1) ... Selecting previously unselected package libxcb-glx0:s390x. Preparing to unpack .../046-libxcb-glx0_1.15-1_s390x.deb ... Unpacking libxcb-glx0:s390x (1.15-1) ... Selecting previously unselected package libxcb-shm0:s390x. Preparing to unpack .../047-libxcb-shm0_1.15-1_s390x.deb ... Unpacking libxcb-shm0:s390x (1.15-1) ... Selecting previously unselected package libxext6:s390x. Preparing to unpack .../048-libxext6_2%3a1.3.4-1build1_s390x.deb ... Unpacking libxext6:s390x (2:1.3.4-1build1) ... Selecting previously unselected package libxfixes3:s390x. Preparing to unpack .../049-libxfixes3_1%3a6.0.0-2_s390x.deb ... Unpacking libxfixes3:s390x (1:6.0.0-2) ... Selecting previously unselected package libxxf86vm1:s390x. Preparing to unpack .../050-libxxf86vm1_1%3a1.1.4-1build3_s390x.deb ... Unpacking libxxf86vm1:s390x (1:1.1.4-1build3) ... Selecting previously unselected package libdrm-amdgpu1:s390x. Preparing to unpack .../051-libdrm-amdgpu1_2.4.115-1_s390x.deb ... Unpacking libdrm-amdgpu1:s390x (2.4.115-1) ... Selecting previously unselected package libdrm-nouveau2:s390x. Preparing to unpack .../052-libdrm-nouveau2_2.4.115-1_s390x.deb ... Unpacking libdrm-nouveau2:s390x (2.4.115-1) ... Selecting previously unselected package libdrm-radeon1:s390x. Preparing to unpack .../053-libdrm-radeon1_2.4.115-1_s390x.deb ... Unpacking libdrm-radeon1:s390x (2.4.115-1) ... Selecting previously unselected package libelf1:s390x. Preparing to unpack .../054-libelf1_0.189-4_s390x.deb ... Unpacking libelf1:s390x (0.189-4) ... Selecting previously unselected package libedit2:s390x. Preparing to unpack .../055-libedit2_3.1-20221030-2_s390x.deb ... Unpacking libedit2:s390x (3.1-20221030-2) ... Selecting previously unselected package libllvm15:s390x. Preparing to unpack .../056-libllvm15_1%3a15.0.7-8_s390x.deb ... Unpacking libllvm15:s390x (1:15.0.7-8) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../057-libsensors-config_1%3a3.6.0-7ubuntu1_all.deb ... Unpacking libsensors-config (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libsensors5:s390x. Preparing to unpack .../058-libsensors5_1%3a3.6.0-7ubuntu1_s390x.deb ... Unpacking libsensors5:s390x (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libgl1-mesa-dri:s390x. Preparing to unpack .../059-libgl1-mesa-dri_23.1.3-1ubuntu1_s390x.deb ... Unpacking libgl1-mesa-dri:s390x (23.1.3-1ubuntu1) ... Selecting previously unselected package libglx-mesa0:s390x. Preparing to unpack .../060-libglx-mesa0_23.1.3-1ubuntu1_s390x.deb ... Unpacking libglx-mesa0:s390x (23.1.3-1ubuntu1) ... Selecting previously unselected package libglx0:s390x. Preparing to unpack .../061-libglx0_1.6.0-1_s390x.deb ... Unpacking libglx0:s390x (1.6.0-1) ... Selecting previously unselected package libgl1:s390x. Preparing to unpack .../062-libgl1_1.6.0-1_s390x.deb ... Unpacking libgl1:s390x (1.6.0-1) ... Selecting previously unselected package libgraphite2-3:s390x. Preparing to unpack .../063-libgraphite2-3_1.3.14-1build2_s390x.deb ... Unpacking libgraphite2-3:s390x (1.3.14-1build2) ... Selecting previously unselected package libharfbuzz0b:s390x. Preparing to unpack .../064-libharfbuzz0b_8.0.1-1_s390x.deb ... Unpacking libharfbuzz0b:s390x (8.0.1-1) ... Selecting previously unselected package x11-common. Preparing to unpack .../065-x11-common_1%3a7.7+23ubuntu2_all.deb ... Unpacking x11-common (1:7.7+23ubuntu2) ... Selecting previously unselected package libice6:s390x. Preparing to unpack .../066-libice6_2%3a1.0.10-1build2_s390x.deb ... Unpacking libice6:s390x (2:1.0.10-1build2) ... Selecting previously unselected package libevdev2:s390x. Preparing to unpack .../067-libevdev2_1.13.1+dfsg-1_s390x.deb ... Unpacking libevdev2:s390x (1.13.1+dfsg-1) ... Selecting previously unselected package libmtdev1:s390x. Preparing to unpack .../068-libmtdev1_1.1.6-1build4_s390x.deb ... Unpacking libmtdev1:s390x (1.1.6-1build4) ... Selecting previously unselected package libgudev-1.0-0:s390x. Preparing to unpack .../069-libgudev-1.0-0_1%3a238-2_s390x.deb ... Unpacking libgudev-1.0-0:s390x (1:238-2) ... Selecting previously unselected package libwacom-common. Preparing to unpack .../070-libwacom-common_2.7.0-1_all.deb ... Unpacking libwacom-common (2.7.0-1) ... Selecting previously unselected package libwacom9:s390x. Preparing to unpack .../071-libwacom9_2.7.0-1_s390x.deb ... Unpacking libwacom9:s390x (2.7.0-1) ... Selecting previously unselected package libinput-bin. Preparing to unpack .../072-libinput-bin_1.23.0-2_s390x.deb ... Unpacking libinput-bin (1.23.0-2) ... Selecting previously unselected package libinput10:s390x. Preparing to unpack .../073-libinput10_1.23.0-2_s390x.deb ... Unpacking libinput10:s390x (1.23.0-2) ... Selecting previously unselected package libmd4c0:s390x. Preparing to unpack .../074-libmd4c0_0.4.8-1_s390x.deb ... Unpacking libmd4c0:s390x (0.4.8-1) ... Selecting previously unselected package libdbus-1-3:s390x. Preparing to unpack .../075-libdbus-1-3_1.14.8-2ubuntu1_s390x.deb ... Unpacking libdbus-1-3:s390x (1.14.8-2ubuntu1) ... Selecting previously unselected package libqt5dbus5:s390x. Preparing to unpack .../076-libqt5dbus5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5dbus5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libqt5network5:s390x. Preparing to unpack .../077-libqt5network5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5network5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libsm6:s390x. Preparing to unpack .../078-libsm6_2%3a1.2.3-1build2_s390x.deb ... Unpacking libsm6:s390x (2:1.2.3-1build2) ... Selecting previously unselected package libxcb-icccm4:s390x. Preparing to unpack .../079-libxcb-icccm4_0.4.1-1.1build2_s390x.deb ... Unpacking libxcb-icccm4:s390x (0.4.1-1.1build2) ... Selecting previously unselected package libxcb-util1:s390x. Preparing to unpack .../080-libxcb-util1_0.4.0-1build2_s390x.deb ... Unpacking libxcb-util1:s390x (0.4.0-1build2) ... Selecting previously unselected package libxcb-image0:s390x. Preparing to unpack .../081-libxcb-image0_0.4.0-2_s390x.deb ... Unpacking libxcb-image0:s390x (0.4.0-2) ... Selecting previously unselected package libxcb-keysyms1:s390x. Preparing to unpack .../082-libxcb-keysyms1_0.4.0-1build3_s390x.deb ... Unpacking libxcb-keysyms1:s390x (0.4.0-1build3) ... Selecting previously unselected package libxcb-render0:s390x. Preparing to unpack .../083-libxcb-render0_1.15-1_s390x.deb ... Unpacking libxcb-render0:s390x (1.15-1) ... Selecting previously unselected package libxcb-render-util0:s390x. Preparing to unpack .../084-libxcb-render-util0_0.3.9-1build3_s390x.deb ... Unpacking libxcb-render-util0:s390x (0.3.9-1build3) ... Selecting previously unselected package libxcb-shape0:s390x. Preparing to unpack .../085-libxcb-shape0_1.15-1_s390x.deb ... Unpacking libxcb-shape0:s390x (1.15-1) ... Selecting previously unselected package libxcb-xinerama0:s390x. Preparing to unpack .../086-libxcb-xinerama0_1.15-1_s390x.deb ... Unpacking libxcb-xinerama0:s390x (1.15-1) ... Selecting previously unselected package libxcb-xinput0:s390x. Preparing to unpack .../087-libxcb-xinput0_1.15-1_s390x.deb ... Unpacking libxcb-xinput0:s390x (1.15-1) ... Selecting previously unselected package libxcb-xkb1:s390x. Preparing to unpack .../088-libxcb-xkb1_1.15-1_s390x.deb ... Unpacking libxcb-xkb1:s390x (1.15-1) ... Selecting previously unselected package xkb-data. Preparing to unpack .../089-xkb-data_2.38-2_all.deb ... Unpacking xkb-data (2.38-2) ... Selecting previously unselected package libxkbcommon0:s390x. Preparing to unpack .../090-libxkbcommon0_1.5.0-1_s390x.deb ... Unpacking libxkbcommon0:s390x (1.5.0-1) ... Selecting previously unselected package libxkbcommon-x11-0:s390x. Preparing to unpack .../091-libxkbcommon-x11-0_1.5.0-1_s390x.deb ... Unpacking libxkbcommon-x11-0:s390x (1.5.0-1) ... Selecting previously unselected package libxrender1:s390x. Preparing to unpack .../092-libxrender1_1%3a0.9.10-1.1_s390x.deb ... Unpacking libxrender1:s390x (1:0.9.10-1.1) ... Selecting previously unselected package libqt5gui5:s390x. Preparing to unpack .../093-libqt5gui5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5gui5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libqt5positioning5:s390x. Preparing to unpack .../094-libqt5positioning5_5.15.10+dfsg-2_s390x.deb ... Unpacking libqt5positioning5:s390x (5.15.10+dfsg-2) ... Selecting previously unselected package libavahi-common-data:s390x. Preparing to unpack .../095-libavahi-common-data_0.8-10ubuntu1_s390x.deb ... Unpacking libavahi-common-data:s390x (0.8-10ubuntu1) ... Selecting previously unselected package libavahi-common3:s390x. Preparing to unpack .../096-libavahi-common3_0.8-10ubuntu1_s390x.deb ... Unpacking libavahi-common3:s390x (0.8-10ubuntu1) ... Selecting previously unselected package libavahi-client3:s390x. Preparing to unpack .../097-libavahi-client3_0.8-10ubuntu1_s390x.deb ... Unpacking libavahi-client3:s390x (0.8-10ubuntu1) ... Selecting previously unselected package libcups2:s390x. Preparing to unpack .../098-libcups2_2.4.6-0ubuntu1_s390x.deb ... Unpacking libcups2:s390x (2.4.6-0ubuntu1) ... Selecting previously unselected package libqt5widgets5:s390x. Preparing to unpack .../099-libqt5widgets5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5widgets5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libqt5printsupport5:s390x. Preparing to unpack .../100-libqt5printsupport5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5printsupport5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libqt5qml5:s390x. Preparing to unpack .../101-libqt5qml5_5.15.10+dfsg-2_s390x.deb ... Unpacking libqt5qml5:s390x (5.15.10+dfsg-2) ... Selecting previously unselected package libqt5qmlmodels5:s390x. Preparing to unpack .../102-libqt5qmlmodels5_5.15.10+dfsg-2_s390x.deb ... Unpacking libqt5qmlmodels5:s390x (5.15.10+dfsg-2) ... Selecting previously unselected package libqt5quick5:s390x. Preparing to unpack .../103-libqt5quick5_5.15.10+dfsg-2_s390x.deb ... Unpacking libqt5quick5:s390x (5.15.10+dfsg-2) ... Selecting previously unselected package libqt5sensors5:s390x. Preparing to unpack .../104-libqt5sensors5_5.15.10-2_s390x.deb ... Unpacking libqt5sensors5:s390x (5.15.10-2) ... Selecting previously unselected package libqt5webchannel5:s390x. Preparing to unpack .../105-libqt5webchannel5_5.15.10-2_s390x.deb ... Unpacking libqt5webchannel5:s390x (5.15.10-2) ... Selecting previously unselected package libwebp7:s390x. Preparing to unpack .../106-libwebp7_1.2.4-0.2_s390x.deb ... Unpacking libwebp7:s390x (1.2.4-0.2) ... Selecting previously unselected package libwoff1:s390x. Preparing to unpack .../107-libwoff1_1.0.2-2_s390x.deb ... Unpacking libwoff1:s390x (1.0.2-2) ... Selecting previously unselected package libxslt1.1:s390x. Preparing to unpack .../108-libxslt1.1_1.1.35-1_s390x.deb ... Unpacking libxslt1.1:s390x (1.1.35-1) ... Selecting previously unselected package libqt5webkit5:s390x. Preparing to unpack .../109-libqt5webkit5_5.212.0~alpha4-33_s390x.deb ... Unpacking libqt5webkit5:s390x (5.212.0~alpha4-33) ... Selecting previously unselected package sgml-base. Preparing to unpack .../110-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../111-python3-pkg-resources_68.0.0-2_all.deb ... Unpacking python3-pkg-resources (68.0.0-2) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../112-python3-pygments_2.15.1+dfsg-1_all.deb ... Unpacking python3-pygments (2.15.1+dfsg-1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../113-bsdextrautils_2.39.1-4ubuntu1_s390x.deb ... Unpacking bsdextrautils (2.39.1-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../114-libmagic-mgc_1%3a5.44-3_s390x.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:s390x. Preparing to unpack .../115-libmagic1_1%3a5.44-3_s390x.deb ... Unpacking libmagic1:s390x (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../116-file_1%3a5.44-3_s390x.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../117-gettext-base_0.21-13_s390x.deb ... Unpacking gettext-base (0.21-13) ... Selecting previously unselected package libuchardet0:s390x. Preparing to unpack .../118-libuchardet0_0.0.7-1build2_s390x.deb ... Unpacking libuchardet0:s390x (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../119-groff-base_1.23.0-2_s390x.deb ... Unpacking groff-base (1.23.0-2) ... Selecting previously unselected package libcbor0.8:s390x. Preparing to unpack .../120-libcbor0.8_0.8.0-2ubuntu1_s390x.deb ... Unpacking libcbor0.8:s390x (0.8.0-2ubuntu1) ... Selecting previously unselected package libfido2-1:s390x. Preparing to unpack .../121-libfido2-1_1.13.0-1_s390x.deb ... Unpacking libfido2-1:s390x (1.13.0-1) ... Selecting previously unselected package libnghttp2-14:s390x. Preparing to unpack .../122-libnghttp2-14_1.55.1-1_s390x.deb ... Unpacking libnghttp2-14:s390x (1.55.1-1) ... Selecting previously unselected package libnuma1:s390x. Preparing to unpack .../123-libnuma1_2.0.16-1_s390x.deb ... Unpacking libnuma1:s390x (2.0.16-1) ... Selecting previously unselected package libpipeline1:s390x. Preparing to unpack .../124-libpipeline1_1.5.7-1_s390x.deb ... Unpacking libpipeline1:s390x (1.5.7-1) ... Selecting previously unselected package libpsl5:s390x. Preparing to unpack .../125-libpsl5_0.21.2-1_s390x.deb ... Unpacking libpsl5:s390x (0.21.2-1) ... Selecting previously unselected package man-db. Preparing to unpack .../126-man-db_2.11.2-3_s390x.deb ... Unpacking man-db (2.11.2-3) ... Selecting previously unselected package openssh-client. Preparing to unpack .../127-openssh-client_1%3a9.3p1-1ubuntu2_s390x.deb ... Unpacking openssh-client (1:9.3p1-1ubuntu2) ... Selecting previously unselected package m4. Preparing to unpack .../128-m4_1.4.19-3_s390x.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../129-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../130-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../131-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../132-autopoint_0.21-13_all.deb ... Unpacking autopoint (0.21-13) ... Selecting previously unselected package cython3. Preparing to unpack .../133-cython3_0.29.36-1ubuntu1_s390x.deb ... Unpacking cython3 (0.29.36-1ubuntu1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../134-libdebhelper-perl_13.11.5ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.11.5ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../135-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../136-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../137-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../138-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../139-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../140-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libdw1:s390x. Preparing to unpack .../141-libdw1_0.189-4_s390x.deb ... Unpacking libdw1:s390x (0.189-4) ... Selecting previously unselected package debugedit. Preparing to unpack .../142-debugedit_1%3a5.0-5_s390x.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../143-dwz_0.15-1_s390x.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package gettext. Preparing to unpack .../144-gettext_0.21-13_s390x.deb ... Unpacking gettext (0.21-13) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../145-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../146-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../147-debhelper_13.11.5ubuntu1_all.deb ... Unpacking debhelper (13.11.5ubuntu1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../148-python3-lib2to3_3.11.4-1_all.deb ... Unpacking python3-lib2to3 (3.11.4-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../149-python3-distutils_3.11.4-1_all.deb ... Unpacking python3-distutils (3.11.4-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../150-dh-python_6.20230813_all.deb ... Unpacking dh-python (6.20230813) ... Selecting previously unselected package xml-core. Preparing to unpack .../151-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package docutils-common. Preparing to unpack .../152-docutils-common_0.19+dfsg-7_all.deb ... Unpacking docutils-common (0.19+dfsg-7) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../153-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Selecting previously unselected package fonts-mathjax. Preparing to unpack .../154-fonts-mathjax_2.7.9+dfsg-1_all.deb ... Unpacking fonts-mathjax (2.7.9+dfsg-1) ... Selecting previously unselected package libgfortran5:s390x. Preparing to unpack .../155-libgfortran5_13.2.0-2ubuntu1_s390x.deb ... Unpacking libgfortran5:s390x (13.2.0-2ubuntu1) ... Selecting previously unselected package libgfortran-12-dev:s390x. Preparing to unpack .../156-libgfortran-12-dev_12.3.0-7ubuntu2_s390x.deb ... Unpacking libgfortran-12-dev:s390x (12.3.0-7ubuntu2) ... Selecting previously unselected package gfortran-12. Preparing to unpack .../157-gfortran-12_12.3.0-7ubuntu2_s390x.deb ... Unpacking gfortran-12 (12.3.0-7ubuntu2) ... Selecting previously unselected package libnl-3-200:s390x. Preparing to unpack .../158-libnl-3-200_3.7.0-0.2_s390x.deb ... Unpacking libnl-3-200:s390x (3.7.0-0.2) ... Selecting previously unselected package libnl-route-3-200:s390x. Preparing to unpack .../159-libnl-route-3-200_3.7.0-0.2_s390x.deb ... Unpacking libnl-route-3-200:s390x (3.7.0-0.2) ... Selecting previously unselected package libibverbs1:s390x. Preparing to unpack .../160-libibverbs1_47.0-1_s390x.deb ... Unpacking libibverbs1:s390x (47.0-1) ... Selecting previously unselected package ibverbs-providers:s390x. Preparing to unpack .../161-ibverbs-providers_47.0-1_s390x.deb ... Unpacking ibverbs-providers:s390x (47.0-1) ... Selecting previously unselected package libaec0:s390x. Preparing to unpack .../162-libaec0_1.0.6-1_s390x.deb ... Unpacking libaec0:s390x (1.0.6-1) ... Selecting previously unselected package libblas3:s390x. Preparing to unpack .../163-libblas3_3.11.0-2_s390x.deb ... Unpacking libblas3:s390x (3.11.0-2) ... Selecting previously unselected package libpixman-1-0:s390x. Preparing to unpack .../164-libpixman-1-0_0.42.2-1_s390x.deb ... Unpacking libpixman-1-0:s390x (0.42.2-1) ... Selecting previously unselected package libcairo2:s390x. Preparing to unpack .../165-libcairo2_1.17.8-2_s390x.deb ... Unpacking libcairo2:s390x (1.17.8-2) ... Selecting previously unselected package libclang-common-15-dev. Preparing to unpack .../166-libclang-common-15-dev_1%3a15.0.7-8_all.deb ... Unpacking libclang-common-15-dev (1:15.0.7-8) ... Selecting previously unselected package libclang-cpp15. Preparing to unpack .../167-libclang-cpp15_1%3a15.0.7-8_s390x.deb ... Unpacking libclang-cpp15 (1:15.0.7-8) ... Selecting previously unselected package libclc-15-dev. Preparing to unpack .../168-libclc-15-dev_1%3a15.0.7-8_all.deb ... Unpacking libclc-15-dev (1:15.0.7-8) ... Selecting previously unselected package libclc-15. Preparing to unpack .../169-libclc-15_1%3a15.0.7-8_all.deb ... Unpacking libclc-15 (1:15.0.7-8) ... Selecting previously unselected package libsasl2-modules-db:s390x. Preparing to unpack .../170-libsasl2-modules-db_2.1.28+dfsg1-3_s390x.deb ... Unpacking libsasl2-modules-db:s390x (2.1.28+dfsg1-3) ... Selecting previously unselected package libsasl2-2:s390x. Preparing to unpack .../171-libsasl2-2_2.1.28+dfsg1-3_s390x.deb ... Unpacking libsasl2-2:s390x (2.1.28+dfsg1-3) ... Selecting previously unselected package libldap2:s390x. Preparing to unpack .../172-libldap2_2.6.6+dfsg-1~exp1ubuntu1_s390x.deb ... Unpacking libldap2:s390x (2.6.6+dfsg-1~exp1ubuntu1) ... Selecting previously unselected package librtmp1:s390x. Preparing to unpack .../173-librtmp1_2.4+20151223.gitfa8646d.1-2build4_s390x.deb ... Unpacking librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build4) ... Selecting previously unselected package libssh-4:s390x. Preparing to unpack .../174-libssh-4_0.10.5-2_s390x.deb ... Unpacking libssh-4:s390x (0.10.5-2) ... Selecting previously unselected package libcurl3-gnutls:s390x. Preparing to unpack .../175-libcurl3-gnutls_8.2.1-1ubuntu2_s390x.deb ... Unpacking libcurl3-gnutls:s390x (8.2.1-1ubuntu2) ... Selecting previously unselected package libcurl4:s390x. Preparing to unpack .../176-libcurl4_8.2.1-1ubuntu2_s390x.deb ... Unpacking libcurl4:s390x (8.2.1-1ubuntu2) ... Selecting previously unselected package libdeflate0:s390x. Preparing to unpack .../177-libdeflate0_1.18-1_s390x.deb ... Unpacking libdeflate0:s390x (1.18-1) ... Selecting previously unselected package libevent-2.1-7:s390x. Preparing to unpack .../178-libevent-2.1-7_2.1.12-stable-8ubuntu3_s390x.deb ... Unpacking libevent-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Selecting previously unselected package libevent-core-2.1-7:s390x. Preparing to unpack .../179-libevent-core-2.1-7_2.1.12-stable-8ubuntu3_s390x.deb ... Unpacking libevent-core-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Selecting previously unselected package libevent-extra-2.1-7:s390x. Preparing to unpack .../180-libevent-extra-2.1-7_2.1.12-stable-8ubuntu3_s390x.deb ... Unpacking libevent-extra-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Selecting previously unselected package libevent-pthreads-2.1-7:s390x. Preparing to unpack .../181-libevent-pthreads-2.1-7_2.1.12-stable-8ubuntu3_s390x.deb ... Unpacking libevent-pthreads-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Selecting previously unselected package libevent-openssl-2.1-7:s390x. Preparing to unpack .../182-libevent-openssl-2.1-7_2.1.12-stable-8ubuntu3_s390x.deb ... Unpacking libevent-openssl-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Selecting previously unselected package libevent-dev. Preparing to unpack .../183-libevent-dev_2.1.12-stable-8ubuntu3_s390x.deb ... Unpacking libevent-dev (2.1.12-stable-8ubuntu3) ... Selecting previously unselected package libexpat1-dev:s390x. Preparing to unpack .../184-libexpat1-dev_2.5.0-2_s390x.deb ... Unpacking libexpat1-dev:s390x (2.5.0-2) ... Selecting previously unselected package librdmacm1:s390x. Preparing to unpack .../185-librdmacm1_47.0-1_s390x.deb ... Unpacking librdmacm1:s390x (47.0-1) ... Selecting previously unselected package libfabric1:s390x. Preparing to unpack .../186-libfabric1_1.17.0-3_s390x.deb ... Unpacking libfabric1:s390x (1.17.0-3) ... Selecting previously unselected package libgl2ps1.4. Preparing to unpack .../187-libgl2ps1.4_1.4.2+dfsg1-2_s390x.deb ... Unpacking libgl2ps1.4 (1.4.2+dfsg1-2) ... Selecting previously unselected package libglew2.2:s390x. Preparing to unpack .../188-libglew2.2_2.2.0-4_s390x.deb ... Unpacking libglew2.2:s390x (2.2.0-4) ... Selecting previously unselected package libsz2:s390x. Preparing to unpack .../189-libsz2_1.0.6-1_s390x.deb ... Unpacking libsz2:s390x (1.0.6-1) ... Selecting previously unselected package libhdf5-103-1:s390x. Preparing to unpack .../190-libhdf5-103-1_1.10.8+repack1-1ubuntu1_s390x.deb ... Unpacking libhdf5-103-1:s390x (1.10.8+repack1-1ubuntu1) ... Selecting previously unselected package libhdf5-hl-100:s390x. Preparing to unpack .../191-libhdf5-hl-100_1.10.8+repack1-1ubuntu1_s390x.deb ... Unpacking libhdf5-hl-100:s390x (1.10.8+repack1-1ubuntu1) ... Selecting previously unselected package libhwloc15:s390x. Preparing to unpack .../192-libhwloc15_2.9.2-1_s390x.deb ... Unpacking libhwloc15:s390x (2.9.2-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../193-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-jquery-ui. Preparing to unpack .../194-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ... Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../195-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../196-libjs-sphinxdoc_5.3.0-7_all.deb ... Unpacking libjs-sphinxdoc (5.3.0-7) ... Selecting previously unselected package libjson-perl. Preparing to unpack .../197-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package libjsoncpp25:s390x. Preparing to unpack .../198-libjsoncpp25_1.9.5-6_s390x.deb ... Unpacking libjsoncpp25:s390x (1.9.5-6) ... Selecting previously unselected package liblapack3:s390x. Preparing to unpack .../199-liblapack3_3.11.0-2_s390x.deb ... Unpacking liblapack3:s390x (3.11.0-2) ... Selecting previously unselected package libllvmspirvlib15:s390x. Preparing to unpack .../200-libllvmspirvlib15_15.0.0-4_s390x.deb ... Unpacking libllvmspirvlib15:s390x (15.0.0-4) ... Selecting previously unselected package libltdl7:s390x. Preparing to unpack .../201-libltdl7_2.4.7-7_s390x.deb ... Unpacking libltdl7:s390x (2.4.7-7) ... Selecting previously unselected package libltdl-dev:s390x. Preparing to unpack .../202-libltdl-dev_2.4.7-7_s390x.deb ... Unpacking libltdl-dev:s390x (2.4.7-7) ... Selecting previously unselected package liblzf1:s390x. Preparing to unpack .../203-liblzf1_3.6-4_s390x.deb ... Unpacking liblzf1:s390x (3.6-4) ... Selecting previously unselected package libnetcdf19:s390x. Preparing to unpack .../204-libnetcdf19_1%3a4.9.2-1_s390x.deb ... Unpacking libnetcdf19:s390x (1:4.9.2-1) ... Selecting previously unselected package libnl-3-dev:s390x. Preparing to unpack .../205-libnl-3-dev_3.7.0-0.2_s390x.deb ... Unpacking libnl-3-dev:s390x (3.7.0-0.2) ... Selecting previously unselected package libnl-route-3-dev:s390x. Preparing to unpack .../206-libnl-route-3-dev_3.7.0-0.2_s390x.deb ... Unpacking libnl-route-3-dev:s390x (3.7.0-0.2) ... Selecting previously unselected package libogg0:s390x. Preparing to unpack .../207-libogg0_1.3.5-3_s390x.deb ... Unpacking libogg0:s390x (1.3.5-3) ... Selecting previously unselected package libmunge2. Preparing to unpack .../208-libmunge2_0.5.15-2_s390x.deb ... Unpacking libmunge2 (0.5.15-2) ... Selecting previously unselected package libpciaccess0:s390x. Preparing to unpack .../209-libpciaccess0_0.17-2_s390x.deb ... Unpacking libpciaccess0:s390x (0.17-2) ... Selecting previously unselected package libxnvctrl0:s390x. Preparing to unpack .../210-libxnvctrl0_510.47.03-0ubuntu1_s390x.deb ... Unpacking libxnvctrl0:s390x (510.47.03-0ubuntu1) ... Selecting previously unselected package ocl-icd-libopencl1:s390x. Preparing to unpack .../211-ocl-icd-libopencl1_2.3.2-1_s390x.deb ... Unpacking ocl-icd-libopencl1:s390x (2.3.2-1) ... Selecting previously unselected package libhwloc-plugins:s390x. Preparing to unpack .../212-libhwloc-plugins_2.9.2-1_s390x.deb ... Unpacking libhwloc-plugins:s390x (2.9.2-1) ... Selecting previously unselected package libpmix2:s390x. Preparing to unpack .../213-libpmix2_5.0.0~rc1-2_s390x.deb ... Unpacking libpmix2:s390x (5.0.0~rc1-2) ... Selecting previously unselected package libopenmpi3:s390x. Preparing to unpack .../214-libopenmpi3_4.1.5-2ubuntu1_s390x.deb ... Unpacking libopenmpi3:s390x (4.1.5-2ubuntu1) ... Selecting previously unselected package libnuma-dev:s390x. Preparing to unpack .../215-libnuma-dev_2.0.16-1_s390x.deb ... Unpacking libnuma-dev:s390x (2.0.16-1) ... Selecting previously unselected package libhwloc-dev:s390x. Preparing to unpack .../216-libhwloc-dev_2.9.2-1_s390x.deb ... Unpacking libhwloc-dev:s390x (2.9.2-1) ... Selecting previously unselected package zlib1g-dev:s390x. Preparing to unpack .../217-zlib1g-dev_1%3a1.2.13.dfsg-1ubuntu5_s390x.deb ... Unpacking zlib1g-dev:s390x (1:1.2.13.dfsg-1ubuntu5) ... Selecting previously unselected package libpmix-dev:s390x. Preparing to unpack .../218-libpmix-dev_5.0.0~rc1-2_s390x.deb ... Unpacking libpmix-dev:s390x (5.0.0~rc1-2) ... Selecting previously unselected package proj-data. Preparing to unpack .../219-proj-data_9.2.1-1_all.deb ... Unpacking proj-data (9.2.1-1) ... Selecting previously unselected package libjbig0:s390x. Preparing to unpack .../220-libjbig0_2.1-6.1ubuntu1_s390x.deb ... Unpacking libjbig0:s390x (2.1-6.1ubuntu1) ... Selecting previously unselected package libtiff6:s390x. Preparing to unpack .../221-libtiff6_4.5.1+git230720-1ubuntu1_s390x.deb ... Unpacking libtiff6:s390x (4.5.1+git230720-1ubuntu1) ... Selecting previously unselected package libproj25:s390x. Preparing to unpack .../222-libproj25_9.2.1-1_s390x.deb ... Unpacking libproj25:s390x (9.2.1-1) ... Selecting previously unselected package libptscotch-7.0:s390x. Preparing to unpack .../223-libptscotch-7.0_7.0.3-2_s390x.deb ... Unpacking libptscotch-7.0:s390x (7.0.3-2) ... Selecting previously unselected package libshiboken2-py3-5.15. Preparing to unpack .../224-libshiboken2-py3-5.15_5.15.10-3_s390x.deb ... Unpacking libshiboken2-py3-5.15 (5.15.10-3) ... Selecting previously unselected package libpyside2-py3-5.15. Preparing to unpack .../225-libpyside2-py3-5.15_5.15.10-3_s390x.deb ... Unpacking libpyside2-py3-5.15 (5.15.10-3) ... Selecting previously unselected package libpython3.11:s390x. Preparing to unpack .../226-libpython3.11_3.11.4-1_s390x.deb ... Unpacking libpython3.11:s390x (3.11.4-1) ... Selecting previously unselected package libpython3.11-dev:s390x. Preparing to unpack .../227-libpython3.11-dev_3.11.4-1_s390x.deb ... Unpacking libpython3.11-dev:s390x (3.11.4-1) ... Selecting previously unselected package libpython3-dev:s390x. Preparing to unpack .../228-libpython3-dev_3.11.4-5_s390x.deb ... Unpacking libpython3-dev:s390x (3.11.4-5) ... Selecting previously unselected package libpython3-all-dev:s390x. Preparing to unpack .../229-libpython3-all-dev_3.11.4-5_s390x.deb ... Unpacking libpython3-all-dev:s390x (3.11.4-5) ... Selecting previously unselected package libqt5xml5:s390x. Preparing to unpack .../230-libqt5xml5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5xml5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libqt5designer5:s390x. Preparing to unpack .../231-libqt5designer5_5.15.10-3_s390x.deb ... Unpacking libqt5designer5:s390x (5.15.10-3) ... Selecting previously unselected package libqt5sql5:s390x. Preparing to unpack .../232-libqt5sql5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5sql5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libqt5help5:s390x. Preparing to unpack .../233-libqt5help5_5.15.10-3_s390x.deb ... Unpacking libqt5help5:s390x (5.15.10-3) ... Selecting previously unselected package libqt5opengl5:s390x. Preparing to unpack .../234-libqt5opengl5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5opengl5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libqt5svg5:s390x. Preparing to unpack .../235-libqt5svg5_5.15.10-2_s390x.deb ... Unpacking libqt5svg5:s390x (5.15.10-2) ... Selecting previously unselected package libqt5test5:s390x. Preparing to unpack .../236-libqt5test5_5.15.10+dfsg-3_s390x.deb ... Unpacking libqt5test5:s390x (5.15.10+dfsg-3) ... Selecting previously unselected package libscotch-7.0:s390x. Preparing to unpack .../237-libscotch-7.0_7.0.3-2_s390x.deb ... Unpacking libscotch-7.0:s390x (7.0.3-2) ... Selecting previously unselected package libtbbmalloc2:s390x. Preparing to unpack .../238-libtbbmalloc2_2021.9.0-2ubuntu1_s390x.deb ... Unpacking libtbbmalloc2:s390x (2021.9.0-2ubuntu1) ... Selecting previously unselected package libtbbbind-2-5:s390x. Preparing to unpack .../239-libtbbbind-2-5_2021.9.0-2ubuntu1_s390x.deb ... Unpacking libtbbbind-2-5:s390x (2021.9.0-2ubuntu1) ... Selecting previously unselected package libtbb12:s390x. Preparing to unpack .../240-libtbb12_2021.9.0-2ubuntu1_s390x.deb ... Unpacking libtbb12:s390x (2021.9.0-2ubuntu1) ... Selecting previously unselected package libtcl8.6:s390x. Preparing to unpack .../241-libtcl8.6_8.6.13+dfsg-2_s390x.deb ... Unpacking libtcl8.6:s390x (8.6.13+dfsg-2) ... Selecting previously unselected package libtheora0:s390x. Preparing to unpack .../242-libtheora0_1.1.1+dfsg.1-16.1_s390x.deb ... Unpacking libtheora0:s390x (1.1.1+dfsg.1-16.1) ... Selecting previously unselected package libxft2:s390x. Preparing to unpack .../243-libxft2_2.3.6-1_s390x.deb ... Unpacking libxft2:s390x (2.3.6-1) ... Selecting previously unselected package libxss1:s390x. Preparing to unpack .../244-libxss1_1%3a1.2.3-1build2_s390x.deb ... Unpacking libxss1:s390x (1:1.2.3-1build2) ... Selecting previously unselected package libtk8.6:s390x. Preparing to unpack .../245-libtk8.6_8.6.13-2_s390x.deb ... Unpacking libtk8.6:s390x (8.6.13-2) ... Selecting previously unselected package libtrilinos-zoltan-13.2:s390x. Preparing to unpack .../246-libtrilinos-zoltan-13.2_13.2.0-4_s390x.deb ... Unpacking libtrilinos-zoltan-13.2:s390x (13.2.0-4) ... Selecting previously unselected package libopengl0:s390x. Preparing to unpack .../247-libopengl0_1.6.0-1_s390x.deb ... Unpacking libopengl0:s390x (1.6.0-1) ... Selecting previously unselected package libvtk9.1:s390x. Preparing to unpack .../248-libvtk9.1_9.1.0+really9.1.0+dfsg2-6_s390x.deb ... Unpacking libvtk9.1:s390x (9.1.0+really9.1.0+dfsg2-6) ... Selecting previously unselected package libvtk9.1-qt:s390x. Preparing to unpack .../249-libvtk9.1-qt_9.1.0+really9.1.0+dfsg2-6_s390x.deb ... Unpacking libvtk9.1-qt:s390x (9.1.0+really9.1.0+dfsg2-6) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../250-python3-numpy_1%3a1.24.2-1_s390x.deb ... Unpacking python3-numpy (1:1.24.2-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../251-python3-six_1.16.0-4_all.deb ... Unpacking python3-six (1.16.0-4) ... Selecting previously unselected package python3-configobj. Preparing to unpack .../252-python3-configobj_5.0.8-2_all.deb ... Unpacking python3-configobj (5.0.8-2) ... Selecting previously unselected package python3-traits. Preparing to unpack .../253-python3-traits_6.3.2-1build3_s390x.deb ... Unpacking python3-traits (6.3.2-1build3) ... Selecting previously unselected package python3-pyqt5.sip. Preparing to unpack .../254-python3-pyqt5.sip_12.12.2-1_s390x.deb ... Unpacking python3-pyqt5.sip (12.12.2-1) ... Selecting previously unselected package python3-pyqt5. Preparing to unpack .../255-python3-pyqt5_5.15.9+dfsg-2_s390x.deb ... Unpacking python3-pyqt5 (5.15.9+dfsg-2) ... Selecting previously unselected package python3-pyqt5.qtopengl. Preparing to unpack .../256-python3-pyqt5.qtopengl_5.15.9+dfsg-2_s390x.deb ... Unpacking python3-pyqt5.qtopengl (5.15.9+dfsg-2) ... Selecting previously unselected package python3-pyqt5.qtsvg. Preparing to unpack .../257-python3-pyqt5.qtsvg_5.15.9+dfsg-2_s390x.deb ... Unpacking python3-pyqt5.qtsvg (5.15.9+dfsg-2) ... Selecting previously unselected package python3-pyqt5.qtwebkit. Preparing to unpack .../258-python3-pyqt5.qtwebkit_5.15.9+dfsg-2_s390x.deb ... Unpacking python3-pyqt5.qtwebkit (5.15.9+dfsg-2) ... Selecting previously unselected package python3-pyface. Preparing to unpack .../259-python3-pyface_7.4.0-1_all.deb ... Unpacking python3-pyface (7.4.0-1) ... Selecting previously unselected package python3-traitsui. Preparing to unpack .../260-python3-traitsui_7.2.1-2_all.deb ... Unpacking python3-traitsui (7.2.1-2) ... Selecting previously unselected package python3-apptools. Preparing to unpack .../261-python3-apptools_5.1.0-2_all.deb ... Unpacking python3-apptools (5.1.0-2) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../262-python3-setuptools_68.0.0-2_all.deb ... Unpacking python3-setuptools (68.0.0-2) ... Selecting previously unselected package python3-envisage. Preparing to unpack .../263-python3-envisage_6.1.0-1_all.deb ... Unpacking python3-envisage (6.1.0-1) ... Selecting previously unselected package openmpi-common. Preparing to unpack .../264-openmpi-common_4.1.5-2ubuntu1_all.deb ... Unpacking openmpi-common (4.1.5-2ubuntu1) ... Selecting previously unselected package openmpi-bin. Preparing to unpack .../265-openmpi-bin_4.1.5-2ubuntu1_s390x.deb ... Unpacking openmpi-bin (4.1.5-2ubuntu1) ... Selecting previously unselected package mpi-default-bin. Preparing to unpack .../266-mpi-default-bin_1.14_s390x.deb ... Unpacking mpi-default-bin (1.14) ... Selecting previously unselected package python3-mpi4py. Preparing to unpack .../267-python3-mpi4py_3.1.4-2build1_s390x.deb ... Unpacking python3-mpi4py (3.1.4-2build1) ... Selecting previously unselected package python3-vtk9. Preparing to unpack .../268-python3-vtk9_9.1.0+really9.1.0+dfsg2-6_s390x.deb ... Unpacking python3-vtk9 (9.1.0+really9.1.0+dfsg2-6) ... Selecting previously unselected package mayavi2. Preparing to unpack .../269-mayavi2_4.8.0-2_s390x.deb ... Unpacking mayavi2 (4.8.0-2) ... Selecting previously unselected package mesa-opencl-icd:s390x. Preparing to unpack .../270-mesa-opencl-icd_23.1.3-1ubuntu1_s390x.deb ... Unpacking mesa-opencl-icd:s390x (23.1.3-1ubuntu1) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../271-python-babel-localedata_2.10.3-1_all.deb ... Unpacking python-babel-localedata (2.10.3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../272-python3-all_3.11.4-5_s390x.deb ... Unpacking python3-all (3.11.4-5) ... Selecting previously unselected package python3.11-dev. Preparing to unpack .../273-python3.11-dev_3.11.4-1_s390x.deb ... Unpacking python3.11-dev (3.11.4-1) ... Selecting previously unselected package python3-dev. Preparing to unpack .../274-python3-dev_3.11.4-5_s390x.deb ... Unpacking python3-dev (3.11.4-5) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../275-python3-all-dev_3.11.4-5_s390x.deb ... Unpacking python3-all-dev (3.11.4-5) ... Selecting previously unselected package python3-appdirs. Preparing to unpack .../276-python3-appdirs_1.4.4-4_all.deb ... Unpacking python3-appdirs (1.4.4-4) ... Selecting previously unselected package python3-tz. Preparing to unpack .../277-python3-tz_2023.3-4_all.deb ... Unpacking python3-tz (2023.3-4) ... Selecting previously unselected package python3-babel. Preparing to unpack .../278-python3-babel_2.10.3-1_all.deb ... Unpacking python3-babel (2.10.3-1) ... Selecting previously unselected package python3-beaker. Preparing to unpack .../279-python3-beaker_1.12.1-1ubuntu1_all.deb ... Unpacking python3-beaker (1.12.1-1ubuntu1) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../280-python3-certifi_2022.9.24-1_all.deb ... Unpacking python3-certifi (2022.9.24-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../281-python3-chardet_5.1.0+dfsg-2_all.deb ... Unpacking python3-chardet (5.1.0+dfsg-2) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../282-python3-markupsafe_2.1.3-1_s390x.deb ... Unpacking python3-markupsafe (2.1.3-1) ... Selecting previously unselected package python3-mako. Preparing to unpack .../283-python3-mako_1.2.4+ds-2_all.deb ... Unpacking python3-mako (1.2.4+ds-2) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../284-python3-typing-extensions_4.7.1-1_all.deb ... Unpacking python3-typing-extensions (4.7.1-1) ... Selecting previously unselected package python3-platformdirs. Preparing to unpack .../285-python3-platformdirs_3.10.0-1_all.deb ... Unpacking python3-platformdirs (3.10.0-1) ... Selecting previously unselected package python3-decorator. Preparing to unpack .../286-python3-decorator_5.1.1-4_all.deb ... Unpacking python3-decorator (5.1.1-4) ... Selecting previously unselected package python3-pytools. Preparing to unpack .../287-python3-pytools_2022.1.14-2_all.deb ... Unpacking python3-pytools (2022.1.14-2) ... Selecting previously unselected package python3-compyle. Preparing to unpack .../288-python3-compyle_0.8.1-4_all.deb ... Unpacking python3-compyle (0.8.1-4) ... Selecting previously unselected package python3-cyarray. Preparing to unpack .../289-python3-cyarray_1.1-5build1_s390x.deb ... Unpacking python3-cyarray (1.1-5build1) ... Selecting previously unselected package python3-roman. Preparing to unpack .../290-python3-roman_3.3-3_all.deb ... Unpacking python3-roman (3.3-3) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../291-python3-docutils_0.19+dfsg-7_all.deb ... Unpacking python3-docutils (0.19+dfsg-7) ... Selecting previously unselected package python3-h5py-serial. Preparing to unpack .../292-python3-h5py-serial_3.7.0-8_s390x.deb ... Unpacking python3-h5py-serial (3.7.0-8) ... Selecting previously unselected package python3-h5py. Preparing to unpack .../293-python3-h5py_3.7.0-8_all.deb ... Unpacking python3-h5py (3.7.0-8) ... Selecting previously unselected package python3-idna. Preparing to unpack .../294-python3-idna_3.3-2_all.deb ... Unpacking python3-idna (3.3-2) ... Selecting previously unselected package python3-imagesize. Preparing to unpack .../295-python3-imagesize_1.4.1-1_all.deb ... Unpacking python3-imagesize (1.4.1-1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../296-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../297-python3-jinja2_3.1.2-1_all.deb ... Unpacking python3-jinja2 (3.1.2-1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../298-python3-packaging_23.1-1_all.deb ... Unpacking python3-packaging (23.1-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../299-python3-pluggy_1.2.0-1_all.deb ... Unpacking python3-pluggy (1.2.0-1) ... Selecting previously unselected package python3-pyopencl. Preparing to unpack .../300-python3-pyopencl_2023.1.1-1_s390x.deb ... Unpacking python3-pyopencl (2023.1.1-1) ... Selecting previously unselected package python3-pyside2.qtcore. Preparing to unpack .../301-python3-pyside2.qtcore_5.15.10-3_s390x.deb ... Unpacking python3-pyside2.qtcore (5.15.10-3) ... Selecting previously unselected package python3-pyside2.qtgui. Preparing to unpack .../302-python3-pyside2.qtgui_5.15.10-3_s390x.deb ... Unpacking python3-pyside2.qtgui (5.15.10-3) ... Selecting previously unselected package python3-pyside2.qtwidgets. Preparing to unpack .../303-python3-pyside2.qtwidgets_5.15.10-3_s390x.deb ... Unpacking python3-pyside2.qtwidgets (5.15.10-3) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../304-python3-pytest_7.4.0-2_all.deb ... Unpacking python3-pytest (7.4.0-2) ... Selecting previously unselected package python3-pytest-runner. Preparing to unpack .../305-python3-pytest-runner_2.11.1-4_all.deb ... Unpacking python3-pytest-runner (2.11.1-4) ... Selecting previously unselected package python3-python-utils. Preparing to unpack .../306-python3-python-utils_3.7.0-1_all.deb ... Unpacking python3-python-utils (3.7.0-1) ... Selecting previously unselected package python3-pyzoltan. Preparing to unpack .../307-python3-pyzoltan_1.0.1-6_s390x.deb ... Unpacking python3-pyzoltan (1.0.1-6) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../308-python3-urllib3_1.26.16-1_all.deb ... Unpacking python3-urllib3 (1.26.16-1) ... Selecting previously unselected package python3-requests. Preparing to unpack .../309-python3-requests_2.31.0+dfsg-1ubuntu1_all.deb ... Unpacking python3-requests (2.31.0+dfsg-1ubuntu1) ... Selecting previously unselected package python3-snowballstemmer. Preparing to unpack .../310-python3-snowballstemmer_2.2.0-4_all.deb ... Unpacking python3-snowballstemmer (2.2.0-4) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../311-sphinx-common_5.3.0-7_all.deb ... Unpacking sphinx-common (5.3.0-7) ... Selecting previously unselected package python3-alabaster. Preparing to unpack .../312-python3-alabaster_0.7.12-1_all.deb ... Unpacking python3-alabaster (0.7.12-1) ... Selecting previously unselected package python3-sphinx. Preparing to unpack .../313-python3-sphinx_5.3.0-7_all.deb ... Unpacking python3-sphinx (5.3.0-7) ... Selecting previously unselected package sphinx-rtd-theme-common. Preparing to unpack .../314-sphinx-rtd-theme-common_1.2.2+dfsg-1_all.deb ... Unpacking sphinx-rtd-theme-common (1.2.2+dfsg-1) ... Selecting previously unselected package python3-sphinxcontrib.jquery. Preparing to unpack .../315-python3-sphinxcontrib.jquery_4.1-3_all.deb ... Unpacking python3-sphinxcontrib.jquery (4.1-3) ... Selecting previously unselected package python3-sphinx-rtd-theme. Preparing to unpack .../316-python3-sphinx-rtd-theme_1.2.2+dfsg-1_all.deb ... Unpacking python3-sphinx-rtd-theme (1.2.2+dfsg-1) ... Selecting previously unselected package python3-stl. Preparing to unpack .../317-python3-stl_2.9.0-2build2_s390x.deb ... Unpacking python3-stl (2.9.0-2build2) ... Selecting previously unselected package libibverbs-dev:s390x. Preparing to unpack .../318-libibverbs-dev_47.0-1_s390x.deb ... Unpacking libibverbs-dev:s390x (47.0-1) ... Selecting previously unselected package libjs-mathjax. Preparing to unpack .../319-libjs-mathjax_2.7.9+dfsg-1_all.deb ... Unpacking libjs-mathjax (2.7.9+dfsg-1) ... Selecting previously unselected package libopenmpi-dev:s390x. Preparing to unpack .../320-libopenmpi-dev_4.1.5-2ubuntu1_s390x.deb ... Unpacking libopenmpi-dev:s390x (4.1.5-2ubuntu1) ... Selecting previously unselected package trilinos-dev:s390x. Preparing to unpack .../321-trilinos-dev_13.2.0-4_s390x.deb ... Unpacking trilinos-dev:s390x (13.2.0-4) ... Selecting previously unselected package libtrilinos-zoltan-dev:s390x. Preparing to unpack .../322-libtrilinos-zoltan-dev_13.2.0-4_s390x.deb ... Unpacking libtrilinos-zoltan-dev:s390x (13.2.0-4) ... Selecting previously unselected package mpi-default-dev. Preparing to unpack .../323-mpi-default-dev_1.14_s390x.deb ... Unpacking mpi-default-dev (1.14) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../324-sbuild-build-depends-main-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:s390x (1.5.7-1) ... Setting up libgraphite2-3:s390x (1.3.14-1build2) ... Setting up libtbbmalloc2:s390x (2021.9.0-2ubuntu1) ... Setting up libpixman-1-0:s390x (0.42.2-1) ... Setting up libwayland-server0:s390x (1.22.0-2) ... Setting up libpciaccess0:s390x (0.17-2) ... Setting up libclc-15-dev (1:15.0.7-8) ... Setting up libxau6:s390x (1:1.0.9-1build5) ... Setting up libdouble-conversion3:s390x (3.3.0-1) ... Setting up libpsl5:s390x (0.21.2-1) ... Setting up fonts-lato (2.0-2.1) ... Setting up fonts-mathjax (2.7.9+dfsg-1) ... Setting up libicu72:s390x (72.1-3ubuntu2) ... Setting up libogg0:s390x (1.3.5-3) ... Setting up proj-data (9.2.1-1) ... Setting up bsdextrautils (2.39.1-4ubuntu1) ... Setting up libjs-mathjax (2.7.9+dfsg-1) ... Setting up libhyphen0:s390x (2.8.8-7build2) ... Setting up trilinos-dev:s390x (13.2.0-4) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:s390x (2.77.2-1) ... No schema files found: doing nothing. Setting up libglvnd0:s390x (1.6.0-1) ... Setting up libscotch-7.0:s390x (7.0.3-2) ... Setting up libcbor0.8:s390x (0.8.0-2ubuntu1) ... Setting up libpython3.11-stdlib:s390x (3.11.4-1) ... Setting up libdebhelper-perl (13.11.5ubuntu1) ... Setting up libbrotli1:s390x (1.0.9-2build8) ... Setting up x11-common (1:7.7+23ubuntu2) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libsensors-config (1:3.6.0-7ubuntu1) ... Setting up libnghttp2-14:s390x (1.55.1-1) ... Setting up libmagic1:s390x (1:5.44-3) ... Setting up libdeflate0:s390x (1.18-1) ... Setting up gettext-base (0.21-13) ... Setting up m4 (1.4.19-3) ... Setting up xkb-data (2.38-2) ... Setting up file (1:5.44-3) ... Setting up libjbig0:s390x (2.1-6.1ubuntu1) ... Setting up libpcre2-16-0:s390x (10.42-2) ... Setting up libaec0:s390x (1.0.6-1) ... Setting up libopengl0:s390x (1.6.0-1) ... Setting up python-babel-localedata (2.10.3-1) ... Setting up libsasl2-modules-db:s390x (2.1.28+dfsg1-3) ... Setting up libcap2-bin (1:2.66-4ubuntu1) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:s390x (3.11.0-2) ... update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode Setting up libmunge2 (0.5.15-2) ... Setting up libexpat1-dev:s390x (2.5.0-2) ... Setting up libfreetype6:s390x (2.13.0+dfsg-1) ... Setting up libx11-data (2:1.8.6-1) ... Setting up librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build4) ... Setting up libavahi-common-data:s390x (0.8-10ubuntu1) ... Setting up libdbus-1-3:s390x (1.14.8-2ubuntu1) ... Setting up liblzf1:s390x (3.6-4) ... Setting up libhwloc15:s390x (2.9.2-1) ... Setting up libevent-core-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Setting up libevent-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Setting up liborc-0.4-0:s390x (1:0.4.34-3) ... Setting up libtcl8.6:s390x (8.6.13+dfsg-2) ... Setting up autopoint (0.21-13) ... Setting up libjsoncpp25:s390x (1.9.5-6) ... Setting up libsensors5:s390x (1:3.6.0-7ubuntu1) ... Setting up libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... Setting up libltdl7:s390x (2.4.7-7) ... Setting up libglapi-mesa:s390x (23.1.3-1ubuntu1) ... Setting up libsasl2-2:s390x (2.1.28+dfsg1-3) ... Setting up libssh-4:s390x (0.10.5-2) ... Setting up libgfortran5:s390x (13.2.0-2ubuntu1) ... Setting up libmtdev1:s390x (1.1.6-1build4) ... Setting up autoconf (2.71-3) ... Setting up libwebp7:s390x (1.2.4-0.2) ... Setting up zlib1g-dev:s390x (1:1.2.13.dfsg-1ubuntu5) ... Setting up libnuma1:s390x (2.0.16-1) ... Setting up ocl-icd-libopencl1:s390x (2.3.2-1) ... Setting up libxshmfence1:s390x (1.3-1build4) ... Setting up libuchardet0:s390x (0.0.7-1build2) ... Setting up libjson-perl (4.10000-1) ... Setting up openmpi-common (4.1.5-2ubuntu1) ... Setting up libmd4c0:s390x (0.4.8-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libharfbuzz0b:s390x (8.0.1-1) ... Setting up sgml-base (1.31) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libfido2-1:s390x (1.13.0-1) ... Setting up libbsd0:s390x (0.11.7-4) ... Setting up libdrm-common (2.4.115-1) ... Setting up libelf1:s390x (0.189-4) ... Setting up libevdev2:s390x (1.13.1+dfsg-1) ... Setting up libxml2:s390x (2.9.14+dfsg-1.3) ... Setting up fonts-noto-core (20201225-1build1) ... Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Setting up sphinx-rtd-theme-common (1.2.2+dfsg-1) ... Setting up libldap2:s390x (2.6.6+dfsg-1~exp1ubuntu1) ... Setting up iso-codes (4.15.0-1) ... Setting up libgudev-1.0-0:s390x (1:238-2) ... Setting up libgstreamer1.0-0:s390x (1.22.5-1) ... Setcap worked! gst-ptp-helper is not suid! Setting up libsz2:s390x (1.0.6-1) ... Setting up libpython3-stdlib:s390x (3.11.4-5) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up libevent-pthreads-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Setting up libwacom-common (2.7.0-1) ... Setting up libxkbcommon0:s390x (1.5.0-1) ... Setting up libwayland-client0:s390x (1.22.0-2) ... Setting up libjpeg8:s390x (8c-2ubuntu11) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up python3.11 (3.11.4-1) ... Setting up libice6:s390x (2:1.0.10-1build2) ... Setting up libdw1:s390x (0.189-4) ... Setting up libxdmcp6:s390x (1:1.1.3-0ubuntu5) ... Setting up libevent-extra-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Setting up liblapack3:s390x (3.11.0-2) ... update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode Setting up libxcb1:s390x (1.15-1) ... Setting up gettext (0.21-13) ... Setting up libxcb-xfixes0:s390x (1.15-1) ... Setting up libpython3.11:s390x (3.11.4-1) ... Setting up libxcb-xinput0:s390x (1.15-1) ... Setting up libwoff1:s390x (1.0.2-2) ... Setting up libtool (2.4.7-7) ... Setting up libxcb-render0:s390x (1.15-1) ... Setting up libwacom9:s390x (2.7.0-1) ... Setting up fontconfig-config (2.14.2-3ubuntu1) ... Setting up libxcb-glx0:s390x (1.15-1) ... Setting up libedit2:s390x (3.1-20221030-2) ... Setting up libxcb-keysyms1:s390x (0.4.0-1build3) ... Setting up libxcb-shape0:s390x (1.15-1) ... Setting up libavahi-common3:s390x (0.8-10ubuntu1) ... Setting up libevent-openssl-2.1-7:s390x (2.1.12-stable-8ubuntu3) ... Setting up libxcb-render-util0:s390x (0.3.9-1build3) ... Setting up libgstreamer-plugins-base1.0-0:s390x (1.22.5-1) ... Setting up libcurl3-gnutls:s390x (8.2.1-1ubuntu2) ... Setting up python3 (3.11.4-5) ... Setting up libgfortran-12-dev:s390x (12.3.0-7ubuntu2) ... Setting up libxcb-shm0:s390x (1.15-1) ... Setting up libxcb-icccm4:s390x (0.4.1-1.1build2) ... Setting up python3-markupsafe (2.1.3-1) ... Setting up python3-platformdirs (3.10.0-1) ... Setting up python3-tz (2023.3-4) ... Setting up libxcb-util1:s390x (0.4.0-1build2) ... Setting up libinput-bin (1.23.0-2) ... Setting up libxcb-xkb1:s390x (1.15-1) ... Setting up libxcb-image0:s390x (0.4.0-2) ... Setting up libtbbbind-2-5:s390x (2021.9.0-2ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up libnuma-dev:s390x (2.0.16-1) ... Setting up libxcb-present0:s390x (1.15-1) ... Setting up python3-beaker (1.12.1-1ubuntu1) ... Setting up python3-six (1.16.0-4) ... Setting up dh-autoreconf (20) ... Setting up libltdl-dev:s390x (2.4.7-7) ... Setting up python3-roman (3.3-3) ... Setting up python3-decorator (5.1.1-4) ... Setting up gfortran-12 (12.3.0-7ubuntu2) ... Setting up python3-jinja2 (3.1.2-1) ... Setting up python3-packaging (23.1-1) ... Setting up libxcb-xinerama0:s390x (1.15-1) ... Setting up python3-configobj (5.0.8-2) ... Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... Setting up python3-certifi (2022.9.24-1) ... Setting up libxcb-sync1:s390x (1.15-1) ... Setting up python3-snowballstemmer (2.2.0-4) ... Setting up libpython3.11-dev:s390x (3.11.4-1) ... Setting up shared-mime-info (2.2-1) ... Setting up libxkbcommon-x11-0:s390x (1.5.0-1) ... Setting up libevent-dev (2.1.12-stable-8ubuntu3) ... Setting up python3-idna (3.3-2) ... Setting up cython3 (0.29.36-1ubuntu1) ... Setting up python3-typing-extensions (4.7.1-1) ... Setting up libqt5core5a:s390x (5.15.10+dfsg-3) ... Setting up libjs-sphinxdoc (5.3.0-7) ... Setting up python3-urllib3 (1.26.16-1) ... Setting up python3-pluggy (1.2.0-1) ... Setting up libxcb-dri2-0:s390x (1.15-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up python3-pyqt5.sip (12.12.2-1) ... Setting up libdrm2:s390x (2.4.115-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.23.0-2) ... Setting up libqt5dbus5:s390x (5.15.10+dfsg-3) ... Setting up libtiff6:s390x (4.5.1+git230720-1ubuntu1) ... Setting up libxcb-randr0:s390x (1.15-1) ... Setting up xml-core (0.18+nmu1) ... Setting up libllvm15:s390x (1:15.0.7-8) ... Setting up libxslt1.1:s390x (1.1.35-1) ... Setting up libnl-3-200:s390x (3.7.0-0.2) ... Setting up debugedit (1:5.0-5) ... Setting up libcurl4:s390x (8.2.1-1ubuntu2) ... Setting up libx11-6:s390x (2:1.8.6-1) ... Setting up libhwloc-dev:s390x (2.9.2-1) ... Setting up libfontconfig1:s390x (2.14.2-3ubuntu1) ... Setting up libqt5sensors5:s390x (5.15.10-2) ... Setting up libqt5test5:s390x (5.15.10+dfsg-3) ... Setting up python3-lib2to3 (3.11.4-1) ... Setting up python3-appdirs (1.4.4-4) ... Setting up libsm6:s390x (2:1.2.3-1build2) ... Setting up libshiboken2-py3-5.15 (5.15.10-3) ... Setting up libavahi-client3:s390x (0.8-10ubuntu1) ... Setting up python3-imagesize (1.4.1-1) ... Setting up libdrm-amdgpu1:s390x (2.4.115-1) ... Setting up python3-pkg-resources (68.0.0-2) ... Setting up python3-distutils (3.11.4-1) ... Setting up dh-python (6.20230813) ... Setting up libxcb-dri3-0:s390x (1.15-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up libinput10:s390x (1.23.0-2) ... Setting up libx11-xcb1:s390x (2:1.8.6-1) ... Setting up fontconfig (2.14.2-3ubuntu1) ... Regenerating fonts cache... done. Setting up libdrm-nouveau2:s390x (2.4.115-1) ... Setting up libllvmspirvlib15:s390x (15.0.0-4) ... Setting up libpython3-dev:s390x (3.11.4-5) ... Setting up python3-setuptools (68.0.0-2) ... Setting up libclang-common-15-dev (1:15.0.7-8) ... Setting up python3-traits (6.3.2-1build3) ... Setting up libxrender1:s390x (1:0.9.10-1.1) ... Setting up libproj25:s390x (9.2.1-1) ... Setting up libgbm1:s390x (23.1.3-1ubuntu1) ... Setting up python3-babel (2.10.3-1) ... update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up python3-python-utils (3.7.0-1) ... Setting up libdrm-radeon1:s390x (2.4.115-1) ... Setting up python3.11-dev (3.11.4-1) ... Setting up python3-pytest (7.4.0-2) ... Setting up openssh-client (1:9.3p1-1ubuntu2) ... Setting up python3-alabaster (0.7.12-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libqt5positioning5:s390x (5.15.10+dfsg-2) ... Setting up libgl1-mesa-dri:s390x (23.1.3-1ubuntu1) ... Setting up libxext6:s390x (2:1.3.4-1build1) ... Setting up python3-all (3.11.4-5) ... Setting up libtbb12:s390x (2021.9.0-2ubuntu1) ... Setting up man-db (2.11.2-3) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up libcairo2:s390x (1.17.8-2) ... Setting up libqt5network5:s390x (5.15.10+dfsg-3) ... Setting up libxxf86vm1:s390x (1:1.1.4-1build3) ... Setting up libnl-route-3-200:s390x (3.7.0-0.2) ... Setting up libxnvctrl0:s390x (510.47.03-0ubuntu1) ... Setting up libqt5sql5:s390x (5.15.10+dfsg-3) ... Setting up libqt5xml5:s390x (5.15.10+dfsg-3) ... Setting up python3-pygments (2.15.1+dfsg-1) ... Setting up libegl-mesa0:s390x (23.1.3-1ubuntu1) ... Setting up python3-chardet (5.1.0+dfsg-2) ... Setting up libxfixes3:s390x (1:6.0.0-2) ... Setting up libqt5qml5:s390x (5.15.10+dfsg-2) ... Setting up libpython3-all-dev:s390x (3.11.4-5) ... Setting up sphinx-common (5.3.0-7) ... Setting up python3-dev (3.11.4-5) ... Setting up python3-requests (2.31.0+dfsg-1ubuntu1) ... Setting up libqt5webchannel5:s390x (5.15.10-2) ... Setting up python3-numpy (1:1.24.2-1) ... Setting up libcups2:s390x (2.4.6-0ubuntu1) ... Setting up libclang-cpp15 (1:15.0.7-8) ... Setting up libhdf5-103-1:s390x (1.10.8+repack1-1ubuntu1) ... Setting up libnl-3-dev:s390x (3.7.0-0.2) ... Setting up libtheora0:s390x (1.1.1+dfsg.1-16.1) ... Setting up libegl1:s390x (1.6.0-1) ... Setting up python3-pytest-runner (2.11.1-4) ... Setting up libxss1:s390x (1:1.2.3-1build2) ... Setting up libclc-15 (1:15.0.7-8) ... Setting up python3-mako (1.2.4+ds-2) ... Setting up libhdf5-hl-100:s390x (1.10.8+repack1-1ubuntu1) ... Setting up python3-all-dev (3.11.4-5) ... Setting up mesa-opencl-icd:s390x (23.1.3-1ubuntu1) ... Setting up libibverbs1:s390x (47.0-1) ... Setting up libxft2:s390x (2.3.6-1) ... Setting up libqt5qmlmodels5:s390x (5.15.10+dfsg-2) ... Setting up libglx-mesa0:s390x (23.1.3-1ubuntu1) ... Setting up libglx0:s390x (1.6.0-1) ... Setting up ibverbs-providers:s390x (47.0-1) ... Setting up python3-stl (2.9.0-2build2) ... Setting up libtk8.6:s390x (8.6.13-2) ... Setting up python3-h5py-serial (3.7.0-8) ... Setting up debhelper (13.11.5ubuntu1) ... Setting up libpyside2-py3-5.15 (5.15.10-3) ... Setting up libhwloc-plugins:s390x (2.9.2-1) ... Setting up python3-cyarray (1.1-5build1) ... Setting up libnl-route-3-dev:s390x (3.7.0-0.2) ... Setting up libgl1:s390x (1.6.0-1) ... Setting up python3-pyside2.qtcore (5.15.10-3) ... Setting up python3-h5py (3.7.0-8) ... Setting up python3-pytools (2022.1.14-2) ... Setting up libglew2.2:s390x (2.2.0-4) ... Setting up libnetcdf19:s390x (1:4.9.2-1) ... Setting up python3-pyopencl (2023.1.1-1) ... Setting up librdmacm1:s390x (47.0-1) ... Setting up libpmix2:s390x (5.0.0~rc1-2) ... Setting up python3-compyle (0.8.1-4) ... Setting up libqt5gui5:s390x (5.15.10+dfsg-3) ... Setting up libqt5widgets5:s390x (5.15.10+dfsg-3) ... Setting up libibverbs-dev:s390x (47.0-1) ... Setting up libqt5help5:s390x (5.15.10-3) ... Setting up libgl2ps1.4 (1.4.2+dfsg1-2) ... Setting up libqt5printsupport5:s390x (5.15.10+dfsg-3) ... Setting up libqt5opengl5:s390x (5.15.10+dfsg-3) ... Setting up libqt5quick5:s390x (5.15.10+dfsg-2) ... Setting up libpmix-dev:s390x (5.0.0~rc1-2) ... Setting up libfabric1:s390x (1.17.0-3) ... Setting up libqt5designer5:s390x (5.15.10-3) ... Setting up python3-pyside2.qtgui (5.15.10-3) ... Setting up libopenmpi3:s390x (4.1.5-2ubuntu1) ... Setting up python3-pyside2.qtwidgets (5.15.10-3) ... Setting up libqt5svg5:s390x (5.15.10-2) ... Setting up libqt5webkit5:s390x (5.212.0~alpha4-33) ... Setting up libvtk9.1:s390x (9.1.0+really9.1.0+dfsg2-6) ... Setting up libvtk9.1-qt:s390x (9.1.0+really9.1.0+dfsg2-6) ... Setting up openmpi-bin (4.1.5-2ubuntu1) ... update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode update-alternatives: using /usr/bin/mpicc.openmpi to provide /usr/bin/mpicc (mpi) in auto mode Setting up python3-pyqt5 (5.15.9+dfsg-2) ... Setting up python3-pyqt5.qtsvg (5.15.9+dfsg-2) ... Setting up libptscotch-7.0:s390x (7.0.3-2) ... Setting up python3-pyqt5.qtopengl (5.15.9+dfsg-2) ... Setting up mpi-default-bin (1.14) ... Setting up python3-mpi4py (3.1.4-2build1) ... Setting up libtrilinos-zoltan-13.2:s390x (13.2.0-4) ... Setting up libtrilinos-zoltan-dev:s390x (13.2.0-4) ... Setting up python3-pyqt5.qtwebkit (5.15.9+dfsg-2) ... Setting up libopenmpi-dev:s390x (4.1.5-2ubuntu1) ... update-alternatives: using /usr/lib/s390x-linux-gnu/openmpi/include to provide /usr/include/s390x-linux-gnu/mpi (mpi-s390x-linux-gnu) in auto mode Setting up python3-pyzoltan (1.0.1-6) ... Setting up python3-vtk9 (9.1.0+really9.1.0+dfsg2-6) ... Setting up python3-pyface (7.4.0-1) ... Setting up mpi-default-dev (1.14) ... Setting up python3-traitsui (7.2.1-2) ... Setting up python3-apptools (5.1.0-2) ... Setting up python3-envisage (6.1.0-1) ... Setting up mayavi2 (4.8.0-2) ... Processing triggers for libc-bin (2.38-1ubuntu3) ... Processing triggers for systemd (253.5-1ubuntu2) ... Processing triggers for sgml-base (1.31) ... Setting up docutils-common (0.19+dfsg-7) ... Processing triggers for sgml-base (1.31) ... Setting up python3-docutils (0.19+dfsg-7) ... Setting up python3-sphinx (5.3.0-7) ... Setting up python3-sphinxcontrib.jquery (4.1-3) ... Setting up python3-sphinx-rtd-theme (1.2.2+dfsg-1) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (s390x included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-156-generic #173-Ubuntu SMP Tue Jul 11 07:24:43 UTC 2023 s390x (s390x) Toolchain package versions: binutils_2.41-4ubuntu1 dpkg-dev_1.21.22ubuntu1 g++-12_12.3.0-7ubuntu2 g++-13_13.2.0-2ubuntu1 gcc-12_12.3.0-7ubuntu2 gcc-13_13.2.0-2ubuntu1 libc6-dev_2.38-1ubuntu3 libstdc++-12-dev_12.3.0-7ubuntu2 libstdc++-13-dev_13.2.0-2ubuntu1 libstdc++6_13.2.0-2ubuntu1 linux-libc-dev_6.3.0-7.7 Package versions: adduser_3.137ubuntu1 advancecomp_2.5-1 apt_2.7.3 autoconf_2.71-3 automake_1:1.16.5-1.3 autopoint_0.21-13 autotools-dev_20220109.1 base-files_13ubuntu1 base-passwd_3.6.1 bash_5.2.15-2ubuntu1 binutils_2.41-4ubuntu1 binutils-common_2.41-4ubuntu1 binutils-s390x-linux-gnu_2.41-4ubuntu1 bsdextrautils_2.39.1-4ubuntu1 bsdutils_1:2.39.1-4ubuntu1 build-essential_12.10ubuntu1 bzip2_1.0.8-5build1 ca-certificates_20230311ubuntu1 coreutils_9.1-1ubuntu2 cpp_4:13.2.0-1ubuntu1 cpp-12_12.3.0-7ubuntu2 cpp-13_13.2.0-2ubuntu1 cython3_0.29.36-1ubuntu1 dash_0.5.12-6ubuntu1 debconf_1.5.82 debhelper_13.11.5ubuntu1 debianutils_5.8-1 debugedit_1:5.0-5 dh-autoreconf_20 dh-python_6.20230813 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.8-4 docutils-common_0.19+dfsg-7 dpkg_1.21.22ubuntu1 dpkg-dev_1.21.22ubuntu1 dwz_0.15-1 e2fsprogs_1.47.0-2ubuntu1 fakeroot_1.32.1-1 file_1:5.44-3 findutils_4.9.0-5 fontconfig_2.14.2-3ubuntu1 fontconfig-config_2.14.2-3ubuntu1 fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1 fonts-lato_2.0-2.1 fonts-mathjax_2.7.9+dfsg-1 fonts-noto-core_20201225-1build1 g++_4:13.2.0-1ubuntu1 g++-12_12.3.0-7ubuntu2 g++-13_13.2.0-2ubuntu1 gcc_4:13.2.0-1ubuntu1 gcc-12_12.3.0-7ubuntu2 gcc-12-base_12.3.0-7ubuntu2 gcc-13_13.2.0-2ubuntu1 gcc-13-base_13.2.0-2ubuntu1 gettext_0.21-13 gettext-base_0.21-13 gfortran-12_12.3.0-7ubuntu2 gpg_2.2.40-1.1ubuntu1 gpg-agent_2.2.40-1.1ubuntu1 gpgconf_2.2.40-1.1ubuntu1 gpgv_2.2.40-1.1ubuntu1 grep_3.11-2 groff-base_1.23.0-2 gzip_1.12-1ubuntu1 hostname_3.23+nmu1ubuntu1 ibverbs-providers_47.0-1 init_1.65.2ubuntu1 init-system-helpers_1.65.2ubuntu1 intltool-debian_0.35.0+20060710.6 iso-codes_4.15.0-1 libacl1_2.3.1-3 libaec0_1.0.6-1 libapparmor1_3.0.8-1ubuntu4 libapt-pkg6.0_2.7.3 libarchive-zip-perl_1.68-1 libargon2-1_0~20190702+dfsg-3 libasan8_13.2.0-2ubuntu1 libassuan0_2.5.6-1 libatomic1_13.2.0-2ubuntu1 libattr1_1:2.5.1-4 libaudit-common_1:3.1.1-1 libaudit1_1:3.1.1-1 libavahi-client3_0.8-10ubuntu1 libavahi-common-data_0.8-10ubuntu1 libavahi-common3_0.8-10ubuntu1 libbinutils_2.41-4ubuntu1 libblas3_3.11.0-2 libblkid1_2.39.1-4ubuntu1 libbrotli1_1.0.9-2build8 libbsd0_0.11.7-4 libbz2-1.0_1.0.8-5build1 libc-bin_2.38-1ubuntu3 libc-dev-bin_2.38-1ubuntu3 libc6_2.38-1ubuntu3 libc6-dev_2.38-1ubuntu3 libcairo2_1.17.8-2 libcap-ng0_0.8.3-1build2 libcap2_1:2.66-4ubuntu1 libcap2-bin_1:2.66-4ubuntu1 libcbor0.8_0.8.0-2ubuntu1 libcc1-0_13.2.0-2ubuntu1 libclang-common-15-dev_1:15.0.7-8 libclang-cpp15_1:15.0.7-8 libclc-15_1:15.0.7-8 libclc-15-dev_1:15.0.7-8 libcom-err2_1.47.0-2ubuntu1 libcrypt-dev_1:4.4.36-2 libcrypt1_1:4.4.36-2 libcryptsetup12_2:2.6.1-4ubuntu1 libctf-nobfd0_2.41-4ubuntu1 libctf0_2.41-4ubuntu1 libcups2_2.4.6-0ubuntu1 libcurl3-gnutls_8.2.1-1ubuntu2 libcurl4_8.2.1-1ubuntu2 libdb5.3_5.3.28+dfsg2-2 libdbus-1-3_1.14.8-2ubuntu1 libdebconfclient0_0.270ubuntu1 libdebhelper-perl_13.11.5ubuntu1 libdeflate0_1.18-1 libdevmapper1.02.1_2:1.02.185-2ubuntu1 libdouble-conversion3_3.3.0-1 libdpkg-perl_1.21.22ubuntu1 libdrm-amdgpu1_2.4.115-1 libdrm-common_2.4.115-1 libdrm-nouveau2_2.4.115-1 libdrm-radeon1_2.4.115-1 libdrm2_2.4.115-1 libdw1_0.189-4 libedit2_3.1-20221030-2 libegl-mesa0_23.1.3-1ubuntu1 libegl1_1.6.0-1 libelf1_0.189-4 libevdev2_1.13.1+dfsg-1 libevent-2.1-7_2.1.12-stable-8ubuntu3 libevent-core-2.1-7_2.1.12-stable-8ubuntu3 libevent-dev_2.1.12-stable-8ubuntu3 libevent-extra-2.1-7_2.1.12-stable-8ubuntu3 libevent-openssl-2.1-7_2.1.12-stable-8ubuntu3 libevent-pthreads-2.1-7_2.1.12-stable-8ubuntu3 libexpat1_2.5.0-2 libexpat1-dev_2.5.0-2 libext2fs2_1.47.0-2ubuntu1 libfabric1_1.17.0-3 libfakeroot_1.32.1-1 libfdisk1_2.39.1-4ubuntu1 libffi8_3.4.4-1 libfido2-1_1.13.0-1 libfile-stripnondeterminism-perl_1.13.1-1 libfontconfig1_2.14.2-3ubuntu1 libfreetype6_2.13.0+dfsg-1 libgbm1_23.1.3-1ubuntu1 libgcc-12-dev_12.3.0-7ubuntu2 libgcc-13-dev_13.2.0-2ubuntu1 libgcc-s1_13.2.0-2ubuntu1 libgcrypt20_1.10.2-2ubuntu1 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgfortran-12-dev_12.3.0-7ubuntu2 libgfortran5_13.2.0-2ubuntu1 libgl1_1.6.0-1 libgl1-mesa-dri_23.1.3-1ubuntu1 libgl2ps1.4_1.4.2+dfsg1-2 libglapi-mesa_23.1.3-1ubuntu1 libglew2.2_2.2.0-4 libglib2.0-0_2.77.2-1 libglvnd0_1.6.0-1 libglx-mesa0_23.1.3-1ubuntu1 libglx0_1.6.0-1 libgmp10_2:6.3.0+dfsg-2ubuntu3 libgnutls30_3.8.1-3ubuntu1 libgomp1_13.2.0-2ubuntu1 libgpg-error0_1.47-2 libgraphite2-3_1.3.14-1build2 libgssapi-krb5-2_1.20.1-2 libgstreamer-plugins-base1.0-0_1.22.5-1 libgstreamer1.0-0_1.22.5-1 libgudev-1.0-0_1:238-2 libharfbuzz0b_8.0.1-1 libhdf5-103-1_1.10.8+repack1-1ubuntu1 libhdf5-hl-100_1.10.8+repack1-1ubuntu1 libhogweed6_3.9.1-2 libhwloc-dev_2.9.2-1 libhwloc-plugins_2.9.2-1 libhwloc15_2.9.2-1 libhyphen0_2.8.8-7build2 libibverbs-dev_47.0-1 libibverbs1_47.0-1 libice6_2:1.0.10-1build2 libicu72_72.1-3ubuntu2 libidn2-0_2.3.4-1 libinput-bin_1.23.0-2 libinput10_1.23.0-2 libip4tc2_1.8.9-2ubuntu2 libisl23_0.26-3 libitm1_13.2.0-2ubuntu1 libjansson4_2.14-2 libjbig0_2.1-6.1ubuntu1 libjpeg-turbo8_2.1.5-2ubuntu1 libjpeg8_8c-2ubuntu11 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-jquery-ui_1.13.2+dfsg-1 libjs-mathjax_2.7.9+dfsg-1 libjs-sphinxdoc_5.3.0-7 libjs-underscore_1.13.4~dfsg+~1.11.4-3 libjson-c5_0.17-1 libjson-perl_4.10000-1 libjsoncpp25_1.9.5-6 libk5crypto3_1.20.1-2 libkeyutils1_1.6.3-2 libkmod2_30+20230519-1ubuntu2 libkrb5-3_1.20.1-2 libkrb5support0_1.20.1-2 liblapack3_3.11.0-2 libldap2_2.6.6+dfsg-1~exp1ubuntu1 libllvm15_1:15.0.7-8 libllvmspirvlib15_15.0.0-4 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 libltdl-dev_2.4.7-7 libltdl7_2.4.7-7 liblz4-1_1.9.4-1 liblzf1_3.6-4 liblzma5_5.4.1-0.2 libmagic-mgc_1:5.44-3 libmagic1_1:5.44-3 libmd0_1.1.0-1 libmd4c0_0.4.8-1 libmount1_2.39.1-4ubuntu1 libmpc3_1.3.1-1 libmpfr6_4.2.0-1 libmtdev1_1.1.6-1build4 libmunge2_0.5.15-2 libncurses6_6.4+20230625-2 libncursesw6_6.4+20230625-2 libnetcdf19_1:4.9.2-1 libnettle8_3.9.1-2 libnghttp2-14_1.55.1-1 libnl-3-200_3.7.0-0.2 libnl-3-dev_3.7.0-0.2 libnl-route-3-200_3.7.0-0.2 libnl-route-3-dev_3.7.0-0.2 libnpth0_1.6-3build2 libnsl-dev_1.3.0-2build2 libnsl2_1.3.0-2build2 libnuma-dev_2.0.16-1 libnuma1_2.0.16-1 libogg0_1.3.5-3 libopengl0_1.6.0-1 libopenmpi-dev_4.1.5-2ubuntu1 libopenmpi3_4.1.5-2ubuntu1 liborc-0.4-0_1:0.4.34-3 libp11-kit0_0.24.1-2ubuntu1 libpam-modules_1.5.2-6ubuntu1 libpam-modules-bin_1.5.2-6ubuntu1 libpam-runtime_1.5.2-6ubuntu1 libpam0g_1.5.2-6ubuntu1 libpciaccess0_0.17-2 libpcre2-16-0_10.42-2 libpcre2-8-0_10.42-2 libperl5.36_5.36.0-7ubuntu1 libpipeline1_1.5.7-1 libpixman-1-0_0.42.2-1 libpmix-dev_5.0.0~rc1-2 libpmix2_5.0.0~rc1-2 libpng16-16_1.6.40-1 libproc2-0_2:4.0.3-1ubuntu1 libprocps8_2:3.3.17-7ubuntu1 libproj25_9.2.1-1 libpsl5_0.21.2-1 libptscotch-7.0_7.0.3-2 libpyside2-py3-5.15_5.15.10-3 libpython3-all-dev_3.11.4-5 libpython3-dev_3.11.4-5 libpython3-stdlib_3.11.4-5 libpython3.11_3.11.4-1 libpython3.11-dev_3.11.4-1 libpython3.11-minimal_3.11.4-1 libpython3.11-stdlib_3.11.4-1 libqt5core5a_5.15.10+dfsg-3 libqt5dbus5_5.15.10+dfsg-3 libqt5designer5_5.15.10-3 libqt5gui5_5.15.10+dfsg-3 libqt5help5_5.15.10-3 libqt5network5_5.15.10+dfsg-3 libqt5opengl5_5.15.10+dfsg-3 libqt5positioning5_5.15.10+dfsg-2 libqt5printsupport5_5.15.10+dfsg-3 libqt5qml5_5.15.10+dfsg-2 libqt5qmlmodels5_5.15.10+dfsg-2 libqt5quick5_5.15.10+dfsg-2 libqt5sensors5_5.15.10-2 libqt5sql5_5.15.10+dfsg-3 libqt5svg5_5.15.10-2 libqt5test5_5.15.10+dfsg-3 libqt5webchannel5_5.15.10-2 libqt5webkit5_5.212.0~alpha4-33 libqt5widgets5_5.15.10+dfsg-3 libqt5xml5_5.15.10+dfsg-3 librdmacm1_47.0-1 libreadline8_8.2-1.3 librtmp1_2.4+20151223.gitfa8646d.1-2build4 libsasl2-2_2.1.28+dfsg1-3 libsasl2-modules-db_2.1.28+dfsg1-3 libscotch-7.0_7.0.3-2 libseccomp2_2.5.4-1ubuntu3 libselinux1_3.5-1 libsemanage-common_3.5-1 libsemanage2_3.5-1 libsensors-config_1:3.6.0-7ubuntu1 libsensors5_1:3.6.0-7ubuntu1 libsepol2_3.5-1 libsframe1_2.41-4ubuntu1 libshiboken2-py3-5.15_5.15.10-3 libsm6_2:1.2.3-1build2 libsmartcols1_2.39.1-4ubuntu1 libsqlite3-0_3.42.0-1 libss2_1.47.0-2ubuntu1 libssh-4_0.10.5-2 libssl3_3.0.10-1ubuntu2 libstdc++-12-dev_12.3.0-7ubuntu2 libstdc++-13-dev_13.2.0-2ubuntu1 libstdc++6_13.2.0-2ubuntu1 libsub-override-perl_0.09-4 libsystemd-shared_253.5-1ubuntu2 libsystemd0_253.5-1ubuntu2 libsz2_1.0.6-1 libtasn1-6_4.19.0-3 libtbb12_2021.9.0-2ubuntu1 libtbbbind-2-5_2021.9.0-2ubuntu1 libtbbmalloc2_2021.9.0-2ubuntu1 libtcl8.6_8.6.13+dfsg-2 libtheora0_1.1.1+dfsg.1-16.1 libtiff6_4.5.1+git230720-1ubuntu1 libtinfo6_6.4+20230625-2 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtk8.6_8.6.13-2 libtool_2.4.7-7 libtrilinos-zoltan-13.2_13.2.0-4 libtrilinos-zoltan-dev_13.2.0-4 libubsan1_13.2.0-2ubuntu1 libuchardet0_0.0.7-1build2 libudev1_253.5-1ubuntu2 libunistring2_1.0-2 libuuid1_2.39.1-4ubuntu1 libvtk9.1_9.1.0+really9.1.0+dfsg2-6 libvtk9.1-qt_9.1.0+really9.1.0+dfsg2-6 libwacom-common_2.7.0-1 libwacom9_2.7.0-1 libwayland-client0_1.22.0-2 libwayland-server0_1.22.0-2 libwebp7_1.2.4-0.2 libwoff1_1.0.2-2 libx11-6_2:1.8.6-1 libx11-data_2:1.8.6-1 libx11-xcb1_2:1.8.6-1 libxau6_1:1.0.9-1build5 libxcb-dri2-0_1.15-1 libxcb-dri3-0_1.15-1 libxcb-glx0_1.15-1 libxcb-icccm4_0.4.1-1.1build2 libxcb-image0_0.4.0-2 libxcb-keysyms1_0.4.0-1build3 libxcb-present0_1.15-1 libxcb-randr0_1.15-1 libxcb-render-util0_0.3.9-1build3 libxcb-render0_1.15-1 libxcb-shape0_1.15-1 libxcb-shm0_1.15-1 libxcb-sync1_1.15-1 libxcb-util1_0.4.0-1build2 libxcb-xfixes0_1.15-1 libxcb-xinerama0_1.15-1 libxcb-xinput0_1.15-1 libxcb-xkb1_1.15-1 libxcb1_1.15-1 libxdmcp6_1:1.1.3-0ubuntu5 libxext6_2:1.3.4-1build1 libxfixes3_1:6.0.0-2 libxft2_2.3.6-1 libxkbcommon-x11-0_1.5.0-1 libxkbcommon0_1.5.0-1 libxml2_2.9.14+dfsg-1.3 libxnvctrl0_510.47.03-0ubuntu1 libxrender1_1:0.9.10-1.1 libxshmfence1_1.3-1build4 libxslt1.1_1.1.35-1 libxss1_1:1.2.3-1build2 libxxf86vm1_1:1.1.4-1build3 libxxhash0_0.8.1-1 libzstd1_1.5.5+dfsg2-1ubuntu2 linux-libc-dev_6.3.0-7.7 lockfile-progs_0.1.19build1 login_1:4.13+dfsg1-1ubuntu1 logsave_1.47.0-2ubuntu1 lsb-base_11.6 lto-disabled-list_42 m4_1.4.19-3 make_4.3-4.1build1 man-db_2.11.2-3 mawk_1.3.4.20230730-1 mayavi2_4.8.0-2 media-types_10.1.0 mesa-opencl-icd_23.1.3-1ubuntu1 mount_2.39.1-4ubuntu1 mpi-default-bin_1.14 mpi-default-dev_1.14 ncurses-base_6.4+20230625-2 ncurses-bin_6.4+20230625-2 ocl-icd-libopencl1_2.3.2-1 openmpi-bin_4.1.5-2ubuntu1 openmpi-common_4.1.5-2ubuntu1 openssh-client_1:9.3p1-1ubuntu2 openssl_3.0.10-1ubuntu2 optipng_0.7.7-2build1 passwd_1:4.13+dfsg1-1ubuntu1 patch_2.7.6-7build2 perl_5.36.0-7ubuntu1 perl-base_5.36.0-7ubuntu1 perl-modules-5.36_5.36.0-7ubuntu1 pinentry-curses_1.2.1-1ubuntu1 pkgbinarymangler_153 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 procps_2:4.0.3-1ubuntu1 proj-data_9.2.1-1 python-babel-localedata_2.10.3-1 python3_3.11.4-5 python3-alabaster_0.7.12-1 python3-all_3.11.4-5 python3-all-dev_3.11.4-5 python3-appdirs_1.4.4-4 python3-apptools_5.1.0-2 python3-babel_2.10.3-1 python3-beaker_1.12.1-1ubuntu1 python3-certifi_2022.9.24-1 python3-chardet_5.1.0+dfsg-2 python3-compyle_0.8.1-4 python3-configobj_5.0.8-2 python3-cyarray_1.1-5build1 python3-decorator_5.1.1-4 python3-dev_3.11.4-5 python3-distutils_3.11.4-1 python3-docutils_0.19+dfsg-7 python3-envisage_6.1.0-1 python3-h5py_3.7.0-8 python3-h5py-serial_3.7.0-8 python3-idna_3.3-2 python3-imagesize_1.4.1-1 python3-iniconfig_1.1.1-2 python3-jinja2_3.1.2-1 python3-lib2to3_3.11.4-1 python3-mako_1.2.4+ds-2 python3-markupsafe_2.1.3-1 python3-minimal_3.11.4-5 python3-mpi4py_3.1.4-2build1 python3-numpy_1:1.24.2-1 python3-packaging_23.1-1 python3-pkg-resources_68.0.0-2 python3-platformdirs_3.10.0-1 python3-pluggy_1.2.0-1 python3-pyface_7.4.0-1 python3-pygments_2.15.1+dfsg-1 python3-pyopencl_2023.1.1-1 python3-pyqt5_5.15.9+dfsg-2 python3-pyqt5.qtopengl_5.15.9+dfsg-2 python3-pyqt5.qtsvg_5.15.9+dfsg-2 python3-pyqt5.qtwebkit_5.15.9+dfsg-2 python3-pyqt5.sip_12.12.2-1 python3-pyside2.qtcore_5.15.10-3 python3-pyside2.qtgui_5.15.10-3 python3-pyside2.qtwidgets_5.15.10-3 python3-pytest_7.4.0-2 python3-pytest-runner_2.11.1-4 python3-python-utils_3.7.0-1 python3-pytools_2022.1.14-2 python3-pyzoltan_1.0.1-6 python3-requests_2.31.0+dfsg-1ubuntu1 python3-roman_3.3-3 python3-setuptools_68.0.0-2 python3-six_1.16.0-4 python3-snowballstemmer_2.2.0-4 python3-sphinx_5.3.0-7 python3-sphinx-rtd-theme_1.2.2+dfsg-1 python3-sphinxcontrib.jquery_4.1-3 python3-stl_2.9.0-2build2 python3-traits_6.3.2-1build3 python3-traitsui_7.2.1-2 python3-typing-extensions_4.7.1-1 python3-tz_2023.3-4 python3-urllib3_1.26.16-1 python3-vtk9_9.1.0+really9.1.0+dfsg2-6 python3.11_3.11.4-1 python3.11-dev_3.11.4-1 python3.11-minimal_3.11.4-1 readline-common_8.2-1.3 rpcsvc-proto_1.4.2-0ubuntu6 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-1 sensible-utils_0.0.20 sgml-base_1.31 shared-mime-info_2.2-1 sphinx-common_5.3.0-7 sphinx-rtd-theme-common_1.2.2+dfsg-1 systemd_253.5-1ubuntu2 systemd-dev_253.5-1ubuntu2 systemd-sysv_253.5-1ubuntu2 sysvinit-utils_3.07-1ubuntu1 tar_1.34+dfsg-1.2ubuntu1 trilinos-dev_13.2.0-4 tzdata_2023c-9ubuntu1 ubuntu-keyring_2021.03.26 usrmerge_35ubuntu1 util-linux_2.39.1-4ubuntu1 util-linux-extra_2.39.1-4ubuntu1 x11-common_1:7.7+23ubuntu2 xkb-data_2.38-2 xml-core_0.18+nmu1 xz-utils_5.4.1-0.2 zlib1g_1:1.2.13.dfsg-1ubuntu5 zlib1g-dev_1:1.2.13.dfsg-1ubuntu5 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: pysph Binary: python3-pysph, pysph-viewer, pysph-doc Architecture: any all Version: 1.0~b1-6 Maintainer: Debian Science Maintainers Uploaders: Antonio Valentino Homepage: https://github.com/pypr/pysph Description: Open-source framework for Smoothed Particle Hydrodynamics It is implemented in Python and the performance critical parts are implemented in Cython. . PySPH is implemented in a way that allows a user to specify the entire SPH simulation in pure Python. High-performance code is generated from this high-level Python code, compiled on the fly and executed. PySPH also features optional automatic parallelization using mpi4py and Zoltan. Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/science-team/pysph Vcs-Git: https://salsa.debian.org/science-team/pysph.git Testsuite: autopkgtest Testsuite-Triggers: python3-all Build-Depends: cython3, debhelper-compat (= 13), dh-python, dh-sequence-numpy3, dh-sequence-python3, dh-sequence-sphinxdoc, libjs-mathjax, libtrilinos-zoltan-dev, mayavi2, mpi-default-dev, python3-all-dev, python3-beaker, python3-compyle, python3-cyarray, python3-h5py, python3-mako (>= 1.1.0), python3-mpi4py, python3-numpy, python3-pyopencl, python3-pyside2.qtwidgets, python3-pytest , python3-pytest-runner , python3-pytools, python3-setuptools, python3-sphinx , python3-sphinx-rtd-theme , python3-stl, python3-traits, python3-pyzoltan Package-List: pysph-doc deb doc optional arch=all pysph-viewer deb science optional arch=all python3-pysph deb python optional arch=any Checksums-Sha1: 82a9511db627dd3249cb32c8c1d060e939f546af 3081320 pysph_1.0~b1.orig.tar.gz 5434476c99f4f55d879b4b50014a2dff3bb0b620 13516 pysph_1.0~b1-6.debian.tar.xz Checksums-Sha256: 8c6ac3f0f62aa428d4b8157396772317ec44f282e89ce03ed2b919684613160d 3081320 pysph_1.0~b1.orig.tar.gz f2ed1fa3f0ca944e415190254279b90350fac733f4e35502ff295fa922df14a6 13516 pysph_1.0~b1-6.debian.tar.xz Files: 05441d54ad4b2476a1a136615ba7afc9 3081320 pysph_1.0~b1.orig.tar.gz 29eb4a9e7d4dd4db1b5aa0041554c403 13516 pysph_1.0~b1-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmTd6i0dHGFudG9uaW8u dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBKNng//Wn84/NkzHOfC8A8c WiZpXwi+LF7yRfV3r2xNQJeLr3gGqEaIW5e5M0cVKNhtIqKIk0yNDGpEYenrRcpG fg6XYc3W/EFOrpzve6ZUYrge9SloyIHM7F2u3GFZow0i6i3P5BpvbwnpdOuchiM6 +Zfg7BZNoHtAPtcf2LbDtJoZ1KganZMxDdaF85kY0xIdA1RJKPDbaPEGCFjGSTG8 f8pKld9x9hMKF/eX80I8jvlq5W+edQVIcukj8wMks4zrFmt3imRp6ufaH/ZRMXwV tyTPUpdNxf0a9tSP3+CyompmFhNjJDRrLf0HU9v2PCw9mbNT89Vc7QFNDh0CI1rs Tr8MQVqE2EYX1JMpGjsrkLr9stjczM6e/5ovjYhFZfuyLENSdUAVPPxCgUcw24Od k91abOklsMIjBVLpr1AK7LxZ7/7sqo909Io8wuijAt9TRRMx1lpMIYlg26bLz/QH veZs0S32XmG24CfEA/yQbAY0z0lgapYezQ9JPg2bGwQVVhC9HlsWQWsMMqR2vcyw 5+7EkQu5n2oFA5j0YOzOmsZb9UokVx+sAqER7B1c9bEvle5xwzuXZL6Tm0F45Qzx I8pEc4jrHgdZjHOI0rZ8Oko+FU0z9OR9xhFUOHmXFxAx0Tz2ShKueeVb0mZFgRQg bKNmeoA+zsLs4Osi73DRWhamaZ0= =0u3K -----END PGP SIGNATURE----- gpgv: Signature made Thu Aug 17 09:36:45 2023 UTC gpgv: using RSA key 3B70F209A5FFD68903C472C5EBF48AB2578F9812 gpgv: issuer "antonio.valentino@tiscali.it" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pysph_1.0~b1-6.dsc: no acceptable signature found dpkg-source: info: extracting pysph in /<> dpkg-source: info: unpacking pysph_1.0~b1.orig.tar.gz dpkg-source: info: unpacking pysph_1.0~b1-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Use-local-mathjax.patch dpkg-source: info: applying 0002-autodoc_mock_imports.patch dpkg-source: info: applying 0003-Use-Python-3-in-Makefile.patch dpkg-source: info: applying 0004-Fix-nprocs.patch dpkg-source: info: applying 0005-Fix-compatibility-with-mako.patch dpkg-source: info: applying 0006-Fix-compatibility-with-Python-3.11.patch dpkg-source: info: applying 0007-Fix-SyntaxWarning.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-26516225 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-26516225 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-26516225 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package pysph dpkg-buildpackage: info: source version 1.0~b1-6 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage: info: host architecture s390x debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:291: python3.11 setup.py clean /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/tmpsd41ahgk/check_omp.pyx tree = Parsing.p_module(s, pxd, full_module_name) /usr/lib/python3/dist-packages/setuptools/_distutils/extension.py:134: UserWarning: Unknown Extension options: 'cython_compile_time_env' warnings.warn(msg) ---------------------------------------------------------------------- Using OpenMP. ---------------------------------------------------------------------- running clean removing '/<>/.pybuild/cpython3_3.11/build' (and everything under it) 'build/bdist.linux-s390x' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it debian/rules execute_after_dh_auto_clean make[1]: Entering directory '/<>' /usr/bin/make clean make[2]: Entering directory '/<>' python3 setup.py clean /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/tmpghqeuvay/check_omp.pyx tree = Parsing.p_module(s, pxd, full_module_name) /usr/lib/python3/dist-packages/setuptools/_distutils/extension.py:134: UserWarning: Unknown Extension options: 'cython_compile_time_env' warnings.warn(msg) ---------------------------------------------------------------------- Using OpenMP. ---------------------------------------------------------------------- running clean for dir in /<>/pysph/base /<>/pysph/sph /<>/pysph/sph/solid_mech /<>/pysph/parallel; do rm -f $dir/*.c; done for dir in /<>/pysph/base /<>/pysph/sph /<>/pysph/sph/solid_mech /<>/pysph/parallel; do rm -f $dir/*.cpp; done make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary-arch dh binary-arch --buildsystem=pybuild dh_update_autotools_config -a -O--buildsystem=pybuild dh_autoreconf -a -O--buildsystem=pybuild dh_auto_configure -a -O--buildsystem=pybuild I: pybuild base:291: python3.11 setup.py config /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/tmp2e8_cy9d/check_omp.pyx tree = Parsing.p_module(s, pxd, full_module_name) warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/gpu_nnps_base.pxd:31:22: 'UINT_MAX' redeclared warning: pysph/base/gpu_nnps_base.pxd:32:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/linked_list_nnps.pyx:309:12: Unreachable code warning: pysph/base/linked_list_nnps.pyx:339:12: Unreachable code warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/gpu_nnps_base.pxd:31:22: 'UINT_MAX' redeclared warning: pysph/base/gpu_nnps_base.pxd:32:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/gpu_nnps_base.pxd:31:22: 'UINT_MAX' redeclared warning: pysph/base/gpu_nnps_base.pxd:32:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/stratified_sfc_nnps.pxd:24:27: Declarations should not be declared inline. warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/gpu_nnps_base.pxd:31:22: 'UINT_MAX' redeclared warning: pysph/base/gpu_nnps_base.pxd:32:13: 'INT_MAX' redeclared warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared warning: pysph/base/z_order_nnps.pxd:14:27: Declarations should not be declared inline. warning: pysph/base/nnps_base.pxd:27:13: 'INT_MAX' redeclared /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<>/pysph/tools/mesh_tools.pyx tree = Parsing.p_module(s, pxd, full_module_name) ---------------------------------------------------------------------- Using OpenMP. ---------------------------------------------------------------------- ---------------------------------------------------------------------- Using Zoltan from: /usr/include/trilinos /usr/lib ---------------------------------------------------------------------- Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s) Compiling pysph/base/particle_array.pyx because it changed. Compiling pysph/base/point.pyx because it changed. Compiling pysph/base/nnps_base.pyx because it changed. Compiling pysph/base/linked_list_nnps.pyx because it changed. Compiling pysph/base/box_sort_nnps.pyx because it changed. Compiling pysph/base/spatial_hash_nnps.pyx because it changed. Compiling pysph/base/cell_indexing_nnps.pyx because it changed. Compiling pysph/base/z_order_nnps.pyx because it changed. Compiling pysph/base/stratified_hash_nnps.pyx because it changed. Compiling pysph/base/stratified_sfc_nnps.pyx because it changed. Compiling pysph/base/octree.pyx because it changed. Compiling pysph/base/octree_nnps.pyx because it changed. Compiling pysph/base/c_kernels.pyx because it changed. Compiling pysph/base/linalg3.pyx because it changed. Compiling pysph/tools/mesh_tools.pyx because it changed. Compiling pysph/base/gpu_nnps_base.pyx because it changed. Compiling pysph/base/z_order_gpu_nnps.pyx because it changed. Compiling pysph/base/stratified_sfc_gpu_nnps.pyx because it changed. Compiling pysph/base/octree_gpu_nnps.pyx because it changed. Compiling pysph/parallel/parallel_manager.pyx because it changed. [ 1/20] Cythonizing pysph/base/box_sort_nnps.pyx [ 2/20] Cythonizing pysph/base/c_kernels.pyx [ 3/20] Cythonizing pysph/base/cell_indexing_nnps.pyx [ 4/20] Cythonizing pysph/base/gpu_nnps_base.pyx [ 5/20] Cythonizing pysph/base/linalg3.pyx [ 6/20] Cythonizing pysph/base/linked_list_nnps.pyx [ 7/20] Cythonizing pysph/base/nnps_base.pyx [ 8/20] Cythonizing pysph/base/octree.pyx [ 9/20] Cythonizing pysph/base/octree_gpu_nnps.pyx [10/20] Cythonizing pysph/base/octree_nnps.pyx [11/20] Cythonizing pysph/base/particle_array.pyx [12/20] Cythonizing pysph/base/point.pyx [13/20] Cythonizing pysph/base/spatial_hash_nnps.pyx [14/20] Cythonizing pysph/base/stratified_hash_nnps.pyx [15/20] Cythonizing pysph/base/stratified_sfc_gpu_nnps.pyx [16/20] Cythonizing pysph/base/stratified_sfc_nnps.pyx [17/20] Cythonizing pysph/base/z_order_gpu_nnps.pyx [18/20] Cythonizing pysph/base/z_order_nnps.pyx [19/20] Cythonizing pysph/parallel/parallel_manager.pyx [20/20] Cythonizing pysph/tools/mesh_tools.pyx running config dh_auto_build -a -O--buildsystem=pybuild I: pybuild base:291: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/tmp2uq6n_ki/check_omp.pyx tree = Parsing.p_module(s, pxd, full_module_name) ---------------------------------------------------------------------- Using OpenMP. ---------------------------------------------------------------------- ---------------------------------------------------------------------- Using Zoltan from: /usr/include/trilinos /usr/lib ---------------------------------------------------------------------- Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s) running build running build_py creating /<>/.pybuild/cpython3_3.11/build/pysph copying pysph/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph creating /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/dam_break_3d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/taylor_green.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/elliptical_drop.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/periodic_cylinders.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/st_exp_data.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/cube.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/hydrostatic_tank.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/fpc_with_packed_cylinder.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/run.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/tg_with_packed_particles.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/dam_break_2d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/poiseuille.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/cavity.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/flow_past_cylinder_2d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/two_blocks.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/lattice_cylinders.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/ghia_cavity_data.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/db_exp_data.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/rayleigh_taylor.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/elliptical_drop_no_scheme.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/couette.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/_db_geometry.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/trivial_inlet_outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/sloshing_tank_horizontal.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/elliptical_drop_simple.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples creating /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/acceleration_eval_gpu_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/acceleration_eval_cython_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/scheme.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/acceleration_eval.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/integrator_gpu_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/equation.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/integrator_step.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/sph_compiler.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/surface_tension.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/rigid_body.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/integrator_cython_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/integrator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/iisph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/boundary_equations.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/acceleration_nnps_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/basic_equations.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph creating /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/device_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/nnps.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/gpu_helper_kernels.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/gpu_domain_manager.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/kernels.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/utils.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/z_order_gpu_nnps_kernels.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/gpu_nnps_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/gpu_nnps.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/reduce_array.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base creating /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/manage_cache.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/cull.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/ipy_viewer.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/interpolator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/run_parallel_script.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/packer.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/sph_evaluator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/gmsh.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/fortranfile.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/mayavi_viewer.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/ndspmhd.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/geometry.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/cli.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/pysph_to_vtk.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/pprocess.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/geometry_utils.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/binder.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/sphysics.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/read_mesh.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/uniform_distribution.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/particle_packing.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools creating /<>/.pybuild/cpython3_3.11/build/pysph/parallel copying pysph/parallel/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel creating /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/solver_interfaces.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/controller.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/vtk_output.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/solver.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/output.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/application.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/tools.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/utils.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/sloshing copying pysph/examples/sloshing/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sloshing copying pysph/examples/sloshing/sloshing_tank_pitch.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sloshing copying pysph/examples/sloshing/st_bouscasse.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sloshing creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/khi_sy11.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/circular_droplet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/equilibrium_rod.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/oscillating_rod.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/square_droplet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/interface_instability.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/khi_tvf.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/equilibrium_rod_hex.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension copying pysph/examples/surface_tension/capillary_wave.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/surface_tension creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/case2.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/case6.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/case8.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/case7.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/periodic_rigidbody.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/beach_geometry.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/case4.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/dam_break.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/case1.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/case3.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/dambreak_sphysics.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/case5.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/solid_mech copying pysph/examples/solid_mech/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/solid_mech copying pysph/examples/solid_mech/impact.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/solid_mech copying pysph/examples/solid_mech/taylor_bar.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/solid_mech copying pysph/examples/solid_mech/oscillating_plate.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/solid_mech copying pysph/examples/solid_mech/impact3d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/solid_mech copying pysph/examples/solid_mech/rings.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/solid_mech creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/tests copying pysph/examples/tests/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/tests copying pysph/examples/tests/test_examples.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/tests copying pysph/examples/tests/test_riemann_solver.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/tests creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/three_spheres_in_fluid.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/ten_spheres_in_vessel_2d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/simple.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/three_cubes_in_vessel_3d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/bouncing_cubes.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/dam_break3D_sph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/sphere_in_vessel_akinci.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/cubes_colliding_in_tank.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/solid_body_floating_in_tank.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/rigid_body/bouncing_cube.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/spheric copying pysph/examples/spheric/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/spheric copying pysph/examples/spheric/moving_square.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/spheric creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/dam_break copying pysph/examples/dam_break/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/dam_break copying pysph/examples/dam_break/db_3d_yeh.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/dam_break copying pysph/examples/dam_break/dam_break_3d_lobovsky.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/dam_break copying pysph/examples/dam_break/db_2d_buchner.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/dam_break creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/cylindrical_dambreak.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/cylindrical_dambreak_particle_split.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/okushiri_tsunami.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/still_water_over_a_parabolic_surface_1d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/thacker_basin.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/cylindrical_dambreak_closed_boundary.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/rectangular_dambreak_sloping_bed.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/particle_split_in_a_square_domain.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/still_water_over_a_hump_1d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/rectangular_dambreak.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/rectangular_dambreak_particle_split_and_merge.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/rectangular_dambreak_wetbed_1d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/still_water_over_a_step_1d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/rectangular_channel_flow.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/rectangular_dambreak_particle_split.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water copying pysph/examples/shallow_water/cylindrical_dambreak_sloping_bed.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/cheng_shu_1d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/wallshock.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/sjogreen.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/noh.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/accuracy_test_2d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/shocktube.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/sedov.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/riemann_solver.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/kelvin_helmholtz_instability.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/riemann_2d_config.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/riemann_2d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/hydrostatic_box.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/acoustic_wave.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/shocktube_setup.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/wc_blastwave.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/blastwave.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/robert.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/gas_dynamics/sod_shocktube.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/okushiri_tsunami_input_files copying pysph/examples/shallow_water/okushiri_tsunami_input_files/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/okushiri_tsunami_input_files creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/isph copying pysph/sph/isph/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/isph copying pysph/sph/isph/wall_normal.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/isph copying pysph/sph/isph/sisph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/isph copying pysph/sph/isph/isph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/isph creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/misc copying pysph/sph/misc/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/misc copying pysph/sph/misc/advection.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/misc creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/solid_mech copying pysph/sph/solid_mech/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/solid_mech copying pysph/sph/solid_mech/hvi.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/solid_mech copying pysph/sph/solid_mech/basic.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/solid_mech creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_linalg.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_scheme.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_kernel_corrections.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_equations.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_acceleration_eval.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_riemann_solver.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_acceleration_eval_cython_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_integrator_cython_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_multi_group_integrator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_integrator_step.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_integrator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/linalg.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/transport_velocity.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/kernel_correction.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/edac.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/zhanghuadams.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/viscosity.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/crksph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/parshikov.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/shift.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/density_correction.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/pcisph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/gtvf.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/basic.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc copying pysph/sph/bc/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc copying pysph/sph/bc/inlet_outlet_manager.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc copying pysph/sph/bc/interpolate.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/gas_dynamics copying pysph/sph/gas_dynamics/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/gas_dynamics copying pysph/sph/gas_dynamics/psph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/gas_dynamics copying pysph/sph/gas_dynamics/tsph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/gas_dynamics copying pysph/sph/gas_dynamics/riemann_solver.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/gas_dynamics copying pysph/sph/gas_dynamics/gsph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/gas_dynamics copying pysph/sph/gas_dynamics/basic.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/gas_dynamics copying pysph/sph/gas_dynamics/boundary_equations.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/gas_dynamics creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/swe copying pysph/sph/swe/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/swe copying pysph/sph/swe/basic.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/swe creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mirror copying pysph/sph/bc/mirror/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mirror copying pysph/sph/bc/mirror/simple_inlet_outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mirror copying pysph/sph/bc/mirror/inlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mirror copying pysph/sph/bc/mirror/outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mirror creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/tests copying pysph/sph/bc/tests/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/tests copying pysph/sph/bc/tests/test_simple_inlet_outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/tests creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mod_donothing copying pysph/sph/bc/mod_donothing/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mod_donothing copying pysph/sph/bc/mod_donothing/simple_inlet_outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mod_donothing copying pysph/sph/bc/mod_donothing/inlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mod_donothing copying pysph/sph/bc/mod_donothing/outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mod_donothing creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/donothing copying pysph/sph/bc/donothing/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/donothing copying pysph/sph/bc/donothing/simple_inlet_outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/donothing copying pysph/sph/bc/donothing/inlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/donothing copying pysph/sph/bc/donothing/outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/donothing creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/characteristic copying pysph/sph/bc/characteristic/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/characteristic copying pysph/sph/bc/characteristic/simple_inlet_outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/characteristic copying pysph/sph/bc/characteristic/inlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/characteristic copying pysph/sph/bc/characteristic/outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/characteristic creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/hybrid copying pysph/sph/bc/hybrid/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/hybrid copying pysph/sph/bc/hybrid/simple_inlet_outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/hybrid copying pysph/sph/bc/hybrid/inlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/hybrid copying pysph/sph/bc/hybrid/outlet.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/hybrid creating /<>/.pybuild/cpython3_3.11/build/pysph/base/tree copying pysph/base/tree/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tree copying pysph/base/tree/helpers.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tree copying pysph/base/tree/tree.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tree copying pysph/base/tree/point_tree.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tree creating /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_octree.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_utils.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_particle_array.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_periodic_nnps.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_reduce_array.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_nnps.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_kernel.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_device_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_neighbor_cache.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_domain_manager.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_linalg3.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests creating /<>/.pybuild/cpython3_3.11/build/pysph/tools/tests copying pysph/tools/tests/test_interpolator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools/tests copying pysph/tools/tests/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools/tests copying pysph/tools/tests/test_mesh_tools.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools/tests copying pysph/tools/tests/test_geometry.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools/tests copying pysph/tools/tests/test_sph_evaluator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools/tests creating /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/lb_exchange.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/elliptical_drop.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/check_dump_load.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/simple_reduction.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/summation_density.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/test_parallel.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/cavity.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/test_openmp.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/example_test_case.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/test_parallel_run.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/reduce_array.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests copying pysph/parallel/tests/remote_exchange.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel/tests creating /<>/.pybuild/cpython3_3.11/build/pysph/solver/tests copying pysph/solver/tests/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver/tests copying pysph/solver/tests/test_application.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver/tests copying pysph/solver/tests/test_solver_utils.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver/tests copying pysph/solver/tests/test_solver.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver/tests running egg_info creating PySPH.egg-info writing PySPH.egg-info/PKG-INFO writing dependency_links to PySPH.egg-info/dependency_links.txt writing entry points to PySPH.egg-info/entry_points.txt writing requirements to PySPH.egg-info/requires.txt writing top-level names to PySPH.egg-info/top_level.txt writing manifest file 'PySPH.egg-info/SOURCES.txt' reading manifest file 'PySPH.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.bat' warning: no files found matching '*.sh' warning: no files found matching '*.yml' warning: no files found matching '*.txt.gz' under directory 'pysph' adding license file 'LICENSE.txt' writing manifest file 'PySPH.egg-info/SOURCES.txt' copying pysph/sph/acceleration_eval_cython.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/acceleration_eval_gpu.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/integrator_cython.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/base/box_sort_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/box_sort_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/c_kernels.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/c_kernels.pyx.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/cell_indexing_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/cell_indexing_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/gpu_helper_functions.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/gpu_nnps_base.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/gpu_nnps_base.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/linalg3.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/linalg3.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/linked_list_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/linked_list_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/nnps_base.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/nnps_base.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/octree.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/octree.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/octree_gpu_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/octree_gpu_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/octree_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/octree_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/particle_array.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/particle_array.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/point.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/point.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/spatial_hash.h -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/spatial_hash_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/spatial_hash_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/stratified_hash_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/stratified_hash_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/stratified_sfc_gpu_nnps.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/stratified_sfc_gpu_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/stratified_sfc_gpu_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/stratified_sfc_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/stratified_sfc_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/z_order.h -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/z_order_gpu_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/z_order_gpu_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/z_order_nnps.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/z_order_nnps.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/tools/mesh_tools.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/parallel/parallel_manager.pxd -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel copying pysph/parallel/parallel_manager.pyx -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel copying pysph/examples/sphysics/INDAT.gz -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/sphysics/IPART.gz -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/sphysics copying pysph/examples/rigid_body/sph.vtk.gz -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/rigid_body copying pysph/examples/gas_dynamics/ndspmhd-sedov-initial-conditions.npz -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/gas_dynamics copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_closed_boun_t01.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_closed_boun_t02.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_closed_boun_t03.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_split_t01.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_split_t02.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_split_t03.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_t01.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_t02.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/cyl_dam_t03.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/tsu_experimental.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/tsu_sensor1_vacondio.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/tsu_sensor2_vacondio.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/files_for_output_comparison/tsu_sensor3_vacondio.csv -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/files_for_output_comparison copying pysph/examples/shallow_water/okushiri_tsunami_input_files/tsunami_bed.txt.bz2 -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/okushiri_tsunami_input_files copying pysph/examples/shallow_water/okushiri_tsunami_input_files/tsunami_obc.txt -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water/okushiri_tsunami_input_files copying pysph/sph/bc/interpolate.py.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc copying pysph/base/tree/point_tree.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tree copying pysph/base/tree/tree.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tree running build_ext building 'pysph.base.particle_array' extension creating build creating build/temp.linux-s390x-cpython-311 creating build/temp.linux-s390x-cpython-311/pysph creating build/temp.linux-s390x-cpython-311/pysph/base s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/particle_array.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/particle_array.o In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/particle_array.cpp:790: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/particle_array.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/particle_array.cpython-311-s390x-linux-gnu.so building 'pysph.base.point' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/point.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/point.o In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/point.cpp:790: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/point.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/point.cpython-311-s390x-linux-gnu.so building 'pysph.base.nnps_base' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/nnps_base.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/nnps_base.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/nnps_base.cpp:800: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/nnps_base.cpp: In function ‘int __pyx_pf_5pysph_4base_9nnps_base_13NeighborCache___init__(__pyx_obj_5pysph_4base_9nnps_base_NeighborCache*, __pyx_obj_5pysph_4base_9nnps_base_NNPS*, int, int)’: pysph/base/nnps_base.cpp:21905:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 21905 | for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:21990:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 21990 | for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_8; __pyx_t_7+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp: In function ‘PyObject* __pyx_f_5pysph_4base_9nnps_base_13NeighborCache_update(__pyx_obj_5pysph_4base_9nnps_base_NeighborCache*, int)’: pysph/base/nnps_base.cpp:22901:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 22901 | for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:22950:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 22950 | for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_9; __pyx_t_8+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp: In function ‘void __pyx_f_5pysph_4base_9nnps_base_4NNPS__sort_neighbors(__pyx_obj_5pysph_4base_9nnps_base_NNPS*, unsigned int*, size_t, unsigned int*)’: pysph/base/nnps_base.cpp:29001:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 29001 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:29032:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 29032 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:29085:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 29085 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:29143:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 29143 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { | ~~~~~~~~~~^~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/nnps_base.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/nnps_base.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.linked_list_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/linked_list_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/linked_list_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/linked_list_nnps.cpp:817: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/linked_list_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/linked_list_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.box_sort_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/box_sort_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/box_sort_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/box_sort_nnps.cpp:818: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/box_sort_nnps.cpp: In function ‘PyObject* __pyx_f_5pysph_4base_13box_sort_nnps_15DictBoxSortNNPS_get_nearest_particles_no_cache(__pyx_obj_5pysph_4base_13box_sort_nnps_DictBoxSortNNPS*, int, int, size_t, __pyx_obj_7cyarray_6carray_UIntArray*, int, int)’: pysph/base/box_sort_nnps.cpp:5986:43: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 5986 | for (__pyx_t_19 = 0; __pyx_t_19 < __pyx_t_18; __pyx_t_19+=1) { | ~~~~~~~~~~~^~~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/box_sort_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/box_sort_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.spatial_hash_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipysph/base -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/spatial_hash_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/spatial_hash_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/spatial_hash_nnps.cpp:805: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/spatial_hash_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_17spatial_hash_nnps_15SpatialHashNNPS_find_nearest_neighbors(__pyx_obj_5pysph_4base_17spatial_hash_nnps_SpatialHashNNPS*, size_t, __pyx_obj_7cyarray_6carray_UIntArray*)’: pysph/base/spatial_hash_nnps.cpp:4694:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 4694 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/spatial_hash_nnps.cpp:4759:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 4759 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_6; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/spatial_hash_nnps.cpp: In function ‘PyObject* __pyx_f_5pysph_4base_17spatial_hash_nnps_15SpatialHashNNPS__bin(__pyx_obj_5pysph_4base_17spatial_hash_nnps_SpatialHashNNPS*, int, __pyx_obj_7cyarray_6carray_UIntArray*, int)’: pysph/base/spatial_hash_nnps.cpp:5425:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5425 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_6; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/spatial_hash_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_17spatial_hash_nnps_23ExtendedSpatialHashNNPS_find_nearest_neighbors(__pyx_obj_5pysph_4base_17spatial_hash_nnps_ExtendedSpatialHashNNPS*, size_t, __pyx_obj_7cyarray_6carray_UIntArray*)’: pysph/base/spatial_hash_nnps.cpp:7193:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 7193 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/spatial_hash_nnps.cpp:7258:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 7258 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_6; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/spatial_hash_nnps.cpp: In function ‘PyObject* __pyx_f_5pysph_4base_17spatial_hash_nnps_23ExtendedSpatialHashNNPS__bin(__pyx_obj_5pysph_4base_17spatial_hash_nnps_ExtendedSpatialHashNNPS*, int, __pyx_obj_7cyarray_6carray_UIntArray*, int)’: pysph/base/spatial_hash_nnps.cpp:8436:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 8436 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_6; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/spatial_hash_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/spatial_hash_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.cell_indexing_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/cell_indexing_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/cell_indexing_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/cell_indexing_nnps.cpp:816: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/cell_indexing_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_18cell_indexing_nnps_16CellIndexingNNPS_find_nearest_neighbors(__pyx_obj_5pysph_4base_18cell_indexing_nnps_CellIndexingNNPS*, size_t, __pyx_obj_7cyarray_6carray_UIntArray*)’: pysph/base/cell_indexing_nnps.cpp:4800:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__pyx_t_5pysph_4base_18cell_indexing_nnps_u_int’ {aka ‘unsigned int’} [-Wsign-compare] 4800 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_7; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/cell_indexing_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/cell_indexing_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.z_order_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipysph/base -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/z_order_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/z_order_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/z_order_nnps.cpp:818: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/z_order_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_12z_order_nnps_10ZOrderNNPS__fill_nbr_boxes(__pyx_obj_5pysph_4base_12z_order_nnps_ZOrderNNPS*)’: pysph/base/z_order_nnps.cpp:7940:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 7940 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/z_order_nnps.cpp:7960:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 7960 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/z_order_nnps.cpp: In function ‘PyObject* __pyx_f_5pysph_4base_12z_order_nnps_10ZOrderNNPS__refresh(__pyx_obj_5pysph_4base_12z_order_nnps_ZOrderNNPS*, int)’: pysph/base/z_order_nnps.cpp:8791:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8791 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_8; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/z_order_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_12z_order_nnps_18ExtendedZOrderNNPS__fill_nbr_boxes(__pyx_obj_5pysph_4base_12z_order_nnps_ExtendedZOrderNNPS*)’: pysph/base/z_order_nnps.cpp:11134:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 11134 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/z_order_nnps.cpp:11154:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 11154 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/z_order_nnps.cpp: In function ‘PyObject* __pyx_f_5pysph_4base_12z_order_nnps_18ExtendedZOrderNNPS__refresh(__pyx_obj_5pysph_4base_12z_order_nnps_ExtendedZOrderNNPS*, int)’: pysph/base/z_order_nnps.cpp:11900:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 11900 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_8; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/z_order_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/z_order_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.stratified_hash_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipysph/base -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/stratified_hash_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/stratified_hash_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/stratified_hash_nnps.cpp:805: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/stratified_hash_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_20stratified_hash_nnps_18StratifiedHashNNPS_find_nearest_neighbors(__pyx_obj_5pysph_4base_20stratified_hash_nnps_StratifiedHashNNPS*, size_t, __pyx_obj_7cyarray_6carray_UIntArray*)’: pysph/base/stratified_hash_nnps.cpp:5240:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5240 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/stratified_hash_nnps.cpp:5368:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5368 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_6; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/stratified_hash_nnps.cpp:5433:37: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5433 | for (__pyx_v_k = 0; __pyx_v_k < __pyx_t_7; __pyx_v_k++) { | ~~~~~~~~~~^~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/stratified_hash_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/stratified_hash_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.stratified_sfc_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipysph/base -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/stratified_sfc_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/stratified_sfc_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/stratified_sfc_nnps.cpp:821: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/stratified_sfc_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_19stratified_sfc_nnps_17StratifiedSFCNNPS_find_nearest_neighbors(__pyx_obj_5pysph_4base_19stratified_sfc_nnps_StratifiedSFCNNPS*, size_t, __pyx_obj_7cyarray_6carray_UIntArray*)’: pysph/base/stratified_sfc_nnps.cpp:5971:49: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5971 | for (__pyx_v_i = __pyx_v_start_idx; __pyx_v_i < __pyx_t_6; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/stratified_sfc_nnps.cpp: In function ‘int __pyx_f_5pysph_4base_19stratified_sfc_nnps_17StratifiedSFCNNPS_get_number_of_particles(__pyx_obj_5pysph_4base_19stratified_sfc_nnps_StratifiedSFCNNPS*, int, int, int)’: pysph/base/stratified_sfc_nnps.cpp:6304:86: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 6304 | __pyx_t_10 = ((((__pyx_v_current_keys[__pyx_v_i]) >> __pyx_v_self->max_num_bits) != __pyx_v_level) != 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pysph/base/stratified_sfc_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_19stratified_sfc_nnps_17StratifiedSFCNNPS_fill_array(__pyx_obj_5pysph_4base_19stratified_sfc_nnps_StratifiedSFCNNPS*, __pyx_obj_5pysph_4base_9nnps_base_NNPSParticleArrayWrapper*, int, uint32_t*, uint64_t*, double*, int*)’: pysph/base/stratified_sfc_nnps.cpp:9562:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 9562 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/stratified_sfc_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/stratified_sfc_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.octree' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/octree.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/octree.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/octree.cpp:798: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/octree.cpp: In function ‘int __pyx_f_5pysph_4base_6octree_6Octree__c_build_tree(__pyx_obj_5pysph_4base_6octree_Octree*, __pyx_obj_5pysph_4base_9nnps_base_NNPSParticleArrayWrapper*, std::vector*, double*, double, __pyx_t_5pysph_4base_6octree_cOctreeNode*, int)’: pysph/base/octree.cpp:7171:41: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 7171 | __pyx_t_3 = ((__pyx_v_indices->size() < __pyx_v_self->leaf_max_particles) != 0); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/octree.cpp: In function ‘int __pyx_f_5pysph_4base_6octree_6Octree__c_build_tree_bfs(__pyx_obj_5pysph_4base_6octree_Octree*, __pyx_obj_5pysph_4base_9nnps_base_NNPSParticleArrayWrapper*, __pyx_t_5pysph_4base_6octree_u_int*, std::vector<__pyx_t_5pysph_4base_6octree_cOctreeNode*>*, int, int)’: pysph/base/octree.cpp:9087:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<__pyx_t_5pysph_4base_6octree_cOctreeNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 9087 | for (__pyx_v_n = 0; __pyx_v_n < __pyx_t_10; __pyx_v_n++) { | ~~~~~~~~~~^~~~~~~~~~~~ pysph/base/octree.cpp:9201:63: warning: comparison of integer expressions of different signedness: ‘__pyx_t_5pysph_4base_6octree_u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 9201 | for (__pyx_v_p = __pyx_v_start; __pyx_v_p < __pyx_t_3; __pyx_v_p++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/octree.cpp:9761:55: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<__pyx_t_5pysph_4base_6octree_cOctreeNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 9761 | for (__pyx_v_jid = 0; __pyx_v_jid < __pyx_t_10; __pyx_v_jid++) { | ~~~~~~~~~~~~^~~~~~~~~~~~ pysph/base/octree.cpp: In function ‘PyObject* __pyx_f_5pysph_4base_6octree_6Octree_get_leaf_cells(__pyx_obj_5pysph_4base_6octree_Octree*, int)’: pysph/base/octree.cpp:11476:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<__pyx_t_5pysph_4base_6octree_cOctreeNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 11476 | for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/octree.cpp:11495:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<__pyx_t_5pysph_4base_6octree_cOctreeNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 11495 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_5; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/octree.cpp: In function ‘int __pyx_f_5pysph_4base_6octree_16CompressedOctree__c_build_tree(__pyx_obj_5pysph_4base_6octree_CompressedOctree*, __pyx_obj_5pysph_4base_9nnps_base_NNPSParticleArrayWrapper*, std::vector*, double*, double, __pyx_t_5pysph_4base_6octree_cOctreeNode*, int)’: pysph/base/octree.cpp:13000:41: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 13000 | __pyx_t_3 = ((__pyx_v_indices->size() < __pyx_v_self->__pyx_base.leaf_max_particles) != 0); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/octree.cpp: In function ‘int __pyx_f_5pysph_4base_6octree_16CompressedOctree__c_build_tree_bfs(__pyx_obj_5pysph_4base_6octree_CompressedOctree*, __pyx_obj_5pysph_4base_9nnps_base_NNPSParticleArrayWrapper*, __pyx_t_5pysph_4base_6octree_u_int*, std::vector<__pyx_t_5pysph_4base_6octree_cOctreeNode*>*, int, int)’: pysph/base/octree.cpp:15551:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<__pyx_t_5pysph_4base_6octree_cOctreeNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 15551 | for (__pyx_v_n = 0; __pyx_v_n < __pyx_t_11; __pyx_v_n++) { | ~~~~~~~~~~^~~~~~~~~~~~ pysph/base/octree.cpp:15694:63: warning: comparison of integer expressions of different signedness: ‘__pyx_t_5pysph_4base_6octree_u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 15694 | for (__pyx_v_p = __pyx_v_start; __pyx_v_p < __pyx_t_3; __pyx_v_p++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/octree.cpp:16337:55: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<__pyx_t_5pysph_4base_6octree_cOctreeNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 16337 | for (__pyx_v_jid = 0; __pyx_v_jid < __pyx_t_11; __pyx_v_jid++) { | ~~~~~~~~~~~~^~~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/octree.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/octree.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.octree_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/octree_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/octree_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/octree_nnps.cpp:800: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/base/octree_nnps.cpp: In function ‘void __pyx_f_5pysph_4base_11octree_nnps_10OctreeNNPS__get_neighbors(__pyx_obj_5pysph_4base_11octree_nnps_OctreeNNPS*, double, double, double, double, double*, double*, double*, double*, __pyx_obj_7cyarray_6carray_UIntArray*, __pyx_t_5pysph_4base_6octree_cOctreeNode*)’: pysph/base/octree_nnps.cpp:4923:35: warning: comparison of integer expressions of different signedness: ‘__pyx_t_5pysph_4base_11octree_nnps_u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4923 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_3; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/octree_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/octree_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.c_kernels' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/c_kernels.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/c_kernels.o pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double, double)’: pysph/base/c_kernels.cpp:4028:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4028 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:3807:10: note: ‘__pyx_v_fac’ was declared here 3807 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double)’: pysph/base/c_kernels.cpp:5120:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5120 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:4904:10: note: ‘__pyx_v_fac’ was declared here 4904 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_kernel(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double)’: pysph/base/c_kernels.cpp:5607:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5607 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:5418:10: note: ‘__pyx_v_fac’ was declared here 5418 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double, double)’: pysph/base/c_kernels.cpp:8270:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8270 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:8095:10: note: ‘__pyx_v_fac’ was declared here 8095 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double)’: pysph/base/c_kernels.cpp:9320:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9320 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:9146:10: note: ‘__pyx_v_fac’ was declared here 9146 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double)’: pysph/base/c_kernels.cpp:9774:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9774 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:9618:10: note: ‘__pyx_v_fac’ was declared here 9618 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double, double)’: pysph/base/c_kernels.cpp:12427:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12427 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:12262:10: note: ‘__pyx_v_fac’ was declared here 12262 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double)’: pysph/base/c_kernels.cpp:13467:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13467 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:13303:10: note: ‘__pyx_v_fac’ was declared here 13303 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_kernel(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double)’: pysph/base/c_kernels.cpp:13893:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13893 | __pyx_v_val = (exp(((-__pyx_v_q) * __pyx_v_q)) * __pyx_v_fac); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:13765:10: note: ‘__pyx_v_fac’ was declared here 13765 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double, double)’: pysph/base/c_kernels.cpp:16696:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16696 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:16399:10: note: ‘__pyx_v_fac’ was declared here 16399 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double)’: pysph/base/c_kernels.cpp:17900:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 17900 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:17572:10: note: ‘__pyx_v_fac’ was declared here 17572 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_kernel(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double)’: pysph/base/c_kernels.cpp:18463:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 18463 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:18198:10: note: ‘__pyx_v_fac’ was declared here 18198 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double, double)’: pysph/base/c_kernels.cpp:21126:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21126 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:20951:10: note: ‘__pyx_v_fac’ was declared here 20951 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double)’: pysph/base/c_kernels.cpp:22240:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22240 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * __pyx_v_val); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:22054:10: note: ‘__pyx_v_fac’ was declared here 22054 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_kernel(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double)’: pysph/base/c_kernels.cpp:22676:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22676 | __pyx_v_val = ((exp((-__pyx_v_q2)) * ((1.0 + (__pyx_v_self->dim * 0.5)) - __pyx_v_q2)) * __pyx_v_fac); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:22538:10: note: ‘__pyx_v_fac’ was declared here 22538 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double, double)’: pysph/base/c_kernels.cpp:25357:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25357 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:25182:10: note: ‘__pyx_v_fac’ was declared here 25182 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double)’: pysph/base/c_kernels.cpp:26407:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26407 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:26233:10: note: ‘__pyx_v_fac’ was declared here 26233 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double)’: pysph/base/c_kernels.cpp:26861:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26861 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:26705:10: note: ‘__pyx_v_fac’ was declared here 26705 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double, double)’: pysph/base/c_kernels.cpp:29524:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29524 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:29349:10: note: ‘__pyx_v_fac’ was declared here 29349 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double)’: pysph/base/c_kernels.cpp:30574:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 30574 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:30400:10: note: ‘__pyx_v_fac’ was declared here 30400 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double)’: pysph/base/c_kernels.cpp:31028:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 31028 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:30872:10: note: ‘__pyx_v_fac’ was declared here 30872 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double, double)’: pysph/base/c_kernels.cpp:33691:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33691 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:33516:10: note: ‘__pyx_v_fac’ was declared here 33516 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double)’: pysph/base/c_kernels.cpp:34741:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 34741 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:34567:10: note: ‘__pyx_v_fac’ was declared here 34567 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double)’: pysph/base/c_kernels.cpp:35195:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 35195 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:35039:10: note: ‘__pyx_v_fac’ was declared here 35039 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double, double)’: pysph/base/c_kernels.cpp:37858:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37858 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:37683:10: note: ‘__pyx_v_fac’ was declared here 37683 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double)’: pysph/base/c_kernels.cpp:38908:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 38908 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:38734:10: note: ‘__pyx_v_fac’ was declared here 38734 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double)’: pysph/base/c_kernels.cpp:39362:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 39362 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:39206:10: note: ‘__pyx_v_fac’ was declared here 39206 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double, double)’: pysph/base/c_kernels.cpp:42025:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42025 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:41850:10: note: ‘__pyx_v_fac’ was declared here 41850 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double)’: pysph/base/c_kernels.cpp:43075:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43075 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:42901:10: note: ‘__pyx_v_fac’ was declared here 42901 | double __pyx_v_fac; | ^~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double)’: pysph/base/c_kernels.cpp:43529:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43529 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:43373:10: note: ‘__pyx_v_fac’ was declared here 43373 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:34172:80: pysph/base/c_kernels.cpp:33691:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33691 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:33516:10: note: ‘__pyx_v_fac’ was declared here 33516 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:8751:75: pysph/base/c_kernels.cpp:8270:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8270 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:8095:10: note: ‘__pyx_v_fac’ was declared here 8095 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_gradient(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:12908:67: pysph/base/c_kernels.cpp:12427:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12427 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_gradient(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:12262:10: note: ‘__pyx_v_fac’ was declared here 12262 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_gradient(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:4509:71: pysph/base/c_kernels.cpp:4028:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4028 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_gradient(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:3807:10: note: ‘__pyx_v_fac’ was declared here 3807 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:38339:80: pysph/base/c_kernels.cpp:37858:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37858 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:37683:10: note: ‘__pyx_v_fac’ was declared here 37683 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:25838:77: pysph/base/c_kernels.cpp:25357:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25357 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:25182:10: note: ‘__pyx_v_fac’ was declared here 25182 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_gradient(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:21659:73: pysph/base/c_kernels.cpp:21126:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21126 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_gradient(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:20951:10: note: ‘__pyx_v_fac’ was declared here 20951 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:42506:80: pysph/base/c_kernels.cpp:42025:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42025 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:41850:10: note: ‘__pyx_v_fac’ was declared here 41850 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:30005:77: pysph/base/c_kernels.cpp:29524:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29524 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:29349:10: note: ‘__pyx_v_fac’ was declared here 29349 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_gradient(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:17177:73: pysph/base/c_kernels.cpp:16696:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16696 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_gradient(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double, double*)’: pysph/base/c_kernels.cpp:16399:10: note: ‘__pyx_v_fac’ was declared here 16399 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_24WendlandQuinticC6Wrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6Wrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:32210:71: pysph/base/c_kernels.cpp:31028:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 31028 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_24WendlandQuinticC6Wrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6Wrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:30872:10: note: ‘__pyx_v_fac’ was declared here 30872 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_kernel(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20QuinticSplineWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_QuinticSplineWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:19645:67: pysph/base/c_kernels.cpp:18463:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 18463 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20QuinticSplineWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_QuinticSplineWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:18198:10: note: ‘__pyx_v_fac’ was declared here 18198 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double, double, int)’ at pysph/base/c_kernels.cpp:33828:72: pysph/base/c_kernels.cpp:33691:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33691 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double, double, int)’: pysph/base/c_kernels.cpp:33516:10: note: ‘__pyx_v_fac’ was declared here 33516 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double, double, int)’ at pysph/base/c_kernels.cpp:8407:67: pysph/base/c_kernels.cpp:8270:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8270 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double, double, int)’: pysph/base/c_kernels.cpp:8095:10: note: ‘__pyx_v_fac’ was declared here 8095 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double, double, int)’ at pysph/base/c_kernels.cpp:12564:59: pysph/base/c_kernels.cpp:12427:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12427 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double, double, int)’: pysph/base/c_kernels.cpp:12262:10: note: ‘__pyx_v_fac’ was declared here 12262 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double, double, int)’ at pysph/base/c_kernels.cpp:4165:63: pysph/base/c_kernels.cpp:4028:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4028 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double, double, int)’: pysph/base/c_kernels.cpp:3807:10: note: ‘__pyx_v_fac’ was declared here 3807 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double, double, int)’ at pysph/base/c_kernels.cpp:37995:72: pysph/base/c_kernels.cpp:37858:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37858 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double, double, int)’: pysph/base/c_kernels.cpp:37683:10: note: ‘__pyx_v_fac’ was declared here 37683 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double, double, int)’ at pysph/base/c_kernels.cpp:25494:69: pysph/base/c_kernels.cpp:25357:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25357 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double, double, int)’: pysph/base/c_kernels.cpp:25182:10: note: ‘__pyx_v_fac’ was declared here 25182 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double, double, int)’ at pysph/base/c_kernels.cpp:21263:65: pysph/base/c_kernels.cpp:21126:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21126 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double, double, int)’: pysph/base/c_kernels.cpp:20951:10: note: ‘__pyx_v_fac’ was declared here 20951 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double, double, int)’ at pysph/base/c_kernels.cpp:42162:72: pysph/base/c_kernels.cpp:42025:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42025 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double, double, int)’: pysph/base/c_kernels.cpp:41850:10: note: ‘__pyx_v_fac’ was declared here 41850 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double, double, int)’ at pysph/base/c_kernels.cpp:29661:69: pysph/base/c_kernels.cpp:29524:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29524 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double, double, int)’: pysph/base/c_kernels.cpp:29349:10: note: ‘__pyx_v_fac’ was declared here 29349 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double, double, int)’ at pysph/base/c_kernels.cpp:16833:65: pysph/base/c_kernels.cpp:16696:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16696 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_py_dwdq(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double, double, int)’: pysph/base/c_kernels.cpp:16399:10: note: ‘__pyx_v_fac’ was declared here 16399 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:42506:80, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC6_1DWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1DWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:45105:66: pysph/base/c_kernels.cpp:42025:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42025 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC6_1DWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1DWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:41850:10: note: ‘__pyx_v_fac’ was declared here 41850 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:38339:80, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC4_1DWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1DWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:40938:66: pysph/base/c_kernels.cpp:37858:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37858 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC4_1DWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1DWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:37683:10: note: ‘__pyx_v_fac’ was declared here 37683 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:34172:80, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC2_1DWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1DWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:36771:66: pysph/base/c_kernels.cpp:33691:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33691 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC2_1DWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1DWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:33516:10: note: ‘__pyx_v_fac’ was declared here 33516 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:30005:77, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_24WendlandQuinticC6Wrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6Wrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:32604:63: pysph/base/c_kernels.cpp:29524:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29524 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_24WendlandQuinticC6Wrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6Wrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:29349:10: note: ‘__pyx_v_fac’ was declared here 29349 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:25838:77, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_24WendlandQuinticC4Wrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4Wrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:28437:63: pysph/base/c_kernels.cpp:25357:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25357 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_24WendlandQuinticC4Wrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4Wrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:25182:10: note: ‘__pyx_v_fac’ was declared here 25182 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_gradient(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:21659:73, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20SuperGaussianWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussianWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:24270:59: pysph/base/c_kernels.cpp:21126:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21126 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20SuperGaussianWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussianWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:20951:10: note: ‘__pyx_v_fac’ was declared here 20951 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_gradient(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:17177:73, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20QuinticSplineWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_QuinticSplineWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:20039:59: pysph/base/c_kernels.cpp:16696:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16696 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20QuinticSplineWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_QuinticSplineWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:16399:10: note: ‘__pyx_v_fac’ was declared here 16399 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_gradient(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:12908:67, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15GaussianWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_GaussianWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:15487:53: pysph/base/c_kernels.cpp:12427:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12427 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15GaussianWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_GaussianWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:12262:10: note: ‘__pyx_v_fac’ was declared here 12262 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:8751:75, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_22WendlandQuinticWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:11350:61: pysph/base/c_kernels.cpp:8270:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8270 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_22WendlandQuinticWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:8095:10: note: ‘__pyx_v_fac’ was declared here 8095 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_gradient(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:4509:71, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_18CubicSplineWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_CubicSplineWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:7183:57: pysph/base/c_kernels.cpp:4028:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4028 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_18CubicSplineWrapper_gradient(__pyx_obj_5pysph_4base_9c_kernels_CubicSplineWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:3807:10: note: ‘__pyx_v_fac’ was declared here 3807 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:43232:78: pysph/base/c_kernels.cpp:43075:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43075 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:42901:10: note: ‘__pyx_v_fac’ was declared here 42901 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:39065:78: pysph/base/c_kernels.cpp:38908:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 38908 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:38734:10: note: ‘__pyx_v_fac’ was declared here 38734 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:30731:75: pysph/base/c_kernels.cpp:30574:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 30574 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:30400:10: note: ‘__pyx_v_fac’ was declared here 30400 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:26564:75: pysph/base/c_kernels.cpp:26407:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26407 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:26233:10: note: ‘__pyx_v_fac’ was declared here 26233 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_kernel(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:18620:67: pysph/base/c_kernels.cpp:18463:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 18463 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:18198:10: note: ‘__pyx_v_fac’ was declared here 18198 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:42506:80, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:42743:66: pysph/base/c_kernels.cpp:42025:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42025 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:41850:10: note: ‘__pyx_v_fac’ was declared here 41850 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:38339:80, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:38576:66: pysph/base/c_kernels.cpp:37858:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37858 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:37683:10: note: ‘__pyx_v_fac’ was declared here 37683 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:34172:80, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:34409:66: pysph/base/c_kernels.cpp:33691:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33691 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:33516:10: note: ‘__pyx_v_fac’ was declared here 33516 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:30005:77, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:30242:63: pysph/base/c_kernels.cpp:29524:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29524 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:29349:10: note: ‘__pyx_v_fac’ was declared here 29349 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:25838:77, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:26075:63: pysph/base/c_kernels.cpp:25357:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25357 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:25182:10: note: ‘__pyx_v_fac’ was declared here 25182 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_gradient(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:21659:73, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:21896:59: pysph/base/c_kernels.cpp:21126:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21126 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:20951:10: note: ‘__pyx_v_fac’ was declared here 20951 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_gradient(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:17177:73, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:17414:59: pysph/base/c_kernels.cpp:16696:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16696 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:16399:10: note: ‘__pyx_v_fac’ was declared here 16399 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_dwdq(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_gradient(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:12908:67, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:13145:53: pysph/base/c_kernels.cpp:12427:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12427 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:12262:10: note: ‘__pyx_v_fac’ was declared here 12262 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_dwdq(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:8751:75, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:8988:61: pysph/base/c_kernels.cpp:8270:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8270 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:8095:10: note: ‘__pyx_v_fac’ was declared here 8095 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_dwdq(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_gradient(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double, double*)’ at pysph/base/c_kernels.cpp:4509:71, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’ at pysph/base/c_kernels.cpp:4746:57: pysph/base/c_kernels.cpp:4028:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4028 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_py_gradient(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, __Pyx_memviewslice, double, double, __Pyx_memviewslice, int)’: pysph/base/c_kernels.cpp:3807:10: note: ‘__pyx_v_fac’ was declared here 3807 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_kernel(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:14068:61: pysph/base/c_kernels.cpp:13893:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13893 | __pyx_v_val = (exp(((-__pyx_v_q) * __pyx_v_q)) * __pyx_v_fac); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:13765:10: note: ‘__pyx_v_fac’ was declared here 13765 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:35352:74: pysph/base/c_kernels.cpp:35195:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 35195 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:35039:10: note: ‘__pyx_v_fac’ was declared here 35039 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:9931:69: pysph/base/c_kernels.cpp:9774:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9774 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:9618:10: note: ‘__pyx_v_fac’ was declared here 9618 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_kernel(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:22851:67: pysph/base/c_kernels.cpp:22676:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22676 | __pyx_v_val = ((exp((-__pyx_v_q2)) * ((1.0 + (__pyx_v_self->dim * 0.5)) - __pyx_v_q2)) * __pyx_v_fac); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:22538:10: note: ‘__pyx_v_fac’ was declared here 22538 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_kernel(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15GaussianWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_GaussianWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:15093:61: pysph/base/c_kernels.cpp:13893:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13893 | __pyx_v_val = (exp(((-__pyx_v_q) * __pyx_v_q)) * __pyx_v_fac); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15GaussianWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_GaussianWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:13765:10: note: ‘__pyx_v_fac’ was declared here 13765 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_kernel(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:5764:65: pysph/base/c_kernels.cpp:5607:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5607 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:5418:10: note: ‘__pyx_v_fac’ was declared here 5418 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:39519:74: pysph/base/c_kernels.cpp:39362:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 39362 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:39206:10: note: ‘__pyx_v_fac’ was declared here 39206 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:13624:65: pysph/base/c_kernels.cpp:13467:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13467 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_8Gaussian_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_Gaussian*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:13303:10: note: ‘__pyx_v_fac’ was declared here 13303 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:27018:71: pysph/base/c_kernels.cpp:26861:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26861 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:26705:10: note: ‘__pyx_v_fac’ was declared here 26705 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC2_1DWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1DWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:36377:74: pysph/base/c_kernels.cpp:35195:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 35195 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC2_1DWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1DWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:35039:10: note: ‘__pyx_v_fac’ was declared here 35039 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_22WendlandQuinticWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:10956:69: pysph/base/c_kernels.cpp:9774:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9774 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_22WendlandQuinticWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:9618:10: note: ‘__pyx_v_fac’ was declared here 9618 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:34898:78: pysph/base/c_kernels.cpp:34741:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 34741 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC2_1D_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC2_1D*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:34567:10: note: ‘__pyx_v_fac’ was declared here 34567 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_kernel(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20SuperGaussianWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussianWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:23876:67: pysph/base/c_kernels.cpp:22676:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22676 | __pyx_v_val = ((exp((-__pyx_v_q2)) * ((1.0 + (__pyx_v_self->dim * 0.5)) - __pyx_v_q2)) * __pyx_v_fac); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20SuperGaussianWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussianWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:22538:10: note: ‘__pyx_v_fac’ was declared here 22538 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:31185:71: pysph/base/c_kernels.cpp:31028:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 31028 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC6_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:30872:10: note: ‘__pyx_v_fac’ was declared here 30872 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:43686:74: pysph/base/c_kernels.cpp:43529:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43529 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_py_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:43373:10: note: ‘__pyx_v_fac’ was declared here 43373 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:9477:73: pysph/base/c_kernels.cpp:9320:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9320 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_15WendlandQuintic_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuintic*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:9146:10: note: ‘__pyx_v_fac’ was declared here 9146 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_kernel(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_18CubicSplineWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_CubicSplineWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:6789:65: pysph/base/c_kernels.cpp:5607:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5607 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_18CubicSplineWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_CubicSplineWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:5418:10: note: ‘__pyx_v_fac’ was declared here 5418 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC4_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC4_1DWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1DWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:40544:74: pysph/base/c_kernels.cpp:39362:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 39362 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC4_1DWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4_1DWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:39206:10: note: ‘__pyx_v_fac’ was declared here 39206 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:22397:71: pysph/base/c_kernels.cpp:22240:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22240 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * __pyx_v_val); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_13SuperGaussian_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_SuperGaussian*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:22054:10: note: ‘__pyx_v_fac’ was declared here 22054 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_17WendlandQuinticC4_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_24WendlandQuinticC4Wrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4Wrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:28043:71: pysph/base/c_kernels.cpp:26861:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26861 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_24WendlandQuinticC4Wrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC4Wrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:26705:10: note: ‘__pyx_v_fac’ was declared here 26705 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:5277:69: pysph/base/c_kernels.cpp:5120:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5120 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * ((__pyx_v_dw * __pyx_v_q) + (__pyx_v_w * __pyx_v_self->dim))); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_11CubicSpline_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_CubicSpline*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:4904:10: note: ‘__pyx_v_fac’ was declared here 4904 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_20WendlandQuinticC6_1D_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1D*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC6_1DWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1DWrapper*, double, double, double, double, double, double, double, int)’ at pysph/base/c_kernels.cpp:44711:74: pysph/base/c_kernels.cpp:43529:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43529 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp: In function ‘__pyx_f_5pysph_4base_9c_kernels_27WendlandQuinticC6_1DWrapper_kernel(__pyx_obj_5pysph_4base_9c_kernels_WendlandQuinticC6_1DWrapper*, double, double, double, double, double, double, double, int)’: pysph/base/c_kernels.cpp:43373:10: note: ‘__pyx_v_fac’ was declared here 43373 | double __pyx_v_fac; | ^~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/c_kernels.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/c_kernels.cpython-311-s390x-linux-gnu.so building 'pysph.base.linalg3' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/linalg3.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/linalg3.o In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/linalg3.cpp:791: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/linalg3.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/linalg3.cpython-311-s390x-linux-gnu.so building 'pysph.tools.mesh_tools' extension creating build/temp.linux-s390x-cpython-311/pysph/tools s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/tools/mesh_tools.cpp -o build/temp.linux-s390x-cpython-311/pysph/tools/mesh_tools.o In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/tools/mesh_tools.cpp:790: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/tools/mesh_tools.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/tools/mesh_tools.cpython-311-s390x-linux-gnu.so building 'pysph.base.gpu_nnps_base' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/gpu_nnps_base.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/gpu_nnps_base.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/gpu_nnps_base.cpp:802: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/gpu_nnps_base.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/gpu_nnps_base.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.z_order_gpu_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipysph/base -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/z_order_gpu_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/z_order_gpu_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/z_order_gpu_nnps.cpp:818: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/z_order_gpu_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/z_order_gpu_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.stratified_sfc_gpu_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/stratified_sfc_gpu_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/stratified_sfc_gpu_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/stratified_sfc_gpu_nnps.cpp:817: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/stratified_sfc_gpu_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/stratified_sfc_gpu_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.base.octree_gpu_nnps' extension s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/include/python3.11 -c pysph/base/octree_gpu_nnps.cpp -o build/temp.linux-s390x-cpython-311/pysph/base/octree_gpu_nnps.o -fopenmp In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/base/octree_gpu_nnps.cpp:798: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/base/octree_gpu_nnps.o -L/usr/lib/s390x-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/octree_gpu_nnps.cpython-311-s390x-linux-gnu.so -fopenmp building 'pysph.parallel.parallel_manager' extension creating build/temp.linux-s390x-cpython-311/pysph/parallel s390x-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/include/ -I/usr/lib/python3/dist-packages/mpi4py/include -I/usr/include/trilinos -I/usr/lib/python3/dist-packages/pyzoltan/czoltan -I/usr/include/python3.11 -c pysph/parallel/parallel_manager.cpp -o build/temp.linux-s390x-cpython-311/pysph/parallel/parallel_manager.o -I/usr/lib/s390x-linux-gnu/openmpi/include -I/usr/lib/s390x-linux-gnu/openmpi/include/openmpi In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1940, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5, from pysph/parallel/parallel_manager.cpp:818: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ pysph/parallel/parallel_manager.cpp: In function ‘PyObject* __pyx_f_5pysph_8parallel_16parallel_manager_15ParallelManager_get_nearest_particles(__pyx_obj_5pysph_8parallel_16parallel_manager_ParallelManager*, int, int, size_t, __pyx_obj_7cyarray_6carray_UIntArray*, int)’: pysph/parallel/parallel_manager.cpp:19208:43: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 19208 | for (__pyx_t_18 = 0; __pyx_t_18 < __pyx_t_17; __pyx_t_18+=1) { | ~~~~~~~~~~~^~~~~~~~~~~~ s390x-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-6 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-s390x-cpython-311/pysph/parallel/parallel_manager.o -L/usr/lib -L/usr/lib/s390x-linux-gnu -ltrilinos_zoltan -lmpi -o /<>/.pybuild/cpython3_3.11/build/pysph/parallel/parallel_manager.cpython-311-s390x-linux-gnu.so -L/usr/lib/s390x-linux-gnu/openmpi/lib -lmpi_cxx -lmpi debian/rules execute_after_dh_auto_build make[1]: Entering directory '/<>' I: pybuild base:291: echo '/<>/.pybuild/cpython3_3.11/build' env PYTHONPATH=/<>/.pybuild/cpython3_3.11/build \ python3 -m sphinx -b html -N -E -T /<>/docs/source /<>/.pybuild/docs/html Running Sphinx v5.3.0 making output directory... done WARNING: html_static_path entry '_static' does not exist loading intersphinx inventory from https://cyarray.readthedocs.io/en/latest/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://cyarray.readthedocs.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='cyarray.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) building [mo]: targets for 0 po files that are out of date building [html]: targets for 30 source files that are out of date updating environment: [new config] 30 added, 0 changed, 0 removed reading sources... [ 3%] contribution/how_to_write_docs reading sources... [ 6%] design/equations reading sources... [ 10%] design/iom reading sources... [ 13%] design/overview reading sources... [ 16%] design/solver_interfaces reading sources... [ 20%] design/working_with_particles reading sources... [ 23%] examples/flow_past_cylinder reading sources... [ 26%] examples/index reading sources... [ 30%] examples/sphere_in_vessel reading sources... [ 33%] examples/taylor_green reading sources... [ 36%] index reading sources... [ 40%] installation reading sources... [ 43%] overview reading sources... [ 46%] reference/application reading sources... [ 50%] reference/controller reading sources... [ 53%] reference/equations reading sources... [ 56%] reference/index reading sources... [ 60%] reference/integrator reading sources... [ 63%] reference/kernels reading sources... [ 66%] reference/nnps reading sources... [ 70%] reference/parallel_manager reading sources... [ 73%] reference/particle_array reading sources... [ 76%] reference/scheme reading sources... [ 80%] reference/solver reading sources... [ 83%] reference/solver_interfaces reading sources... [ 86%] reference/tools reading sources... [ 90%] starcluster/overview reading sources... [ 93%] tutorial/circular_patch reading sources... [ 96%] tutorial/circular_patch_simple reading sources... [100%] using_pysph /<>/docs/source/design/iom.rst:137: WARNING: Literal block ends without a blank line; unexpected unindent. /<>/docs/source/examples/flow_past_cylinder.rst:242: WARNING: Inline emphasis start-string without end-string. /<>/docs/source/installation.rst:5: WARNING: Duplicate explicit target name: "zoltan". /<>/docs/source/installation.rst:237: ERROR: Duplicate target name, cannot be used as a unique reference: "zoltan". /<>/docs/source/installation.rst:237: ERROR: Duplicate target name, cannot be used as a unique reference: "zoltan". /<>/docs/source/installation.rst:237: ERROR: Duplicate target name, cannot be used as a unique reference: "zoltan". /<>/docs/source/installation.rst:243: ERROR: Duplicate target name, cannot be used as a unique reference: "zoltan". /<>/docs/source/installation.rst:1091: ERROR: Duplicate target name, cannot be used as a unique reference: "zoltan". WARNING: autodoc: failed to import module 'application' from module 'pysph.solver'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'controller' from module 'pysph.solver'; the following exception was raised: No module named 'pysph.base.particle_array' /<>/pysph/sph/wc/basic.py:docstring of pysph.sph.wc.basic.MomentumEquation:32: WARNING: Duplicate explicit target name: "monaghan1992". /<>/pysph/sph/wc/basic.py:docstring of pysph.sph.wc.basic.MomentumEquationDeltaSPH:18: WARNING: Duplicate explicit target name: "marrone2011". /<>/pysph/sph/wc/basic.py:docstring of pysph.sph.wc.basic.TaitEOS:14: WARNING: Duplicate explicit target name: "monaghan2005". WARNING: autodoc: failed to import module 'gtvf' from module 'pysph.sph.wc'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'crksph' from module 'pysph.sph.wc'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'pcisph' from module 'pysph.sph.wc'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'basic' from module 'pysph.sph.solid_mech'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'basic' from module 'pysph.sph.gas_dynamics'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'surface_tension' from module 'pysph.sph'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'iisph' from module 'pysph.sph'; the following exception was raised: No module named 'pysph.base.particle_array' /<>/docs/source/reference/equations.rst:81: WARNING: Title underline too short. Hopkins' ‘Traditional’ SPH (TSPH) -------------- /<>/docs/source/reference/equations.rst:81: WARNING: Title underline too short. Hopkins' ‘Traditional’ SPH (TSPH) -------------- WARNING: autodoc: failed to import module 'tsph' from module 'pysph.sph.gas_dynamics'; the following exception was raised: No module named 'pysph.base.particle_array' /<>/docs/source/reference/equations.rst:90: WARNING: Title underline too short. Hopkins' ‘Modern’ SPH (PSPH) -------------- /<>/docs/source/reference/equations.rst:90: WARNING: Title underline too short. Hopkins' ‘Modern’ SPH (PSPH) -------------- WARNING: autodoc: failed to import module 'psph' from module 'pysph.sph.gas_dynamics'; the following exception was raised: No module named 'pysph.base.particle_array' /<>/pysph/sph/wc/basic.py:docstring of pysph.sph.wc.basic.MomentumEquation:32: WARNING: duplicate citation Monaghan1992, other instance in /<>/docs/source/reference/equations.rst /<>/pysph/sph/wc/basic.py:docstring of pysph.sph.wc.basic.MomentumEquationDeltaSPH:18: WARNING: duplicate citation Marrone2011, other instance in /<>/docs/source/reference/equations.rst /<>/pysph/sph/wc/basic.py:docstring of pysph.sph.wc.basic.TaitEOS:14: WARNING: duplicate citation Monaghan2005, other instance in /<>/docs/source/reference/equations.rst /<>/pysph/base/kernels.py:docstring of pysph.base.kernels.CubicSpline:21: WARNING: duplicate citation Monaghan1992, other instance in /<>/docs/source/reference/equations.rst WARNING: autodoc: failed to import module 'nnps' from module 'pysph.base'; the following exception was raised: No module named 'pysph.base.nnps_base' WARNING: autodoc: failed to import module 'nnps_base' from module 'pysph.base'; the following exception was raised: No module named 'pysph.base.nnps_base' WARNING: autodoc: failed to import module 'linked_list_nnps' from module 'pysph.base'; the following exception was raised: No module named 'pysph.base.linked_list_nnps' WARNING: autodoc: failed to import module 'box_sort_nnps' from module 'pysph.base'; the following exception was raised: No module named 'pysph.base.box_sort_nnps' WARNING: autodoc: failed to import module 'spatial_hash_nnps' from module 'pysph.base'; the following exception was raised: No module named 'pysph.base.spatial_hash_nnps' WARNING: autodoc: failed to import module 'parallel_manager' from module 'pysph.parallel'; the following exception was raised: No module named 'pysph.parallel.parallel_manager' WARNING: autodoc: failed to import module 'particle_array' from module 'pysph.base'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'utils' from module 'pysph.base'; the following exception was raised: No module named 'pysph.base.particle_array' /<>/pysph/sph/scheme.py:docstring of pysph.sph.scheme.WCSPHScheme:44: WARNING: duplicate citation Hughes2010, other instance in /<>/docs/source/reference/equations.rst /<>/pysph/sph/scheme.py:docstring of pysph.sph.scheme.WCSPHScheme:48: WARNING: duplicate citation Marrone2011, other instance in /<>/docs/source/reference/equations.rst /<>/pysph/sph/scheme.py:docstring of pysph.sph.scheme.WCSPHScheme:52: WARNING: duplicate citation Cherfils2012, other instance in /<>/docs/source/reference/equations.rst WARNING: autodoc: failed to import module 'solver' from module 'pysph.solver'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'inlet_outlet_manager' from module 'pysph.sph.bc'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import function 'utils.dump' from module 'pysph.solver'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import function 'utils.get_files' from module 'pysph.solver'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import function 'utils.load' from module 'pysph.solver'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import function 'utils.load_and_concatenate' from module 'pysph.solver'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'interpolator' from module 'pysph.tools'; the following exception was raised: No module named 'pysph.base.particle_array' WARNING: autodoc: failed to import module 'sph_evaluator' from module 'pysph.tools'; the following exception was raised: No module named 'pysph.base.nnps_base' WARNING: autodoc: failed to import module 'mayavi_viewer' from module 'pysph.tools'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 58, in import_module return importlib.import_module(modname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/<>/pysph/tools/mayavi_viewer.py", line 27, in from traitsui.api import (View, Item, Group, Handler, HSplit, ListEditor, File "/usr/lib/python3/dist-packages/traitsui/api.py", line 256, in from .editors.api import ArrayEditor File "/usr/lib/python3/dist-packages/traitsui/editors/__init__.py", line 16, in from .api import ArrayEditor File "/usr/lib/python3/dist-packages/traitsui/editors/api.py", line 68, in from .array_editor import ArrayEditor File "/usr/lib/python3/dist-packages/traitsui/editors/array_editor.py", line 22, in from traitsui.view import View File "/usr/lib/python3/dist-packages/traitsui/view.py", line 34, in from .ui import UI File "/usr/lib/python3/dist-packages/traitsui/ui.py", line 41, in from .view_elements import ViewElements File "/usr/lib/python3/dist-packages/traitsui/view_elements.py", line 157, in ViewElements.add_class_trait("parents", List(ViewElements)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'ViewElements' has no attribute 'add_class_trait' WARNING: autodoc: failed to import function 'read_mesh.mesh2points' from module 'pysph.tools'; the following exception was raised: No module named 'meshio' WARNING: autodoc: failed to import function 'geometry.get_packed_periodic_packed_particles' from module 'pysph.tools'; the following exception was raised: No module named 'pysph.base.nnps_base' WARNING: autodoc: failed to import function 'geometry.get_packed_2d_particles_from_surface_coordinates' from module 'pysph.tools'; the following exception was raised: No module named 'pysph.base.nnps_base' WARNING: autodoc: failed to import function 'geometry.get_packed_2d_particles_from_surface_file' from module 'pysph.tools'; the following exception was raised: No module named 'pysph.base.nnps_base' WARNING: autodoc: failed to import function 'geometry.get_packed_3d_particles_from_surface_file' from module 'pysph.tools'; the following exception was raised: No module named 'pysph.base.nnps_base' WARNING: autodoc: failed to import function 'geometry.create_fluid_around_packing' from module 'pysph.tools'; the following exception was raised: No module named 'pysph.base.nnps_base' looking for now-outdated files... none found pickling environment... done checking consistency... /<>/docs/source/design/working_with_particles.rst: WARNING: document isn't included in any toctree /<>/docs/source/reference/scheme.rst:48: WARNING: Citation [Marrone2011] is not referenced. /<>/docs/source/reference/scheme.rst:52: WARNING: Citation [Cherfils2012] is not referenced. /<>/docs/source/reference/equations.rst:8: WARNING: Citation [Cole1948] is not referenced. /<>/docs/source/reference/equations.rst:11: WARNING: Citation [Batchelor2002] is not referenced. /<>/docs/source/reference/scheme.rst:44: WARNING: Citation [Hughes2010] is not referenced. /<>/docs/source/reference/equations.rst:7: WARNING: Citation [Ferrari2009] is not referenced. /<>/docs/source/reference/equations.rst:5: WARNING: Citation [Sun2017] is not referenced. /<>/docs/source/reference/equations.rst:10: WARNING: Citation [Adami2013] is not referenced. /<>/docs/source/reference/equations.rst:9: WARNING: Citation [BonetLok1999] is not referenced. done preparing documents... done writing output... [ 3%] contribution/how_to_write_docs writing output... [ 6%] design/equations writing output... [ 10%] design/iom writing output... [ 13%] design/overview writing output... [ 16%] design/solver_interfaces writing output... [ 20%] design/working_with_particles writing output... [ 23%] examples/flow_past_cylinder writing output... [ 26%] examples/index writing output... [ 30%] examples/sphere_in_vessel writing output... [ 33%] examples/taylor_green writing output... [ 36%] index writing output... [ 40%] installation writing output... [ 43%] overview writing output... [ 46%] reference/application writing output... [ 50%] reference/controller writing output... [ 53%] reference/equations writing output... [ 56%] reference/index writing output... [ 60%] reference/integrator writing output... [ 63%] reference/kernels writing output... [ 66%] reference/nnps writing output... [ 70%] reference/parallel_manager writing output... [ 73%] reference/particle_array writing output... [ 76%] reference/scheme writing output... [ 80%] reference/solver writing output... [ 83%] reference/solver_interfaces writing output... [ 86%] reference/tools writing output... [ 90%] starcluster/overview writing output... [ 93%] tutorial/circular_patch writing output... [ 96%] tutorial/circular_patch_simple writing output... [100%] using_pysph generating indices... genindex py-modindex done highlighting module code... [ 5%] pysph.base.kernels highlighting module code... [ 10%] pysph.base.reduce_array highlighting module code... [ 15%] pysph.solver.solver_interfaces highlighting module code... [ 20%] pysph.solver.tools highlighting module code... [ 25%] pysph.sph.basic_equations highlighting module code... [ 30%] pysph.sph.boundary_equations highlighting module code... [ 35%] pysph.sph.equation highlighting module code... [ 40%] pysph.sph.gas_dynamics.boundary_equations highlighting module code... [ 45%] pysph.sph.integrator highlighting module code... [ 50%] pysph.sph.integrator_step highlighting module code... [ 55%] pysph.sph.misc.advection highlighting module code... [ 60%] pysph.sph.rigid_body highlighting module code... [ 65%] pysph.sph.scheme highlighting module code... [ 70%] pysph.sph.solid_mech.hvi highlighting module code... [ 75%] pysph.sph.wc.basic highlighting module code... [ 80%] pysph.sph.wc.density_correction highlighting module code... [ 85%] pysph.sph.wc.kernel_correction highlighting module code... [ 90%] pysph.sph.wc.transport_velocity highlighting module code... [ 95%] pysph.sph.wc.viscosity highlighting module code... [100%] pysph.tools.gmsh writing additional pages... search done copying images... [ 9%] ../Images/dam-break-schematic.png copying images... [ 18%] design/images/controller.png copying images... [ 27%] design/images/html_client.png copying images... [ 36%] design/images/particle-array.png copying images... [ 45%] ../Images/pysph_viewer.png copying images... [ 54%] ../Images/ldc-streamlines.png copying images... [ 63%] ../Images/rings-collision.png copying images... [ 72%] ../Images/db3d.png copying images... [ 81%] ../Images/pysph-examples-common-steps.png copying images... [ 90%] ../Images/local-remote-particles.png copying images... [100%] ../Images/periodic-domain-ghost-particle-tags.png copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 68 warnings. The HTML pages are in .pybuild/docs/html. find /<>/.pybuild/docs/html -type f -print0 | xargs --no-run-if-empty -0 sed -i 's/https:\/\/www.youtube.com//g' make[1]: Leaving directory '/<>' dh_auto_test -a -O--buildsystem=pybuild I: pybuild base:291: cd '/<>/.pybuild/cpython3_3.11/build'; python3.11 -m pytest -k "not test_sph_evaluator and not TestInterpolator and not test_get_points_from_mgrid and not test_get_surface_points_uniform" ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 rootdir: /<> configfile: tox.ini collected 1036 items / 117 deselected / 919 selected pysph/base/tests/test_device_helper.py .Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs [ 3%] .Fs.Fs.Fs.Fs.Fs.Fs.FsF [ 5%] pysph/base/tests/test_domain_manager.py FFFFFFFFFFFF [ 7%] pysph/base/tests/test_kernel.py ........................................ [ 11%] ................................................................. [ 18%] pysph/base/tests/test_linalg3.py ....... [ 19%] pysph/base/tests/test_neighbor_cache.py FFFF [ 19%] pysph/base/tests/test_nnps.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 24%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 32%] FFxxFFFxFxxFFFxFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 40%] FFFFFFFFFFFFFFFFFFFFFFFFFxxFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 47%] FFFFFFFFFFFF.... [ 49%] pysph/base/tests/test_octree.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 54%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 59%] pysph/base/tests/test_particle_array.py ................................ [ 62%] ...FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFsssssssssssssssssssssssssssssss [ 69%] pysph/base/tests/test_periodic_nnps.py ............ [ 70%] pysph/base/tests/test_reduce_array.py ...... [ 71%] pysph/base/tests/test_utils.py .. [ 71%] pysph/examples/tests/test_riemann_solver.py s........ [ 72%] pysph/parallel/tests/test_openmp.py . [ 72%] pysph/parallel/tests/test_parallel.py .ss... [ 73%] pysph/parallel/tests/test_parallel_run.py . [ 73%] pysph/solver/tests/test_application.py ..... [ 74%] pysph/solver/tests/test_solver.py ... [ 74%] pysph/solver/tests/test_solver_utils.py .............. [ 76%] pysph/sph/bc/tests/test_simple_inlet_outlet.py ....... [ 76%] pysph/sph/tests/test_acceleration_eval.py .......................FF.FFFF [ 80%] FFFFFFFFFFFF.FFFFFFFFFFFFFFFF.FFFFFFFssFFFsFss.ssssssssssssss.F [ 86%] pysph/sph/tests/test_acceleration_eval_cython_helper.py ..... [ 87%] pysph/sph/tests/test_equations.py ............... [ 89%] pysph/sph/tests/test_integrator.py ...............FFFFssss [ 91%] pysph/sph/tests/test_integrator_cython_helper.py . [ 91%] pysph/sph/tests/test_integrator_step.py .. [ 91%] pysph/sph/tests/test_kernel_corrections.py ................ [ 93%] pysph/sph/tests/test_linalg.py ............. [ 95%] pysph/sph/tests/test_multi_group_integrator.py .F [ 95%] pysph/sph/tests/test_riemann_solver.py ............. [ 96%] pysph/sph/tests/test_scheme.py . [ 96%] pysph/tools/tests/test_geometry.py .............s.... [ 98%] pysph/tools/tests/test_interpolator.py ... [ 99%] pysph/tools/tests/test_mesh_tools.py ........ [100%] =================================== FAILURES =================================== _____________________ TestDeviceHelper.test_simple[opencl] _____________________ self = backend = 'opencl' @check_all_backends def test_simple(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ TestDeviceHelper.test_push_correctly_sets_values_with_args[opencl] ______ self = backend = 'opencl' @check_all_backends def test_push_correctly_sets_values_with_args(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ TestDeviceHelper.test_push_correctly_sets_values_with_no_args[opencl] _____ self = backend = 'opencl' @check_all_backends def test_push_correctly_sets_values_with_no_args(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ TestDeviceHelper.test_pull_correctly_sets_values_with_args[opencl] ______ self = backend = 'opencl' @check_all_backends def test_pull_correctly_sets_values_with_args(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ TestDeviceHelper.test_pull_correctly_sets_values_with_no_args[opencl] _____ self = backend = 'opencl' @check_all_backends def test_pull_correctly_sets_values_with_no_args(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestDeviceHelper.test_max_provides_maximum[opencl] ______________ self = backend = 'opencl' @check_all_backends def test_max_provides_maximum(self, backend): check_import(backend) self.setup() # Given/When pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestDeviceHelper.test_that_adding_removing_prop_to_array_updates_gpu[opencl] _ self = backend = 'opencl' @check_all_backends def test_that_adding_removing_prop_to_array_updates_gpu(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:160: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ TestDeviceHelper.test_resize_works[opencl] __________________ self = backend = 'opencl' @check_all_backends def test_resize_works(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:183: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ TestDeviceHelper.test_get_number_of_particles[opencl] _____________ self = backend = 'opencl' @check_all_backends def test_get_number_of_particles(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ TestDeviceHelper.test_align[opencl] ______________________ self = backend = 'opencl' @check_all_backends def test_align(self, backend): check_import(backend) self.setup() # Given pa = self.pa pa.add_property('force', stride=3) > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:238: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestDeviceHelper.test_align_particles[opencl] _________________ self = backend = 'opencl' @check_all_backends def test_align_particles(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestDeviceHelper.test_remove_particles[opencl] ________________ self = backend = 'opencl' @check_all_backends def test_remove_particles(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:285: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ TestDeviceHelper.test_remove_tagged_particles[opencl] _____________ self = backend = 'opencl' @check_all_backends def test_remove_tagged_particles(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:306: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ TestDeviceHelper.test_add_particles[opencl] __________________ self = backend = 'opencl' @check_all_backends def test_add_particles(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:325: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ TestDeviceHelper.test_extend[opencl] _____________________ self = backend = 'opencl' @check_all_backends def test_extend(self, backend): check_import(backend) self.setup() # Given pa = self.pa > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ TestDeviceHelper.test_append_parray[opencl] __________________ self = backend = 'opencl' @check_all_backends def test_append_parray(self, backend): check_import(backend) self.setup() # Given pa1 = self.pa pa2 = get_particle_array(name='s', x=[0.0, 1.0], m=1.0, rho=2.0) > h = DeviceHelper(pa1, backend=backend) pysph/base/tests/test_device_helper.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ TestDeviceHelper.test_empty_clone[opencl] ___________________ self = backend = 'opencl' @check_all_backends def test_empty_clone(self, backend): check_import(backend) self.setup() # Given pa = get_particle_array(name='f', x=[0.0, 1.0, 2.0, 3.0], m=1.0, rho=2.0) > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:375: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ TestDeviceHelper.test_extract_particles[opencl] ________________ self = backend = 'opencl' @check_all_backends def test_extract_particles(self, backend): check_import(backend) self.setup() # Given pa = get_particle_array(name='f', x=[0.0, 1.0, 2.0, 3.0], m=1.0, rho=2.0) > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:392: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ TestDeviceHelper.test_update_minmax_cl ____________________ self = def test_update_minmax_cl(self): backend = 'opencl' check_import(backend) self.setup() # Given x = [0.0, -1.0, 2.0, 3.0] y = [0.0, 1.0, -2.0, 3.0] z = [0.0, 1.0, 2.0, -3.0] h = [4.0, 1.0, 2.0, 3.0] pa = get_particle_array(x=x, y=y, z=z, h=h) > h = DeviceHelper(pa, backend=backend) pysph/base/tests/test_device_helper.py:417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUPeriodicBox2D.test_box_wrapping ___________________ self = def setUp(self): > PeriodicBox2DTestCaseOpenCL.setUp(self) pysph/base/tests/test_domain_manager.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:130: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUPeriodicBox2D.test_periodicity ____________________ self = def setUp(self): > PeriodicBox2DTestCaseOpenCL.setUp(self) pysph/base/tests/test_domain_manager.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:130: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ZOrderGPUPeriodicBox2D.test_summation_density _________________ self = def setUp(self): > PeriodicBox2DTestCaseOpenCL.setUp(self) pysph/base/tests/test_domain_manager.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:130: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ BoxSortPeriodicBox2D.test_box_wrapping ____________________ self = def setUp(self): > PeriodicBox2DTestCaseCPU.setUp(self) pysph/base/tests/test_domain_manager.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:121: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ BoxSortPeriodicBox2D.test_periodicity _____________________ self = def setUp(self): > PeriodicBox2DTestCaseCPU.setUp(self) pysph/base/tests/test_domain_manager.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:121: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ BoxSortPeriodicBox2D.test_summation_density __________________ self = def setUp(self): > PeriodicBox2DTestCaseCPU.setUp(self) pysph/base/tests/test_domain_manager.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:121: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ LinkedListPeriodicBox2D.test_box_wrapping ___________________ self = def setUp(self): > PeriodicBox2DTestCaseCPU.setUp(self) pysph/base/tests/test_domain_manager.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:121: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ LinkedListPeriodicBox2D.test_periodicity ___________________ self = def setUp(self): > PeriodicBox2DTestCaseCPU.setUp(self) pysph/base/tests/test_domain_manager.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:121: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ LinkedListPeriodicBox2D.test_summation_density ________________ self = def setUp(self): > PeriodicBox2DTestCaseCPU.setUp(self) pysph/base/tests/test_domain_manager.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_domain_manager.py:121: in setUp self.common_setup() pysph/base/tests/test_domain_manager.py:50: in common_setup fluid = get_particle_array(name='fluid', x=x, y=y, h=h, m=m, V=V, p=p) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ PeriodicBox3DTestCase.test_box_wrapping ____________________ self = def setUp(self): # create the particle arrays L = 1.0 n = 5 dx = L / n hdx = 1.5 self.L = L self.vol = vol = dx * dx * dx # fluid particles xx, yy, zz = np.mgrid[dx / 2:L:dx, dx / 2:L:dx, dx / 2:L:dx] x = xx.ravel() y = yy.ravel() z = zz.ravel() # particle positions p = self._get_pressure(x, y, z) h = np.ones_like(x) * hdx * dx # smoothing lengths m = np.ones_like(x) * vol # mass V = np.zeros_like(x) # volumes > fluid = get_particle_array(name='fluid', x=x, y=y, z=z, h=h, m=m, V=V, p=p ) pysph/base/tests/test_domain_manager.py:277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ PeriodicBox3DTestCase.test_periodicity ____________________ self = def setUp(self): # create the particle arrays L = 1.0 n = 5 dx = L / n hdx = 1.5 self.L = L self.vol = vol = dx * dx * dx # fluid particles xx, yy, zz = np.mgrid[dx / 2:L:dx, dx / 2:L:dx, dx / 2:L:dx] x = xx.ravel() y = yy.ravel() z = zz.ravel() # particle positions p = self._get_pressure(x, y, z) h = np.ones_like(x) * hdx * dx # smoothing lengths m = np.ones_like(x) * vol # mass V = np.zeros_like(x) # volumes > fluid = get_particle_array(name='fluid', x=x, y=y, z=z, h=h, m=m, V=V, p=p ) pysph/base/tests/test_domain_manager.py:277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ PeriodicBox3DTestCase.test_summation_density _________________ self = def setUp(self): # create the particle arrays L = 1.0 n = 5 dx = L / n hdx = 1.5 self.L = L self.vol = vol = dx * dx * dx # fluid particles xx, yy, zz = np.mgrid[dx / 2:L:dx, dx / 2:L:dx, dx / 2:L:dx] x = xx.ravel() y = yy.ravel() z = zz.ravel() # particle positions p = self._get_pressure(x, y, z) h = np.ones_like(x) * hdx * dx # smoothing lengths m = np.ones_like(x) * vol # mass V = np.zeros_like(x) # volumes > fluid = get_particle_array(name='fluid', x=x, y=y, z=z, h=h, m=m, V=V, p=p ) pysph/base/tests/test_domain_manager.py:277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestNeighborCache.test_cache_updates_with_changed_particles __________ self = def test_cache_updates_with_changed_particles(self): # Given > pa1 = self._make_random_parray('pa1', 5) pysph/base/tests/test_neighbor_cache.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_neighbor_cache.py:19: in _make_random_parray return get_particle_array(name=name, x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ TestNeighborCache.test_empty_neigbors_works_correctly _____________ self = def test_empty_neigbors_works_correctly(self): # Given > pa1 = self._make_random_parray('pa1', 5) pysph/base/tests/test_neighbor_cache.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_neighbor_cache.py:19: in _make_random_parray return get_particle_array(name=name, x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ TestNeighborCache.test_neighbors_cached_properly _______________ self = def test_neighbors_cached_properly(self): # Given > pa1 = self._make_random_parray('pa1', 5) pysph/base/tests/test_neighbor_cache.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_neighbor_cache.py:19: in _make_random_parray return get_particle_array(name=name, x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ TestNeighborCache.test_setting_use_cache_does_cache ______________ self = def test_setting_use_cache_does_cache(self): # Given > pa = self._make_random_parray('pa1', 3) pysph/base/tests/test_neighbor_cache.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_neighbor_cache.py:19: in _make_random_parray return get_particle_array(name=name, x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________________ SimpleNNPSTestCase.test_cell_size _______________________ self = def setUp(self): """Default set-up used by all the tests Particles with the following coordinates (x, y, z) are placed in a box 0 : -1.5 , 0.25 , 0.5 1 : 0.33 , -0.25, 0.25 2 : 1.25 , -1.25, 1.25 3 : 0.05 , 1.25 , -0.5 4 : -0.5 , 0.5 , -1.25 5 : -0.75, 0.75 , -1.25 6 : -1.25, 0.5 , 0.5 7 : 0.5 , 1.5 , -0.5 8 : 0.5 , -0.5 , 0.5 9 : 0.5 , 1.75 , -0.75 The cell size is set to 1. Valid cell indices and the particles they contain are given below: (-2, 0, 0) : particle 0, 6 (0, -1, 0) : particle 1, 8 (1, -2, 1) : particle 2 (0, 1, -1) : particle 3, 7, 9 (-1, 0, -2): particle 4, 5 """ x = numpy.array([ -1.5, 0.33, 1.25, 0.05, -0.5, -0.75, -1.25, 0.5, 0.5, 0.5]) y = numpy.array([ 0.25, -0.25, -1.25, 1.25, 0.5, 0.75, 0.5, 1.5, -0.5, 1.75]) z = numpy.array([ 0.5, 0.25, 1.25, -0.5, -1.25, -1.25, 0.5, -0.5, 0.5, -0.75]) # using a degenrate (h=0) array will set cell size to 1 for NNPS h = numpy.zeros_like(x) > pa = get_particle_array(x=x, y=y, z=z, h=h) pysph/base/tests/test_nnps.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________________ SimpleNNPSTestCase.test_cells _________________________ self = def setUp(self): """Default set-up used by all the tests Particles with the following coordinates (x, y, z) are placed in a box 0 : -1.5 , 0.25 , 0.5 1 : 0.33 , -0.25, 0.25 2 : 1.25 , -1.25, 1.25 3 : 0.05 , 1.25 , -0.5 4 : -0.5 , 0.5 , -1.25 5 : -0.75, 0.75 , -1.25 6 : -1.25, 0.5 , 0.5 7 : 0.5 , 1.5 , -0.5 8 : 0.5 , -0.5 , 0.5 9 : 0.5 , 1.75 , -0.75 The cell size is set to 1. Valid cell indices and the particles they contain are given below: (-2, 0, 0) : particle 0, 6 (0, -1, 0) : particle 1, 8 (1, -2, 1) : particle 2 (0, 1, -1) : particle 3, 7, 9 (-1, 0, -2): particle 4, 5 """ x = numpy.array([ -1.5, 0.33, 1.25, 0.05, -0.5, -0.75, -1.25, 0.5, 0.5, 0.5]) y = numpy.array([ 0.25, -0.25, -1.25, 1.25, 0.5, 0.75, 0.5, 1.5, -0.5, 1.75]) z = numpy.array([ 0.5, 0.25, 1.25, -0.5, -1.25, -1.25, 0.5, -0.5, 0.5, -0.75]) # using a degenrate (h=0) array will set cell size to 1 for NNPS h = numpy.zeros_like(x) > pa = get_particle_array(x=x, y=y, z=z, h=h) pysph/base/tests/test_nnps.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ DictBoxSortNNPS2DTestCase.test_neighbors_aa __________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ DictBoxSortNNPS2DTestCase.test_neighbors_ab __________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ DictBoxSortNNPS2DTestCase.test_neighbors_ba __________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ DictBoxSortNNPS2DTestCase.test_neighbors_bb __________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ DictBoxSortNNPS2DTestCase.test_repeated ____________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ OctreeGPUNNPS2DTestCase.test_neighbors_aa ___________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ OctreeGPUNNPS2DTestCase.test_neighbors_ab ___________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ OctreeGPUNNPS2DTestCase.test_neighbors_ba ___________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ OctreeGPUNNPS2DTestCase.test_neighbors_bb ___________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ OctreeGPUNNPS2DTestCase.test_repeated _____________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ OctreeGPUNNPSDouble2DTestCase.test_neighbors_aa ________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ OctreeGPUNNPSDouble2DTestCase.test_neighbors_ab ________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ OctreeGPUNNPSDouble2DTestCase.test_neighbors_ba ________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ OctreeGPUNNPSDouble2DTestCase.test_neighbors_bb ________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ OctreeGPUNNPSDouble2DTestCase.test_repeated __________________ self = def setUp(self): > NNPS2DTestCase.setUp(self) pysph/base/tests/test_nnps.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:155: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:173: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ DictBoxSortNNPSTestCase.test_neighbors_aa ___________________ self = def setUp(self): """ Default setup and tests used for 3D NNPS tests We run the tests on the following pairs of particle arrays: Set 1) Same particle arrays. Both have constant h. 1) a -> a 2) b -> b Set 2) Different particle arrays with constant h. 1) a -> b 2) b -> a Set 3) Variable h 1) c -> c 2) d -> d We then repeat the above tests again to ensure that we get the correct results even when running NNPS repeatedly """ > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:439: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ DictBoxSortNNPSTestCase.test_neighbors_ab ___________________ self = def setUp(self): """ Default setup and tests used for 3D NNPS tests We run the tests on the following pairs of particle arrays: Set 1) Same particle arrays. Both have constant h. 1) a -> a 2) b -> b Set 2) Different particle arrays with constant h. 1) a -> b 2) b -> a Set 3) Variable h 1) c -> c 2) d -> d We then repeat the above tests again to ensure that we get the correct results even when running NNPS repeatedly """ > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:439: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ DictBoxSortNNPSTestCase.test_neighbors_ba ___________________ self = def setUp(self): """ Default setup and tests used for 3D NNPS tests We run the tests on the following pairs of particle arrays: Set 1) Same particle arrays. Both have constant h. 1) a -> a 2) b -> b Set 2) Different particle arrays with constant h. 1) a -> b 2) b -> a Set 3) Variable h 1) c -> c 2) d -> d We then repeat the above tests again to ensure that we get the correct results even when running NNPS repeatedly """ > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:439: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ DictBoxSortNNPSTestCase.test_neighbors_bb ___________________ self = def setUp(self): """ Default setup and tests used for 3D NNPS tests We run the tests on the following pairs of particle arrays: Set 1) Same particle arrays. Both have constant h. 1) a -> a 2) b -> b Set 2) Different particle arrays with constant h. 1) a -> b 2) b -> a Set 3) Variable h 1) c -> c 2) d -> d We then repeat the above tests again to ensure that we get the correct results even when running NNPS repeatedly """ > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:439: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ DictBoxSortNNPSTestCase.test_neighbors_cc ___________________ self = def setUp(self): """ Default setup and tests used for 3D NNPS tests We run the tests on the following pairs of particle arrays: Set 1) Same particle arrays. Both have constant h. 1) a -> a 2) b -> b Set 2) Different particle arrays with constant h. 1) a -> b 2) b -> a Set 3) Variable h 1) c -> c 2) d -> d We then repeat the above tests again to ensure that we get the correct results even when running NNPS repeatedly """ > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:439: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ DictBoxSortNNPSTestCase.test_neighbors_dd ___________________ self = def setUp(self): """ Default setup and tests used for 3D NNPS tests We run the tests on the following pairs of particle arrays: Set 1) Same particle arrays. Both have constant h. 1) a -> a 2) b -> b Set 2) Different particle arrays with constant h. 1) a -> b 2) b -> a Set 3) Variable h 1) c -> c 2) d -> d We then repeat the above tests again to ensure that we get the correct results even when running NNPS repeatedly """ > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:439: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ DictBoxSortNNPSTestCase.test_repeated _____________________ self = def setUp(self): """ Default setup and tests used for 3D NNPS tests We run the tests on the following pairs of particle arrays: Set 1) Same particle arrays. Both have constant h. 1) a -> a 2) b -> b Set 2) Different particle arrays with constant h. 1) a -> b 2) b -> a Set 3) Variable h 1) c -> c 2) d -> d We then repeat the above tests again to ensure that we get the correct results even when running NNPS repeatedly """ > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:439: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ BoxSortNNPSTestCase.test_neighbors_aa _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:481: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ BoxSortNNPSTestCase.test_neighbors_ab _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:481: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ BoxSortNNPSTestCase.test_neighbors_ba _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:481: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ BoxSortNNPSTestCase.test_neighbors_bb _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:481: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ BoxSortNNPSTestCase.test_neighbors_cc _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:481: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ BoxSortNNPSTestCase.test_neighbors_dd _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:481: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________________ BoxSortNNPSTestCase.test_repeated _______________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:481: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ SpatialHashNNPSTestCase.test_neighbors_aa ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ SpatialHashNNPSTestCase.test_neighbors_ab ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ SpatialHashNNPSTestCase.test_neighbors_ba ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ SpatialHashNNPSTestCase.test_neighbors_bb ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ SpatialHashNNPSTestCase.test_neighbors_cc ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ SpatialHashNNPSTestCase.test_neighbors_dd ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ SpatialHashNNPSTestCase.test_repeated _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ SingleLevelStratifiedHashNNPSTestCase.test_neighbors_aa ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:501: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ SingleLevelStratifiedHashNNPSTestCase.test_neighbors_ab ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:501: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ SingleLevelStratifiedHashNNPSTestCase.test_neighbors_ba ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:501: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ SingleLevelStratifiedHashNNPSTestCase.test_neighbors_bb ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:501: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ SingleLevelStratifiedHashNNPSTestCase.test_neighbors_cc ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:501: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ SingleLevelStratifiedHashNNPSTestCase.test_neighbors_dd ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:501: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ SingleLevelStratifiedHashNNPSTestCase.test_repeated ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:501: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedHashNNPSTestCase.test_neighbors_aa __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedHashNNPSTestCase.test_neighbors_ab __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedHashNNPSTestCase.test_neighbors_ba __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedHashNNPSTestCase.test_neighbors_bb __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedHashNNPSTestCase.test_neighbors_cc __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedHashNNPSTestCase.test_neighbors_dd __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ MultipleLevelsStratifiedHashNNPSTestCase.test_repeated ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ SingleLevelStratifiedSFCNNPSTestCase.test_neighbors_aa ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ SingleLevelStratifiedSFCNNPSTestCase.test_neighbors_ab ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ SingleLevelStratifiedSFCNNPSTestCase.test_neighbors_ba ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ SingleLevelStratifiedSFCNNPSTestCase.test_neighbors_bb ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ SingleLevelStratifiedSFCNNPSTestCase.test_neighbors_cc ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ SingleLevelStratifiedSFCNNPSTestCase.test_neighbors_dd ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ SingleLevelStratifiedSFCNNPSTestCase.test_repeated ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedSFCNNPSTestCase.test_neighbors_aa ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedSFCNNPSTestCase.test_neighbors_ab ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedSFCNNPSTestCase.test_neighbors_ba ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedSFCNNPSTestCase.test_neighbors_bb ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedSFCNNPSTestCase.test_neighbors_cc ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ MultipleLevelsStratifiedSFCNNPSTestCase.test_neighbors_dd ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ MultipleLevelsStratifiedSFCNNPSTestCase.test_repeated _____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ExtendedSpatialHashNNPSTestCase.test_neighbors_aa _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ExtendedSpatialHashNNPSTestCase.test_neighbors_ab _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ExtendedSpatialHashNNPSTestCase.test_neighbors_ba _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ExtendedSpatialHashNNPSTestCase.test_neighbors_bb _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ExtendedSpatialHashNNPSTestCase.test_neighbors_cc _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ExtendedSpatialHashNNPSTestCase.test_neighbors_dd _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ExtendedSpatialHashNNPSTestCase.test_repeated _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ OctreeNNPSTestCase.test_neighbors_aa _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ OctreeNNPSTestCase.test_neighbors_ab _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ OctreeNNPSTestCase.test_neighbors_ba _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ OctreeNNPSTestCase.test_neighbors_bb _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ OctreeNNPSTestCase.test_neighbors_cc _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ OctreeNNPSTestCase.test_neighbors_dd _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________________ OctreeNNPSTestCase.test_repeated _______________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ OctreeParallelNNPSTestCase.test_neighbors_aa _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:565: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ OctreeParallelNNPSTestCase.test_neighbors_ab _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:565: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ OctreeParallelNNPSTestCase.test_neighbors_ba _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:565: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ OctreeParallelNNPSTestCase.test_neighbors_bb _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:565: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ OctreeParallelNNPSTestCase.test_neighbors_cc _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:565: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ OctreeParallelNNPSTestCase.test_neighbors_dd _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:565: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ OctreeParallelNNPSTestCase.test_repeated ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:565: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ CellIndexingNNPSTestCase.test_neighbors_aa __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ CellIndexingNNPSTestCase.test_neighbors_ab __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ CellIndexingNNPSTestCase.test_neighbors_ba __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ CellIndexingNNPSTestCase.test_neighbors_bb __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ CellIndexingNNPSTestCase.test_neighbors_cc __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ CellIndexingNNPSTestCase.test_neighbors_dd __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ CellIndexingNNPSTestCase.test_repeated ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ZOrderNNPSTestCase.test_neighbors_aa _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ZOrderNNPSTestCase.test_neighbors_ab _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ZOrderNNPSTestCase.test_neighbors_ba _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ZOrderNNPSTestCase.test_neighbors_bb _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ZOrderNNPSTestCase.test_neighbors_cc _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ZOrderNNPSTestCase.test_neighbors_dd _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________________ ZOrderNNPSTestCase.test_repeated _______________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSAsymmetricTestCase.test_neighbors_aa ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSAsymmetricTestCase.test_neighbors_ab ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSAsymmetricTestCase.test_neighbors_ba ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSAsymmetricTestCase.test_neighbors_bb ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSAsymmetricTestCase.test_neighbors_cc ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSAsymmetricTestCase.test_neighbors_dd ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ExtendedZOrderNNPSAsymmetricTestCase.test_repeated ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSSymmetricTestCase.test_neighbors_aa _____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSSymmetricTestCase.test_neighbors_ab _____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSSymmetricTestCase.test_neighbors_ba _____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSSymmetricTestCase.test_neighbors_bb _____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSSymmetricTestCase.test_neighbors_cc _____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ ExtendedZOrderNNPSSymmetricTestCase.test_neighbors_dd _____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ExtendedZOrderNNPSSymmetricTestCase.test_repeated _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ ExtendedZOrderNNPSSubdividedAsymTestCase.test_neighbors_aa __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ ExtendedZOrderNNPSSubdividedAsymTestCase.test_neighbors_bb __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ ExtendedZOrderNNPSSubdividedAsymTestCase.test_neighbors_cc __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ ExtendedZOrderNNPSSubdividedAsymTestCase.test_neighbors_dd __________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ ExtendedZOrderNNPSSubdividedSymTestCase.test_neighbors_aa ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:654: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ ExtendedZOrderNNPSSubdividedSymTestCase.test_neighbors_bb ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:654: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ ExtendedZOrderNNPSSubdividedSymTestCase.test_neighbors_cc ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:654: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ ExtendedZOrderNNPSSubdividedSymTestCase.test_neighbors_dd ___________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:654: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUNNPSTestCase.test_neighbors_aa ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:665: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUNNPSTestCase.test_neighbors_ab ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:665: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUNNPSTestCase.test_neighbors_ba ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:665: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUNNPSTestCase.test_neighbors_bb ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:665: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUNNPSTestCase.test_neighbors_cc ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:665: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUNNPSTestCase.test_neighbors_dd ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:665: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ZOrderGPUNNPSTestCase.test_repeated ______________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:665: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ ZOrderGPUNNPSTestCaseCUDA.test_neighbors_aa __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ ZOrderGPUNNPSTestCaseCUDA.test_neighbors_ab __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ ZOrderGPUNNPSTestCaseCUDA.test_neighbors_ba __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ ZOrderGPUNNPSTestCaseCUDA.test_neighbors_bb __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ ZOrderGPUNNPSTestCaseCUDA.test_neighbors_cc __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ ZOrderGPUNNPSTestCaseCUDA.test_neighbors_dd __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ZOrderGPUNNPSTestCaseCUDA.test_repeated ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ BruteForceNNPSTestCase.test_neighbors_aa ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ BruteForceNNPSTestCase.test_neighbors_ab ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ BruteForceNNPSTestCase.test_neighbors_ba ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ BruteForceNNPSTestCase.test_neighbors_bb ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ BruteForceNNPSTestCase.test_neighbors_cc ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ BruteForceNNPSTestCase.test_neighbors_dd ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ BruteForceNNPSTestCase.test_repeated _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ OctreeGPUNNPSTestCase.test_neighbors_aa ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ OctreeGPUNNPSTestCase.test_neighbors_ab ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ OctreeGPUNNPSTestCase.test_neighbors_ba ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ OctreeGPUNNPSTestCase.test_neighbors_bb ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ OctreeGPUNNPSTestCase.test_neighbors_cc ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ OctreeGPUNNPSTestCase.test_neighbors_dd ____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ OctreeGPUNNPSTestCase.test_repeated ______________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ZOrderGPUDoubleNNPSTestCase.test_neighbors_aa _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ZOrderGPUDoubleNNPSTestCase.test_neighbors_ab _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ZOrderGPUDoubleNNPSTestCase.test_neighbors_ba _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ZOrderGPUDoubleNNPSTestCase.test_neighbors_bb _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ZOrderGPUDoubleNNPSTestCase.test_neighbors_cc _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ZOrderGPUDoubleNNPSTestCase.test_neighbors_dd _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ ZOrderGPUDoubleNNPSTestCase.test_repeated ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ZOrderGPUDoubleNNPSTestCaseCUDA.test_neighbors_aa _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ZOrderGPUDoubleNNPSTestCaseCUDA.test_neighbors_ab _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ZOrderGPUDoubleNNPSTestCaseCUDA.test_neighbors_ba _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ZOrderGPUDoubleNNPSTestCaseCUDA.test_neighbors_bb _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ZOrderGPUDoubleNNPSTestCaseCUDA.test_neighbors_cc _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ ZOrderGPUDoubleNNPSTestCaseCUDA.test_neighbors_dd _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ZOrderGPUDoubleNNPSTestCaseCUDA.test_repeated _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ OctreeGPUDoubleNNPSTestCase.test_neighbors_aa _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ OctreeGPUDoubleNNPSTestCase.test_neighbors_ab _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ OctreeGPUDoubleNNPSTestCase.test_neighbors_ba _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ OctreeGPUDoubleNNPSTestCase.test_neighbors_bb _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ OctreeGPUDoubleNNPSTestCase.test_neighbors_cc _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ OctreeGPUDoubleNNPSTestCase.test_neighbors_dd _________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ OctreeGPUDoubleNNPSTestCase.test_repeated ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestZOrderGPUNNPSWithSorting.test_neighbors_aa ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestZOrderGPUNNPSWithSorting.test_neighbors_ab ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestZOrderGPUNNPSWithSorting.test_neighbors_ba ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestZOrderGPUNNPSWithSorting.test_neighbors_bb ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestZOrderGPUNNPSWithSorting.test_neighbors_cc ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestZOrderGPUNNPSWithSorting.test_neighbors_dd ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ TestZOrderGPUNNPSWithSorting.test_repeated __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestZOrderGPUNNPSWithSortingCUDA.test_neighbors_aa ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestZOrderGPUNNPSWithSortingCUDA.test_neighbors_ab ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestZOrderGPUNNPSWithSortingCUDA.test_neighbors_ba ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestZOrderGPUNNPSWithSortingCUDA.test_neighbors_bb ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestZOrderGPUNNPSWithSortingCUDA.test_neighbors_cc ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestZOrderGPUNNPSWithSortingCUDA.test_neighbors_dd ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestZOrderGPUNNPSWithSortingCUDA.test_repeated ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ OctreeGPUNNPSWithSortingTestCase.test_neighbors_aa ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ OctreeGPUNNPSWithSortingTestCase.test_neighbors_ab ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ OctreeGPUNNPSWithSortingTestCase.test_neighbors_ba ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ OctreeGPUNNPSWithSortingTestCase.test_neighbors_bb ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ OctreeGPUNNPSWithSortingTestCase.test_neighbors_cc ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ OctreeGPUNNPSWithSortingTestCase.test_neighbors_dd ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ OctreeGPUNNPSWithSortingTestCase.test_repeated ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ OctreeGPUNNPSWithPartitioningTestCase.test_neighbors_aa ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:874: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ OctreeGPUNNPSWithPartitioningTestCase.test_neighbors_ab ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:874: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ OctreeGPUNNPSWithPartitioningTestCase.test_neighbors_ba ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:874: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ OctreeGPUNNPSWithPartitioningTestCase.test_neighbors_bb ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:874: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ OctreeGPUNNPSWithPartitioningTestCase.test_neighbors_cc ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:874: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ OctreeGPUNNPSWithPartitioningTestCase.test_neighbors_dd ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:874: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ OctreeGPUNNPSWithPartitioningTestCase.test_repeated ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:874: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ StratifiedSFCGPUNNPSTestCase.test_neighbors_aa ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:897: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ StratifiedSFCGPUNNPSTestCase.test_neighbors_ab ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:897: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ StratifiedSFCGPUNNPSTestCase.test_neighbors_ba ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:897: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ StratifiedSFCGPUNNPSTestCase.test_neighbors_bb ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:897: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ StratifiedSFCGPUNNPSTestCase.test_neighbors_cc ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:897: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ CompressedOctreeNNPSTestCase.test_neighbors_aa ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ CompressedOctreeNNPSTestCase.test_neighbors_ab ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ CompressedOctreeNNPSTestCase.test_neighbors_ba ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ CompressedOctreeNNPSTestCase.test_neighbors_bb ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ CompressedOctreeNNPSTestCase.test_neighbors_cc ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ CompressedOctreeNNPSTestCase.test_neighbors_dd ________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ CompressedOctreeNNPSTestCase.test_repeated __________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ CompressedOctreeParallelNNPSTestCase.test_neighbors_aa ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:939: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ CompressedOctreeParallelNNPSTestCase.test_neighbors_ab ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:939: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ CompressedOctreeParallelNNPSTestCase.test_neighbors_ba ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:939: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ CompressedOctreeParallelNNPSTestCase.test_neighbors_bb ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:939: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ CompressedOctreeParallelNNPSTestCase.test_neighbors_cc ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:939: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ CompressedOctreeParallelNNPSTestCase.test_neighbors_dd ____________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:939: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ CompressedOctreeParallelNNPSTestCase.test_repeated ______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:939: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ LinkedListNNPSTestCase.test_cell_index_positivity _______________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:950: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ LinkedListNNPSTestCase.test_neighbors_aa ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:950: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ LinkedListNNPSTestCase.test_neighbors_ab ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:950: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ LinkedListNNPSTestCase.test_neighbors_ba ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:950: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ LinkedListNNPSTestCase.test_neighbors_bb ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:950: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ LinkedListNNPSTestCase.test_neighbors_cc ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:950: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ LinkedListNNPSTestCase.test_neighbors_dd ___________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:950: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ LinkedListNNPSTestCase.test_repeated _____________________ self = def setUp(self): > NNPSTestCase.setUp(self) pysph/base/tests/test_nnps.py:950: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:321: in setUp self.pa1 = pa1 = self._create_random(numPoints1) pysph/base/tests/test_nnps.py:339: in _create_random pa = get_particle_array( pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ TestNNPSOnLargeDomain.test_box_sort_works_for_large_domain __________ self = def test_box_sort_works_for_large_domain(self): # Given > pa = self._make_particles(20) pysph/base/tests/test_nnps.py:1000: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:980: in _make_particles pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestNNPSOnLargeDomain.test_compressed_octree_parallel_works_for_large_domain _ self = @mark.skipif(get_number_of_threads() == 1, reason="N_threads=1; OpenMP does not seem available.") def test_compressed_octree_parallel_works_for_large_domain(self): # Given > pa = self._make_particles(20) pysph/base/tests/test_nnps.py:1107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:980: in _make_particles pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____ TestNNPSOnLargeDomain.test_compressed_octree_works_for_large_domain ______ self = def test_compressed_octree_works_for_large_domain(self): # Given > pa = self._make_particles(20) pysph/base/tests/test_nnps.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:980: in _make_particles pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___ TestNNPSOnLargeDomain.test_extended_spatial_hash_works_for_large_domain ____ self = def test_extended_spatial_hash_works_for_large_domain(self): # Given > pa = self._make_particles(20) pysph/base/tests/test_nnps.py:1034: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:980: in _make_particles pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestNNPSOnLargeDomain.test_linked_list_nnps_raises_exception_for_large_domain _ self = def test_linked_list_nnps_raises_exception_for_large_domain(self): # Given/When > pa = self._make_particles(20) pysph/base/tests/test_nnps.py:991: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:980: in _make_particles pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ TestNNPSOnLargeDomain.test_octree_parallel_works_for_large_domain _______ self = @mark.skipif(get_number_of_threads() == 1, reason="N_threads=1; OpenMP does not seem available.") def test_octree_parallel_works_for_large_domain(self): # Given > pa = self._make_particles(20) pysph/base/tests/test_nnps.py:1070: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:980: in _make_particles pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ TestNNPSOnLargeDomain.test_octree_works_for_large_domain ___________ self = def test_octree_works_for_large_domain(self): # Given > pa = self._make_particles(20) pysph/base/tests/test_nnps.py:1051: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:980: in _make_particles pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________ TestNNPSOnLargeDomain.test_spatial_hash_works_for_large_domain ________ self = def test_spatial_hash_works_for_large_domain(self): # Given > pa = self._make_particles(20) pysph/base/tests/test_nnps.py:1017: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:980: in _make_particles pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________ TestLinkedListNNPSWithSorting.test_nnps_sorts_with_valid_gids _________ self = def test_nnps_sorts_with_valid_gids(self): # Given > pa, nps = self._make_particles(10) pysph/base/tests/test_nnps.py:1153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:1129: in _make_particles pa = get_particle_array(name='fluid', x=x, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ TestLinkedListNNPSWithSorting.test_nnps_sorts_without_gids __________ self = def test_nnps_sorts_without_gids(self): # Given > pa, nps = self._make_particles(10) pysph/base/tests/test_nnps.py:1135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:1129: in _make_particles pa = get_particle_array(name='fluid', x=x, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________ TestSpatialHashNNPSWithSorting.test_nnps_sorts_with_valid_gids ________ self = def test_nnps_sorts_with_valid_gids(self): # Given > pa, nps = self._make_particles(10) pysph/base/tests/test_nnps.py:1153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:1177: in _make_particles pa = get_particle_array(name='fluid', x=x, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestSpatialHashNNPSWithSorting.test_nnps_sorts_without_gids __________ self = def test_nnps_sorts_without_gids(self): # Given > pa, nps = self._make_particles(10) pysph/base/tests/test_nnps.py:1135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:1177: in _make_particles pa = get_particle_array(name='fluid', x=x, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestMultipleLevelsStratifiedHashNNPSWithSorting.test_nnps_sorts_with_valid_gids _ self = def test_nnps_sorts_with_valid_gids(self): # Given > pa, nps = self._make_particles(10) pysph/base/tests/test_nnps.py:1153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:1188: in _make_particles pa = get_particle_array(name='fluid', x=x, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestMultipleLevelsStratifiedHashNNPSWithSorting.test_nnps_sorts_without_gids _ self = def test_nnps_sorts_without_gids(self): # Given > pa, nps = self._make_particles(10) pysph/base/tests/test_nnps.py:1135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:1188: in _make_particles pa = get_particle_array(name='fluid', x=x, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestMultipleLevelsStratifiedSFCNNPSWithSorting.test_nnps_sorts_with_valid_gids _ self = def test_nnps_sorts_with_valid_gids(self): # Given > pa, nps = self._make_particles(10) pysph/base/tests/test_nnps.py:1153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:1200: in _make_particles pa = get_particle_array(name='fluid', x=x, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestMultipleLevelsStratifiedSFCNNPSWithSorting.test_nnps_sorts_without_gids __ self = def test_nnps_sorts_without_gids(self): # Given > pa, nps = self._make_particles(10) pysph/base/tests/test_nnps.py:1135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/tests/test_nnps.py:1200: in _make_particles pa = get_particle_array(name='fluid', x=x, h=h) pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ test_large_number_of_neighbors_linked_list __________________ def test_large_number_of_neighbors_linked_list(): x = numpy.random.random(1 << 14) * 0.1 y = x.copy() z = x.copy() h = numpy.ones_like(x) > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/tests/test_nnps.py:1211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ test_neighbor_cache_update_doesnt_leak ____________________ def test_neighbor_cache_update_doesnt_leak(): # Given x, y, z = numpy.random.random((3, 1000)) > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=0.05) pysph/base/tests/test_nnps.py:1223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ test_corner_case_1d_few_cells[BoxSortNNPS] __________________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ test_corner_case_1d_few_cells[CellIndexingNNPS] ________________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ test_corner_case_1d_few_cells[CompressedOctreeNNPS] ______________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ test_corner_case_1d_few_cells[ExtendedSpatialHashNNPS] ____________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ test_corner_case_1d_few_cells[LinkedListNNPS] _________________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ test_corner_case_1d_few_cells[OctreeNNPS] ___________________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ test_corner_case_1d_few_cells[SpatialHashNNPS] ________________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ test_corner_case_1d_few_cells[StratifiedHashNNPS] _______________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ test_corner_case_1d_few_cells[StratifiedSFCNNPS] _______________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ test_corner_case_1d_few_cells[ZOrderNNPS] ___________________ cls = @pytest.mark.parametrize("cls", nnps_classes) def test_corner_case_1d_few_cells(cls): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ test_corner_case_parallel_octree_1d_few_cells _________________ @mark.skipif(get_number_of_threads() == 1, reason="N_threads=1; OpenMP does not seem available.") def test_corner_case_parallel_octree_1d_few_cells(): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1271: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ test_corner_case_parallel_compressed_octree_1d_few_cells ___________ @mark.skipif(get_number_of_threads() == 1, reason="N_threads=1; OpenMP does not seem available.") def test_corner_case_parallel_compressed_octree_1d_few_cells(): x, y, z = [0.131, 0.359], [1.544, 1.809], [-3.6489999, -2.8559999] > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=1.0) pysph/base/tests/test_nnps.py:1286: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________________ test_use_2d_for_1d_data_with_llnps ______________________ def test_use_2d_for_1d_data_with_llnps(): y = numpy.array([1.0, 1.5]) h = numpy.ones_like(y) > pa = get_particle_array(name='fluid', y=y, h=h) pysph/base/tests/test_nnps.py:1300: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________________ test_use_3d_for_1d_data_with_llnps ______________________ def test_use_3d_for_1d_data_with_llnps(): y = numpy.array([1.0, 1.5]) h = numpy.ones_like(y) > pa = get_particle_array(name='fluid', y=y, h=h) pysph/base/tests/test_nnps.py:1311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ test_large_number_of_neighbors_spatial_hash __________________ def test_large_number_of_neighbors_spatial_hash(): x = numpy.random.random(1 << 14) * 0.1 y = x.copy() z = x.copy() h = numpy.ones_like(x) > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/tests/test_nnps.py:1324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ test_large_number_of_neighbors_octree _____________________ def test_large_number_of_neighbors_octree(): x = numpy.random.random(1 << 14) * 0.1 y = x.copy() z = x.copy() h = numpy.ones_like(x) > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/tests/test_nnps.py:1338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ test_large_number_of_neighbors_parallel_octree ________________ @mark.skipif(get_number_of_threads() == 1, reason="N_threads=1; OpenMP does not seem available.") def test_large_number_of_neighbors_parallel_octree(): x = numpy.random.random(1 << 14) * 0.1 y = x.copy() z = x.copy() h = numpy.ones_like(x) > pa = get_particle_array(name='fluid', x=x, y=y, z=z, h=h) pysph/base/tests/test_nnps.py:1354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________________ test_single_level_octree ___________________________ def test_single_level_octree(): N = 50 x, y, z = np.mgrid[0:1:N*1j, 0:1:N*1j, 0:1:N*1j] x = x.ravel() y = y.ravel() z = z.ravel() h = np.ones_like(x) > pa = get_particle_array(x=x, y=y, z=z, h=h) pysph/base/tests/test_octree.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ test_compressed_octree_has_lesser_depth_than_octree ______________ def test_compressed_octree_has_lesser_depth_than_octree(): N = 50 x, y, z = np.mgrid[0:1:N*1j, 0:1:N*1j, 0:1:N*1j] x = x.ravel() y = y.ravel() z = z.ravel() h = np.ones_like(x) > pa = get_particle_array(x=x, y=y, z=z, h=h) pysph/base/tests/test_octree.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ test_single_level_compressed_octree ______________________ def test_single_level_compressed_octree(): N = 50 x, y, z = np.mgrid[0:1:N*1j, 0:1:N*1j, 0:1:N*1j] x = x.ravel() y = y.ravel() z = z.ravel() h = np.ones_like(x) > pa = get_particle_array(x=x, y=y, z=z, h=h) pysph/base/tests/test_octree.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ SimpleOctreeTestCase.test_all_indices_are_unique _______________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ SimpleOctreeTestCase.test_levels_in_tree ___________________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ SimpleOctreeTestCase.test_parent_for_node ___________________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ SimpleOctreeTestCase.test_plot_root ______________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ SimpleOctreeTestCase.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________________ test_single_level_parallel_octree _______________________ @mark.skipif(get_number_of_threads() == 1, reason="N_threads=1; OpenMP does not seem available.") def test_single_level_parallel_octree(): N = 50 x, y, z = np.mgrid[0:1:N*1j, 0:1:N*1j, 0:1:N*1j] x = x.ravel() y = y.ravel() z = z.ravel() h = np.ones_like(x) > pa = get_particle_array(x=x, y=y, z=z, h=h) pysph/base/tests/test_octree.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ test_single_level_parallel_compressed_octree _________________ @mark.skipif(get_number_of_threads() == 1, reason="N_threads=1; OpenMP does not seem available.") def test_single_level_parallel_compressed_octree(): N = 50 x, y, z = np.mgrid[0:1:N*1j, 0:1:N*1j, 0:1:N*1j] x = x.ravel() y = y.ravel() z = z.ravel() h = np.ones_like(x) > pa = get_particle_array(x=x, y=y, z=z, h=h) pysph/base/tests/test_octree.py:231: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ test_parallel_compressed_octree_has_lesser_depth_than_parallel_octree _____ @mark.skipif(get_number_of_threads() == 1, reason="N_threads=1; OpenMP does not seem available.") def test_parallel_compressed_octree_has_lesser_depth_than_parallel_octree(): N = 50 x, y, z = np.mgrid[0:1:N*1j, 0:1:N*1j, 0:1:N*1j] x = x.ravel() y = y.ravel() z = z.ravel() h = np.ones_like(x) > pa = get_particle_array(x=x, y=y, z=z, h=h) pysph/base/tests/test_octree.py:251: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ SimpleParallelOctreeTestCase.test_all_indices_are_unique ___________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ SimpleParallelOctreeTestCase.test_levels_in_tree _______________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ SimpleParallelOctreeTestCase.test_parent_for_node _______________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ SimpleParallelOctreeTestCase.test_plot_root __________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ SimpleParallelOctreeTestCase.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestOctreeFor2DDataset.test_all_indices_are_unique ______________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ TestOctreeFor2DDataset.test_levels_in_tree __________________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ TestOctreeFor2DDataset.test_parent_for_node __________________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ TestOctreeFor2DDataset.test_plot_root _____________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestOctreeFor2DDataset.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestOctreeFor1DDataset.test_all_indices_are_unique ______________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ TestOctreeFor1DDataset.test_levels_in_tree __________________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ TestOctreeFor1DDataset.test_parent_for_node __________________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________________ TestOctreeFor1DDataset.test_plot_root _____________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestOctreeFor1DDataset.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestOctreeForFloatingPointError.test_all_indices_are_unique __________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ TestOctreeForFloatingPointError.test_levels_in_tree ______________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ TestOctreeForFloatingPointError.test_parent_for_node _____________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestOctreeForFloatingPointError.test_plot_root ________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestOctreeForFloatingPointError.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ TestParallelOctreeFor2DDataset.test_all_indices_are_unique __________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestParallelOctreeFor2DDataset.test_levels_in_tree ______________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ TestParallelOctreeFor2DDataset.test_parent_for_node ______________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestParallelOctreeFor2DDataset.test_plot_root _________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestParallelOctreeFor2DDataset.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ TestParallelOctreeFor1DDataset.test_all_indices_are_unique __________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ TestParallelOctreeFor1DDataset.test_levels_in_tree ______________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ TestParallelOctreeFor1DDataset.test_parent_for_node ______________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ TestParallelOctreeFor1DDataset.test_plot_root _________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestParallelOctreeFor1DDataset.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____ TestParallelOctreeForFloatingPointError.test_all_indices_are_unique ______ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestParallelOctreeForFloatingPointError.test_levels_in_tree __________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestParallelOctreeForFloatingPointError.test_parent_for_node _________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ TestParallelOctreeForFloatingPointError.test_plot_root ____________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestParallelOctreeForFloatingPointError.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ SimpleCompressedOctreeTestCase.test_all_indices_are_unique __________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________ SimpleCompressedOctreeTestCase.test_levels_in_tree ______________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ SimpleCompressedOctreeTestCase.test_parent_for_node ______________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ SimpleCompressedOctreeTestCase.test_plot_root _________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ SimpleCompressedOctreeTestCase.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestCompressedOctreeFor1DDataset.test_all_indices_are_unique _________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ TestCompressedOctreeFor1DDataset.test_levels_in_tree _____________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ TestCompressedOctreeFor1DDataset.test_parent_for_node _____________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ TestCompressedOctreeFor1DDataset.test_plot_root ________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestCompressedOctreeFor1DDataset.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestCompressedOctreeFor2DDataset.test_all_indices_are_unique _________ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ TestCompressedOctreeFor2DDataset.test_levels_in_tree _____________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ TestCompressedOctreeFor2DDataset.test_parent_for_node _____________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________ TestCompressedOctreeFor2DDataset.test_plot_root ________________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestCompressedOctreeFor2DDataset.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ TestCompressedOctreeForFloatingPointError.test_all_indices_are_unique _____ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________ TestCompressedOctreeForFloatingPointError.test_levels_in_tree _________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________ TestCompressedOctreeForFloatingPointError.test_parent_for_node ________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ TestCompressedOctreeForFloatingPointError.test_plot_root ___________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestCompressedOctreeForFloatingPointError.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ SimpleParallelCompressedOctreeTestCase.test_all_indices_are_unique ______ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________ SimpleParallelCompressedOctreeTestCase.test_levels_in_tree __________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ SimpleParallelCompressedOctreeTestCase.test_parent_for_node __________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____________ SimpleParallelCompressedOctreeTestCase.test_plot_root _____________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ SimpleParallelCompressedOctreeTestCase.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____ TestParallelCompressedOctreeFor1DDataset.test_all_indices_are_unique _____ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestParallelCompressedOctreeFor1DDataset.test_levels_in_tree _________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________ TestParallelCompressedOctreeFor1DDataset.test_parent_for_node _________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ TestParallelCompressedOctreeFor1DDataset.test_plot_root ____________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestParallelCompressedOctreeFor1DDataset.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____ TestParallelCompressedOctreeFor2DDataset.test_all_indices_are_unique _____ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestParallelCompressedOctreeFor2DDataset.test_levels_in_tree _________ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________ TestParallelCompressedOctreeFor2DDataset.test_parent_for_node _________ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ TestParallelCompressedOctreeFor2DDataset.test_plot_root ____________ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestParallelCompressedOctreeFor2DDataset.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestParallelCompressedOctreeForFloatingPointError.test_all_indices_are_unique _ self = def test_all_indices_are_unique(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ TestParallelCompressedOctreeForFloatingPointError.test_levels_in_tree _____ self = def test_levels_in_tree(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ TestParallelCompressedOctreeForFloatingPointError.test_parent_for_node ____ self = def test_parent_for_node(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______ TestParallelCompressedOctreeForFloatingPointError.test_plot_root _______ self = def test_plot_root(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestParallelCompressedOctreeForFloatingPointError.test_sum_of_indices_lengths_equals_total_number_of_particles _ self = def test_sum_of_indices_lengths_equals_total_number_of_particles(self): > pa = get_particle_array(x=self.x, y=self.y, z=self.z, h=self.h) pysph/base/tests/test_octree.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/utils.py:141: in get_particle_array pa = ParticleArray(name=name, constants=constants, backend=backend, pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ ParticleArrayTestOpenCL.test_add_particles __________________ self = def test_add_particles(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] A = numpy.arange(12) > p = particle_array.ParticleArray( x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, A=dict(data=A, stride=3), backend=self.backend ) pysph/base/tests/test_particle_array.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ ParticleArrayTestOpenCL.test_add_property ___________________ self = def test_add_property(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] tag = [0, 0, 0, 0] > p = particle_array.ParticleArray(x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, tag={'data': tag}, backend=self.backend) pysph/base/tests/test_particle_array.py:477: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ ParticleArrayTestOpenCL.test_align_particles _________________ self = def test_align_particles(self): # Given > p = particle_array.ParticleArray(backend=self.backend) pysph/base/tests/test_particle_array.py:591: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __________________ ParticleArrayTestOpenCL.test_append_parray __________________ self = def test_append_parray(self): # Given > p1 = particle_array.ParticleArray(backend=self.backend) pysph/base/tests/test_particle_array.py:680: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______________________ ParticleArrayTestOpenCL.test_clear ______________________ self = def test_clear(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] > p = particle_array.ParticleArray(x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, backend=self.backend) pysph/base/tests/test_particle_array.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ ParticleArrayTestOpenCL.test_constructor ___________________ self = def test_constructor(self): # Default constructor test. > p = particle_array.ParticleArray(name='test_particle_array', backend=self.backend) pysph/base/tests/test_particle_array.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______ ParticleArrayTestOpenCL.test_constructor_works_with_simple_props _______ self = def test_constructor_works_with_simple_props(self): # Given x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] rho = 10.0 data = numpy.diag((2, 2)) # When > p = particle_array.ParticleArray( x=x, y=y, rho=rho, data=data, name='fluid', backend=self.backend ) pysph/base/tests/test_particle_array.py:158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ ParticleArrayTestOpenCL.test_constructor_works_with_strides __________ self = def test_constructor_works_with_strides(self): # Given x = [1, 2, 3, 4.] rho = 10.0 data = numpy.arange(8) # When > p = particle_array.ParticleArray( x=x, rho=rho, data={'data': data, 'stride': 2}, name='fluid', backend=self.backend ) pysph/base/tests/test_particle_array.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________________ ParticleArrayTestOpenCL.test_copy_properties _________________ self = def test_copy_properties(self): # Given > p1 = particle_array.ParticleArray(backend=self.backend) pysph/base/tests/test_particle_array.py:722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ ParticleArrayTestOpenCL.test_empty_clone_works_with_specific_props ______ self = def test_empty_clone_works_with_specific_props(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], backend=self.backend) pysph/base/tests/test_particle_array.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ ParticleArrayTestOpenCL.test_empty_clone_works_without_specific_props _____ self = def test_empty_clone_works_without_specific_props(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], backend=self.backend) pysph/base/tests/test_particle_array.py:849: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ParticleArrayTestOpenCL.test_extend ______________________ self = def test_extend(self): # Given > p = particle_array.ParticleArray(default_particle_tag=10, x={}, y={'default': -1.}, backend=self.backend) pysph/base/tests/test_particle_array.py:537: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___ ParticleArrayTestOpenCL.test_extract_particles_works_with_non_empty_dest ___ self = def test_extract_particles_works_with_non_empty_dest(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], backend=self.backend) pysph/base/tests/test_particle_array.py:943: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ ParticleArrayTestOpenCL.test_extract_particles_works_with_specific_props_with_dest _ self = def test_extract_particles_works_with_specific_props_with_dest(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], y=[0, 0, 0], backend=self.backend) pysph/base/tests/test_particle_array.py:963: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ ParticleArrayTestOpenCL.test_extract_particles_works_with_specific_props_without_dest _ self = def test_extract_particles_works_with_specific_props_without_dest(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], y=[0, 0, 0], backend=self.backend) pysph/base/tests/test_particle_array.py:906: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ ParticleArrayTestOpenCL.test_extract_particles_works_without_specific_props_with_dest _ self = def test_extract_particles_works_without_specific_props_with_dest(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], backend=self.backend) pysph/base/tests/test_particle_array.py:924: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ ParticleArrayTestOpenCL.test_extract_particles_works_without_specific_props_without_dest _ self = def test_extract_particles_works_without_specific_props_without_dest(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], backend=self.backend) pysph/base/tests/test_particle_array.py:888: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______________________ ParticleArrayTestOpenCL.test_get _______________________ self = def test_get(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] A = numpy.arange(12) > p = particle_array.ParticleArray( x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, A={'data': A, 'stride': 3}, backend=self.backend ) pysph/base/tests/test_particle_array.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ ParticleArrayTestOpenCL.test_get_number_of_particles _____________ self = def test_get_number_of_particles(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] A = numpy.arange(12) > p = particle_array.ParticleArray( x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, A={'data': A, 'stride': 3}, backend=self.backend ) pysph/base/tests/test_particle_array.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ParticleArrayTestOpenCL.test_getattr _____________________ self = def test_getattr(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] A = numpy.arange(12) > p = particle_array.ParticleArray( x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, A={'data': A, 'stride': 3}, backend=self.backend ) pysph/base/tests/test_particle_array.py:250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________________ ParticleArrayTestOpenCL.test_remove_particles _________________ self = def test_remove_particles(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] A = numpy.arange(12) > p = particle_array.ParticleArray( x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, A={'data': A, 'stride': 3}, backend=self.backend ) pysph/base/tests/test_particle_array.py:298: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ ParticleArrayTestOpenCL.test_remove_tagged_particles _____________ self = def test_remove_tagged_particles(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] A = numpy.arange(12) tag = [1, 1, 1, 0] > p = particle_array.ParticleArray( x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, tag={'data': tag}, A={'data': A, 'stride': 3}, backend=self.backend ) pysph/base/tests/test_particle_array.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ParticleArrayTestOpenCL.test_resize ______________________ self = def test_resize(self): # Given > p = particle_array.ParticleArray( A={'data': [10.0, 10.0], 'stride': 2, 'default': -1.}, x=[1.0], backend=self.backend ) pysph/base/tests/test_particle_array.py:575: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________________ ParticleArrayTestOpenCL.test_setattr _____________________ self = def test_setattr(self): x = [1, 2, 3, 4.] y = [0., 1., 2., 3.] z = [0., 0., 0., 0.] m = [1., 1., 1., 1.] h = [.1, .1, .1, .1] A = numpy.arange(12) > p = particle_array.ParticleArray( x={'data': x}, y={'data': y}, z={'data': z}, m={'data': m}, h={'data': h}, A={'data': A, 'stride': 3}, backend=self.backend ) pysph/base/tests/test_particle_array.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ ParticleArrayTestOpenCL.test_that_constants_are_not_resized_when_particles_are_added _ self = def test_that_constants_are_not_resized_when_particles_are_added(self): # Given > p = particle_array.ParticleArray(name='f', x=[1.0], backend=self.backend) pysph/base/tests/test_particle_array.py:807: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ ParticleArrayTestOpenCL.test_that_constants_can_be_added ___________ self = def test_that_constants_can_be_added(self): # Given > p = particle_array.ParticleArray(backend=self.backend) pysph/base/tests/test_particle_array.py:760: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ ParticleArrayTestOpenCL.test_that_constants_can_be_set_in_constructor _____ self = def test_that_constants_can_be_set_in_constructor(self): # Given # When > p = particle_array.ParticleArray( constants=dict(s=0.0, v=[0.0, 1.0, 2.0]), backend=self.backend ) pysph/base/tests/test_particle_array.py:780: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ ParticleArrayTestOpenCL.test_that_get_carray_works_with_constants _______ self = def test_that_get_carray_works_with_constants(self): # Given > p = particle_array.ParticleArray(backend=self.backend) pysph/base/tests/test_particle_array.py:836: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ ParticleArrayTestOpenCL.test_that_get_works_on_constants ___________ self = def test_that_get_works_on_constants(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], backend=self.backend) pysph/base/tests/test_particle_array.py:794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ ParticleArrayTestOpenCL.test_that_remove_property_also_removes_output_arrays _ self = def test_that_remove_property_also_removes_output_arrays(self): # Given > p = particle_array.ParticleArray(name='f', x=[1, 2, 3], y=[0, 0, 0], backend=self.backend) pysph/base/tests/test_particle_array.py:982: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ ParticleArrayTestOpenCL.test_that_set_works_on_constants ___________ self = def test_that_set_works_on_constants(self): # Given constants = dict(v=[0.0, 0.0, 0.0], c=[0.0, 0.0, 0.0]) > p = particle_array.ParticleArray(name='f', constants=constants, backend=self.backend) pysph/base/tests/test_particle_array.py:822: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/base/particle_array.pyx:152: in pysph.base.particle_array.ParticleArray.__init__ h = DeviceHelper(self, backend=self.backend) pysph/base/device_helper.py:68: in __init__ self.add_prop(prop, ary) pysph/base/device_helper.py:151: in add_prop self._add_prop_or_const(name, carray) pysph/base/device_helper.py:89: in _add_prop_or_const g_ary = Array(np_array.dtype, n=carray.length, /usr/lib/python3/dist-packages/compyle/array.py:910: in __init__ data = empty(n, dtype, backend=self.backend) /usr/lib/python3/dist-packages/compyle/array.py:317: in empty out = gpuarray.empty(get_queue(), n, dtype) /usr/lib/python3/dist-packages/compyle/opencl.py:35: in get_queue _queue = cl.CommandQueue(get_context(), properties=properties) /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestAccelerationEval1DGPU.test_accel_eval_should_work_on_gpu _________ self = def test_accel_eval_should_work_on_gpu(self): # Given pa = self.pa equations = [SimpleEquation(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:688: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____ TestAccelerationEval1DGPU.test_equation_with_time_should_work_on_gpu _____ self = def test_equation_with_time_should_work_on_gpu(self): # Given pa = self.pa equations = [EqWithTime(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:741: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestAccelerationEval1DGPU.test_group_honors_condition_on_gpu _________ self = def test_group_honors_condition_on_gpu(self): # Given pa = self.pa pa.add_constant('reduce_calls', 0) pa.au[:] = 0.0 if pa.gpu: pa.gpu.push('au') call_data = [] def cond(t, dt): call_data.append((t, dt)) return False equations = [ Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], condition=cond ), Group( equations=[ Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], condition=cond ) ] ), Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ________ TestAccelerationEval1DGPU.test_precomputed_should_work_on_gpu _________ self = def test_precomputed_should_work_on_gpu(self): # Given pa = self.pa equations = [SummationDensity(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:702: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __ TestAccelerationEval1DGPU.test_precomputed_should_work_on_gpu_with_double ___ self = def test_precomputed_should_work_on_gpu_with_double(self): orig = get_config().use_double def _cleanup(): get_config().use_double = orig get_config().use_double = True self.addCleanup(_cleanup) # Given pa = self.pa equations = [SummationDensity(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ TestAccelerationEval1DGPU.test_should_call_initialize_pair_on_gpu _______ self = def test_should_call_initialize_pair_on_gpu(self): # Given. pa = self.pa pa.u[:] = 1.0 if pa.gpu: pa.gpu.push('u') equations = [InitializePair(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:917: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPU.test_should_call_pre_post_functions_in_group_on_gpu _ self = def test_should_call_pre_post_functions_in_group_on_gpu(self): # Given pa = self.pa def pre(): pa.m += 1.0 pa.gpu.push('m') def post(): pa.gpu.pull('u') pa.u += 1.0 equations = [ Group( equations=[ SimpleEquation(dest='fluid', sources=['fluid']) ], pre=pre, post=post ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1016: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___ TestAccelerationEval1DGPU.test_should_call_py_initialize_for_gpu_backend ___ self = def test_should_call_py_initialize_for_gpu_backend(self): # Given. pa = self.pa equations = [PyInit(dest='fluid', sources=None)] eq = equations[0] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:934: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____ TestAccelerationEval1DGPU.test_should_handle_helper_functions_on_gpu _____ self = def test_should_handle_helper_functions_on_gpu(self): pa = self.pa def helper(x=1.0): return x * 1.5 class SillyEquation2(Equation): def initialize(self, d_idx, d_au, d_m): d_au[d_idx] += helper(d_m[d_idx]) def _get_helpers_(self): return [helper] equations = [SillyEquation2(dest='fluid', sources=['fluid']), SillyEquation2(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __ TestAccelerationEval1DGPU.test_should_honor_start_stop_idx_as_str_in_group __ self = def test_should_honor_start_stop_idx_as_str_in_group(self): # Given pa = self.pa pa.add_constant('start', 1) pa.add_constant('stop', 3) pa.u[:] = 1.0 pa.au[:] = 1.0 if pa.gpu: pa.gpu.push('u', 'au') equations = [ Group( equations=[ SimpleEquation(dest='fluid', sources=['fluid']) ], start_idx='start', stop_idx='stop' ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1072: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __ TestAccelerationEval1DGPU.test_should_honor_start_stop_idx_in_group_on_gpu __ self = def test_should_honor_start_stop_idx_in_group_on_gpu(self): # Given pa = self.pa pa.u[:] = 1.0 pa.au[:] = 1.0 if pa.gpu: pa.gpu.push('u', 'au') equations = [ Group( equations=[ SimpleEquation(dest='fluid', sources=['fluid']) ], start_idx=1, stop_idx=2 ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1041: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______ TestAccelerationEval1DGPU.test_should_run_reduce_when_using_gpu ________ self = def test_should_run_reduce_when_using_gpu(self): # Given. pa = self.pa pa.add_constant('total_mass', 0.0) equations = [SimpleReduction(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:900: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __ TestAccelerationEval1DGPU.test_should_stop_iteration_with_converged_on_gpu __ self = def test_should_stop_iteration_with_converged_on_gpu(self): pa = self.pa class SillyEquation1(Equation): def __init__(self, dest, sources): super(SillyEquation1, self).__init__(dest, sources) self.conv = 0 def loop(self, d_idx, d_au, s_idx, s_m): d_au[d_idx] += s_m[s_idx] def post_loop(self, d_idx, d_au): if d_au[d_idx] > 19.0: self.conv = 1 def converged(self): if hasattr(self, '_pull'): # _pull is not available on CPU. self._pull('conv') return self.conv equations = [Group( equations=[ Group( equations=[SillyEquation1(dest='fluid', sources=['fluid'])] ), Group( equations=[SillyEquation1(dest='fluid', sources=['fluid'])] ), ], iterate=True, max_iterations=10, )] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:859: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPU.test_should_stop_iteration_with_max_iteration_on_gpu _ self = def test_should_stop_iteration_with_max_iteration_on_gpu(self): pa = self.pa class SillyEquation(Equation): def loop(self, d_idx, d_au, s_idx, s_m): d_au[d_idx] += s_m[s_idx] def converged(self): return 0 equations = [Group( equations=[ Group( equations=[SillyEquation(dest='fluid', sources=['fluid'])] ), Group( equations=[SillyEquation(dest='fluid', sources=['fluid'])] ), ], iterate=True, max_iterations=2, )] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:817: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ TestAccelerationEval1DGPU.test_should_support_loop_all_and_loop_on_gpu ____ self = def test_should_support_loop_all_and_loop_on_gpu(self): # Given pa = self.pa equations = [SummationDensity(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:976: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _________ TestAccelerationEval1DGPU.test_update_nnps_is_called_on_gpu __________ self = def test_update_nnps_is_called_on_gpu(self): # Given equations = [ Group( equations=[ SummationDensity(dest='fluid', sources=['fluid']), ], update_nnps=True ), Group( equations=[EqWithTime(dest='fluid', sources=['fluid'])] ), ] # When > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ TestAccelerationEval1DGPUOctree.test_accel_eval_should_work_on_gpu ______ self = def test_accel_eval_should_work_on_gpu(self): # Given pa = self.pa equations = [SimpleEquation(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:688: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __ TestAccelerationEval1DGPUOctree.test_equation_with_time_should_work_on_gpu __ self = def test_equation_with_time_should_work_on_gpu(self): # Given pa = self.pa equations = [EqWithTime(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:741: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ TestAccelerationEval1DGPUOctree.test_group_honors_condition_on_gpu ______ self = def test_group_honors_condition_on_gpu(self): # Given pa = self.pa pa.add_constant('reduce_calls', 0) pa.au[:] = 0.0 if pa.gpu: pa.gpu.push('au') call_data = [] def cond(t, dt): call_data.append((t, dt)) return False equations = [ Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], condition=cond ), Group( equations=[ Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], condition=cond ) ] ), Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____ TestAccelerationEval1DGPUOctree.test_precomputed_should_work_on_gpu ______ self = def test_precomputed_should_work_on_gpu(self): # Given pa = self.pa equations = [SummationDensity(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:702: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctree.test_precomputed_should_work_on_gpu_with_double _ self = def test_precomputed_should_work_on_gpu_with_double(self): orig = get_config().use_double def _cleanup(): get_config().use_double = orig get_config().use_double = True self.addCleanup(_cleanup) # Given pa = self.pa equations = [SummationDensity(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___ TestAccelerationEval1DGPUOctree.test_should_call_initialize_pair_on_gpu ____ self = def test_should_call_initialize_pair_on_gpu(self): # Given. pa = self.pa pa.u[:] = 1.0 if pa.gpu: pa.gpu.push('u') equations = [InitializePair(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:917: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctree.test_should_call_pre_post_functions_in_group_on_gpu _ self = def test_should_call_pre_post_functions_in_group_on_gpu(self): # Given pa = self.pa def pre(): pa.m += 1.0 pa.gpu.push('m') def post(): pa.gpu.pull('u') pa.u += 1.0 equations = [ Group( equations=[ SimpleEquation(dest='fluid', sources=['fluid']) ], pre=pre, post=post ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1016: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctree.test_should_call_py_initialize_for_gpu_backend _ self = def test_should_call_py_initialize_for_gpu_backend(self): # Given. pa = self.pa equations = [PyInit(dest='fluid', sources=None)] eq = equations[0] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:934: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __ TestAccelerationEval1DGPUOctree.test_should_handle_helper_functions_on_gpu __ self = def test_should_handle_helper_functions_on_gpu(self): pa = self.pa def helper(x=1.0): return x * 1.5 class SillyEquation2(Equation): def initialize(self, d_idx, d_au, d_m): d_au[d_idx] += helper(d_m[d_idx]) def _get_helpers_(self): return [helper] equations = [SillyEquation2(dest='fluid', sources=['fluid']), SillyEquation2(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctree.test_should_honor_start_stop_idx_as_str_in_group _ self = def test_should_honor_start_stop_idx_as_str_in_group(self): # Given pa = self.pa pa.add_constant('start', 1) pa.add_constant('stop', 3) pa.u[:] = 1.0 pa.au[:] = 1.0 if pa.gpu: pa.gpu.push('u', 'au') equations = [ Group( equations=[ SimpleEquation(dest='fluid', sources=['fluid']) ], start_idx='start', stop_idx='stop' ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1072: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctree.test_should_honor_start_stop_idx_in_group_on_gpu _ self = def test_should_honor_start_stop_idx_in_group_on_gpu(self): # Given pa = self.pa pa.u[:] = 1.0 pa.au[:] = 1.0 if pa.gpu: pa.gpu.push('u', 'au') equations = [ Group( equations=[ SimpleEquation(dest='fluid', sources=['fluid']) ], start_idx=1, stop_idx=2 ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1041: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ TestAccelerationEval1DGPUOctree.test_should_run_reduce_when_using_gpu _____ self = def test_should_run_reduce_when_using_gpu(self): # Given. pa = self.pa pa.add_constant('total_mass', 0.0) equations = [SimpleReduction(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:900: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctree.test_should_stop_iteration_with_converged_on_gpu _ self = def test_should_stop_iteration_with_converged_on_gpu(self): pa = self.pa class SillyEquation1(Equation): def __init__(self, dest, sources): super(SillyEquation1, self).__init__(dest, sources) self.conv = 0 def loop(self, d_idx, d_au, s_idx, s_m): d_au[d_idx] += s_m[s_idx] def post_loop(self, d_idx, d_au): if d_au[d_idx] > 19.0: self.conv = 1 def converged(self): if hasattr(self, '_pull'): # _pull is not available on CPU. self._pull('conv') return self.conv equations = [Group( equations=[ Group( equations=[SillyEquation1(dest='fluid', sources=['fluid'])] ), Group( equations=[SillyEquation1(dest='fluid', sources=['fluid'])] ), ], iterate=True, max_iterations=10, )] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:859: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctree.test_should_stop_iteration_with_max_iteration_on_gpu _ self = def test_should_stop_iteration_with_max_iteration_on_gpu(self): pa = self.pa class SillyEquation(Equation): def loop(self, d_idx, d_au, s_idx, s_m): d_au[d_idx] += s_m[s_idx] def converged(self): return 0 equations = [Group( equations=[ Group( equations=[SillyEquation(dest='fluid', sources=['fluid'])] ), Group( equations=[SillyEquation(dest='fluid', sources=['fluid'])] ), ], iterate=True, max_iterations=2, )] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:817: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctree.test_should_support_loop_all_and_loop_on_gpu _ self = def test_should_support_loop_all_and_loop_on_gpu(self): # Given pa = self.pa equations = [SummationDensity(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:976: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ______ TestAccelerationEval1DGPUOctree.test_update_nnps_is_called_on_gpu _______ self = def test_update_nnps_is_called_on_gpu(self): # Given equations = [ Group( equations=[ SummationDensity(dest='fluid', sources=['fluid']), ], update_nnps=True ), Group( equations=[EqWithTime(dest='fluid', sources=['fluid'])] ), ] # When > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_accel_eval_should_work_on_gpu __ self = def test_accel_eval_should_work_on_gpu(self): # Given pa = self.pa equations = [SimpleEquation(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:688: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_equation_with_time_should_work_on_gpu _ self = def test_equation_with_time_should_work_on_gpu(self): # Given pa = self.pa equations = [EqWithTime(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:741: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_group_honors_condition_on_gpu __ self = def test_group_honors_condition_on_gpu(self): # Given pa = self.pa pa.add_constant('reduce_calls', 0) pa.au[:] = 0.0 if pa.gpu: pa.gpu.push('au') call_data = [] def cond(t, dt): call_data.append((t, dt)) return False equations = [ Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], condition=cond ), Group( equations=[ Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], condition=cond ) ] ), Group( equations=[ DumbEquation(dest='fluid', sources=['fluid']) ], ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_precomputed_should_work_on_gpu _ self = def test_precomputed_should_work_on_gpu(self): # Given pa = self.pa equations = [SummationDensity(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:702: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_precomputed_should_work_on_gpu_with_double _ self = def test_precomputed_should_work_on_gpu_with_double(self): orig = get_config().use_double def _cleanup(): get_config().use_double = orig get_config().use_double = True self.addCleanup(_cleanup) # Given pa = self.pa equations = [SummationDensity(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_should_call_initialize_pair_on_gpu _ self = def test_should_call_initialize_pair_on_gpu(self): # Given. pa = self.pa pa.u[:] = 1.0 if pa.gpu: pa.gpu.push('u') equations = [InitializePair(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:917: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_should_call_pre_post_functions_in_group_on_gpu _ self = def test_should_call_pre_post_functions_in_group_on_gpu(self): # Given pa = self.pa def pre(): pa.m += 1.0 pa.gpu.push('m') def post(): pa.gpu.pull('u') pa.u += 1.0 equations = [ Group( equations=[ SimpleEquation(dest='fluid', sources=['fluid']) ], pre=pre, post=post ) ] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1016: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_should_call_py_initialize_for_gpu_backend _ self = def test_should_call_py_initialize_for_gpu_backend(self): # Given. pa = self.pa equations = [PyInit(dest='fluid', sources=None)] eq = equations[0] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:934: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_should_handle_helper_functions_on_gpu _ self = def test_should_handle_helper_functions_on_gpu(self): pa = self.pa def helper(x=1.0): return x * 1.5 class SillyEquation2(Equation): def initialize(self, d_idx, d_au, d_m): d_au[d_idx] += helper(d_m[d_idx]) def _get_helpers_(self): return [helper] equations = [SillyEquation2(dest='fluid', sources=['fluid']), SillyEquation2(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_should_run_reduce_when_using_gpu _ self = def test_should_run_reduce_when_using_gpu(self): # Given. pa = self.pa pa.add_constant('total_mass', 0.0) equations = [SimpleReduction(dest='fluid', sources=['fluid'])] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:900: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_should_stop_iteration_with_converged_on_gpu _ self = def test_should_stop_iteration_with_converged_on_gpu(self): pa = self.pa class SillyEquation1(Equation): def __init__(self, dest, sources): super(SillyEquation1, self).__init__(dest, sources) self.conv = 0 def loop(self, d_idx, d_au, s_idx, s_m): d_au[d_idx] += s_m[s_idx] def post_loop(self, d_idx, d_au): if d_au[d_idx] > 19.0: self.conv = 1 def converged(self): if hasattr(self, '_pull'): # _pull is not available on CPU. self._pull('conv') return self.conv equations = [Group( equations=[ Group( equations=[SillyEquation1(dest='fluid', sources=['fluid'])] ), Group( equations=[SillyEquation1(dest='fluid', sources=['fluid'])] ), ], iterate=True, max_iterations=10, )] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:859: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAccelerationEval1DGPUOctreeNonCached.test_should_stop_iteration_with_max_iteration_on_gpu _ self = def test_should_stop_iteration_with_max_iteration_on_gpu(self): pa = self.pa class SillyEquation(Equation): def loop(self, d_idx, d_au, s_idx, s_m): d_au[d_idx] += s_m[s_idx] def converged(self): return 0 equations = [Group( equations=[ Group( equations=[SillyEquation(dest='fluid', sources=['fluid'])] ), Group( equations=[SillyEquation(dest='fluid', sources=['fluid'])] ), ], iterate=True, max_iterations=2, )] > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:817: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error __ TestAccelerationEval1DGPUOctreeNonCached.test_update_nnps_is_called_on_gpu __ self = def test_update_nnps_is_called_on_gpu(self): # Given equations = [ Group( equations=[ SummationDensity(dest='fluid', sources=['fluid']), ], update_nnps=True ), Group( equations=[EqWithTime(dest='fluid', sources=['fluid'])] ), ] # When > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:675: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _ TestAEvalMultipleDestsGPU.test_update_nnps_should_only_be_called_once_per_group _ self = def test_update_nnps_should_only_be_called_once_per_group(self): # Given eqs = [ SummationDensity(dest='f1', sources=['f1', 'f2']), SummationDensity(dest='f2', sources=['f1', 'f2']), ] equations = [Group(equations=eqs, update_nnps=True)] # When > a_eval = self._make_accel_eval(equations) pysph/sph/tests/test_acceleration_eval.py:1327: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_acceleration_eval.py:1309: in _make_accel_eval comp = SPHCompiler(a_eval, integrator=None) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ____ TestLeapFrogIntegratorGPU.test_helper_can_be_used_with_stepper_on_gpu _____ self = def test_helper_can_be_used_with_stepper_on_gpu(self): # Given. integrator = EulerIntegrator(fluid=StepWithHelper()) equations = [SHM(dest="fluid", sources=None)] > self._setup_integrator(equations=equations, integrator=integrator) pysph/sph/tests/test_integrator.py:564: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_integrator.py:494: in _setup_integrator comp = SPHCompiler(a_eval, integrator=integrator) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________________ TestLeapFrogIntegratorGPU.test_leapfrog ____________________ self = def test_leapfrog(self): # Given. integrator = LeapFrogIntegrator(fluid=LeapFrogStep()) equations = [SHM(dest="fluid", sources=None)] > self._setup_integrator(equations=equations, integrator=integrator) pysph/sph/tests/test_integrator.py:506: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_integrator.py:494: in _setup_integrator comp = SPHCompiler(a_eval, integrator=integrator) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _____________ TestLeapFrogIntegratorGPU.test_leapfrog_with_double ______________ self = def test_leapfrog_with_double(self): orig = get_config().use_double def _cleanup(): get_config().use_double = orig get_config().use_double = True self.addCleanup(_cleanup) > self.test_leapfrog() pysph/sph/tests/test_integrator.py:558: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_integrator.py:506: in test_leapfrog self._setup_integrator(equations=equations, integrator=integrator) pysph/sph/tests/test_integrator.py:494: in _setup_integrator comp = SPHCompiler(a_eval, integrator=integrator) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error ___________ TestLeapFrogIntegratorGPU.test_py_stage_is_called_on_gpu ___________ self = def test_py_stage_is_called_on_gpu(self): # Given. stepper = S12Step() integrator = LeapFrogIntegrator(fluid=stepper) equations = [SHM(dest="fluid", sources=None)] > self._setup_integrator(equations=equations, integrator=integrator) pysph/sph/tests/test_integrator.py:530: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_integrator.py:494: in _setup_integrator comp = SPHCompiler(a_eval, integrator=integrator) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error _______ TestMultiGroupIntegratorGPU.test_different_accels_per_integrator _______ self = def test_different_accels_per_integrator(self): # Given pa = self.pa > integrator = self._make_integrator() pysph/sph/tests/test_multi_group_integrator.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysph/sph/tests/test_multi_group_integrator.py:74: in _make_integrator comp = SPHCompiler(a_evals, integrator=integrator) pysph/sph/sph_compiler.py:22: in __init__ self._setup_helpers() pysph/sph/sph_compiler.py:76: in _setup_helpers self.acceleration_eval_helpers = [ pysph/sph/sph_compiler.py:77: in cls(a_eval) pysph/sph/acceleration_eval_gpu_helper.py:446: in __init__ self._ctx = get_context(self.backend) pysph/sph/acceleration_eval_gpu_helper.py:159: in get_context return get_context() /usr/lib/python3/dist-packages/compyle/opencl.py:20: in get_context _ctx = cl.create_some_context() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interactive = False, answers = None def create_some_context(interactive=None, answers=None): if answers is None: if "PYOPENCL_CTX" in os.environ: ctx_spec = os.environ["PYOPENCL_CTX"] answers = ctx_spec.split(":") if "PYOPENCL_TEST" in os.environ: from pyopencl.tools import get_test_platforms_and_devices for _plat, devs in get_test_platforms_and_devices(): for dev in devs: return Context([dev]) if answers is not None: pre_provided_answers = answers answers = answers[:] else: pre_provided_answers = None user_inputs = [] if interactive is None: interactive = True try: if not sys.stdin.isatty(): interactive = False except Exception: interactive = False def cc_print(s): if interactive: print(s) def get_input(prompt): if answers: return str(answers.pop(0)) elif not interactive: return "" else: user_input = input(prompt) user_inputs.append(user_input) return user_input # {{{ pick a platform platforms = get_platforms() if not platforms: raise Error("no platforms found") else: if not answers: cc_print("Choose platform:") for i, pf in enumerate(platforms): cc_print("[%d] %s" % (i, pf)) answer = get_input("Choice [0]:") if not answer: platform = platforms[0] else: platform = None try: int_choice = int(answer) except ValueError: pass else: if 0 <= int_choice < len(platforms): platform = platforms[int_choice] if platform is None: answer = answer.lower() for pf in platforms: if answer in pf.name.lower(): platform = pf if platform is None: raise RuntimeError("input did not match any platform") # }}} # {{{ pick a device devices = platform.get_devices() def parse_device(choice): try: int_choice = int(choice) except ValueError: pass else: if 0 <= int_choice < len(devices): return devices[int_choice] choice = choice.lower() for dev in devices: if choice in dev.name.lower(): return dev raise RuntimeError("input did not match any device") if not devices: > raise Error("no devices found") E pyopencl._cl.Error: no devices found /usr/lib/python3/dist-packages/pyopencl/__init__.py:1654: Error =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/pyximport/pyximport.py:51 /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp ../../../../../../usr/lib/python3/dist-packages/tvtk/version.py:5 /usr/lib/python3/dist-packages/tvtk/version.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources ../../../../../../usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:258 /usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:258: DeprecationWarning: module 'sre_parse' is deprecated import sre_parse ../../../../../../usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:259 /usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:259: DeprecationWarning: module 'sre_constants' is deprecated import sre_constants .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_simple[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_simple[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_simple[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_simple[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_simple[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_simple[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_args[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_args[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_args[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_args[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_args[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_args[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_no_args[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_no_args[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_no_args[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_no_args[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_no_args[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_no_args[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_args[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_args[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_args[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_args[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_args[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_args[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_no_args[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_no_args[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_no_args[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_no_args[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_no_args[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_no_args[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_max_provides_maximum[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_max_provides_maximum[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_max_provides_maximum[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_max_provides_maximum[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_max_provides_maximum[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_max_provides_maximum[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_that_adding_removing_prop_to_array_updates_gpu[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_that_adding_removing_prop_to_array_updates_gpu[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_that_adding_removing_prop_to_array_updates_gpu[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_that_adding_removing_prop_to_array_updates_gpu[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_that_adding_removing_prop_to_array_updates_gpu[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_that_adding_removing_prop_to_array_updates_gpu[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_resize_works[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_resize_works[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_resize_works[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_resize_works[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_resize_works[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_resize_works[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_get_number_of_particles[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_get_number_of_particles[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_get_number_of_particles[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_get_number_of_particles[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_get_number_of_particles[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_get_number_of_particles[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align_particles[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align_particles[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align_particles[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align_particles[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align_particles[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align_particles[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_particles[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_particles[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_particles[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_particles[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_particles[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_particles[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_tagged_particles[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_tagged_particles[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_tagged_particles[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_tagged_particles[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_tagged_particles[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_tagged_particles[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_add_particles[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_add_particles[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_add_particles[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_add_particles[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_add_particles[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_add_particles[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extend[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extend[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extend[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extend[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extend[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extend[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_append_parray[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_append_parray[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_append_parray[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_append_parray[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_append_parray[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_append_parray[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_empty_clone[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_empty_clone[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_empty_clone[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_empty_clone[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_empty_clone[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_empty_clone[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extract_particles[cython] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extract_particles[cython] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extract_particles[opencl] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extract_particles[opencl] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extract_particles[cuda] /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extract_particles[cuda] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_update_minmax_cl /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. .pybuild/cpython3_3.11/build/pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_update_minmax_cl is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) .pybuild/cpython3_3.11/build/pysph/solver/tests/test_application.py::TestApplication::test_app_stops_multi_proc_interface_at_end /usr/lib/python3/dist-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-8 (start) Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/<>/.pybuild/cpython3_3.11/build/pysph/solver/solver_interfaces.py", line 56, in start self._server.serve_forever() File "/usr/lib/python3.11/multiprocessing/managers.py", line 184, in serve_forever sys.exit(0) SystemExit: 0 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_simple[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_args[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_push_correctly_sets_values_with_no_args[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_args[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_pull_correctly_sets_values_with_no_args[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_max_provides_maximum[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_that_adding_removing_prop_to_array_updates_gpu[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_resize_works[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_get_number_of_particles[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_align_particles[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_particles[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_remove_tagged_particles[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_add_particles[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extend[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_append_parray[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_empty_clone[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_extract_particles[opencl] FAILED pysph/base/tests/test_device_helper.py::TestDeviceHelper::test_update_minmax_cl FAILED pysph/base/tests/test_domain_manager.py::ZOrderGPUPeriodicBox2D::test_box_wrapping FAILED pysph/base/tests/test_domain_manager.py::ZOrderGPUPeriodicBox2D::test_periodicity FAILED pysph/base/tests/test_domain_manager.py::ZOrderGPUPeriodicBox2D::test_summation_density FAILED pysph/base/tests/test_domain_manager.py::BoxSortPeriodicBox2D::test_box_wrapping FAILED pysph/base/tests/test_domain_manager.py::BoxSortPeriodicBox2D::test_periodicity FAILED pysph/base/tests/test_domain_manager.py::BoxSortPeriodicBox2D::test_summation_density FAILED pysph/base/tests/test_domain_manager.py::LinkedListPeriodicBox2D::test_box_wrapping FAILED pysph/base/tests/test_domain_manager.py::LinkedListPeriodicBox2D::test_periodicity FAILED pysph/base/tests/test_domain_manager.py::LinkedListPeriodicBox2D::test_summation_density FAILED pysph/base/tests/test_domain_manager.py::PeriodicBox3DTestCase::test_box_wrapping FAILED pysph/base/tests/test_domain_manager.py::PeriodicBox3DTestCase::test_periodicity FAILED pysph/base/tests/test_domain_manager.py::PeriodicBox3DTestCase::test_summation_density FAILED pysph/base/tests/test_neighbor_cache.py::TestNeighborCache::test_cache_updates_with_changed_particles FAILED pysph/base/tests/test_neighbor_cache.py::TestNeighborCache::test_empty_neigbors_works_correctly FAILED pysph/base/tests/test_neighbor_cache.py::TestNeighborCache::test_neighbors_cached_properly FAILED pysph/base/tests/test_neighbor_cache.py::TestNeighborCache::test_setting_use_cache_does_cache FAILED pysph/base/tests/test_nnps.py::SimpleNNPSTestCase::test_cell_size - py... FAILED pysph/base/tests/test_nnps.py::SimpleNNPSTestCase::test_cells - pyopen... FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPS2DTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPS2DTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPS2DTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPS2DTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPS2DTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPS2DTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPS2DTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPS2DTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPS2DTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPS2DTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSDouble2DTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSDouble2DTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSDouble2DTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSDouble2DTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSDouble2DTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::DictBoxSortNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::BoxSortNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::BoxSortNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::BoxSortNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::BoxSortNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::BoxSortNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::BoxSortNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::BoxSortNNPSTestCase::test_repeated - py... FAILED pysph/base/tests/test_nnps.py::SpatialHashNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::SpatialHashNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::SpatialHashNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::SpatialHashNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::SpatialHashNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::SpatialHashNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::SpatialHashNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedHashNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedHashNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedHashNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedHashNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedHashNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedHashNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedHashNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedHashNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedHashNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedHashNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedHashNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedHashNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedHashNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedHashNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedSFCNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedSFCNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedSFCNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedSFCNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedSFCNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedSFCNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::SingleLevelStratifiedSFCNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedSFCNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedSFCNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedSFCNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedSFCNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedSFCNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedSFCNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::MultipleLevelsStratifiedSFCNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::ExtendedSpatialHashNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ExtendedSpatialHashNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::ExtendedSpatialHashNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::ExtendedSpatialHashNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ExtendedSpatialHashNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ExtendedSpatialHashNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ExtendedSpatialHashNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::OctreeNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::OctreeNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::OctreeNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::OctreeNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::OctreeNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::OctreeNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::OctreeNNPSTestCase::test_repeated - pyo... FAILED pysph/base/tests/test_nnps.py::OctreeParallelNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::OctreeParallelNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::OctreeParallelNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::OctreeParallelNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::OctreeParallelNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::OctreeParallelNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::OctreeParallelNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::CellIndexingNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::CellIndexingNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::CellIndexingNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::CellIndexingNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::CellIndexingNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::CellIndexingNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::CellIndexingNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::ZOrderNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ZOrderNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::ZOrderNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::ZOrderNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ZOrderNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ZOrderNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ZOrderNNPSTestCase::test_repeated - pyo... FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSAsymmetricTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSAsymmetricTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSAsymmetricTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSAsymmetricTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSAsymmetricTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSAsymmetricTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSAsymmetricTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSymmetricTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSymmetricTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSymmetricTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSymmetricTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSymmetricTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSymmetricTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSymmetricTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSubdividedAsymTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSubdividedAsymTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSubdividedAsymTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSubdividedAsymTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSubdividedSymTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSubdividedSymTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSubdividedSymTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ExtendedZOrderNNPSSubdividedSymTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCase::test_repeated - ... FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCaseCUDA::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCaseCUDA::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCaseCUDA::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCaseCUDA::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCaseCUDA::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCaseCUDA::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ZOrderGPUNNPSTestCaseCUDA::test_repeated FAILED pysph/base/tests/test_nnps.py::BruteForceNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::BruteForceNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::BruteForceNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::BruteForceNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::BruteForceNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::BruteForceNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::BruteForceNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSTestCase::test_repeated - ... FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCaseCUDA::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCaseCUDA::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCaseCUDA::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCaseCUDA::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCaseCUDA::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCaseCUDA::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::ZOrderGPUDoubleNNPSTestCaseCUDA::test_repeated FAILED pysph/base/tests/test_nnps.py::OctreeGPUDoubleNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::OctreeGPUDoubleNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::OctreeGPUDoubleNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::OctreeGPUDoubleNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::OctreeGPUDoubleNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::OctreeGPUDoubleNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::OctreeGPUDoubleNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSorting::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSorting::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSorting::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSorting::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSorting::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSorting::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSorting::test_repeated FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSortingCUDA::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSortingCUDA::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSortingCUDA::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSortingCUDA::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSortingCUDA::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSortingCUDA::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::TestZOrderGPUNNPSWithSortingCUDA::test_repeated FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithSortingTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithSortingTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithSortingTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithSortingTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithSortingTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithSortingTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithSortingTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithPartitioningTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithPartitioningTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithPartitioningTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithPartitioningTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithPartitioningTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithPartitioningTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::OctreeGPUNNPSWithPartitioningTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::StratifiedSFCGPUNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::StratifiedSFCGPUNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::StratifiedSFCGPUNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::StratifiedSFCGPUNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::StratifiedSFCGPUNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::CompressedOctreeNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::CompressedOctreeNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::CompressedOctreeNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::CompressedOctreeNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::CompressedOctreeNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::CompressedOctreeNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::CompressedOctreeNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::CompressedOctreeParallelNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::CompressedOctreeParallelNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::CompressedOctreeParallelNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::CompressedOctreeParallelNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::CompressedOctreeParallelNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::CompressedOctreeParallelNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::CompressedOctreeParallelNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::LinkedListNNPSTestCase::test_cell_index_positivity FAILED pysph/base/tests/test_nnps.py::LinkedListNNPSTestCase::test_neighbors_aa FAILED pysph/base/tests/test_nnps.py::LinkedListNNPSTestCase::test_neighbors_ab FAILED pysph/base/tests/test_nnps.py::LinkedListNNPSTestCase::test_neighbors_ba FAILED pysph/base/tests/test_nnps.py::LinkedListNNPSTestCase::test_neighbors_bb FAILED pysph/base/tests/test_nnps.py::LinkedListNNPSTestCase::test_neighbors_cc FAILED pysph/base/tests/test_nnps.py::LinkedListNNPSTestCase::test_neighbors_dd FAILED pysph/base/tests/test_nnps.py::LinkedListNNPSTestCase::test_repeated FAILED pysph/base/tests/test_nnps.py::TestNNPSOnLargeDomain::test_box_sort_works_for_large_domain FAILED pysph/base/tests/test_nnps.py::TestNNPSOnLargeDomain::test_compressed_octree_parallel_works_for_large_domain FAILED pysph/base/tests/test_nnps.py::TestNNPSOnLargeDomain::test_compressed_octree_works_for_large_domain FAILED pysph/base/tests/test_nnps.py::TestNNPSOnLargeDomain::test_extended_spatial_hash_works_for_large_domain FAILED pysph/base/tests/test_nnps.py::TestNNPSOnLargeDomain::test_linked_list_nnps_raises_exception_for_large_domain FAILED pysph/base/tests/test_nnps.py::TestNNPSOnLargeDomain::test_octree_parallel_works_for_large_domain FAILED pysph/base/tests/test_nnps.py::TestNNPSOnLargeDomain::test_octree_works_for_large_domain FAILED pysph/base/tests/test_nnps.py::TestNNPSOnLargeDomain::test_spatial_hash_works_for_large_domain FAILED pysph/base/tests/test_nnps.py::TestLinkedListNNPSWithSorting::test_nnps_sorts_with_valid_gids FAILED pysph/base/tests/test_nnps.py::TestLinkedListNNPSWithSorting::test_nnps_sorts_without_gids FAILED pysph/base/tests/test_nnps.py::TestSpatialHashNNPSWithSorting::test_nnps_sorts_with_valid_gids FAILED pysph/base/tests/test_nnps.py::TestSpatialHashNNPSWithSorting::test_nnps_sorts_without_gids FAILED pysph/base/tests/test_nnps.py::TestMultipleLevelsStratifiedHashNNPSWithSorting::test_nnps_sorts_with_valid_gids FAILED pysph/base/tests/test_nnps.py::TestMultipleLevelsStratifiedHashNNPSWithSorting::test_nnps_sorts_without_gids FAILED pysph/base/tests/test_nnps.py::TestMultipleLevelsStratifiedSFCNNPSWithSorting::test_nnps_sorts_with_valid_gids FAILED pysph/base/tests/test_nnps.py::TestMultipleLevelsStratifiedSFCNNPSWithSorting::test_nnps_sorts_without_gids FAILED pysph/base/tests/test_nnps.py::test_large_number_of_neighbors_linked_list FAILED pysph/base/tests/test_nnps.py::test_neighbor_cache_update_doesnt_leak FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[BoxSortNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[CellIndexingNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[CompressedOctreeNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[ExtendedSpatialHashNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[LinkedListNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[OctreeNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[SpatialHashNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[StratifiedHashNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[StratifiedSFCNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_1d_few_cells[ZOrderNNPS] FAILED pysph/base/tests/test_nnps.py::test_corner_case_parallel_octree_1d_few_cells FAILED pysph/base/tests/test_nnps.py::test_corner_case_parallel_compressed_octree_1d_few_cells FAILED pysph/base/tests/test_nnps.py::test_use_2d_for_1d_data_with_llnps - py... FAILED pysph/base/tests/test_nnps.py::test_use_3d_for_1d_data_with_llnps - py... FAILED pysph/base/tests/test_nnps.py::test_large_number_of_neighbors_spatial_hash FAILED pysph/base/tests/test_nnps.py::test_large_number_of_neighbors_octree FAILED pysph/base/tests/test_nnps.py::test_large_number_of_neighbors_parallel_octree FAILED pysph/base/tests/test_octree.py::test_single_level_octree - pyopencl._... FAILED pysph/base/tests/test_octree.py::test_compressed_octree_has_lesser_depth_than_octree FAILED pysph/base/tests/test_octree.py::test_single_level_compressed_octree FAILED pysph/base/tests/test_octree.py::SimpleOctreeTestCase::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::SimpleOctreeTestCase::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::SimpleOctreeTestCase::test_parent_for_node FAILED pysph/base/tests/test_octree.py::SimpleOctreeTestCase::test_plot_root FAILED pysph/base/tests/test_octree.py::SimpleOctreeTestCase::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::test_single_level_parallel_octree - p... FAILED pysph/base/tests/test_octree.py::test_single_level_parallel_compressed_octree FAILED pysph/base/tests/test_octree.py::test_parallel_compressed_octree_has_lesser_depth_than_parallel_octree FAILED pysph/base/tests/test_octree.py::SimpleParallelOctreeTestCase::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::SimpleParallelOctreeTestCase::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::SimpleParallelOctreeTestCase::test_parent_for_node FAILED pysph/base/tests/test_octree.py::SimpleParallelOctreeTestCase::test_plot_root FAILED pysph/base/tests/test_octree.py::SimpleParallelOctreeTestCase::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestOctreeFor2DDataset::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestOctreeFor2DDataset::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestOctreeFor2DDataset::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestOctreeFor2DDataset::test_plot_root FAILED pysph/base/tests/test_octree.py::TestOctreeFor2DDataset::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestOctreeFor1DDataset::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestOctreeFor1DDataset::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestOctreeFor1DDataset::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestOctreeFor1DDataset::test_plot_root FAILED pysph/base/tests/test_octree.py::TestOctreeFor1DDataset::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestOctreeForFloatingPointError::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestOctreeForFloatingPointError::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestOctreeForFloatingPointError::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestOctreeForFloatingPointError::test_plot_root FAILED pysph/base/tests/test_octree.py::TestOctreeForFloatingPointError::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor2DDataset::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor2DDataset::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor2DDataset::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor2DDataset::test_plot_root FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor2DDataset::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor1DDataset::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor1DDataset::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor1DDataset::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor1DDataset::test_plot_root FAILED pysph/base/tests/test_octree.py::TestParallelOctreeFor1DDataset::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestParallelOctreeForFloatingPointError::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestParallelOctreeForFloatingPointError::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestParallelOctreeForFloatingPointError::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestParallelOctreeForFloatingPointError::test_plot_root FAILED pysph/base/tests/test_octree.py::TestParallelOctreeForFloatingPointError::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::SimpleCompressedOctreeTestCase::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::SimpleCompressedOctreeTestCase::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::SimpleCompressedOctreeTestCase::test_parent_for_node FAILED pysph/base/tests/test_octree.py::SimpleCompressedOctreeTestCase::test_plot_root FAILED pysph/base/tests/test_octree.py::SimpleCompressedOctreeTestCase::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor1DDataset::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor1DDataset::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor1DDataset::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor1DDataset::test_plot_root FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor1DDataset::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor2DDataset::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor2DDataset::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor2DDataset::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor2DDataset::test_plot_root FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeFor2DDataset::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeForFloatingPointError::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeForFloatingPointError::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeForFloatingPointError::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeForFloatingPointError::test_plot_root FAILED pysph/base/tests/test_octree.py::TestCompressedOctreeForFloatingPointError::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::SimpleParallelCompressedOctreeTestCase::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::SimpleParallelCompressedOctreeTestCase::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::SimpleParallelCompressedOctreeTestCase::test_parent_for_node FAILED pysph/base/tests/test_octree.py::SimpleParallelCompressedOctreeTestCase::test_plot_root FAILED pysph/base/tests/test_octree.py::SimpleParallelCompressedOctreeTestCase::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor1DDataset::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor1DDataset::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor1DDataset::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor1DDataset::test_plot_root FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor1DDataset::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor2DDataset::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor2DDataset::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor2DDataset::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor2DDataset::test_plot_root FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeFor2DDataset::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeForFloatingPointError::test_all_indices_are_unique FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeForFloatingPointError::test_levels_in_tree FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeForFloatingPointError::test_parent_for_node FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeForFloatingPointError::test_plot_root FAILED pysph/base/tests/test_octree.py::TestParallelCompressedOctreeForFloatingPointError::test_sum_of_indices_lengths_equals_total_number_of_particles FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_add_particles FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_add_property FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_align_particles FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_append_parray FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_clear FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_constructor FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_constructor_works_with_simple_props FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_constructor_works_with_strides FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_copy_properties FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_empty_clone_works_with_specific_props FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_empty_clone_works_without_specific_props FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_extend FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_extract_particles_works_with_non_empty_dest FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_extract_particles_works_with_specific_props_with_dest FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_extract_particles_works_with_specific_props_without_dest FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_extract_particles_works_without_specific_props_with_dest FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_extract_particles_works_without_specific_props_without_dest FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_get FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_get_number_of_particles FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_getattr FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_remove_particles FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_remove_tagged_particles FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_resize FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_setattr FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_that_constants_are_not_resized_when_particles_are_added FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_that_constants_can_be_added FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_that_constants_can_be_set_in_constructor FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_that_get_carray_works_with_constants FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_that_get_works_on_constants FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_that_remove_property_also_removes_output_arrays FAILED pysph/base/tests/test_particle_array.py::ParticleArrayTestOpenCL::test_that_set_works_on_constants FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_accel_eval_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_equation_with_time_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_group_honors_condition_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_precomputed_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_precomputed_should_work_on_gpu_with_double FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_call_initialize_pair_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_call_pre_post_functions_in_group_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_call_py_initialize_for_gpu_backend FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_handle_helper_functions_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_honor_start_stop_idx_as_str_in_group FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_honor_start_stop_idx_in_group_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_run_reduce_when_using_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_stop_iteration_with_converged_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_stop_iteration_with_max_iteration_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_should_support_loop_all_and_loop_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPU::test_update_nnps_is_called_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_accel_eval_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_equation_with_time_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_group_honors_condition_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_precomputed_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_precomputed_should_work_on_gpu_with_double FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_call_initialize_pair_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_call_pre_post_functions_in_group_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_call_py_initialize_for_gpu_backend FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_handle_helper_functions_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_honor_start_stop_idx_as_str_in_group FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_honor_start_stop_idx_in_group_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_run_reduce_when_using_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_stop_iteration_with_converged_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_stop_iteration_with_max_iteration_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_should_support_loop_all_and_loop_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctree::test_update_nnps_is_called_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_accel_eval_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_equation_with_time_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_group_honors_condition_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_precomputed_should_work_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_precomputed_should_work_on_gpu_with_double FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_should_call_initialize_pair_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_should_call_pre_post_functions_in_group_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_should_call_py_initialize_for_gpu_backend FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_should_handle_helper_functions_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_should_run_reduce_when_using_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_should_stop_iteration_with_converged_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_should_stop_iteration_with_max_iteration_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAccelerationEval1DGPUOctreeNonCached::test_update_nnps_is_called_on_gpu FAILED pysph/sph/tests/test_acceleration_eval.py::TestAEvalMultipleDestsGPU::test_update_nnps_should_only_be_called_once_per_group FAILED pysph/sph/tests/test_integrator.py::TestLeapFrogIntegratorGPU::test_helper_can_be_used_with_stepper_on_gpu FAILED pysph/sph/tests/test_integrator.py::TestLeapFrogIntegratorGPU::test_leapfrog FAILED pysph/sph/tests/test_integrator.py::TestLeapFrogIntegratorGPU::test_leapfrog_with_double FAILED pysph/sph/tests/test_integrator.py::TestLeapFrogIntegratorGPU::test_py_stage_is_called_on_gpu FAILED pysph/sph/tests/test_multi_group_integrator.py::TestMultiGroupIntegratorGPU::test_different_accels_per_integrator = 465 failed, 370 passed, 76 skipped, 117 deselected, 8 xfailed, 60 warnings in 443.40s (0:07:23) = E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd '/<>/.pybuild/cpython3_3.11/build'; python3.11 -m pytest -k "not test_sph_evaluator and not TestInterpolator and not test_get_points_from_mgrid and not test_get_surface_points_uniform" dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13 make: *** [debian/rules:15: binary-arch] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-08-17T17:37:05Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: s390x Build Type: any Build-Space: 457356 Build-Time: 636 Distribution: mantic-proposed Fail-Stage: build Host Architecture: s390x Install-Time: 60 Job: pysph_1.0~b1-6.dsc Machine Architecture: s390x Package: pysph Package-Time: 696 Source-Version: 1.0~b1-6 Space: 457356 Status: attempted Version: 1.0~b1-6 -------------------------------------------------------------------------------- Finished at 2023-08-17T17:37:05Z Build needed 00:11:36, 457356k disk space E: Build failure (dpkg-buildpackage died) RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=mantic --arch=s390x PACKAGEBUILD-26516225 Scanning for processes to kill in build PACKAGEBUILD-26516225