https://launchpad.net/ubuntu/+source/pysph/1.0~b1-5build1/+build/25663373 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-ppc64el-026 5.4.0-139-generic #156-Ubuntu SMP Fri Jan 20 17:27:42 UTC 2023 ppc64le Buildd toolchain package versions: launchpad-buildd_230~623~ubuntu20.04.1 python3-lpbuildd_230~623~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git-build-recipe_0.3.6 git_1:2.25.1-1ubuntu3.10 dpkg-dev_1.19.7ubuntu3.2 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 19 Mar 06:30:43 ntpdate[2201]: adjust time server 10.211.37.1 offset -0.007735 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=lunar --arch=ppc64el PACKAGEBUILD-25663373 --image-type chroot /home/buildd/filecache-default/7984b9498478de1d58b749dc057a3cf5e3226d68 Creating target for build PACKAGEBUILD-25663373 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=lunar --arch=ppc64el PACKAGEBUILD-25663373 Starting target for build PACKAGEBUILD-25663373 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=lunar --arch=ppc64el PACKAGEBUILD-25663373 'deb http://ftpmaster.internal/ubuntu lunar main universe' 'deb http://ftpmaster.internal/ubuntu lunar-security main universe' 'deb http://ftpmaster.internal/ubuntu lunar-updates main universe' 'deb http://ftpmaster.internal/ubuntu lunar-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-25663373 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=lunar --arch=ppc64el PACKAGEBUILD-25663373 Updating target for build PACKAGEBUILD-25663373 Get:1 http://ftpmaster.internal/ubuntu lunar InRelease [267 kB] Get:2 http://ftpmaster.internal/ubuntu lunar-security InRelease [90.7 kB] Get:3 http://ftpmaster.internal/ubuntu lunar-updates InRelease [90.7 kB] Get:4 http://ftpmaster.internal/ubuntu lunar-proposed InRelease [118 kB] Get:5 http://ftpmaster.internal/ubuntu lunar/main ppc64el Packages [1338 kB] Get:6 http://ftpmaster.internal/ubuntu lunar/main Translation-en [512 kB] Get:7 http://ftpmaster.internal/ubuntu lunar/universe ppc64el Packages [14.8 MB] Get:8 http://ftpmaster.internal/ubuntu lunar/universe Translation-en [5932 kB] Get:9 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el Packages [44.5 kB] Get:10 http://ftpmaster.internal/ubuntu lunar-proposed/main Translation-en [24.9 kB] Get:11 http://ftpmaster.internal/ubuntu lunar-proposed/universe ppc64el Packages [97.0 kB] Get:12 http://ftpmaster.internal/ubuntu lunar-proposed/universe Translation-en [49.5 kB] Fetched 23.3 MB in 5s (5061 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following NEW packages will be installed: gcc-13-base libproc2-0 The following packages will be upgraded: adduser advancecomp apt bash binutils binutils-common binutils-powerpc64le-linux-gnu ca-certificates coreutils cpp cpp-12 dash debconf diffutils dpkg dpkg-dev e2fsprogs fakeroot g++ g++-12 gcc gcc-12 gcc-12-base gpg gpg-agent gpgconf gpgv grep hostname libacl1 libapparmor1 libapt-pkg6.0 libasan8 libatomic1 libattr1 libaudit-common libaudit1 libbinutils 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 libdpkg-perl libext2fs2 libfakeroot libgcc-12-dev libgcc-s1 libgcrypt20 libgnutls30 libgomp1 libitm1 libkmod2 liblsan0 liblzma5 libmpfr6 libncurses6 libncursesw6 libp11-kit0 libpcre2-8-0 libperl5.36 libquadmath0 libreadline8 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsqlite3-0 libss2 libssl3 libstdc++-12-dev libstdc++6 libsystemd-shared libsystemd0 libtinfo6 libtsan2 libubsan1 libudev1 libzstd1 linux-libc-dev logsave lsb-base lto-disabled-list ncurses-base ncurses-bin openssl perl perl-base perl-modules-5.36 pkgbinarymangler procps readline-common sed sensible-utils systemd systemd-sysv sysvinit-utils tzdata xz-utils zlib1g 110 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 104 MB of archives. After this operation, 8060 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu lunar/main ppc64el bash ppc64el 5.2.15-2ubuntu1 [956 kB] Get:2 http://ftpmaster.internal/ubuntu lunar/main ppc64el coreutils ppc64el 9.1-1ubuntu2 [1508 kB] Get:3 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcrypt-dev ppc64el 1:4.4.33-2 [143 kB] Get:4 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libc6-dev ppc64el 2.37-0ubuntu2 [2057 kB] Get:5 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libc-dev-bin ppc64el 2.37-0ubuntu2 [20.9 kB] Get:6 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcrypt1 ppc64el 1:4.4.33-2 [106 kB] Get:7 http://ftpmaster.internal/ubuntu lunar/main ppc64el linux-libc-dev ppc64el 6.1.0-16.16 [1604 kB] Get:8 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libc6 ppc64el 2.37-0ubuntu2 [3192 kB] Get:9 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libc-bin ppc64el 2.37-0ubuntu2 [736 kB] Get:10 http://ftpmaster.internal/ubuntu lunar/main ppc64el gcc-13-base ppc64el 13-20230305-1ubuntu1 [40.7 kB] Get:11 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgcc-s1 ppc64el 13-20230305-1ubuntu1 [38.5 kB] Get:12 http://ftpmaster.internal/ubuntu lunar/main ppc64el liblzma5 ppc64el 5.4.1-0.2 [154 kB] Get:13 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgcrypt20 ppc64el 1.10.1-3ubuntu1 [718 kB] Get:14 http://ftpmaster.internal/ubuntu lunar/main ppc64el libstdc++6 ppc64el 13-20230305-1ubuntu1 [873 kB] Get:15 http://ftpmaster.internal/ubuntu lunar/main ppc64el libacl1 ppc64el 2.3.1-3 [20.4 kB] Get:16 http://ftpmaster.internal/ubuntu lunar/main ppc64el libapparmor1 ppc64el 3.0.8-1ubuntu2 [50.6 kB] Get:17 http://ftpmaster.internal/ubuntu lunar/main ppc64el libaudit-common all 1:3.0.9-1 [5142 B] Get:18 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcap-ng0 ppc64el 0.8.3-1build2 [16.0 kB] Get:19 http://ftpmaster.internal/ubuntu lunar/main ppc64el libaudit1 ppc64el 1:3.0.9-1 [51.2 kB] Get:20 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcap2 ppc64el 1:2.66-3ubuntu2 [33.2 kB] Get:21 http://ftpmaster.internal/ubuntu lunar/main ppc64el libperl5.36 ppc64el 5.36.0-7 [4848 kB] Get:22 http://ftpmaster.internal/ubuntu lunar/main ppc64el perl ppc64el 5.36.0-7 [235 kB] Get:23 http://ftpmaster.internal/ubuntu lunar/main ppc64el perl-base ppc64el 5.36.0-7 [1855 kB] Get:24 http://ftpmaster.internal/ubuntu lunar/main ppc64el perl-modules-5.36 all 5.36.0-7 [2984 kB] Get:25 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdb5.3 ppc64el 5.3.28+dfsg2-1 [847 kB] Get:26 http://ftpmaster.internal/ubuntu lunar/main ppc64el zlib1g ppc64el 1:1.2.13.dfsg-1ubuntu4 [70.1 kB] Get:27 http://ftpmaster.internal/ubuntu lunar/main ppc64el debconf all 1.5.82 [125 kB] Get:28 http://ftpmaster.internal/ubuntu lunar/main ppc64el libssl3 ppc64el 3.0.8-1ubuntu1 [2140 kB] Get:29 http://ftpmaster.internal/ubuntu lunar/main ppc64el libzstd1 ppc64el 1.5.4+dfsg2-4 [375 kB] Get:30 http://ftpmaster.internal/ubuntu lunar/main ppc64el libkmod2 ppc64el 30+20221128-1ubuntu1 [59.8 kB] Get:31 http://ftpmaster.internal/ubuntu lunar/main ppc64el libseccomp2 ppc64el 2.5.4-1ubuntu3 [61.6 kB] Get:32 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpcre2-8-0 ppc64el 10.42-1 [256 kB] Get:33 http://ftpmaster.internal/ubuntu lunar/main ppc64el libselinux1 ppc64el 3.4-1build4 [96.6 kB] Get:34 http://ftpmaster.internal/ubuntu lunar/main ppc64el systemd-sysv ppc64el 252.5-2ubuntu2 [11.5 kB] Get:35 http://ftpmaster.internal/ubuntu lunar/main ppc64el systemd ppc64el 252.5-2ubuntu2 [3198 kB] Get:36 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsystemd-shared ppc64el 252.5-2ubuntu2 [2026 kB] Get:37 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcryptsetup12 ppc64el 2:2.6.1-1ubuntu1 [329 kB] Get:38 http://ftpmaster.internal/ubuntu lunar/main ppc64el libp11-kit0 ppc64el 0.24.1-2ubuntu1 [258 kB] Get:39 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsystemd0 ppc64el 252.5-2ubuntu2 [466 kB] Get:40 http://ftpmaster.internal/ubuntu lunar/main ppc64el libudev1 ppc64el 252.5-2ubuntu2 [172 kB] Get:41 http://ftpmaster.internal/ubuntu lunar/main ppc64el libapt-pkg6.0 ppc64el 2.6.0 [1039 kB] Get:42 http://ftpmaster.internal/ubuntu lunar/main ppc64el dpkg ppc64el 1.21.21ubuntu1 [1469 kB] Get:43 http://ftpmaster.internal/ubuntu lunar/main ppc64el dash ppc64el 0.5.12-2ubuntu1 [105 kB] Get:44 http://ftpmaster.internal/ubuntu lunar/main ppc64el diffutils ppc64el 1:3.8-4 [196 kB] Get:45 http://ftpmaster.internal/ubuntu lunar/main ppc64el grep ppc64el 3.8-5 [170 kB] Get:46 http://ftpmaster.internal/ubuntu lunar/main ppc64el hostname ppc64el 3.23+nmu1ubuntu1 [11.1 kB] Get:47 http://ftpmaster.internal/ubuntu lunar/main ppc64el ncurses-bin ppc64el 6.4-2 [196 kB] Get:48 http://ftpmaster.internal/ubuntu lunar/main ppc64el sed ppc64el 4.9-1 [208 kB] Get:49 http://ftpmaster.internal/ubuntu lunar/main ppc64el ncurses-base all 6.4-2 [21.3 kB] Get:50 http://ftpmaster.internal/ubuntu lunar/main ppc64el sysvinit-utils ppc64el 3.06-2ubuntu1 [33.7 kB] Get:51 http://ftpmaster.internal/ubuntu lunar/main ppc64el lsb-base all 11.6 [4606 B] Get:52 http://ftpmaster.internal/ubuntu lunar/main ppc64el adduser all 3.129ubuntu1 [59.0 kB] Get:53 http://ftpmaster.internal/ubuntu lunar/main ppc64el gpgv ppc64el 2.2.40-1ubuntu2 [171 kB] Get:54 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgnutls30 ppc64el 3.7.8-5ubuntu1 [1038 kB] Get:55 http://ftpmaster.internal/ubuntu lunar/main ppc64el apt ppc64el 2.6.0 [1427 kB] Get:56 http://ftpmaster.internal/ubuntu lunar/main ppc64el logsave ppc64el 1.47.0-1ubuntu1 [14.7 kB] Get:57 http://ftpmaster.internal/ubuntu lunar/main ppc64el libext2fs2 ppc64el 1.47.0-1ubuntu1 [255 kB] Get:58 http://ftpmaster.internal/ubuntu lunar/main ppc64el e2fsprogs ppc64el 1.47.0-1ubuntu1 [652 kB] Get:59 http://ftpmaster.internal/ubuntu lunar/main ppc64el libattr1 ppc64el 1:2.5.1-4 [13.2 kB] Get:60 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdebconfclient0 ppc64el 0.267ubuntu1 [7796 B] Get:61 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsemanage-common all 3.4-1build4 [9852 B] Get:62 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsemanage2 ppc64el 3.4-1build4 [113 kB] Get:63 http://ftpmaster.internal/ubuntu lunar/main ppc64el libncurses6 ppc64el 6.4-2 [144 kB] Get:64 http://ftpmaster.internal/ubuntu lunar/main ppc64el libncursesw6 ppc64el 6.4-2 [179 kB] Get:65 http://ftpmaster.internal/ubuntu lunar/main ppc64el libtinfo6 ppc64el 6.4-2 [124 kB] Get:66 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcom-err2 ppc64el 1.47.0-1ubuntu1 [14.6 kB] Get:67 http://ftpmaster.internal/ubuntu lunar/main ppc64el libproc2-0 ppc64el 2:4.0.3-1ubuntu1 [62.1 kB] Get:68 http://ftpmaster.internal/ubuntu lunar/main ppc64el libss2 ppc64el 1.47.0-1ubuntu1 [17.5 kB] Get:69 http://ftpmaster.internal/ubuntu lunar/main ppc64el procps ppc64el 2:4.0.3-1ubuntu1 [632 kB] Get:70 http://ftpmaster.internal/ubuntu lunar/main ppc64el sensible-utils all 0.0.17+nmu1 [19.3 kB] Get:71 http://ftpmaster.internal/ubuntu lunar/main ppc64el openssl ppc64el 3.0.8-1ubuntu1 [1196 kB] Get:72 http://ftpmaster.internal/ubuntu lunar/main ppc64el ca-certificates all 20230311 [155 kB] Get:73 http://ftpmaster.internal/ubuntu lunar/main ppc64el readline-common all 8.2-1.3 [55.7 kB] Get:74 http://ftpmaster.internal/ubuntu lunar/main ppc64el libreadline8 ppc64el 8.2-1.3 [175 kB] Get:75 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsqlite3-0 ppc64el 3.40.1-1 [749 kB] Get:76 http://ftpmaster.internal/ubuntu lunar/main ppc64el tzdata all 2022g-7ubuntu2 [270 kB] Get:77 http://ftpmaster.internal/ubuntu lunar/main ppc64el xz-utils ppc64el 5.4.1-0.2 [277 kB] Get:78 http://ftpmaster.internal/ubuntu lunar/main ppc64el advancecomp ppc64el 2.5-1 [235 kB] Get:79 http://ftpmaster.internal/ubuntu lunar/main ppc64el libctf0 ppc64el 2.40-2ubuntu3 [110 kB] Get:80 http://ftpmaster.internal/ubuntu lunar/main ppc64el libctf-nobfd0 ppc64el 2.40-2ubuntu3 [110 kB] Get:81 http://ftpmaster.internal/ubuntu lunar/main ppc64el binutils-powerpc64le-linux-gnu ppc64el 2.40-2ubuntu3 [2445 kB] Get:82 http://ftpmaster.internal/ubuntu lunar/main ppc64el libbinutils ppc64el 2.40-2ubuntu3 [729 kB] Get:83 http://ftpmaster.internal/ubuntu lunar/main ppc64el binutils ppc64el 2.40-2ubuntu3 [3076 B] Get:84 http://ftpmaster.internal/ubuntu lunar/main ppc64el binutils-common ppc64el 2.40-2ubuntu3 [226 kB] Get:85 http://ftpmaster.internal/ubuntu lunar/main ppc64el libmpfr6 ppc64el 4.2.0-1 [343 kB] Get:86 http://ftpmaster.internal/ubuntu lunar/main ppc64el g++-12 ppc64el 12.2.0-17ubuntu1 [11.4 MB] Get:87 http://ftpmaster.internal/ubuntu lunar/main ppc64el gcc-12 ppc64el 12.2.0-17ubuntu1 [19.8 MB] Get:88 http://ftpmaster.internal/ubuntu lunar/main ppc64el cpp-12 ppc64el 12.2.0-17ubuntu1 [10.0 MB] Get:89 http://ftpmaster.internal/ubuntu lunar/main ppc64el libubsan1 ppc64el 13-20230305-1ubuntu1 [1129 kB] Get:90 http://ftpmaster.internal/ubuntu lunar/main ppc64el libstdc++-12-dev ppc64el 12.2.0-17ubuntu1 [2289 kB] Get:91 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgomp1 ppc64el 13-20230305-1ubuntu1 [154 kB] Get:92 http://ftpmaster.internal/ubuntu lunar/main ppc64el libitm1 ppc64el 13-20230305-1ubuntu1 [32.4 kB] Get:93 http://ftpmaster.internal/ubuntu lunar/main ppc64el libatomic1 ppc64el 13-20230305-1ubuntu1 [10.6 kB] Get:94 http://ftpmaster.internal/ubuntu lunar/main ppc64el libasan8 ppc64el 13-20230305-1ubuntu1 [2821 kB] Get:95 http://ftpmaster.internal/ubuntu lunar/main ppc64el liblsan0 ppc64el 13-20230305-1ubuntu1 [1227 kB] Get:96 http://ftpmaster.internal/ubuntu lunar/main ppc64el libquadmath0 ppc64el 13-20230305-1ubuntu1 [156 kB] Get:97 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgcc-12-dev ppc64el 12.2.0-17ubuntu1 [1512 kB] Get:98 http://ftpmaster.internal/ubuntu lunar/main ppc64el libtsan2 ppc64el 13-20230305-1ubuntu1 [2641 kB] Get:99 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcc1-0 ppc64el 13-20230305-1ubuntu1 [48.9 kB] Get:100 http://ftpmaster.internal/ubuntu lunar/main ppc64el gcc-12-base ppc64el 12.2.0-17ubuntu1 [41.4 kB] Get:101 http://ftpmaster.internal/ubuntu lunar/main ppc64el g++ ppc64el 4:12.2.0-3ubuntu1 [1116 B] Get:102 http://ftpmaster.internal/ubuntu lunar/main ppc64el gcc ppc64el 4:12.2.0-3ubuntu1 [5194 B] Get:103 http://ftpmaster.internal/ubuntu lunar/main ppc64el cpp ppc64el 4:12.2.0-3ubuntu1 [27.8 kB] Get:104 http://ftpmaster.internal/ubuntu lunar/main ppc64el dpkg-dev all 1.21.21ubuntu1 [1117 kB] Get:105 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdpkg-perl all 1.21.21ubuntu1 [247 kB] Get:106 http://ftpmaster.internal/ubuntu lunar/main ppc64el lto-disabled-list all 38 [12.3 kB] Get:107 http://ftpmaster.internal/ubuntu lunar/main ppc64el libfakeroot ppc64el 1.31-1.1 [33.9 kB] Get:108 http://ftpmaster.internal/ubuntu lunar/main ppc64el fakeroot ppc64el 1.31-1.1 [62.1 kB] Get:109 http://ftpmaster.internal/ubuntu lunar/main ppc64el gpg ppc64el 2.2.40-1ubuntu2 [646 kB] Get:110 http://ftpmaster.internal/ubuntu lunar/main ppc64el gpgconf ppc64el 2.2.40-1ubuntu2 [103 kB] Get:111 http://ftpmaster.internal/ubuntu lunar/main ppc64el gpg-agent ppc64el 2.2.40-1ubuntu2 [253 kB] Get:112 http://ftpmaster.internal/ubuntu lunar/main ppc64el pkgbinarymangler all 152 [16.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 104 MB in 1min 1s (1719 kB/s) (Reading database ... 13031 files and directories currently installed.) Preparing to unpack .../bash_5.2.15-2ubuntu1_ppc64el.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 ... 13031 files and directories currently installed.) Preparing to unpack .../coreutils_9.1-1ubuntu2_ppc64el.deb ... Unpacking coreutils (9.1-1ubuntu2) over (8.32-4.1ubuntu1) ... Setting up coreutils (9.1-1ubuntu2) ... (Reading database ... 13031 files and directories currently installed.) Preparing to unpack .../libcrypt-dev_1%3a4.4.33-2_ppc64el.deb ... Unpacking libcrypt-dev:ppc64el (1:4.4.33-2) over (1:4.4.33-1) ... Preparing to unpack .../libc6-dev_2.37-0ubuntu2_ppc64el.deb ... Unpacking libc6-dev:ppc64el (2.37-0ubuntu2) over (2.36-0ubuntu4) ... Preparing to unpack .../libc-dev-bin_2.37-0ubuntu2_ppc64el.deb ... Unpacking libc-dev-bin (2.37-0ubuntu2) over (2.36-0ubuntu4) ... Preparing to unpack .../libcrypt1_1%3a4.4.33-2_ppc64el.deb ... Unpacking libcrypt1:ppc64el (1:4.4.33-2) over (1:4.4.33-1) ... Setting up libcrypt1:ppc64el (1:4.4.33-2) ... (Reading database ... 13031 files and directories currently installed.) Preparing to unpack .../linux-libc-dev_6.1.0-16.16_ppc64el.deb ... Unpacking linux-libc-dev:ppc64el (6.1.0-16.16) over (5.19.0-21.21) ... Preparing to unpack .../libc6_2.37-0ubuntu2_ppc64el.deb ... Unpacking libc6:ppc64el (2.37-0ubuntu2) over (2.36-0ubuntu4) ... Setting up libc6:ppc64el (2.37-0ubuntu2) ... (Reading database ... 15031 files and directories currently installed.) Preparing to unpack .../libc-bin_2.37-0ubuntu2_ppc64el.deb ... Unpacking libc-bin (2.37-0ubuntu2) over (2.36-0ubuntu4) ... Setting up libc-bin (2.37-0ubuntu2) ... Selecting previously unselected package gcc-13-base:ppc64el. (Reading database ... 15031 files and directories currently installed.) Preparing to unpack .../gcc-13-base_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking gcc-13-base:ppc64el (13-20230305-1ubuntu1) ... Setting up gcc-13-base:ppc64el (13-20230305-1ubuntu1) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../libgcc-s1_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libgcc-s1:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Setting up libgcc-s1:ppc64el (13-20230305-1ubuntu1) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../liblzma5_5.4.1-0.2_ppc64el.deb ... Unpacking liblzma5:ppc64el (5.4.1-0.2) over (5.2.9-0.0) ... Setting up liblzma5:ppc64el (5.4.1-0.2) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.10.1-3ubuntu1_ppc64el.deb ... Unpacking libgcrypt20:ppc64el (1.10.1-3ubuntu1) over (1.10.1-2ubuntu1) ... Setting up libgcrypt20:ppc64el (1.10.1-3ubuntu1) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../libstdc++6_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libstdc++6:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Setting up libstdc++6:ppc64el (13-20230305-1ubuntu1) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../libacl1_2.3.1-3_ppc64el.deb ... Unpacking libacl1:ppc64el (2.3.1-3) over (2.3.1-2) ... Setting up libacl1:ppc64el (2.3.1-3) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../libapparmor1_3.0.8-1ubuntu2_ppc64el.deb ... Unpacking libapparmor1:ppc64el (3.0.8-1ubuntu2) over (3.0.8-1ubuntu1) ... Preparing to unpack .../libaudit-common_1%3a3.0.9-1_all.deb ... Unpacking libaudit-common (1:3.0.9-1) over (1:3.0.7-1ubuntu3) ... Setting up libaudit-common (1:3.0.9-1) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.8.3-1build2_ppc64el.deb ... Unpacking libcap-ng0:ppc64el (0.8.3-1build2) over (0.8.3-1build1) ... Setting up libcap-ng0:ppc64el (0.8.3-1build2) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.0.9-1_ppc64el.deb ... Unpacking libaudit1:ppc64el (1:3.0.9-1) over (1:3.0.7-1ubuntu3) ... Setting up libaudit1:ppc64el (1:3.0.9-1) ... (Reading database ... 15036 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.66-3ubuntu2_ppc64el.deb ... Unpacking libcap2:ppc64el (1:2.66-3ubuntu2) over (1:2.44-1build3) ... Setting up libcap2:ppc64el (1:2.66-3ubuntu2) ... (Reading database ... 15038 files and directories currently installed.) Preparing to unpack .../libperl5.36_5.36.0-7_ppc64el.deb ... Unpacking libperl5.36:ppc64el (5.36.0-7) over (5.36.0-4ubuntu2) ... Preparing to unpack .../perl_5.36.0-7_ppc64el.deb ... Unpacking perl (5.36.0-7) over (5.36.0-4ubuntu2) ... Preparing to unpack .../perl-base_5.36.0-7_ppc64el.deb ... Unpacking perl-base (5.36.0-7) over (5.36.0-4ubuntu2) ... Setting up perl-base (5.36.0-7) ... (Reading database ... 15038 files and directories currently installed.) Preparing to unpack .../perl-modules-5.36_5.36.0-7_all.deb ... Unpacking perl-modules-5.36 (5.36.0-7) over (5.36.0-4ubuntu2) ... Preparing to unpack .../libdb5.3_5.3.28+dfsg2-1_ppc64el.deb ... Unpacking libdb5.3:ppc64el (5.3.28+dfsg2-1) over (5.3.28+dfsg1-0.10) ... Setting up libdb5.3:ppc64el (5.3.28+dfsg2-1) ... (Reading database ... 15038 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.13.dfsg-1ubuntu4_ppc64el.deb ... Unpacking zlib1g:ppc64el (1:1.2.13.dfsg-1ubuntu4) over (1:1.2.11.dfsg-4.1ubuntu1) ... Setting up zlib1g:ppc64el (1:1.2.13.dfsg-1ubuntu4) ... (Reading database ... 15038 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 ... 15038 files and directories currently installed.) Preparing to unpack .../libssl3_3.0.8-1ubuntu1_ppc64el.deb ... Unpacking libssl3:ppc64el (3.0.8-1ubuntu1) over (3.0.5-2ubuntu2) ... Preparing to unpack .../libzstd1_1.5.4+dfsg2-4_ppc64el.deb ... Unpacking libzstd1:ppc64el (1.5.4+dfsg2-4) over (1.5.2+dfsg-1) ... Setting up libzstd1:ppc64el (1.5.4+dfsg2-4) ... (Reading database ... 15038 files and directories currently installed.) Preparing to unpack .../libkmod2_30+20221128-1ubuntu1_ppc64el.deb ... Unpacking libkmod2:ppc64el (30+20221128-1ubuntu1) over (30+20220905-1ubuntu1) ... Preparing to unpack .../libseccomp2_2.5.4-1ubuntu3_ppc64el.deb ... Unpacking libseccomp2:ppc64el (2.5.4-1ubuntu3) over (2.5.4-1ubuntu2) ... Setting up libseccomp2:ppc64el (2.5.4-1ubuntu3) ... (Reading database ... 15038 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.42-1_ppc64el.deb ... Unpacking libpcre2-8-0:ppc64el (10.42-1) over (10.40-1ubuntu1) ... Setting up libpcre2-8-0:ppc64el (10.42-1) ... (Reading database ... 15038 files and directories currently installed.) Preparing to unpack .../libselinux1_3.4-1build4_ppc64el.deb ... Unpacking libselinux1:ppc64el (3.4-1build4) over (3.4-1build1) ... Setting up libselinux1:ppc64el (3.4-1build4) ... (Reading database ... 15038 files and directories currently installed.) Preparing to unpack .../systemd-sysv_252.5-2ubuntu2_ppc64el.deb ... Unpacking systemd-sysv (252.5-2ubuntu2) over (251.4-1ubuntu7) ... Setting up libssl3:ppc64el (3.0.8-1ubuntu1) ... (Reading database ... 15039 files and directories currently installed.) Preparing to unpack .../systemd_252.5-2ubuntu2_ppc64el.deb ... Unpacking systemd (252.5-2ubuntu2) over (251.4-1ubuntu7) ... Preparing to unpack .../libsystemd-shared_252.5-2ubuntu2_ppc64el.deb ... Unpacking libsystemd-shared:ppc64el (252.5-2ubuntu2) over (251.4-1ubuntu7) ... Preparing to unpack .../libcryptsetup12_2%3a2.6.1-1ubuntu1_ppc64el.deb ... Unpacking libcryptsetup12:ppc64el (2:2.6.1-1ubuntu1) over (2:2.5.0-6ubuntu3) ... Preparing to unpack .../libp11-kit0_0.24.1-2ubuntu1_ppc64el.deb ... Unpacking libp11-kit0:ppc64el (0.24.1-2ubuntu1) over (0.24.1-1ubuntu2) ... Setting up libp11-kit0:ppc64el (0.24.1-2ubuntu1) ... (Reading database ... 15055 files and directories currently installed.) Preparing to unpack .../libsystemd0_252.5-2ubuntu2_ppc64el.deb ... Unpacking libsystemd0:ppc64el (252.5-2ubuntu2) over (251.4-1ubuntu7) ... Setting up libsystemd0:ppc64el (252.5-2ubuntu2) ... (Reading database ... 15056 files and directories currently installed.) Preparing to unpack .../libudev1_252.5-2ubuntu2_ppc64el.deb ... Unpacking libudev1:ppc64el (252.5-2ubuntu2) over (251.4-1ubuntu7) ... Setting up libudev1:ppc64el (252.5-2ubuntu2) ... (Reading database ... 15057 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.6.0_ppc64el.deb ... Unpacking libapt-pkg6.0:ppc64el (2.6.0) over (2.5.4) ... Setting up libapt-pkg6.0:ppc64el (2.6.0) ... (Reading database ... 15057 files and directories currently installed.) Preparing to unpack .../dpkg_1.21.21ubuntu1_ppc64el.deb ... Unpacking dpkg (1.21.21ubuntu1) over (1.21.11ubuntu2) ... Setting up dpkg (1.21.21ubuntu1) ... (Reading database ... 15060 files and directories currently installed.) Preparing to unpack .../dash_0.5.12-2ubuntu1_ppc64el.deb ... Unpacking dash (0.5.12-2ubuntu1) over (0.5.11+git20210903+057cd650a4ed-9ubuntu1) ... Setting up dash (0.5.12-2ubuntu1) ... (Reading database ... 15060 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.8-4_ppc64el.deb ... Unpacking diffutils (1:3.8-4) over (1:3.8-1) ... Setting up diffutils (1:3.8-4) ... (Reading database ... 15060 files and directories currently installed.) Preparing to unpack .../grep_3.8-5_ppc64el.deb ... Unpacking grep (3.8-5) over (3.8-3) ... Setting up grep (3.8-5) ... (Reading database ... 15060 files and directories currently installed.) Preparing to unpack .../hostname_3.23+nmu1ubuntu1_ppc64el.deb ... Unpacking hostname (3.23+nmu1ubuntu1) over (3.23ubuntu2) ... Setting up hostname (3.23+nmu1ubuntu1) ... (Reading database ... 15060 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.4-2_ppc64el.deb ... Unpacking ncurses-bin (6.4-2) over (6.3+20220423-2) ... Setting up ncurses-bin (6.4-2) ... (Reading database ... 15060 files and directories currently installed.) Preparing to unpack .../archives/sed_4.9-1_ppc64el.deb ... Unpacking sed (4.9-1) over (4.8-1ubuntu2) ... Setting up sed (4.9-1) ... (Reading database ... 15060 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.4-2_all.deb ... Unpacking ncurses-base (6.4-2) over (6.3+20220423-2) ... Setting up ncurses-base (6.4-2) ... (Reading database ... 15060 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.06-2ubuntu1_ppc64el.deb ... Unpacking sysvinit-utils (3.06-2ubuntu1) over (3.04-1ubuntu1) ... Setting up sysvinit-utils (3.06-2ubuntu1) ... (Reading database ... 15060 files and directories currently installed.) Preparing to unpack .../adduser_3.129ubuntu1_all.deb ... moving unchanged adduser.conf to adduser.conf.update-old. New dpkg-conffile will come from the package. Unpacking adduser (3.129ubuntu1) over (3.121ubuntu1) ... Setting up adduser (3.129ubuntu1) ... Installing new version of config file /etc/deluser.conf ... (Reading database ... 15027 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.40-1ubuntu2_ppc64el.deb ... Unpacking gpgv (2.2.40-1ubuntu2) over (2.2.40-1ubuntu1) ... Setting up gpgv (2.2.40-1ubuntu2) ... (Reading database ... 15027 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.7.8-5ubuntu1_ppc64el.deb ... Unpacking libgnutls30:ppc64el (3.7.8-5ubuntu1) over (3.7.7-2ubuntu2) ... Setting up libgnutls30:ppc64el (3.7.8-5ubuntu1) ... (Reading database ... 15027 files and directories currently installed.) Preparing to unpack .../archives/apt_2.6.0_ppc64el.deb ... Unpacking apt (2.6.0) over (2.5.4) ... Setting up apt (2.6.0) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... (Reading database ... 15028 files and directories currently installed.) Preparing to unpack .../logsave_1.47.0-1ubuntu1_ppc64el.deb ... Unpacking logsave (1.47.0-1ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Preparing to unpack .../libext2fs2_1.47.0-1ubuntu1_ppc64el.deb ... Unpacking libext2fs2:ppc64el (1.47.0-1ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Setting up libext2fs2:ppc64el (1.47.0-1ubuntu1) ... (Reading database ... 15028 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.47.0-1ubuntu1_ppc64el.deb ... Unpacking e2fsprogs (1.47.0-1ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Preparing to unpack .../libattr1_1%3a2.5.1-4_ppc64el.deb ... Unpacking libattr1:ppc64el (1:2.5.1-4) over (1:2.5.1-3) ... Setting up libattr1:ppc64el (1:2.5.1-4) ... (Reading database ... 15028 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.267ubuntu1_ppc64el.deb ... Unpacking libdebconfclient0:ppc64el (0.267ubuntu1) over (0.264ubuntu1) ... Setting up libdebconfclient0:ppc64el (0.267ubuntu1) ... (Reading database ... 15028 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.4-1build4_all.deb ... Unpacking libsemanage-common (3.4-1build4) over (3.4-1build1) ... Setting up libsemanage-common (3.4-1build4) ... (Reading database ... 15028 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.4-1build4_ppc64el.deb ... Unpacking libsemanage2:ppc64el (3.4-1build4) over (3.4-1build1) ... Setting up libsemanage2:ppc64el (3.4-1build4) ... (Reading database ... 15028 files and directories currently installed.) Preparing to unpack .../libncurses6_6.4-2_ppc64el.deb ... Unpacking libncurses6:ppc64el (6.4-2) over (6.3+20220423-2) ... Preparing to unpack .../libncursesw6_6.4-2_ppc64el.deb ... Unpacking libncursesw6:ppc64el (6.4-2) over (6.3+20220423-2) ... Preparing to unpack .../libtinfo6_6.4-2_ppc64el.deb ... Unpacking libtinfo6:ppc64el (6.4-2) over (6.3+20220423-2) ... Setting up libtinfo6:ppc64el (6.4-2) ... (Reading database ... 15028 files and directories currently installed.) Preparing to unpack .../00-libcom-err2_1.47.0-1ubuntu1_ppc64el.deb ... Unpacking libcom-err2:ppc64el (1.47.0-1ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Selecting previously unselected package libproc2-0:ppc64el. Preparing to unpack .../01-libproc2-0_2%3a4.0.3-1ubuntu1_ppc64el.deb ... Unpacking libproc2-0:ppc64el (2:4.0.3-1ubuntu1) ... Preparing to unpack .../02-libss2_1.47.0-1ubuntu1_ppc64el.deb ... Unpacking libss2:ppc64el (1.47.0-1ubuntu1) over (1.46.6~rc1-1ubuntu1) ... Preparing to unpack .../03-procps_2%3a4.0.3-1ubuntu1_ppc64el.deb ... Unpacking procps (2:4.0.3-1ubuntu1) over (2:3.3.17-7ubuntu1) ... Preparing to unpack .../04-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) over (0.0.17) ... Preparing to unpack .../05-openssl_3.0.8-1ubuntu1_ppc64el.deb ... Unpacking openssl (3.0.8-1ubuntu1) over (3.0.5-2ubuntu2) ... Preparing to unpack .../06-ca-certificates_20230311_all.deb ... Unpacking ca-certificates (20230311) over (20211016ubuntu1) ... Preparing to unpack .../07-readline-common_8.2-1.3_all.deb ... Unpacking readline-common (8.2-1.3) over (8.2-1.2) ... Preparing to unpack .../08-libreadline8_8.2-1.3_ppc64el.deb ... Unpacking libreadline8:ppc64el (8.2-1.3) over (8.2-1.2) ... Preparing to unpack .../09-libsqlite3-0_3.40.1-1_ppc64el.deb ... Unpacking libsqlite3-0:ppc64el (3.40.1-1) over (3.40.0-1) ... Preparing to unpack .../10-tzdata_2022g-7ubuntu2_all.deb ... Unpacking tzdata (2022g-7ubuntu2) over (2022g-1ubuntu1) ... Preparing to unpack .../11-xz-utils_5.4.1-0.2_ppc64el.deb ... Unpacking xz-utils (5.4.1-0.2) over (5.2.9-0.0) ... Preparing to unpack .../12-advancecomp_2.5-1_ppc64el.deb ... Unpacking advancecomp (2.5-1) over (2.4-1) ... Preparing to unpack .../13-libctf0_2.40-2ubuntu3_ppc64el.deb ... Unpacking libctf0:ppc64el (2.40-2ubuntu3) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../14-libctf-nobfd0_2.40-2ubuntu3_ppc64el.deb ... Unpacking libctf-nobfd0:ppc64el (2.40-2ubuntu3) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../15-binutils-powerpc64le-linux-gnu_2.40-2ubuntu3_ppc64el.deb ... Unpacking binutils-powerpc64le-linux-gnu (2.40-2ubuntu3) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../16-libbinutils_2.40-2ubuntu3_ppc64el.deb ... Unpacking libbinutils:ppc64el (2.40-2ubuntu3) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../17-binutils_2.40-2ubuntu3_ppc64el.deb ... Unpacking binutils (2.40-2ubuntu3) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../18-binutils-common_2.40-2ubuntu3_ppc64el.deb ... Unpacking binutils-common:ppc64el (2.40-2ubuntu3) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../19-libmpfr6_4.2.0-1_ppc64el.deb ... Unpacking libmpfr6:ppc64el (4.2.0-1) over (4.1.0-3build3) ... Preparing to unpack .../20-g++-12_12.2.0-17ubuntu1_ppc64el.deb ... Unpacking g++-12 (12.2.0-17ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../21-gcc-12_12.2.0-17ubuntu1_ppc64el.deb ... Unpacking gcc-12 (12.2.0-17ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../22-cpp-12_12.2.0-17ubuntu1_ppc64el.deb ... Unpacking cpp-12 (12.2.0-17ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../23-libubsan1_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libubsan1:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../24-libstdc++-12-dev_12.2.0-17ubuntu1_ppc64el.deb ... Unpacking libstdc++-12-dev:ppc64el (12.2.0-17ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../25-libgomp1_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libgomp1:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../26-libitm1_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libitm1:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../27-libatomic1_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libatomic1:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../28-libasan8_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libasan8:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../29-liblsan0_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking liblsan0:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../30-libquadmath0_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libquadmath0:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../31-libgcc-12-dev_12.2.0-17ubuntu1_ppc64el.deb ... Unpacking libgcc-12-dev:ppc64el (12.2.0-17ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../32-libtsan2_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libtsan2:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../33-libcc1-0_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libcc1-0:ppc64el (13-20230305-1ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../34-gcc-12-base_12.2.0-17ubuntu1_ppc64el.deb ... Unpacking gcc-12-base:ppc64el (12.2.0-17ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../35-g++_4%3a12.2.0-3ubuntu1_ppc64el.deb ... Unpacking g++ (4:12.2.0-3ubuntu1) over (4:12.2.0-1ubuntu1) ... Preparing to unpack .../36-gcc_4%3a12.2.0-3ubuntu1_ppc64el.deb ... Unpacking gcc (4:12.2.0-3ubuntu1) over (4:12.2.0-1ubuntu1) ... Preparing to unpack .../37-cpp_4%3a12.2.0-3ubuntu1_ppc64el.deb ... Unpacking cpp (4:12.2.0-3ubuntu1) over (4:12.2.0-1ubuntu1) ... Preparing to unpack .../38-dpkg-dev_1.21.21ubuntu1_all.deb ... Unpacking dpkg-dev (1.21.21ubuntu1) over (1.21.11ubuntu2) ... Preparing to unpack .../39-libdpkg-perl_1.21.21ubuntu1_all.deb ... Unpacking libdpkg-perl (1.21.21ubuntu1) over (1.21.11ubuntu2) ... Preparing to unpack .../40-lto-disabled-list_38_all.deb ... Unpacking lto-disabled-list (38) over (37) ... Preparing to unpack .../41-libfakeroot_1.31-1.1_ppc64el.deb ... Unpacking libfakeroot:ppc64el (1.31-1.1) over (1.30.1-1ubuntu1) ... Preparing to unpack .../42-fakeroot_1.31-1.1_ppc64el.deb ... Unpacking fakeroot (1.31-1.1) over (1.30.1-1ubuntu1) ... Preparing to unpack .../43-gpg_2.2.40-1ubuntu2_ppc64el.deb ... Unpacking gpg (2.2.40-1ubuntu2) over (2.2.40-1ubuntu1) ... Preparing to unpack .../44-gpgconf_2.2.40-1ubuntu2_ppc64el.deb ... Unpacking gpgconf (2.2.40-1ubuntu2) over (2.2.40-1ubuntu1) ... Preparing to unpack .../45-gpg-agent_2.2.40-1ubuntu2_ppc64el.deb ... Unpacking gpg-agent (2.2.40-1ubuntu2) over (2.2.40-1ubuntu1) ... Preparing to unpack .../46-pkgbinarymangler_152_all.deb ... Unpacking pkgbinarymangler (152) over (149) ... Setting up lsb-base (11.6) ... Setting up lto-disabled-list (38) ... Setting up libapparmor1:ppc64el (3.0.8-1ubuntu2) ... Setting up libsqlite3-0:ppc64el (3.40.1-1) ... Setting up binutils-common:ppc64el (2.40-2ubuntu3) ... Setting up linux-libc-dev:ppc64el (6.1.0-16.16) ... Setting up libctf-nobfd0:ppc64el (2.40-2ubuntu3) ... Setting up libcom-err2:ppc64el (1.47.0-1ubuntu1) ... Setting up libgomp1:ppc64el (13-20230305-1ubuntu1) ... Setting up libfakeroot:ppc64el (1.31-1.1) ... Setting up gcc-12-base:ppc64el (12.2.0-17ubuntu1) ... Setting up tzdata (2022g-7ubuntu2) ... Current default time zone: 'Etc/UTC' Local time is now: Sun Mar 19 06:32:06 UTC 2023. Universal Time is now: Sun Mar 19 06:32:06 UTC 2023. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up fakeroot (1.31-1.1) ... Setting up perl-modules-5.36 (5.36.0-7) ... Setting up libmpfr6:ppc64el (4.2.0-1) ... Setting up libncurses6:ppc64el (6.4-2) ... Setting up xz-utils (5.4.1-0.2) ... Setting up libquadmath0:ppc64el (13-20230305-1ubuntu1) ... Setting up libproc2-0:ppc64el (2:4.0.3-1ubuntu1) ... Setting up libatomic1:ppc64el (13-20230305-1ubuntu1) ... Setting up libss2:ppc64el (1.47.0-1ubuntu1) ... Setting up libncursesw6:ppc64el (6.4-2) ... Setting up logsave (1.47.0-1ubuntu1) ... Setting up libubsan1:ppc64el (13-20230305-1ubuntu1) ... Setting up advancecomp (2.5-1) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libcrypt-dev:ppc64el (1:4.4.33-2) ... Setting up libasan8:ppc64el (13-20230305-1ubuntu1) ... Setting up procps (2:4.0.3-1ubuntu1) ... Setting up libcryptsetup12:ppc64el (2:2.6.1-1ubuntu1) ... Setting up libtsan2:ppc64el (13-20230305-1ubuntu1) ... Setting up libbinutils:ppc64el (2.40-2ubuntu3) ... Setting up libc-dev-bin (2.37-0ubuntu2) ... Setting up openssl (3.0.8-1ubuntu1) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up readline-common (8.2-1.3) ... Setting up libcc1-0:ppc64el (13-20230305-1ubuntu1) ... Setting up libperl5.36:ppc64el (5.36.0-7) ... Setting up liblsan0:ppc64el (13-20230305-1ubuntu1) ... Setting up libitm1:ppc64el (13-20230305-1ubuntu1) ... Setting up libkmod2:ppc64el (30+20221128-1ubuntu1) ... Setting up libctf0:ppc64el (2.40-2ubuntu3) ... Setting up cpp-12 (12.2.0-17ubuntu1) ... Setting up pkgbinarymangler (152) ... Setting up libreadline8:ppc64el (8.2-1.3) ... Setting up e2fsprogs (1.47.0-1ubuntu1) ... Installing new version of config file /etc/mke2fs.conf ... Setting up ca-certificates (20230311) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 22 added, 6 removed; done. Setting up perl (5.36.0-7) ... Setting up libgcc-12-dev:ppc64el (12.2.0-17ubuntu1) ... Setting up libsystemd-shared:ppc64el (252.5-2ubuntu2) ... Setting up libdpkg-perl (1.21.21ubuntu1) ... Setting up cpp (4:12.2.0-3ubuntu1) ... Setting up gpgconf (2.2.40-1ubuntu2) ... Setting up libc6-dev:ppc64el (2.37-0ubuntu2) ... Setting up binutils-powerpc64le-linux-gnu (2.40-2ubuntu3) ... Setting up gpg (2.2.40-1ubuntu2) ... Setting up gpg-agent (2.2.40-1ubuntu2) ... Setting up libstdc++-12-dev:ppc64el (12.2.0-17ubuntu1) ... Setting up systemd (252.5-2ubuntu2) ... Installing new version of config file /etc/systemd/logind.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 binutils (2.40-2ubuntu3) ... Setting up dpkg-dev (1.21.21ubuntu1) ... Setting up gcc-12 (12.2.0-17ubuntu1) ... Setting up g++-12 (12.2.0-17ubuntu1) ... Setting up systemd-sysv (252.5-2ubuntu2) ... Setting up gcc (4:12.2.0-3ubuntu1) ... Setting up g++ (4:12.2.0-3ubuntu1) ... Processing triggers for libc-bin (2.37-0ubuntu2) ... Processing triggers for debianutils (5.7-0.4) ... Processing triggers for ca-certificates (20230311) ... 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-25663373 ppc64el lunar-proposed -c chroot:build-PACKAGEBUILD-25663373 --arch=ppc64el --dist=lunar-proposed --nolog 'pysph_1.0~b1-5build1.dsc' Initiating build PACKAGEBUILD-25663373 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-139-generic #156-Ubuntu SMP Fri Jan 20 17:27:42 UTC 2023 ppc64le sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-ppc64el-026.buildd +==============================================================================+ | pysph 1.0~b1-5build1 (ppc64el) Sun, 19 Mar 2023 06:32:10 +0000 | +==============================================================================+ Package: pysph Version: 1.0~b1-5build1 Source Version: 1.0~b1-5build1 Distribution: lunar-proposed Machine Architecture: ppc64el Host Architecture: ppc64el Build Architecture: ppc64el Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-25663373/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/pysph-Fk5PNA/resolver-rgN6Kj' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- pysph_1.0~b1-5build1.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/pysph-Fk5PNA/pysph-1.0~b1' with '<>' I: NOTICE: Log filtering will replace 'build/pysph-Fk5PNA' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: cython3, debhelper-compat (= 12), dh-python, 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 (= 12), dh-python, 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 [538 B] Get:5 copy:/<>/apt_archive ./ Packages [623 B] Fetched 2124 B in 0s (188 kB/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 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-dejavu-core fonts-font-awesome fonts-lato fonts-mathjax 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-7a libevent-core-2.1-7a 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 liblerc4 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 libucx0 libunwind8 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-attr 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-more-itertools python3-mpi4py python3-numpy python3-packaging python3-pkg-resources python3-platformdirs python3-pluggy python3-py 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-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-tomli python3-installer gettext-doc libasprintf-dev libgettextpo-dev 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 python-attr-doc python3-sqlalchemy python3-pycryptopp | python3-pycryptodome 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 subversion 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-dejavu-core fonts-font-awesome fonts-lato fonts-mathjax 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-7a libevent-core-2.1-7a 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 liblerc4 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 libucx0 libunwind8 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-attr 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-more-itertools python3-mpi4py python3-numpy python3-packaging python3-pkg-resources python3-platformdirs python3-pluggy python3-py 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-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, 338 newly installed, 0 to remove and 0 not upgraded. Need to get 301 MB of archives. After this operation, 1404 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [840 B] Get:2 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpython3.11-minimal ppc64el 3.11.2-6 [836 kB] Get:3 http://ftpmaster.internal/ubuntu lunar/main ppc64el libexpat1 ppc64el 2.5.0-1 [95.3 kB] Get:4 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3.11-minimal ppc64el 3.11.2-6 [2366 kB] Get:5 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-minimal ppc64el 3.11.2-1 [24.6 kB] Get:6 http://ftpmaster.internal/ubuntu lunar/main ppc64el media-types all 10.0.0 [25.8 kB] Get:7 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpython3.11-stdlib ppc64el 3.11.2-6 [1938 kB] Get:8 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3.11 ppc64el 3.11.2-6 [565 kB] Get:9 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpython3-stdlib ppc64el 3.11.2-1 [7232 B] Get:10 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3 ppc64el 3.11.2-1 [22.9 kB] Get:11 http://ftpmaster.internal/ubuntu lunar/main ppc64el fonts-lato all 2.0-2.1 [2696 kB] Get:12 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libglib2.0-0 ppc64el 2.76.0-1 [1706 kB] Get:13 http://ftpmaster.internal/ubuntu lunar/main ppc64el libelf1 ppc64el 0.188-2.1 [63.2 kB] Get:14 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdw1 ppc64el 0.188-2.1 [284 kB] Get:15 http://ftpmaster.internal/ubuntu lunar/main ppc64el libunwind8 ppc64el 1.6.2-3 [59.9 kB] Get:16 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcap2-bin ppc64el 1:2.66-3ubuntu2 [35.1 kB] Get:17 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgstreamer1.0-0 ppc64el 1.22.0-2 [1047 kB] Get:18 http://ftpmaster.internal/ubuntu lunar/main ppc64el liborc-0.4-0 ppc64el 1:0.4.33-2 [231 kB] Get:19 http://ftpmaster.internal/ubuntu lunar/main ppc64el iso-codes all 4.12.0-1 [3440 kB] Get:20 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgstreamer-plugins-base1.0-0 ppc64el 1.22.0-3 [1007 kB] Get:21 http://ftpmaster.internal/ubuntu lunar/main ppc64el libhyphen0 ppc64el 2.8.8-7build2 [31.8 kB] Get:22 http://ftpmaster.internal/ubuntu lunar/main ppc64el libicu72 ppc64el 72.1-3ubuntu1 [11.1 MB] Get:23 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjpeg-turbo8 ppc64el 2.1.5-2ubuntu1 [212 kB] Get:24 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjpeg8 ppc64el 8c-2ubuntu11 [2148 B] Get:25 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxml2 ppc64el 2.9.14+dfsg-1.1build2 [823 kB] Get:26 http://ftpmaster.internal/ubuntu lunar/main ppc64el shared-mime-info ppc64el 2.2-1 [464 kB] Get:27 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libdouble-conversion3 ppc64el 3.2.1-1 [42.7 kB] Get:28 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpcre2-16-0 ppc64el 10.42-1 [241 kB] Get:29 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5core5a ppc64el 5.15.8+dfsg-3 [2131 kB] Get:30 http://ftpmaster.internal/ubuntu lunar/main ppc64el libbrotli1 ppc64el 1.0.9-2build8 [370 kB] Get:31 http://ftpmaster.internal/ubuntu lunar/main ppc64el libfreetype6 ppc64el 2.12.1+dfsg-4 [521 kB] Get:32 http://ftpmaster.internal/ubuntu lunar/main ppc64el fonts-dejavu-core all 2.37-6 [1137 kB] Get:33 http://ftpmaster.internal/ubuntu lunar/main ppc64el fontconfig-config ppc64el 2.14.1-3ubuntu3 [34.8 kB] Get:34 http://ftpmaster.internal/ubuntu lunar/main ppc64el libfontconfig1 ppc64el 2.14.1-3ubuntu3 [183 kB] Get:35 http://ftpmaster.internal/ubuntu lunar/main ppc64el fontconfig ppc64el 2.14.1-3ubuntu3 [187 kB] Get:36 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdrm-common all 2.4.114-1 [5940 B] Get:37 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdrm2 ppc64el 2.4.114-1 [47.2 kB] Get:38 http://ftpmaster.internal/ubuntu lunar/main ppc64el libglvnd0 ppc64el 1.6.0-1 [82.8 kB] Get:39 http://ftpmaster.internal/ubuntu lunar/main ppc64el libwayland-server0 ppc64el 1.21.0-1 [39.7 kB] Get:40 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgbm1 ppc64el 22.3.6-1ubuntu2 [44.2 kB] Get:41 http://ftpmaster.internal/ubuntu lunar/main ppc64el libglapi-mesa ppc64el 22.3.6-1ubuntu2 [40.8 kB] Get:42 http://ftpmaster.internal/ubuntu lunar/main ppc64el libwayland-client0 ppc64el 1.21.0-1 [29.3 kB] Get:43 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxau6 ppc64el 1:1.0.9-1build5 [8028 B] Get:44 http://ftpmaster.internal/ubuntu lunar/main ppc64el libbsd0 ppc64el 0.11.7-4 [56.4 kB] Get:45 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxdmcp6 ppc64el 1:1.1.3-0ubuntu5 [12.3 kB] Get:46 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb1 ppc64el 1.15-1 [55.5 kB] Get:47 http://ftpmaster.internal/ubuntu lunar/main ppc64el libx11-data all 2:1.8.4-2 [118 kB] Get:48 http://ftpmaster.internal/ubuntu lunar/main ppc64el libx11-6 ppc64el 2:1.8.4-2 [737 kB] Get:49 http://ftpmaster.internal/ubuntu lunar/main ppc64el libx11-xcb1 ppc64el 2:1.8.4-2 [7868 B] Get:50 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-dri2-0 ppc64el 1.15-1 [7444 B] Get:51 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-dri3-0 ppc64el 1.15-1 [7392 B] Get:52 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-present0 ppc64el 1.15-1 [5814 B] Get:53 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-randr0 ppc64el 1.15-1 [18.9 kB] Get:54 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-sync1 ppc64el 1.15-1 [9720 B] Get:55 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-xfixes0 ppc64el 1.15-1 [10.6 kB] Get:56 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxshmfence1 ppc64el 1.3-1build4 [5566 B] Get:57 http://ftpmaster.internal/ubuntu lunar/main ppc64el libegl-mesa0 ppc64el 22.3.6-1ubuntu2 [132 kB] Get:58 http://ftpmaster.internal/ubuntu lunar/main ppc64el libegl1 ppc64el 1.6.0-1 [33.1 kB] Get:59 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-glx0 ppc64el 1.15-1 [26.2 kB] Get:60 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-shm0 ppc64el 1.15-1 [5896 B] Get:61 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxext6 ppc64el 2:1.3.4-1build1 [40.0 kB] Get:62 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxfixes3 ppc64el 1:6.0.0-2 [11.6 kB] Get:63 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build3 [11.8 kB] Get:64 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdrm-amdgpu1 ppc64el 2.4.114-1 [23.8 kB] Get:65 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdrm-nouveau2 ppc64el 2.4.114-1 [20.5 kB] Get:66 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdrm-radeon1 ppc64el 2.4.114-1 [25.8 kB] Get:67 http://ftpmaster.internal/ubuntu lunar/main ppc64el libedit2 ppc64el 3.1-20221030-2 [122 kB] Get:68 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libllvm15 ppc64el 1:15.0.7-3 [26.4 MB] Get:69 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsensors-config all 1:3.6.0-7ubuntu1 [5274 B] Get:70 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsensors5 ppc64el 1:3.6.0-7ubuntu1 [32.3 kB] Get:71 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgl1-mesa-dri ppc64el 22.3.6-1ubuntu2 [6200 kB] Get:72 http://ftpmaster.internal/ubuntu lunar/main ppc64el libglx-mesa0 ppc64el 22.3.6-1ubuntu2 [175 kB] Get:73 http://ftpmaster.internal/ubuntu lunar/main ppc64el libglx0 ppc64el 1.6.0-1 [42.2 kB] Get:74 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgl1 ppc64el 1.6.0-1 [109 kB] Get:75 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgraphite2-3 ppc64el 1.3.14-1build2 [85.9 kB] Get:76 http://ftpmaster.internal/ubuntu lunar/main ppc64el libharfbuzz0b ppc64el 6.0.0+dfsg-3build1 [515 kB] Get:77 http://ftpmaster.internal/ubuntu lunar/main ppc64el x11-common all 1:7.7+23ubuntu2 [23.4 kB] Get:78 http://ftpmaster.internal/ubuntu lunar/main ppc64el libice6 ppc64el 2:1.0.10-1build2 [49.3 kB] Get:79 http://ftpmaster.internal/ubuntu lunar/main ppc64el libevdev2 ppc64el 1.13.0+dfsg-1 [38.5 kB] Get:80 http://ftpmaster.internal/ubuntu lunar/main ppc64el libmtdev1 ppc64el 1.1.6-1build4 [18.5 kB] Get:81 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgudev-1.0-0 ppc64el 1:237-2build1 [16.8 kB] Get:82 http://ftpmaster.internal/ubuntu lunar/main ppc64el libwacom-common all 2.6.0-1 [58.5 kB] Get:83 http://ftpmaster.internal/ubuntu lunar/main ppc64el libwacom9 ppc64el 2.6.0-1 [27.3 kB] Get:84 http://ftpmaster.internal/ubuntu lunar/main ppc64el libinput-bin ppc64el 1.22.1-1 [20.3 kB] Get:85 http://ftpmaster.internal/ubuntu lunar/main ppc64el libinput10 ppc64el 1.22.1-1 [157 kB] Get:86 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libmd4c0 ppc64el 0.4.8-1 [53.3 kB] Get:87 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdbus-1-3 ppc64el 1.14.4-1ubuntu1 [232 kB] Get:88 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5dbus5 ppc64el 5.15.8+dfsg-3 [240 kB] Get:89 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5network5 ppc64el 5.15.8+dfsg-3 [797 kB] Get:90 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsm6 ppc64el 2:1.2.3-1build2 [18.5 kB] Get:91 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-icccm4 ppc64el 0.4.1-1.1build2 [11.8 kB] Get:92 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-util1 ppc64el 0.4.0-1build2 [11.5 kB] Get:93 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-image0 ppc64el 0.4.0-2 [12.5 kB] Get:94 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-keysyms1 ppc64el 0.4.0-1build3 [9152 B] Get:95 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-render0 ppc64el 1.15-1 [17.2 kB] Get:96 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-render-util0 ppc64el 0.3.9-1build3 [11.2 kB] Get:97 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-shape0 ppc64el 1.15-1 [6254 B] Get:98 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-xinerama0 ppc64el 1.15-1 [5484 B] Get:99 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-xinput0 ppc64el 1.15-1 [37.1 kB] Get:100 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxcb-xkb1 ppc64el 1.15-1 [36.0 kB] Get:101 http://ftpmaster.internal/ubuntu lunar/main ppc64el xkb-data all 2.38-0ubuntu1 [392 kB] Get:102 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxkbcommon0 ppc64el 1.5.0-1 [137 kB] Get:103 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxkbcommon-x11-0 ppc64el 1.5.0-1 [15.3 kB] Get:104 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1 [23.3 kB] Get:105 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5gui5 ppc64el 5.15.8+dfsg-3 [4017 kB] Get:106 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5positioning5 ppc64el 5.15.8+dfsg-3 [248 kB] Get:107 http://ftpmaster.internal/ubuntu lunar/main ppc64el libavahi-common-data ppc64el 0.8-6ubuntu1 [24.0 kB] Get:108 http://ftpmaster.internal/ubuntu lunar/main ppc64el libavahi-common3 ppc64el 0.8-6ubuntu1 [25.6 kB] Get:109 http://ftpmaster.internal/ubuntu lunar/main ppc64el libavahi-client3 ppc64el 0.8-6ubuntu1 [30.7 kB] Get:110 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcups2 ppc64el 2.4.2-1ubuntu4 [333 kB] Get:111 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5widgets5 ppc64el 5.15.8+dfsg-3 [2756 kB] Get:112 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5printsupport5 ppc64el 5.15.8+dfsg-3 [220 kB] Get:113 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5qml5 ppc64el 5.15.8+dfsg-3 [1659 kB] Get:114 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5qmlmodels5 ppc64el 5.15.8+dfsg-3 [251 kB] Get:115 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5quick5 ppc64el 5.15.8+dfsg-3 [1984 kB] Get:116 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5sensors5 ppc64el 5.15.8-2 [140 kB] Get:117 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5webchannel5 ppc64el 5.15.8-2 [71.5 kB] Get:118 http://ftpmaster.internal/ubuntu lunar/main ppc64el libwebp7 ppc64el 1.2.4-0.1build1 [291 kB] Get:119 http://ftpmaster.internal/ubuntu lunar/main ppc64el libwoff1 ppc64el 1.0.2-2 [57.3 kB] Get:120 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxslt1.1 ppc64el 1.1.35-1 [185 kB] Get:121 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5webkit5 ppc64el 5.212.0~alpha4-30build1 [13.7 MB] Get:122 http://ftpmaster.internal/ubuntu lunar/main ppc64el sgml-base all 1.31 [11.4 kB] Get:123 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-pkg-resources all 66.1.1-1 [225 kB] Get:124 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-pygments all 2.14.0+dfsg-1 [785 kB] Get:125 http://ftpmaster.internal/ubuntu lunar/main ppc64el bsdextrautils ppc64el 2.38.1-4ubuntu1 [76.4 kB] Get:126 http://ftpmaster.internal/ubuntu lunar/main ppc64el libmagic-mgc ppc64el 1:5.44-3 [293 kB] Get:127 http://ftpmaster.internal/ubuntu lunar/main ppc64el libmagic1 ppc64el 1:5.44-3 [104 kB] Get:128 http://ftpmaster.internal/ubuntu lunar/main ppc64el file ppc64el 1:5.44-3 [22.4 kB] Get:129 http://ftpmaster.internal/ubuntu lunar/main ppc64el gettext-base ppc64el 0.21-11 [40.7 kB] Get:130 http://ftpmaster.internal/ubuntu lunar/main ppc64el libuchardet0 ppc64el 0.0.7-1build2 [80.4 kB] Get:131 http://ftpmaster.internal/ubuntu lunar/main ppc64el groff-base ppc64el 1.22.4-10 [1004 kB] Get:132 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcbor0.8 ppc64el 0.8.0-2ubuntu1 [26.6 kB] Get:133 http://ftpmaster.internal/ubuntu lunar/main ppc64el libfido2-1 ppc64el 1.12.0-2 [110 kB] Get:134 http://ftpmaster.internal/ubuntu lunar/main ppc64el libnghttp2-14 ppc64el 1.52.0-1 [87.0 kB] Get:135 http://ftpmaster.internal/ubuntu lunar/main ppc64el libnuma1 ppc64el 2.0.16-1 [26.7 kB] Get:136 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpipeline1 ppc64el 1.5.7-1 [25.8 kB] Get:137 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpsl5 ppc64el 0.21.2-1 [60.6 kB] Get:138 http://ftpmaster.internal/ubuntu lunar/main ppc64el man-db ppc64el 2.11.2-1 [1256 kB] Get:139 http://ftpmaster.internal/ubuntu lunar/main ppc64el openssh-client ppc64el 1:9.0p1-1ubuntu8 [1027 kB] Get:140 http://ftpmaster.internal/ubuntu lunar/main ppc64el m4 ppc64el 1.4.19-3 [275 kB] Get:141 http://ftpmaster.internal/ubuntu lunar/main ppc64el autoconf all 2.71-3 [339 kB] Get:142 http://ftpmaster.internal/ubuntu lunar/main ppc64el autotools-dev all 20220109.1 [44.9 kB] Get:143 http://ftpmaster.internal/ubuntu lunar/main ppc64el automake all 1:1.16.5-1.3 [558 kB] Get:144 http://ftpmaster.internal/ubuntu lunar/main ppc64el autopoint all 0.21-11 [420 kB] Get:145 http://ftpmaster.internal/ubuntu lunar/universe ppc64el cython3 ppc64el 0.29.32-2ubuntu2 [1408 kB] Get:146 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdebhelper-perl all 13.11.4ubuntu3 [66.1 kB] Get:147 http://ftpmaster.internal/ubuntu lunar/main ppc64el libtool all 2.4.7-5 [166 kB] Get:148 http://ftpmaster.internal/ubuntu lunar/main ppc64el dh-autoreconf all 20 [16.1 kB] Get:149 http://ftpmaster.internal/ubuntu lunar/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] Get:150 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsub-override-perl all 0.09-4 [8706 B] Get:151 http://ftpmaster.internal/ubuntu lunar/main ppc64el libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] Get:152 http://ftpmaster.internal/ubuntu lunar/main ppc64el dh-strip-nondeterminism all 1.13.1-1 [5362 B] Get:153 http://ftpmaster.internal/ubuntu lunar/main ppc64el debugedit ppc64el 1:5.0-5 [51.1 kB] Get:154 http://ftpmaster.internal/ubuntu lunar/main ppc64el dwz ppc64el 0.15-1 [139 kB] Get:155 http://ftpmaster.internal/ubuntu lunar/main ppc64el gettext ppc64el 0.21-11 [970 kB] Get:156 http://ftpmaster.internal/ubuntu lunar/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] Get:157 http://ftpmaster.internal/ubuntu lunar/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] Get:158 http://ftpmaster.internal/ubuntu lunar/main ppc64el debhelper all 13.11.4ubuntu3 [925 kB] Get:159 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-lib2to3 all 3.11.2-2 [75.9 kB] Get:160 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-distutils all 3.11.2-2 [130 kB] Get:161 http://ftpmaster.internal/ubuntu lunar/universe ppc64el dh-python all 5.20230130 [101 kB] Get:162 http://ftpmaster.internal/ubuntu lunar/main ppc64el xml-core all 0.18+nmu1 [21.6 kB] Get:163 http://ftpmaster.internal/ubuntu lunar/main ppc64el docutils-common all 0.19+dfsg-6 [129 kB] Get:164 http://ftpmaster.internal/ubuntu lunar/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] Get:165 http://ftpmaster.internal/ubuntu lunar/main ppc64el fonts-mathjax all 2.7.9+dfsg-1 [2208 kB] Get:166 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgfortran5 ppc64el 13-20230305-1ubuntu1 [554 kB] Get:167 http://ftpmaster.internal/ubuntu lunar/main ppc64el libgfortran-12-dev ppc64el 12.2.0-17ubuntu1 [594 kB] Get:168 http://ftpmaster.internal/ubuntu lunar/main ppc64el gfortran-12 ppc64el 12.2.0-17ubuntu1 [10.5 MB] Get:169 http://ftpmaster.internal/ubuntu lunar/main ppc64el libnl-3-200 ppc64el 3.7.0-0.2 [71.5 kB] Get:170 http://ftpmaster.internal/ubuntu lunar/main ppc64el libnl-route-3-200 ppc64el 3.7.0-0.2 [203 kB] Get:171 http://ftpmaster.internal/ubuntu lunar/main ppc64el libibverbs1 ppc64el 44.0-2 [71.2 kB] Get:172 http://ftpmaster.internal/ubuntu lunar/main ppc64el ibverbs-providers ppc64el 44.0-2 [403 kB] Get:173 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libaec0 ppc64el 1.0.6-1 [27.9 kB] Get:174 http://ftpmaster.internal/ubuntu lunar/main ppc64el libblas3 ppc64el 3.11.0-2 [209 kB] Get:175 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpixman-1-0 ppc64el 0.42.2-1 [300 kB] Get:176 http://ftpmaster.internal/ubuntu lunar/main ppc64el libcairo2 ppc64el 1.16.0-7 [672 kB] Get:177 http://ftpmaster.internal/ubuntu lunar-proposed/universe ppc64el libclang-common-15-dev all 1:15.0.7-3 [623 kB] Get:178 http://ftpmaster.internal/ubuntu lunar-proposed/universe ppc64el libclang-cpp15 ppc64el 1:15.0.7-3 [13.2 MB] Get:179 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libclc-15-dev all 1:15.0.7-3 [55.2 kB] Get:180 http://ftpmaster.internal/ubuntu lunar-proposed/universe ppc64el libclc-15 all 1:15.0.7-3 [9883 kB] Get:181 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsasl2-modules-db ppc64el 2.1.28+dfsg-10 [22.7 kB] Get:182 http://ftpmaster.internal/ubuntu lunar/main ppc64el libsasl2-2 ppc64el 2.1.28+dfsg-10 [69.2 kB] Get:183 http://ftpmaster.internal/ubuntu lunar/main ppc64el libldap2 ppc64el 2.6.3+dfsg-1~exp1ubuntu2 [217 kB] Get:184 http://ftpmaster.internal/ubuntu lunar/main ppc64el librtmp1 ppc64el 2.4+20151223.gitfa8646d.1-2build4 [65.5 kB] Get:185 http://ftpmaster.internal/ubuntu lunar/main ppc64el libssh-4 ppc64el 0.10.4-2 [235 kB] Get:186 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libcurl3-gnutls ppc64el 7.88.1-6ubuntu1 [369 kB] Get:187 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el libcurl4 ppc64el 7.88.1-6ubuntu1 [376 kB] Get:188 http://ftpmaster.internal/ubuntu lunar/main ppc64el libdeflate0 ppc64el 1.15-1 [53.0 kB] Get:189 http://ftpmaster.internal/ubuntu lunar/main ppc64el libevent-2.1-7a ppc64el 2.1.12-stable-5ubuntu1 [169 kB] Get:190 http://ftpmaster.internal/ubuntu lunar/main ppc64el libevent-core-2.1-7a ppc64el 2.1.12-stable-5ubuntu1 [106 kB] Get:191 http://ftpmaster.internal/ubuntu lunar/main ppc64el libevent-extra-2.1-7 ppc64el 2.1.12-stable-5ubuntu1 [74.6 kB] Get:192 http://ftpmaster.internal/ubuntu lunar/main ppc64el libevent-pthreads-2.1-7 ppc64el 2.1.12-stable-5ubuntu1 [7830 B] Get:193 http://ftpmaster.internal/ubuntu lunar/main ppc64el libevent-openssl-2.1-7 ppc64el 2.1.12-stable-5ubuntu1 [16.7 kB] Get:194 http://ftpmaster.internal/ubuntu lunar/main ppc64el libevent-dev ppc64el 2.1.12-stable-5ubuntu1 [329 kB] Get:195 http://ftpmaster.internal/ubuntu lunar/main ppc64el libexpat1-dev ppc64el 2.5.0-1 [145 kB] Get:196 http://ftpmaster.internal/ubuntu lunar/main ppc64el librdmacm1 ppc64el 44.0-2 [78.6 kB] Get:197 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libfabric1 ppc64el 1.17.0-3 [677 kB] Get:198 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libgl2ps1.4 ppc64el 1.4.2+dfsg1-2 [53.8 kB] Get:199 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libglew2.2 ppc64el 2.2.0-4 [197 kB] Get:200 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libsz2 ppc64el 1.0.6-1 [5804 B] Get:201 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libhdf5-103-1 ppc64el 1.10.8+repack1-1ubuntu1 [1367 kB] Get:202 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libhdf5-hl-100 ppc64el 1.10.8+repack1-1ubuntu1 [69.5 kB] Get:203 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libhwloc15 ppc64el 2.9.0-1 [204 kB] Get:204 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] Get:205 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] Get:206 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] Get:207 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjs-sphinxdoc all 5.3.0-3 [129 kB] Get:208 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjson-perl all 4.10000-1 [81.9 kB] Get:209 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjsoncpp25 ppc64el 1.9.5-4 [89.4 kB] Get:210 http://ftpmaster.internal/ubuntu lunar/main ppc64el liblapack3 ppc64el 3.11.0-2 [2599 kB] Get:211 http://ftpmaster.internal/ubuntu lunar/main ppc64el liblerc4 ppc64el 4.0.0+ds-2ubuntu2 [268 kB] Get:212 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libllvmspirvlib15 ppc64el 15.0.0-1ubuntu2 [908 kB] Get:213 http://ftpmaster.internal/ubuntu lunar/main ppc64el libltdl7 ppc64el 2.4.7-5 [47.7 kB] Get:214 http://ftpmaster.internal/ubuntu lunar/main ppc64el libltdl-dev ppc64el 2.4.7-5 [178 kB] Get:215 http://ftpmaster.internal/ubuntu lunar/universe ppc64el liblzf1 ppc64el 3.6-3 [7864 B] Get:216 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libnetcdf19 ppc64el 1:4.9.0-3 [585 kB] Get:217 http://ftpmaster.internal/ubuntu lunar/main ppc64el libnl-3-dev ppc64el 3.7.0-0.2 [128 kB] Get:218 http://ftpmaster.internal/ubuntu lunar/main ppc64el libnl-route-3-dev ppc64el 3.7.0-0.2 [254 kB] Get:219 http://ftpmaster.internal/ubuntu lunar/main ppc64el libogg0 ppc64el 1.3.5-3 [26.7 kB] Get:220 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libmunge2 ppc64el 0.5.15-2 [16.6 kB] Get:221 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpciaccess0 ppc64el 0.17-2 [20.5 kB] Get:222 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxnvctrl0 ppc64el 510.47.03-0ubuntu1 [11.7 kB] Get:223 http://ftpmaster.internal/ubuntu lunar/universe ppc64el ocl-icd-libopencl1 ppc64el 2.3.1-1 [42.2 kB] Get:224 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libhwloc-plugins ppc64el 2.9.0-1 [17.5 kB] Get:225 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libpmix2 ppc64el 4.2.2-1 [744 kB] Get:226 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libucx0 ppc64el 1.13.1-1 [957 kB] Get:227 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libopenmpi3 ppc64el 4.1.4-3ubuntu2 [2667 kB] Get:228 http://ftpmaster.internal/ubuntu lunar/main ppc64el libnuma-dev ppc64el 2.0.16-1 [43.9 kB] Get:229 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libhwloc-dev ppc64el 2.9.0-1 [305 kB] Get:230 http://ftpmaster.internal/ubuntu lunar/main ppc64el zlib1g-dev ppc64el 1:1.2.13.dfsg-1ubuntu4 [901 kB] Get:231 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libpmix-dev ppc64el 4.2.2-1 [1117 kB] Get:232 http://ftpmaster.internal/ubuntu lunar/universe ppc64el proj-data all 9.1.1-1build1 [7811 kB] Get:233 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjbig0 ppc64el 2.1-6ubuntu1 [34.4 kB] Get:234 http://ftpmaster.internal/ubuntu lunar/main ppc64el libtiff6 ppc64el 4.5.0-4ubuntu1 [253 kB] Get:235 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libproj25 ppc64el 9.1.1-1build1 [1400 kB] Get:236 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libptscotch-7.0 ppc64el 7.0.3-1 [902 kB] Get:237 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libshiboken2-py3-5.15 ppc64el 5.15.8-2build1 [205 kB] Get:238 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libpyside2-py3-5.15 ppc64el 5.15.8-2build1 [82.7 kB] Get:239 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpython3.11 ppc64el 3.11.2-6 [2411 kB] Get:240 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpython3.11-dev ppc64el 3.11.2-6 [5709 kB] Get:241 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpython3-dev ppc64el 3.11.2-1 [7486 B] Get:242 http://ftpmaster.internal/ubuntu lunar/main ppc64el libpython3-all-dev ppc64el 3.11.2-1 [906 B] Get:243 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5xml5 ppc64el 5.15.8+dfsg-3 [133 kB] Get:244 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5designer5 ppc64el 5.15.8-2 [2901 kB] Get:245 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5sql5 ppc64el 5.15.8+dfsg-3 [134 kB] Get:246 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5help5 ppc64el 5.15.8-2 [177 kB] Get:247 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5opengl5 ppc64el 5.15.8+dfsg-3 [162 kB] Get:248 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5svg5 ppc64el 5.15.8-2 [159 kB] Get:249 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libqt5test5 ppc64el 5.15.8+dfsg-3 [152 kB] Get:250 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libscotch-7.0 ppc64el 7.0.3-1 [554 kB] Get:251 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libtbbmalloc2 ppc64el 2021.8.0-1ubuntu2 [53.5 kB] Get:252 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libtbbbind-2-5 ppc64el 2021.8.0-1ubuntu2 [12.3 kB] Get:253 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libtbb12 ppc64el 2021.8.0-1ubuntu2 [89.6 kB] Get:254 http://ftpmaster.internal/ubuntu lunar/main ppc64el libtcl8.6 ppc64el 8.6.13+dfsg-2 [1179 kB] Get:255 http://ftpmaster.internal/ubuntu lunar/main ppc64el libtheora0 ppc64el 1.1.1+dfsg.1-16.1 [324 kB] Get:256 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxft2 ppc64el 2.3.6-1 [59.8 kB] Get:257 http://ftpmaster.internal/ubuntu lunar/main ppc64el libxss1 ppc64el 1:1.2.3-1build2 [8982 B] Get:258 http://ftpmaster.internal/ubuntu lunar/main ppc64el libtk8.6 ppc64el 8.6.13-2 [916 kB] Get:259 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libtrilinos-zoltan-13.2 ppc64el 13.2.0-3build1 [501 kB] Get:260 http://ftpmaster.internal/ubuntu lunar/main ppc64el libopengl0 ppc64el 1.6.0-1 [36.7 kB] Get:261 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libvtk9.1 ppc64el 9.1.0+really9.1.0+dfsg2-5 [21.2 MB] Get:262 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libvtk9.1-qt ppc64el 9.1.0+really9.1.0+dfsg2-5 [185 kB] Get:263 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-numpy ppc64el 1:1.24.2-1 [6761 kB] Get:264 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-six all 1.16.0-4 [12.4 kB] Get:265 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-configobj all 5.0.8-1 [34.4 kB] Get:266 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-traits ppc64el 6.3.2-1build3 [4081 kB] Get:267 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyqt5.sip ppc64el 12.11.1-1build1 [71.5 kB] Get:268 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyqt5 ppc64el 5.15.9+dfsg-1 [2636 kB] Get:269 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyqt5.qtopengl ppc64el 5.15.9+dfsg-1 [118 kB] Get:270 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyqt5.qtsvg ppc64el 5.15.9+dfsg-1 [29.7 kB] Get:271 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyqt5.qtwebkit ppc64el 5.15.9+dfsg-1 [111 kB] Get:272 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyface all 7.4.0-1 [582 kB] Get:273 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-traitsui all 7.2.1-2 [5091 kB] Get:274 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-apptools all 5.1.0-2 [109 kB] Get:275 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-setuptools all 66.1.1-1 [453 kB] Get:276 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-envisage all 6.1.0-1 [129 kB] Get:277 http://ftpmaster.internal/ubuntu lunar/universe ppc64el openmpi-common all 4.1.4-3ubuntu2 [163 kB] Get:278 http://ftpmaster.internal/ubuntu lunar/universe ppc64el openmpi-bin ppc64el 4.1.4-3ubuntu2 [119 kB] Get:279 http://ftpmaster.internal/ubuntu lunar/universe ppc64el mpi-default-bin ppc64el 1.14 [2898 B] Get:280 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-mpi4py ppc64el 3.1.4-2 [712 kB] Get:281 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-vtk9 ppc64el 9.1.0+really9.1.0+dfsg2-5 [8029 kB] Get:282 http://ftpmaster.internal/ubuntu lunar/universe ppc64el mayavi2 ppc64el 4.8.0-2 [20.7 MB] Get:283 http://ftpmaster.internal/ubuntu lunar/universe ppc64el mesa-opencl-icd ppc64el 22.3.6-1ubuntu2 [11.4 MB] Get:284 http://ftpmaster.internal/ubuntu lunar/main ppc64el python-babel-localedata all 2.10.3-1 [6357 kB] Get:285 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-all ppc64el 3.11.2-1 [898 B] Get:286 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3.11-dev ppc64el 3.11.2-6 [620 kB] Get:287 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-dev ppc64el 3.11.2-1 [26.8 kB] Get:288 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-all-dev ppc64el 3.11.2-1 [900 B] Get:289 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-appdirs all 1.4.4-3 [10.8 kB] Get:290 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-attr all 22.2.0-1 [49.6 kB] Get:291 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-tz all 2022.7.1-1 [32.5 kB] Get:292 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-babel all 2.10.3-1 [87.5 kB] Get:293 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-beaker all 1.11.0-3 [41.0 kB] Get:294 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-certifi all 2022.9.24-1 [155 kB] Get:295 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-chardet all 5.1.0+dfsg-2 [119 kB] Get:296 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-markupsafe ppc64el 2.1.2-1build1 [12.9 kB] Get:297 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-mako all 1.2.4+ds-1 [63.2 kB] Get:298 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-typing-extensions all 4.4.0-1 [44.0 kB] Get:299 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-platformdirs all 3.0.0-1 [13.2 kB] Get:300 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-decorator all 5.1.1-3 [9938 B] Get:301 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pytools all 2022.1.14-2 [54.2 kB] Get:302 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-compyle all 0.8.1-4 [91.4 kB] Get:303 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-cyarray ppc64el 1.1-5build1 [127 kB] Get:304 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-roman all 3.3-3 [9632 B] Get:305 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-docutils all 0.19+dfsg-6 [386 kB] Get:306 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-h5py-serial ppc64el 3.7.0-8 [952 kB] Get:307 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-h5py all 3.7.0-8 [4742 B] Get:308 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-idna all 3.3-1 [49.3 kB] Get:309 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-imagesize all 1.4.1-1 [6844 B] Get:310 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] Get:311 http://ftpmaster.internal/ubuntu lunar-proposed/main ppc64el python3-jinja2 all 3.1.2-1 [107 kB] Get:312 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-more-itertools all 8.10.0-2 [47.9 kB] Get:313 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-packaging all 23.0-1 [32.7 kB] Get:314 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pluggy all 1.0.0+repack-1 [15.1 kB] Get:315 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-py all 1.11.0-1 [73.2 kB] Get:316 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyopencl ppc64el 2022.3.1-2build1 [497 kB] Get:317 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyside2.qtcore ppc64el 5.15.8-2build1 [1137 kB] Get:318 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyside2.qtgui ppc64el 5.15.8-2build1 [1224 kB] Get:319 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyside2.qtwidgets ppc64el 5.15.8-2build1 [1859 kB] Get:320 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pytest all 7.2.1-2 [237 kB] Get:321 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pytest-runner all 2.11.1-4 [7450 B] Get:322 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-python-utils all 3.5.2-1 [66.5 kB] Get:323 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-pyzoltan ppc64el 1.0.1-5build1 [130 kB] Get:324 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-urllib3 all 1.26.12-1 [99.7 kB] Get:325 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-requests all 2.28.1+dfsg-1ubuntu1 [49.9 kB] Get:326 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-snowballstemmer all 2.2.0-2 [59.6 kB] Get:327 http://ftpmaster.internal/ubuntu lunar/main ppc64el sphinx-common all 5.3.0-3 [691 kB] Get:328 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-alabaster all 0.7.12-1 [17.8 kB] Get:329 http://ftpmaster.internal/ubuntu lunar/main ppc64el python3-sphinx all 5.3.0-3 [556 kB] Get:330 http://ftpmaster.internal/ubuntu lunar/main ppc64el sphinx-rtd-theme-common all 1.2.0+dfsg-1 [991 kB] Get:331 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-sphinx-rtd-theme all 1.2.0+dfsg-1 [23.1 kB] Get:332 http://ftpmaster.internal/ubuntu lunar/universe ppc64el python3-stl ppc64el 2.9.0-2build1 [56.1 kB] Get:333 http://ftpmaster.internal/ubuntu lunar/main ppc64el libibverbs-dev ppc64el 44.0-2 [719 kB] Get:334 http://ftpmaster.internal/ubuntu lunar/main ppc64el libjs-mathjax all 2.7.9+dfsg-1 [5665 kB] Get:335 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libopenmpi-dev ppc64el 4.1.4-3ubuntu2 [866 kB] Get:336 http://ftpmaster.internal/ubuntu lunar/universe ppc64el trilinos-dev ppc64el 13.2.0-3build1 [12.3 kB] Get:337 http://ftpmaster.internal/ubuntu lunar/universe ppc64el libtrilinos-zoltan-dev ppc64el 13.2.0-3build1 [32.3 kB] Get:338 http://ftpmaster.internal/ubuntu lunar/universe ppc64el mpi-default-dev ppc64el 1.14 [3700 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 301 MB in 3min 18s (1516 kB/s) Selecting previously unselected package libpython3.11-minimal:ppc64el. (Reading database ... 14509 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.2-6_ppc64el.deb ... Unpacking libpython3.11-minimal:ppc64el (3.11.2-6) ... Selecting previously unselected package libexpat1:ppc64el. Preparing to unpack .../libexpat1_2.5.0-1_ppc64el.deb ... Unpacking libexpat1:ppc64el (2.5.0-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.2-6_ppc64el.deb ... Unpacking python3.11-minimal (3.11.2-6) ... Setting up libpython3.11-minimal:ppc64el (3.11.2-6) ... Setting up libexpat1:ppc64el (2.5.0-1) ... Setting up python3.11-minimal (3.11.2-6) ... Selecting previously unselected package python3-minimal. (Reading database ... 14823 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.11.2-1_ppc64el.deb ... Unpacking python3-minimal (3.11.2-1) ... Selecting previously unselected package media-types. Preparing to unpack .../media-types_10.0.0_all.deb ... Unpacking media-types (10.0.0) ... Selecting previously unselected package libpython3.11-stdlib:ppc64el. Preparing to unpack .../libpython3.11-stdlib_3.11.2-6_ppc64el.deb ... Unpacking libpython3.11-stdlib:ppc64el (3.11.2-6) ... Selecting previously unselected package python3.11. Preparing to unpack .../python3.11_3.11.2-6_ppc64el.deb ... Unpacking python3.11 (3.11.2-6) ... Selecting previously unselected package libpython3-stdlib:ppc64el. Preparing to unpack .../libpython3-stdlib_3.11.2-1_ppc64el.deb ... Unpacking libpython3-stdlib:ppc64el (3.11.2-1) ... Setting up python3-minimal (3.11.2-1) ... Selecting previously unselected package python3. (Reading database ... 15231 files and directories currently installed.) Preparing to unpack .../000-python3_3.11.2-1_ppc64el.deb ... Unpacking python3 (3.11.2-1) ... 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:ppc64el. Preparing to unpack .../002-libglib2.0-0_2.76.0-1_ppc64el.deb ... Unpacking libglib2.0-0:ppc64el (2.76.0-1) ... Selecting previously unselected package libelf1:ppc64el. Preparing to unpack .../003-libelf1_0.188-2.1_ppc64el.deb ... Unpacking libelf1:ppc64el (0.188-2.1) ... Selecting previously unselected package libdw1:ppc64el. Preparing to unpack .../004-libdw1_0.188-2.1_ppc64el.deb ... Unpacking libdw1:ppc64el (0.188-2.1) ... Selecting previously unselected package libunwind8:ppc64el. Preparing to unpack .../005-libunwind8_1.6.2-3_ppc64el.deb ... Unpacking libunwind8:ppc64el (1.6.2-3) ... Selecting previously unselected package libcap2-bin. Preparing to unpack .../006-libcap2-bin_1%3a2.66-3ubuntu2_ppc64el.deb ... Unpacking libcap2-bin (1:2.66-3ubuntu2) ... Selecting previously unselected package libgstreamer1.0-0:ppc64el. Preparing to unpack .../007-libgstreamer1.0-0_1.22.0-2_ppc64el.deb ... Unpacking libgstreamer1.0-0:ppc64el (1.22.0-2) ... Selecting previously unselected package liborc-0.4-0:ppc64el. Preparing to unpack .../008-liborc-0.4-0_1%3a0.4.33-2_ppc64el.deb ... Unpacking liborc-0.4-0:ppc64el (1:0.4.33-2) ... Selecting previously unselected package iso-codes. Preparing to unpack .../009-iso-codes_4.12.0-1_all.deb ... Unpacking iso-codes (4.12.0-1) ... Selecting previously unselected package libgstreamer-plugins-base1.0-0:ppc64el. Preparing to unpack .../010-libgstreamer-plugins-base1.0-0_1.22.0-3_ppc64el.deb ... Unpacking libgstreamer-plugins-base1.0-0:ppc64el (1.22.0-3) ... Selecting previously unselected package libhyphen0:ppc64el. Preparing to unpack .../011-libhyphen0_2.8.8-7build2_ppc64el.deb ... Unpacking libhyphen0:ppc64el (2.8.8-7build2) ... Selecting previously unselected package libicu72:ppc64el. Preparing to unpack .../012-libicu72_72.1-3ubuntu1_ppc64el.deb ... Unpacking libicu72:ppc64el (72.1-3ubuntu1) ... Selecting previously unselected package libjpeg-turbo8:ppc64el. Preparing to unpack .../013-libjpeg-turbo8_2.1.5-2ubuntu1_ppc64el.deb ... Unpacking libjpeg-turbo8:ppc64el (2.1.5-2ubuntu1) ... Selecting previously unselected package libjpeg8:ppc64el. Preparing to unpack .../014-libjpeg8_8c-2ubuntu11_ppc64el.deb ... Unpacking libjpeg8:ppc64el (8c-2ubuntu11) ... Selecting previously unselected package libxml2:ppc64el. Preparing to unpack .../015-libxml2_2.9.14+dfsg-1.1build2_ppc64el.deb ... Unpacking libxml2:ppc64el (2.9.14+dfsg-1.1build2) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../016-shared-mime-info_2.2-1_ppc64el.deb ... Unpacking shared-mime-info (2.2-1) ... Selecting previously unselected package libdouble-conversion3:ppc64el. Preparing to unpack .../017-libdouble-conversion3_3.2.1-1_ppc64el.deb ... Unpacking libdouble-conversion3:ppc64el (3.2.1-1) ... Selecting previously unselected package libpcre2-16-0:ppc64el. Preparing to unpack .../018-libpcre2-16-0_10.42-1_ppc64el.deb ... Unpacking libpcre2-16-0:ppc64el (10.42-1) ... Selecting previously unselected package libqt5core5a:ppc64el. Preparing to unpack .../019-libqt5core5a_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5core5a:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libbrotli1:ppc64el. Preparing to unpack .../020-libbrotli1_1.0.9-2build8_ppc64el.deb ... Unpacking libbrotli1:ppc64el (1.0.9-2build8) ... Selecting previously unselected package libfreetype6:ppc64el. Preparing to unpack .../021-libfreetype6_2.12.1+dfsg-4_ppc64el.deb ... Unpacking libfreetype6:ppc64el (2.12.1+dfsg-4) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../022-fonts-dejavu-core_2.37-6_all.deb ... Unpacking fonts-dejavu-core (2.37-6) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../023-fontconfig-config_2.14.1-3ubuntu3_ppc64el.deb ... Unpacking fontconfig-config (2.14.1-3ubuntu3) ... Selecting previously unselected package libfontconfig1:ppc64el. Preparing to unpack .../024-libfontconfig1_2.14.1-3ubuntu3_ppc64el.deb ... Unpacking libfontconfig1:ppc64el (2.14.1-3ubuntu3) ... Selecting previously unselected package fontconfig. Preparing to unpack .../025-fontconfig_2.14.1-3ubuntu3_ppc64el.deb ... Unpacking fontconfig (2.14.1-3ubuntu3) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../026-libdrm-common_2.4.114-1_all.deb ... Unpacking libdrm-common (2.4.114-1) ... Selecting previously unselected package libdrm2:ppc64el. Preparing to unpack .../027-libdrm2_2.4.114-1_ppc64el.deb ... Unpacking libdrm2:ppc64el (2.4.114-1) ... Selecting previously unselected package libglvnd0:ppc64el. Preparing to unpack .../028-libglvnd0_1.6.0-1_ppc64el.deb ... Unpacking libglvnd0:ppc64el (1.6.0-1) ... Selecting previously unselected package libwayland-server0:ppc64el. Preparing to unpack .../029-libwayland-server0_1.21.0-1_ppc64el.deb ... Unpacking libwayland-server0:ppc64el (1.21.0-1) ... Selecting previously unselected package libgbm1:ppc64el. Preparing to unpack .../030-libgbm1_22.3.6-1ubuntu2_ppc64el.deb ... Unpacking libgbm1:ppc64el (22.3.6-1ubuntu2) ... Selecting previously unselected package libglapi-mesa:ppc64el. Preparing to unpack .../031-libglapi-mesa_22.3.6-1ubuntu2_ppc64el.deb ... Unpacking libglapi-mesa:ppc64el (22.3.6-1ubuntu2) ... Selecting previously unselected package libwayland-client0:ppc64el. Preparing to unpack .../032-libwayland-client0_1.21.0-1_ppc64el.deb ... Unpacking libwayland-client0:ppc64el (1.21.0-1) ... Selecting previously unselected package libxau6:ppc64el. Preparing to unpack .../033-libxau6_1%3a1.0.9-1build5_ppc64el.deb ... Unpacking libxau6:ppc64el (1:1.0.9-1build5) ... Selecting previously unselected package libbsd0:ppc64el. Preparing to unpack .../034-libbsd0_0.11.7-4_ppc64el.deb ... Unpacking libbsd0:ppc64el (0.11.7-4) ... Selecting previously unselected package libxdmcp6:ppc64el. Preparing to unpack .../035-libxdmcp6_1%3a1.1.3-0ubuntu5_ppc64el.deb ... Unpacking libxdmcp6:ppc64el (1:1.1.3-0ubuntu5) ... Selecting previously unselected package libxcb1:ppc64el. Preparing to unpack .../036-libxcb1_1.15-1_ppc64el.deb ... Unpacking libxcb1:ppc64el (1.15-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../037-libx11-data_2%3a1.8.4-2_all.deb ... Unpacking libx11-data (2:1.8.4-2) ... Selecting previously unselected package libx11-6:ppc64el. Preparing to unpack .../038-libx11-6_2%3a1.8.4-2_ppc64el.deb ... Unpacking libx11-6:ppc64el (2:1.8.4-2) ... Selecting previously unselected package libx11-xcb1:ppc64el. Preparing to unpack .../039-libx11-xcb1_2%3a1.8.4-2_ppc64el.deb ... Unpacking libx11-xcb1:ppc64el (2:1.8.4-2) ... Selecting previously unselected package libxcb-dri2-0:ppc64el. Preparing to unpack .../040-libxcb-dri2-0_1.15-1_ppc64el.deb ... Unpacking libxcb-dri2-0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-dri3-0:ppc64el. Preparing to unpack .../041-libxcb-dri3-0_1.15-1_ppc64el.deb ... Unpacking libxcb-dri3-0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-present0:ppc64el. Preparing to unpack .../042-libxcb-present0_1.15-1_ppc64el.deb ... Unpacking libxcb-present0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-randr0:ppc64el. Preparing to unpack .../043-libxcb-randr0_1.15-1_ppc64el.deb ... Unpacking libxcb-randr0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-sync1:ppc64el. Preparing to unpack .../044-libxcb-sync1_1.15-1_ppc64el.deb ... Unpacking libxcb-sync1:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-xfixes0:ppc64el. Preparing to unpack .../045-libxcb-xfixes0_1.15-1_ppc64el.deb ... Unpacking libxcb-xfixes0:ppc64el (1.15-1) ... Selecting previously unselected package libxshmfence1:ppc64el. Preparing to unpack .../046-libxshmfence1_1.3-1build4_ppc64el.deb ... Unpacking libxshmfence1:ppc64el (1.3-1build4) ... Selecting previously unselected package libegl-mesa0:ppc64el. Preparing to unpack .../047-libegl-mesa0_22.3.6-1ubuntu2_ppc64el.deb ... Unpacking libegl-mesa0:ppc64el (22.3.6-1ubuntu2) ... Selecting previously unselected package libegl1:ppc64el. Preparing to unpack .../048-libegl1_1.6.0-1_ppc64el.deb ... Unpacking libegl1:ppc64el (1.6.0-1) ... Selecting previously unselected package libxcb-glx0:ppc64el. Preparing to unpack .../049-libxcb-glx0_1.15-1_ppc64el.deb ... Unpacking libxcb-glx0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-shm0:ppc64el. Preparing to unpack .../050-libxcb-shm0_1.15-1_ppc64el.deb ... Unpacking libxcb-shm0:ppc64el (1.15-1) ... Selecting previously unselected package libxext6:ppc64el. Preparing to unpack .../051-libxext6_2%3a1.3.4-1build1_ppc64el.deb ... Unpacking libxext6:ppc64el (2:1.3.4-1build1) ... Selecting previously unselected package libxfixes3:ppc64el. Preparing to unpack .../052-libxfixes3_1%3a6.0.0-2_ppc64el.deb ... Unpacking libxfixes3:ppc64el (1:6.0.0-2) ... Selecting previously unselected package libxxf86vm1:ppc64el. Preparing to unpack .../053-libxxf86vm1_1%3a1.1.4-1build3_ppc64el.deb ... Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build3) ... Selecting previously unselected package libdrm-amdgpu1:ppc64el. Preparing to unpack .../054-libdrm-amdgpu1_2.4.114-1_ppc64el.deb ... Unpacking libdrm-amdgpu1:ppc64el (2.4.114-1) ... Selecting previously unselected package libdrm-nouveau2:ppc64el. Preparing to unpack .../055-libdrm-nouveau2_2.4.114-1_ppc64el.deb ... Unpacking libdrm-nouveau2:ppc64el (2.4.114-1) ... Selecting previously unselected package libdrm-radeon1:ppc64el. Preparing to unpack .../056-libdrm-radeon1_2.4.114-1_ppc64el.deb ... Unpacking libdrm-radeon1:ppc64el (2.4.114-1) ... Selecting previously unselected package libedit2:ppc64el. Preparing to unpack .../057-libedit2_3.1-20221030-2_ppc64el.deb ... Unpacking libedit2:ppc64el (3.1-20221030-2) ... Selecting previously unselected package libllvm15:ppc64el. Preparing to unpack .../058-libllvm15_1%3a15.0.7-3_ppc64el.deb ... Unpacking libllvm15:ppc64el (1:15.0.7-3) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../059-libsensors-config_1%3a3.6.0-7ubuntu1_all.deb ... Unpacking libsensors-config (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libsensors5:ppc64el. Preparing to unpack .../060-libsensors5_1%3a3.6.0-7ubuntu1_ppc64el.deb ... Unpacking libsensors5:ppc64el (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libgl1-mesa-dri:ppc64el. Preparing to unpack .../061-libgl1-mesa-dri_22.3.6-1ubuntu2_ppc64el.deb ... Unpacking libgl1-mesa-dri:ppc64el (22.3.6-1ubuntu2) ... Selecting previously unselected package libglx-mesa0:ppc64el. Preparing to unpack .../062-libglx-mesa0_22.3.6-1ubuntu2_ppc64el.deb ... Unpacking libglx-mesa0:ppc64el (22.3.6-1ubuntu2) ... Selecting previously unselected package libglx0:ppc64el. Preparing to unpack .../063-libglx0_1.6.0-1_ppc64el.deb ... Unpacking libglx0:ppc64el (1.6.0-1) ... Selecting previously unselected package libgl1:ppc64el. Preparing to unpack .../064-libgl1_1.6.0-1_ppc64el.deb ... Unpacking libgl1:ppc64el (1.6.0-1) ... Selecting previously unselected package libgraphite2-3:ppc64el. Preparing to unpack .../065-libgraphite2-3_1.3.14-1build2_ppc64el.deb ... Unpacking libgraphite2-3:ppc64el (1.3.14-1build2) ... Selecting previously unselected package libharfbuzz0b:ppc64el. Preparing to unpack .../066-libharfbuzz0b_6.0.0+dfsg-3build1_ppc64el.deb ... Unpacking libharfbuzz0b:ppc64el (6.0.0+dfsg-3build1) ... Selecting previously unselected package x11-common. Preparing to unpack .../067-x11-common_1%3a7.7+23ubuntu2_all.deb ... Unpacking x11-common (1:7.7+23ubuntu2) ... Selecting previously unselected package libice6:ppc64el. Preparing to unpack .../068-libice6_2%3a1.0.10-1build2_ppc64el.deb ... Unpacking libice6:ppc64el (2:1.0.10-1build2) ... Selecting previously unselected package libevdev2:ppc64el. Preparing to unpack .../069-libevdev2_1.13.0+dfsg-1_ppc64el.deb ... Unpacking libevdev2:ppc64el (1.13.0+dfsg-1) ... Selecting previously unselected package libmtdev1:ppc64el. Preparing to unpack .../070-libmtdev1_1.1.6-1build4_ppc64el.deb ... Unpacking libmtdev1:ppc64el (1.1.6-1build4) ... Selecting previously unselected package libgudev-1.0-0:ppc64el. Preparing to unpack .../071-libgudev-1.0-0_1%3a237-2build1_ppc64el.deb ... Unpacking libgudev-1.0-0:ppc64el (1:237-2build1) ... Selecting previously unselected package libwacom-common. Preparing to unpack .../072-libwacom-common_2.6.0-1_all.deb ... Unpacking libwacom-common (2.6.0-1) ... Selecting previously unselected package libwacom9:ppc64el. Preparing to unpack .../073-libwacom9_2.6.0-1_ppc64el.deb ... Unpacking libwacom9:ppc64el (2.6.0-1) ... Selecting previously unselected package libinput-bin. Preparing to unpack .../074-libinput-bin_1.22.1-1_ppc64el.deb ... Unpacking libinput-bin (1.22.1-1) ... Selecting previously unselected package libinput10:ppc64el. Preparing to unpack .../075-libinput10_1.22.1-1_ppc64el.deb ... Unpacking libinput10:ppc64el (1.22.1-1) ... Selecting previously unselected package libmd4c0:ppc64el. Preparing to unpack .../076-libmd4c0_0.4.8-1_ppc64el.deb ... Unpacking libmd4c0:ppc64el (0.4.8-1) ... Selecting previously unselected package libdbus-1-3:ppc64el. Preparing to unpack .../077-libdbus-1-3_1.14.4-1ubuntu1_ppc64el.deb ... Unpacking libdbus-1-3:ppc64el (1.14.4-1ubuntu1) ... Selecting previously unselected package libqt5dbus5:ppc64el. Preparing to unpack .../078-libqt5dbus5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5dbus5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5network5:ppc64el. Preparing to unpack .../079-libqt5network5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5network5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libsm6:ppc64el. Preparing to unpack .../080-libsm6_2%3a1.2.3-1build2_ppc64el.deb ... Unpacking libsm6:ppc64el (2:1.2.3-1build2) ... Selecting previously unselected package libxcb-icccm4:ppc64el. Preparing to unpack .../081-libxcb-icccm4_0.4.1-1.1build2_ppc64el.deb ... Unpacking libxcb-icccm4:ppc64el (0.4.1-1.1build2) ... Selecting previously unselected package libxcb-util1:ppc64el. Preparing to unpack .../082-libxcb-util1_0.4.0-1build2_ppc64el.deb ... Unpacking libxcb-util1:ppc64el (0.4.0-1build2) ... Selecting previously unselected package libxcb-image0:ppc64el. Preparing to unpack .../083-libxcb-image0_0.4.0-2_ppc64el.deb ... Unpacking libxcb-image0:ppc64el (0.4.0-2) ... Selecting previously unselected package libxcb-keysyms1:ppc64el. Preparing to unpack .../084-libxcb-keysyms1_0.4.0-1build3_ppc64el.deb ... Unpacking libxcb-keysyms1:ppc64el (0.4.0-1build3) ... Selecting previously unselected package libxcb-render0:ppc64el. Preparing to unpack .../085-libxcb-render0_1.15-1_ppc64el.deb ... Unpacking libxcb-render0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-render-util0:ppc64el. Preparing to unpack .../086-libxcb-render-util0_0.3.9-1build3_ppc64el.deb ... Unpacking libxcb-render-util0:ppc64el (0.3.9-1build3) ... Selecting previously unselected package libxcb-shape0:ppc64el. Preparing to unpack .../087-libxcb-shape0_1.15-1_ppc64el.deb ... Unpacking libxcb-shape0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-xinerama0:ppc64el. Preparing to unpack .../088-libxcb-xinerama0_1.15-1_ppc64el.deb ... Unpacking libxcb-xinerama0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-xinput0:ppc64el. Preparing to unpack .../089-libxcb-xinput0_1.15-1_ppc64el.deb ... Unpacking libxcb-xinput0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-xkb1:ppc64el. Preparing to unpack .../090-libxcb-xkb1_1.15-1_ppc64el.deb ... Unpacking libxcb-xkb1:ppc64el (1.15-1) ... Selecting previously unselected package xkb-data. Preparing to unpack .../091-xkb-data_2.38-0ubuntu1_all.deb ... Unpacking xkb-data (2.38-0ubuntu1) ... Selecting previously unselected package libxkbcommon0:ppc64el. Preparing to unpack .../092-libxkbcommon0_1.5.0-1_ppc64el.deb ... Unpacking libxkbcommon0:ppc64el (1.5.0-1) ... Selecting previously unselected package libxkbcommon-x11-0:ppc64el. Preparing to unpack .../093-libxkbcommon-x11-0_1.5.0-1_ppc64el.deb ... Unpacking libxkbcommon-x11-0:ppc64el (1.5.0-1) ... Selecting previously unselected package libxrender1:ppc64el. Preparing to unpack .../094-libxrender1_1%3a0.9.10-1.1_ppc64el.deb ... Unpacking libxrender1:ppc64el (1:0.9.10-1.1) ... Selecting previously unselected package libqt5gui5:ppc64el. Preparing to unpack .../095-libqt5gui5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5gui5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5positioning5:ppc64el. Preparing to unpack .../096-libqt5positioning5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5positioning5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libavahi-common-data:ppc64el. Preparing to unpack .../097-libavahi-common-data_0.8-6ubuntu1_ppc64el.deb ... Unpacking libavahi-common-data:ppc64el (0.8-6ubuntu1) ... Selecting previously unselected package libavahi-common3:ppc64el. Preparing to unpack .../098-libavahi-common3_0.8-6ubuntu1_ppc64el.deb ... Unpacking libavahi-common3:ppc64el (0.8-6ubuntu1) ... Selecting previously unselected package libavahi-client3:ppc64el. Preparing to unpack .../099-libavahi-client3_0.8-6ubuntu1_ppc64el.deb ... Unpacking libavahi-client3:ppc64el (0.8-6ubuntu1) ... Selecting previously unselected package libcups2:ppc64el. Preparing to unpack .../100-libcups2_2.4.2-1ubuntu4_ppc64el.deb ... Unpacking libcups2:ppc64el (2.4.2-1ubuntu4) ... Selecting previously unselected package libqt5widgets5:ppc64el. Preparing to unpack .../101-libqt5widgets5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5widgets5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5printsupport5:ppc64el. Preparing to unpack .../102-libqt5printsupport5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5printsupport5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5qml5:ppc64el. Preparing to unpack .../103-libqt5qml5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5qml5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5qmlmodels5:ppc64el. Preparing to unpack .../104-libqt5qmlmodels5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5qmlmodels5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5quick5:ppc64el. Preparing to unpack .../105-libqt5quick5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5quick5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5sensors5:ppc64el. Preparing to unpack .../106-libqt5sensors5_5.15.8-2_ppc64el.deb ... Unpacking libqt5sensors5:ppc64el (5.15.8-2) ... Selecting previously unselected package libqt5webchannel5:ppc64el. Preparing to unpack .../107-libqt5webchannel5_5.15.8-2_ppc64el.deb ... Unpacking libqt5webchannel5:ppc64el (5.15.8-2) ... Selecting previously unselected package libwebp7:ppc64el. Preparing to unpack .../108-libwebp7_1.2.4-0.1build1_ppc64el.deb ... Unpacking libwebp7:ppc64el (1.2.4-0.1build1) ... Selecting previously unselected package libwoff1:ppc64el. Preparing to unpack .../109-libwoff1_1.0.2-2_ppc64el.deb ... Unpacking libwoff1:ppc64el (1.0.2-2) ... Selecting previously unselected package libxslt1.1:ppc64el. Preparing to unpack .../110-libxslt1.1_1.1.35-1_ppc64el.deb ... Unpacking libxslt1.1:ppc64el (1.1.35-1) ... Selecting previously unselected package libqt5webkit5:ppc64el. Preparing to unpack .../111-libqt5webkit5_5.212.0~alpha4-30build1_ppc64el.deb ... Unpacking libqt5webkit5:ppc64el (5.212.0~alpha4-30build1) ... Selecting previously unselected package sgml-base. Preparing to unpack .../112-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../113-python3-pkg-resources_66.1.1-1_all.deb ... Unpacking python3-pkg-resources (66.1.1-1) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../114-python3-pygments_2.14.0+dfsg-1_all.deb ... Unpacking python3-pygments (2.14.0+dfsg-1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../115-bsdextrautils_2.38.1-4ubuntu1_ppc64el.deb ... Unpacking bsdextrautils (2.38.1-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../116-libmagic-mgc_1%3a5.44-3_ppc64el.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:ppc64el. Preparing to unpack .../117-libmagic1_1%3a5.44-3_ppc64el.deb ... Unpacking libmagic1:ppc64el (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../118-file_1%3a5.44-3_ppc64el.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../119-gettext-base_0.21-11_ppc64el.deb ... Unpacking gettext-base (0.21-11) ... Selecting previously unselected package libuchardet0:ppc64el. Preparing to unpack .../120-libuchardet0_0.0.7-1build2_ppc64el.deb ... Unpacking libuchardet0:ppc64el (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../121-groff-base_1.22.4-10_ppc64el.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package libcbor0.8:ppc64el. Preparing to unpack .../122-libcbor0.8_0.8.0-2ubuntu1_ppc64el.deb ... Unpacking libcbor0.8:ppc64el (0.8.0-2ubuntu1) ... Selecting previously unselected package libfido2-1:ppc64el. Preparing to unpack .../123-libfido2-1_1.12.0-2_ppc64el.deb ... Unpacking libfido2-1:ppc64el (1.12.0-2) ... Selecting previously unselected package libnghttp2-14:ppc64el. Preparing to unpack .../124-libnghttp2-14_1.52.0-1_ppc64el.deb ... Unpacking libnghttp2-14:ppc64el (1.52.0-1) ... Selecting previously unselected package libnuma1:ppc64el. Preparing to unpack .../125-libnuma1_2.0.16-1_ppc64el.deb ... Unpacking libnuma1:ppc64el (2.0.16-1) ... Selecting previously unselected package libpipeline1:ppc64el. Preparing to unpack .../126-libpipeline1_1.5.7-1_ppc64el.deb ... Unpacking libpipeline1:ppc64el (1.5.7-1) ... Selecting previously unselected package libpsl5:ppc64el. Preparing to unpack .../127-libpsl5_0.21.2-1_ppc64el.deb ... Unpacking libpsl5:ppc64el (0.21.2-1) ... Selecting previously unselected package man-db. Preparing to unpack .../128-man-db_2.11.2-1_ppc64el.deb ... Unpacking man-db (2.11.2-1) ... Selecting previously unselected package openssh-client. Preparing to unpack .../129-openssh-client_1%3a9.0p1-1ubuntu8_ppc64el.deb ... Unpacking openssh-client (1:9.0p1-1ubuntu8) ... Selecting previously unselected package m4. Preparing to unpack .../130-m4_1.4.19-3_ppc64el.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../131-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../132-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../133-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 .../134-autopoint_0.21-11_all.deb ... Unpacking autopoint (0.21-11) ... Selecting previously unselected package cython3. Preparing to unpack .../135-cython3_0.29.32-2ubuntu2_ppc64el.deb ... Unpacking cython3 (0.29.32-2ubuntu2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../136-libdebhelper-perl_13.11.4ubuntu3_all.deb ... Unpacking libdebhelper-perl (13.11.4ubuntu3) ... Selecting previously unselected package libtool. Preparing to unpack .../137-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../138-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../139-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 .../140-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 .../141-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 .../142-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package debugedit. Preparing to unpack .../143-debugedit_1%3a5.0-5_ppc64el.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../144-dwz_0.15-1_ppc64el.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package gettext. Preparing to unpack .../145-gettext_0.21-11_ppc64el.deb ... Unpacking gettext (0.21-11) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../146-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 .../147-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../148-debhelper_13.11.4ubuntu3_all.deb ... Unpacking debhelper (13.11.4ubuntu3) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../149-python3-lib2to3_3.11.2-2_all.deb ... Unpacking python3-lib2to3 (3.11.2-2) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../150-python3-distutils_3.11.2-2_all.deb ... Unpacking python3-distutils (3.11.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../151-dh-python_5.20230130_all.deb ... Unpacking dh-python (5.20230130) ... Selecting previously unselected package xml-core. Preparing to unpack .../152-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package docutils-common. Preparing to unpack .../153-docutils-common_0.19+dfsg-6_all.deb ... Unpacking docutils-common (0.19+dfsg-6) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../154-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 .../155-fonts-mathjax_2.7.9+dfsg-1_all.deb ... Unpacking fonts-mathjax (2.7.9+dfsg-1) ... Selecting previously unselected package libgfortran5:ppc64el. Preparing to unpack .../156-libgfortran5_13-20230305-1ubuntu1_ppc64el.deb ... Unpacking libgfortran5:ppc64el (13-20230305-1ubuntu1) ... Selecting previously unselected package libgfortran-12-dev:ppc64el. Preparing to unpack .../157-libgfortran-12-dev_12.2.0-17ubuntu1_ppc64el.deb ... Unpacking libgfortran-12-dev:ppc64el (12.2.0-17ubuntu1) ... Selecting previously unselected package gfortran-12. Preparing to unpack .../158-gfortran-12_12.2.0-17ubuntu1_ppc64el.deb ... Unpacking gfortran-12 (12.2.0-17ubuntu1) ... Selecting previously unselected package libnl-3-200:ppc64el. Preparing to unpack .../159-libnl-3-200_3.7.0-0.2_ppc64el.deb ... Unpacking libnl-3-200:ppc64el (3.7.0-0.2) ... Selecting previously unselected package libnl-route-3-200:ppc64el. Preparing to unpack .../160-libnl-route-3-200_3.7.0-0.2_ppc64el.deb ... Unpacking libnl-route-3-200:ppc64el (3.7.0-0.2) ... Selecting previously unselected package libibverbs1:ppc64el. Preparing to unpack .../161-libibverbs1_44.0-2_ppc64el.deb ... Unpacking libibverbs1:ppc64el (44.0-2) ... Selecting previously unselected package ibverbs-providers:ppc64el. Preparing to unpack .../162-ibverbs-providers_44.0-2_ppc64el.deb ... Unpacking ibverbs-providers:ppc64el (44.0-2) ... Selecting previously unselected package libaec0:ppc64el. Preparing to unpack .../163-libaec0_1.0.6-1_ppc64el.deb ... Unpacking libaec0:ppc64el (1.0.6-1) ... Selecting previously unselected package libblas3:ppc64el. Preparing to unpack .../164-libblas3_3.11.0-2_ppc64el.deb ... Unpacking libblas3:ppc64el (3.11.0-2) ... Selecting previously unselected package libpixman-1-0:ppc64el. Preparing to unpack .../165-libpixman-1-0_0.42.2-1_ppc64el.deb ... Unpacking libpixman-1-0:ppc64el (0.42.2-1) ... Selecting previously unselected package libcairo2:ppc64el. Preparing to unpack .../166-libcairo2_1.16.0-7_ppc64el.deb ... Unpacking libcairo2:ppc64el (1.16.0-7) ... Selecting previously unselected package libclang-common-15-dev. Preparing to unpack .../167-libclang-common-15-dev_1%3a15.0.7-3_all.deb ... Unpacking libclang-common-15-dev (1:15.0.7-3) ... Selecting previously unselected package libclang-cpp15. Preparing to unpack .../168-libclang-cpp15_1%3a15.0.7-3_ppc64el.deb ... Unpacking libclang-cpp15 (1:15.0.7-3) ... Selecting previously unselected package libclc-15-dev. Preparing to unpack .../169-libclc-15-dev_1%3a15.0.7-3_all.deb ... Unpacking libclc-15-dev (1:15.0.7-3) ... Selecting previously unselected package libclc-15. Preparing to unpack .../170-libclc-15_1%3a15.0.7-3_all.deb ... Unpacking libclc-15 (1:15.0.7-3) ... Selecting previously unselected package libsasl2-modules-db:ppc64el. Preparing to unpack .../171-libsasl2-modules-db_2.1.28+dfsg-10_ppc64el.deb ... Unpacking libsasl2-modules-db:ppc64el (2.1.28+dfsg-10) ... Selecting previously unselected package libsasl2-2:ppc64el. Preparing to unpack .../172-libsasl2-2_2.1.28+dfsg-10_ppc64el.deb ... Unpacking libsasl2-2:ppc64el (2.1.28+dfsg-10) ... Selecting previously unselected package libldap2:ppc64el. Preparing to unpack .../173-libldap2_2.6.3+dfsg-1~exp1ubuntu2_ppc64el.deb ... Unpacking libldap2:ppc64el (2.6.3+dfsg-1~exp1ubuntu2) ... Selecting previously unselected package librtmp1:ppc64el. Preparing to unpack .../174-librtmp1_2.4+20151223.gitfa8646d.1-2build4_ppc64el.deb ... Unpacking librtmp1:ppc64el (2.4+20151223.gitfa8646d.1-2build4) ... Selecting previously unselected package libssh-4:ppc64el. Preparing to unpack .../175-libssh-4_0.10.4-2_ppc64el.deb ... Unpacking libssh-4:ppc64el (0.10.4-2) ... Selecting previously unselected package libcurl3-gnutls:ppc64el. Preparing to unpack .../176-libcurl3-gnutls_7.88.1-6ubuntu1_ppc64el.deb ... Unpacking libcurl3-gnutls:ppc64el (7.88.1-6ubuntu1) ... Selecting previously unselected package libcurl4:ppc64el. Preparing to unpack .../177-libcurl4_7.88.1-6ubuntu1_ppc64el.deb ... Unpacking libcurl4:ppc64el (7.88.1-6ubuntu1) ... Selecting previously unselected package libdeflate0:ppc64el. Preparing to unpack .../178-libdeflate0_1.15-1_ppc64el.deb ... Unpacking libdeflate0:ppc64el (1.15-1) ... Selecting previously unselected package libevent-2.1-7a:ppc64el. Preparing to unpack .../179-libevent-2.1-7a_2.1.12-stable-5ubuntu1_ppc64el.deb ... Unpacking libevent-2.1-7a:ppc64el (2.1.12-stable-5ubuntu1) ... Selecting previously unselected package libevent-core-2.1-7a:ppc64el. Preparing to unpack .../180-libevent-core-2.1-7a_2.1.12-stable-5ubuntu1_ppc64el.deb ... Unpacking libevent-core-2.1-7a:ppc64el (2.1.12-stable-5ubuntu1) ... Selecting previously unselected package libevent-extra-2.1-7:ppc64el. Preparing to unpack .../181-libevent-extra-2.1-7_2.1.12-stable-5ubuntu1_ppc64el.deb ... Unpacking libevent-extra-2.1-7:ppc64el (2.1.12-stable-5ubuntu1) ... Selecting previously unselected package libevent-pthreads-2.1-7:ppc64el. Preparing to unpack .../182-libevent-pthreads-2.1-7_2.1.12-stable-5ubuntu1_ppc64el.deb ... Unpacking libevent-pthreads-2.1-7:ppc64el (2.1.12-stable-5ubuntu1) ... Selecting previously unselected package libevent-openssl-2.1-7:ppc64el. Preparing to unpack .../183-libevent-openssl-2.1-7_2.1.12-stable-5ubuntu1_ppc64el.deb ... Unpacking libevent-openssl-2.1-7:ppc64el (2.1.12-stable-5ubuntu1) ... Selecting previously unselected package libevent-dev. Preparing to unpack .../184-libevent-dev_2.1.12-stable-5ubuntu1_ppc64el.deb ... Unpacking libevent-dev (2.1.12-stable-5ubuntu1) ... Selecting previously unselected package libexpat1-dev:ppc64el. Preparing to unpack .../185-libexpat1-dev_2.5.0-1_ppc64el.deb ... Unpacking libexpat1-dev:ppc64el (2.5.0-1) ... Selecting previously unselected package librdmacm1:ppc64el. Preparing to unpack .../186-librdmacm1_44.0-2_ppc64el.deb ... Unpacking librdmacm1:ppc64el (44.0-2) ... Selecting previously unselected package libfabric1:ppc64el. Preparing to unpack .../187-libfabric1_1.17.0-3_ppc64el.deb ... Unpacking libfabric1:ppc64el (1.17.0-3) ... Selecting previously unselected package libgl2ps1.4. Preparing to unpack .../188-libgl2ps1.4_1.4.2+dfsg1-2_ppc64el.deb ... Unpacking libgl2ps1.4 (1.4.2+dfsg1-2) ... Selecting previously unselected package libglew2.2:ppc64el. Preparing to unpack .../189-libglew2.2_2.2.0-4_ppc64el.deb ... Unpacking libglew2.2:ppc64el (2.2.0-4) ... Selecting previously unselected package libsz2:ppc64el. Preparing to unpack .../190-libsz2_1.0.6-1_ppc64el.deb ... Unpacking libsz2:ppc64el (1.0.6-1) ... Selecting previously unselected package libhdf5-103-1:ppc64el. Preparing to unpack .../191-libhdf5-103-1_1.10.8+repack1-1ubuntu1_ppc64el.deb ... Unpacking libhdf5-103-1:ppc64el (1.10.8+repack1-1ubuntu1) ... Selecting previously unselected package libhdf5-hl-100:ppc64el. Preparing to unpack .../192-libhdf5-hl-100_1.10.8+repack1-1ubuntu1_ppc64el.deb ... Unpacking libhdf5-hl-100:ppc64el (1.10.8+repack1-1ubuntu1) ... Selecting previously unselected package libhwloc15:ppc64el. Preparing to unpack .../193-libhwloc15_2.9.0-1_ppc64el.deb ... Unpacking libhwloc15:ppc64el (2.9.0-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../194-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 .../195-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 .../196-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 .../197-libjs-sphinxdoc_5.3.0-3_all.deb ... Unpacking libjs-sphinxdoc (5.3.0-3) ... Selecting previously unselected package libjson-perl. Preparing to unpack .../198-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package libjsoncpp25:ppc64el. Preparing to unpack .../199-libjsoncpp25_1.9.5-4_ppc64el.deb ... Unpacking libjsoncpp25:ppc64el (1.9.5-4) ... Selecting previously unselected package liblapack3:ppc64el. Preparing to unpack .../200-liblapack3_3.11.0-2_ppc64el.deb ... Unpacking liblapack3:ppc64el (3.11.0-2) ... Selecting previously unselected package liblerc4:ppc64el. Preparing to unpack .../201-liblerc4_4.0.0+ds-2ubuntu2_ppc64el.deb ... Unpacking liblerc4:ppc64el (4.0.0+ds-2ubuntu2) ... Selecting previously unselected package libllvmspirvlib15:ppc64el. Preparing to unpack .../202-libllvmspirvlib15_15.0.0-1ubuntu2_ppc64el.deb ... Unpacking libllvmspirvlib15:ppc64el (15.0.0-1ubuntu2) ... Selecting previously unselected package libltdl7:ppc64el. Preparing to unpack .../203-libltdl7_2.4.7-5_ppc64el.deb ... Unpacking libltdl7:ppc64el (2.4.7-5) ... Selecting previously unselected package libltdl-dev:ppc64el. Preparing to unpack .../204-libltdl-dev_2.4.7-5_ppc64el.deb ... Unpacking libltdl-dev:ppc64el (2.4.7-5) ... Selecting previously unselected package liblzf1:ppc64el. Preparing to unpack .../205-liblzf1_3.6-3_ppc64el.deb ... Unpacking liblzf1:ppc64el (3.6-3) ... Selecting previously unselected package libnetcdf19:ppc64el. Preparing to unpack .../206-libnetcdf19_1%3a4.9.0-3_ppc64el.deb ... Unpacking libnetcdf19:ppc64el (1:4.9.0-3) ... Selecting previously unselected package libnl-3-dev:ppc64el. Preparing to unpack .../207-libnl-3-dev_3.7.0-0.2_ppc64el.deb ... Unpacking libnl-3-dev:ppc64el (3.7.0-0.2) ... Selecting previously unselected package libnl-route-3-dev:ppc64el. Preparing to unpack .../208-libnl-route-3-dev_3.7.0-0.2_ppc64el.deb ... Unpacking libnl-route-3-dev:ppc64el (3.7.0-0.2) ... Selecting previously unselected package libogg0:ppc64el. Preparing to unpack .../209-libogg0_1.3.5-3_ppc64el.deb ... Unpacking libogg0:ppc64el (1.3.5-3) ... Selecting previously unselected package libmunge2. Preparing to unpack .../210-libmunge2_0.5.15-2_ppc64el.deb ... Unpacking libmunge2 (0.5.15-2) ... Selecting previously unselected package libpciaccess0:ppc64el. Preparing to unpack .../211-libpciaccess0_0.17-2_ppc64el.deb ... Unpacking libpciaccess0:ppc64el (0.17-2) ... Selecting previously unselected package libxnvctrl0:ppc64el. Preparing to unpack .../212-libxnvctrl0_510.47.03-0ubuntu1_ppc64el.deb ... Unpacking libxnvctrl0:ppc64el (510.47.03-0ubuntu1) ... Selecting previously unselected package ocl-icd-libopencl1:ppc64el. Preparing to unpack .../213-ocl-icd-libopencl1_2.3.1-1_ppc64el.deb ... Unpacking ocl-icd-libopencl1:ppc64el (2.3.1-1) ... Selecting previously unselected package libhwloc-plugins:ppc64el. Preparing to unpack .../214-libhwloc-plugins_2.9.0-1_ppc64el.deb ... Unpacking libhwloc-plugins:ppc64el (2.9.0-1) ... Selecting previously unselected package libpmix2:ppc64el. Preparing to unpack .../215-libpmix2_4.2.2-1_ppc64el.deb ... Unpacking libpmix2:ppc64el (4.2.2-1) ... Selecting previously unselected package libucx0:ppc64el. Preparing to unpack .../216-libucx0_1.13.1-1_ppc64el.deb ... Unpacking libucx0:ppc64el (1.13.1-1) ... Selecting previously unselected package libopenmpi3:ppc64el. Preparing to unpack .../217-libopenmpi3_4.1.4-3ubuntu2_ppc64el.deb ... Unpacking libopenmpi3:ppc64el (4.1.4-3ubuntu2) ... Selecting previously unselected package libnuma-dev:ppc64el. Preparing to unpack .../218-libnuma-dev_2.0.16-1_ppc64el.deb ... Unpacking libnuma-dev:ppc64el (2.0.16-1) ... Selecting previously unselected package libhwloc-dev:ppc64el. Preparing to unpack .../219-libhwloc-dev_2.9.0-1_ppc64el.deb ... Unpacking libhwloc-dev:ppc64el (2.9.0-1) ... Selecting previously unselected package zlib1g-dev:ppc64el. Preparing to unpack .../220-zlib1g-dev_1%3a1.2.13.dfsg-1ubuntu4_ppc64el.deb ... Unpacking zlib1g-dev:ppc64el (1:1.2.13.dfsg-1ubuntu4) ... Selecting previously unselected package libpmix-dev:ppc64el. Preparing to unpack .../221-libpmix-dev_4.2.2-1_ppc64el.deb ... Unpacking libpmix-dev:ppc64el (4.2.2-1) ... Selecting previously unselected package proj-data. Preparing to unpack .../222-proj-data_9.1.1-1build1_all.deb ... Unpacking proj-data (9.1.1-1build1) ... Selecting previously unselected package libjbig0:ppc64el. Preparing to unpack .../223-libjbig0_2.1-6ubuntu1_ppc64el.deb ... Unpacking libjbig0:ppc64el (2.1-6ubuntu1) ... Selecting previously unselected package libtiff6:ppc64el. Preparing to unpack .../224-libtiff6_4.5.0-4ubuntu1_ppc64el.deb ... Unpacking libtiff6:ppc64el (4.5.0-4ubuntu1) ... Selecting previously unselected package libproj25:ppc64el. Preparing to unpack .../225-libproj25_9.1.1-1build1_ppc64el.deb ... Unpacking libproj25:ppc64el (9.1.1-1build1) ... Selecting previously unselected package libptscotch-7.0:ppc64el. Preparing to unpack .../226-libptscotch-7.0_7.0.3-1_ppc64el.deb ... Unpacking libptscotch-7.0:ppc64el (7.0.3-1) ... Selecting previously unselected package libshiboken2-py3-5.15. Preparing to unpack .../227-libshiboken2-py3-5.15_5.15.8-2build1_ppc64el.deb ... Unpacking libshiboken2-py3-5.15 (5.15.8-2build1) ... Selecting previously unselected package libpyside2-py3-5.15. Preparing to unpack .../228-libpyside2-py3-5.15_5.15.8-2build1_ppc64el.deb ... Unpacking libpyside2-py3-5.15 (5.15.8-2build1) ... Selecting previously unselected package libpython3.11:ppc64el. Preparing to unpack .../229-libpython3.11_3.11.2-6_ppc64el.deb ... Unpacking libpython3.11:ppc64el (3.11.2-6) ... Selecting previously unselected package libpython3.11-dev:ppc64el. Preparing to unpack .../230-libpython3.11-dev_3.11.2-6_ppc64el.deb ... Unpacking libpython3.11-dev:ppc64el (3.11.2-6) ... Selecting previously unselected package libpython3-dev:ppc64el. Preparing to unpack .../231-libpython3-dev_3.11.2-1_ppc64el.deb ... Unpacking libpython3-dev:ppc64el (3.11.2-1) ... Selecting previously unselected package libpython3-all-dev:ppc64el. Preparing to unpack .../232-libpython3-all-dev_3.11.2-1_ppc64el.deb ... Unpacking libpython3-all-dev:ppc64el (3.11.2-1) ... Selecting previously unselected package libqt5xml5:ppc64el. Preparing to unpack .../233-libqt5xml5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5xml5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5designer5:ppc64el. Preparing to unpack .../234-libqt5designer5_5.15.8-2_ppc64el.deb ... Unpacking libqt5designer5:ppc64el (5.15.8-2) ... Selecting previously unselected package libqt5sql5:ppc64el. Preparing to unpack .../235-libqt5sql5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5sql5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5help5:ppc64el. Preparing to unpack .../236-libqt5help5_5.15.8-2_ppc64el.deb ... Unpacking libqt5help5:ppc64el (5.15.8-2) ... Selecting previously unselected package libqt5opengl5:ppc64el. Preparing to unpack .../237-libqt5opengl5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5opengl5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libqt5svg5:ppc64el. Preparing to unpack .../238-libqt5svg5_5.15.8-2_ppc64el.deb ... Unpacking libqt5svg5:ppc64el (5.15.8-2) ... Selecting previously unselected package libqt5test5:ppc64el. Preparing to unpack .../239-libqt5test5_5.15.8+dfsg-3_ppc64el.deb ... Unpacking libqt5test5:ppc64el (5.15.8+dfsg-3) ... Selecting previously unselected package libscotch-7.0:ppc64el. Preparing to unpack .../240-libscotch-7.0_7.0.3-1_ppc64el.deb ... Unpacking libscotch-7.0:ppc64el (7.0.3-1) ... Selecting previously unselected package libtbbmalloc2:ppc64el. Preparing to unpack .../241-libtbbmalloc2_2021.8.0-1ubuntu2_ppc64el.deb ... Unpacking libtbbmalloc2:ppc64el (2021.8.0-1ubuntu2) ... Selecting previously unselected package libtbbbind-2-5:ppc64el. Preparing to unpack .../242-libtbbbind-2-5_2021.8.0-1ubuntu2_ppc64el.deb ... Unpacking libtbbbind-2-5:ppc64el (2021.8.0-1ubuntu2) ... Selecting previously unselected package libtbb12:ppc64el. Preparing to unpack .../243-libtbb12_2021.8.0-1ubuntu2_ppc64el.deb ... Unpacking libtbb12:ppc64el (2021.8.0-1ubuntu2) ... Selecting previously unselected package libtcl8.6:ppc64el. Preparing to unpack .../244-libtcl8.6_8.6.13+dfsg-2_ppc64el.deb ... Unpacking libtcl8.6:ppc64el (8.6.13+dfsg-2) ... Selecting previously unselected package libtheora0:ppc64el. Preparing to unpack .../245-libtheora0_1.1.1+dfsg.1-16.1_ppc64el.deb ... Unpacking libtheora0:ppc64el (1.1.1+dfsg.1-16.1) ... Selecting previously unselected package libxft2:ppc64el. Preparing to unpack .../246-libxft2_2.3.6-1_ppc64el.deb ... Unpacking libxft2:ppc64el (2.3.6-1) ... Selecting previously unselected package libxss1:ppc64el. Preparing to unpack .../247-libxss1_1%3a1.2.3-1build2_ppc64el.deb ... Unpacking libxss1:ppc64el (1:1.2.3-1build2) ... Selecting previously unselected package libtk8.6:ppc64el. Preparing to unpack .../248-libtk8.6_8.6.13-2_ppc64el.deb ... Unpacking libtk8.6:ppc64el (8.6.13-2) ... Selecting previously unselected package libtrilinos-zoltan-13.2:ppc64el. Preparing to unpack .../249-libtrilinos-zoltan-13.2_13.2.0-3build1_ppc64el.deb ... Unpacking libtrilinos-zoltan-13.2:ppc64el (13.2.0-3build1) ... Selecting previously unselected package libopengl0:ppc64el. Preparing to unpack .../250-libopengl0_1.6.0-1_ppc64el.deb ... Unpacking libopengl0:ppc64el (1.6.0-1) ... Selecting previously unselected package libvtk9.1:ppc64el. Preparing to unpack .../251-libvtk9.1_9.1.0+really9.1.0+dfsg2-5_ppc64el.deb ... Unpacking libvtk9.1:ppc64el (9.1.0+really9.1.0+dfsg2-5) ... Selecting previously unselected package libvtk9.1-qt:ppc64el. Preparing to unpack .../252-libvtk9.1-qt_9.1.0+really9.1.0+dfsg2-5_ppc64el.deb ... Unpacking libvtk9.1-qt:ppc64el (9.1.0+really9.1.0+dfsg2-5) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../253-python3-numpy_1%3a1.24.2-1_ppc64el.deb ... Unpacking python3-numpy (1:1.24.2-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../254-python3-six_1.16.0-4_all.deb ... Unpacking python3-six (1.16.0-4) ... Selecting previously unselected package python3-configobj. Preparing to unpack .../255-python3-configobj_5.0.8-1_all.deb ... Unpacking python3-configobj (5.0.8-1) ... Selecting previously unselected package python3-traits. Preparing to unpack .../256-python3-traits_6.3.2-1build3_ppc64el.deb ... Unpacking python3-traits (6.3.2-1build3) ... Selecting previously unselected package python3-pyqt5.sip. Preparing to unpack .../257-python3-pyqt5.sip_12.11.1-1build1_ppc64el.deb ... Unpacking python3-pyqt5.sip (12.11.1-1build1) ... Selecting previously unselected package python3-pyqt5. Preparing to unpack .../258-python3-pyqt5_5.15.9+dfsg-1_ppc64el.deb ... Unpacking python3-pyqt5 (5.15.9+dfsg-1) ... Selecting previously unselected package python3-pyqt5.qtopengl. Preparing to unpack .../259-python3-pyqt5.qtopengl_5.15.9+dfsg-1_ppc64el.deb ... Unpacking python3-pyqt5.qtopengl (5.15.9+dfsg-1) ... Selecting previously unselected package python3-pyqt5.qtsvg. Preparing to unpack .../260-python3-pyqt5.qtsvg_5.15.9+dfsg-1_ppc64el.deb ... Unpacking python3-pyqt5.qtsvg (5.15.9+dfsg-1) ... Selecting previously unselected package python3-pyqt5.qtwebkit. Preparing to unpack .../261-python3-pyqt5.qtwebkit_5.15.9+dfsg-1_ppc64el.deb ... Unpacking python3-pyqt5.qtwebkit (5.15.9+dfsg-1) ... Selecting previously unselected package python3-pyface. Preparing to unpack .../262-python3-pyface_7.4.0-1_all.deb ... Unpacking python3-pyface (7.4.0-1) ... Selecting previously unselected package python3-traitsui. Preparing to unpack .../263-python3-traitsui_7.2.1-2_all.deb ... Unpacking python3-traitsui (7.2.1-2) ... Selecting previously unselected package python3-apptools. Preparing to unpack .../264-python3-apptools_5.1.0-2_all.deb ... Unpacking python3-apptools (5.1.0-2) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../265-python3-setuptools_66.1.1-1_all.deb ... Unpacking python3-setuptools (66.1.1-1) ... Selecting previously unselected package python3-envisage. Preparing to unpack .../266-python3-envisage_6.1.0-1_all.deb ... Unpacking python3-envisage (6.1.0-1) ... Selecting previously unselected package openmpi-common. Preparing to unpack .../267-openmpi-common_4.1.4-3ubuntu2_all.deb ... Unpacking openmpi-common (4.1.4-3ubuntu2) ... Selecting previously unselected package openmpi-bin. Preparing to unpack .../268-openmpi-bin_4.1.4-3ubuntu2_ppc64el.deb ... Unpacking openmpi-bin (4.1.4-3ubuntu2) ... Selecting previously unselected package mpi-default-bin. Preparing to unpack .../269-mpi-default-bin_1.14_ppc64el.deb ... Unpacking mpi-default-bin (1.14) ... Selecting previously unselected package python3-mpi4py. Preparing to unpack .../270-python3-mpi4py_3.1.4-2_ppc64el.deb ... Unpacking python3-mpi4py (3.1.4-2) ... Selecting previously unselected package python3-vtk9. Preparing to unpack .../271-python3-vtk9_9.1.0+really9.1.0+dfsg2-5_ppc64el.deb ... Unpacking python3-vtk9 (9.1.0+really9.1.0+dfsg2-5) ... Selecting previously unselected package mayavi2. Preparing to unpack .../272-mayavi2_4.8.0-2_ppc64el.deb ... Unpacking mayavi2 (4.8.0-2) ... Selecting previously unselected package mesa-opencl-icd:ppc64el. Preparing to unpack .../273-mesa-opencl-icd_22.3.6-1ubuntu2_ppc64el.deb ... Unpacking mesa-opencl-icd:ppc64el (22.3.6-1ubuntu2) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../274-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 .../275-python3-all_3.11.2-1_ppc64el.deb ... Unpacking python3-all (3.11.2-1) ... Selecting previously unselected package python3.11-dev. Preparing to unpack .../276-python3.11-dev_3.11.2-6_ppc64el.deb ... Unpacking python3.11-dev (3.11.2-6) ... Selecting previously unselected package python3-dev. Preparing to unpack .../277-python3-dev_3.11.2-1_ppc64el.deb ... Unpacking python3-dev (3.11.2-1) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../278-python3-all-dev_3.11.2-1_ppc64el.deb ... Unpacking python3-all-dev (3.11.2-1) ... Selecting previously unselected package python3-appdirs. Preparing to unpack .../279-python3-appdirs_1.4.4-3_all.deb ... Unpacking python3-appdirs (1.4.4-3) ... Selecting previously unselected package python3-attr. Preparing to unpack .../280-python3-attr_22.2.0-1_all.deb ... Unpacking python3-attr (22.2.0-1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../281-python3-tz_2022.7.1-1_all.deb ... Unpacking python3-tz (2022.7.1-1) ... Selecting previously unselected package python3-babel. Preparing to unpack .../282-python3-babel_2.10.3-1_all.deb ... Unpacking python3-babel (2.10.3-1) ... Selecting previously unselected package python3-beaker. Preparing to unpack .../283-python3-beaker_1.11.0-3_all.deb ... Unpacking python3-beaker (1.11.0-3) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../284-python3-certifi_2022.9.24-1_all.deb ... Unpacking python3-certifi (2022.9.24-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../285-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 .../286-python3-markupsafe_2.1.2-1build1_ppc64el.deb ... Unpacking python3-markupsafe (2.1.2-1build1) ... Selecting previously unselected package python3-mako. Preparing to unpack .../287-python3-mako_1.2.4+ds-1_all.deb ... Unpacking python3-mako (1.2.4+ds-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../288-python3-typing-extensions_4.4.0-1_all.deb ... Unpacking python3-typing-extensions (4.4.0-1) ... Selecting previously unselected package python3-platformdirs. Preparing to unpack .../289-python3-platformdirs_3.0.0-1_all.deb ... Unpacking python3-platformdirs (3.0.0-1) ... Selecting previously unselected package python3-decorator. Preparing to unpack .../290-python3-decorator_5.1.1-3_all.deb ... Unpacking python3-decorator (5.1.1-3) ... Selecting previously unselected package python3-pytools. Preparing to unpack .../291-python3-pytools_2022.1.14-2_all.deb ... Unpacking python3-pytools (2022.1.14-2) ... Selecting previously unselected package python3-compyle. Preparing to unpack .../292-python3-compyle_0.8.1-4_all.deb ... Unpacking python3-compyle (0.8.1-4) ... Selecting previously unselected package python3-cyarray. Preparing to unpack .../293-python3-cyarray_1.1-5build1_ppc64el.deb ... Unpacking python3-cyarray (1.1-5build1) ... Selecting previously unselected package python3-roman. Preparing to unpack .../294-python3-roman_3.3-3_all.deb ... Unpacking python3-roman (3.3-3) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../295-python3-docutils_0.19+dfsg-6_all.deb ... Unpacking python3-docutils (0.19+dfsg-6) ... Selecting previously unselected package python3-h5py-serial. Preparing to unpack .../296-python3-h5py-serial_3.7.0-8_ppc64el.deb ... Unpacking python3-h5py-serial (3.7.0-8) ... Selecting previously unselected package python3-h5py. Preparing to unpack .../297-python3-h5py_3.7.0-8_all.deb ... Unpacking python3-h5py (3.7.0-8) ... Selecting previously unselected package python3-idna. Preparing to unpack .../298-python3-idna_3.3-1_all.deb ... Unpacking python3-idna (3.3-1) ... Selecting previously unselected package python3-imagesize. Preparing to unpack .../299-python3-imagesize_1.4.1-1_all.deb ... Unpacking python3-imagesize (1.4.1-1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../300-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../301-python3-jinja2_3.1.2-1_all.deb ... Unpacking python3-jinja2 (3.1.2-1) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../302-python3-more-itertools_8.10.0-2_all.deb ... Unpacking python3-more-itertools (8.10.0-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../303-python3-packaging_23.0-1_all.deb ... Unpacking python3-packaging (23.0-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../304-python3-pluggy_1.0.0+repack-1_all.deb ... Unpacking python3-pluggy (1.0.0+repack-1) ... Selecting previously unselected package python3-py. Preparing to unpack .../305-python3-py_1.11.0-1_all.deb ... Unpacking python3-py (1.11.0-1) ... Selecting previously unselected package python3-pyopencl. Preparing to unpack .../306-python3-pyopencl_2022.3.1-2build1_ppc64el.deb ... Unpacking python3-pyopencl (2022.3.1-2build1) ... Selecting previously unselected package python3-pyside2.qtcore. Preparing to unpack .../307-python3-pyside2.qtcore_5.15.8-2build1_ppc64el.deb ... Unpacking python3-pyside2.qtcore (5.15.8-2build1) ... Selecting previously unselected package python3-pyside2.qtgui. Preparing to unpack .../308-python3-pyside2.qtgui_5.15.8-2build1_ppc64el.deb ... Unpacking python3-pyside2.qtgui (5.15.8-2build1) ... Selecting previously unselected package python3-pyside2.qtwidgets. Preparing to unpack .../309-python3-pyside2.qtwidgets_5.15.8-2build1_ppc64el.deb ... Unpacking python3-pyside2.qtwidgets (5.15.8-2build1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../310-python3-pytest_7.2.1-2_all.deb ... Unpacking python3-pytest (7.2.1-2) ... Selecting previously unselected package python3-pytest-runner. Preparing to unpack .../311-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 .../312-python3-python-utils_3.5.2-1_all.deb ... Unpacking python3-python-utils (3.5.2-1) ... Selecting previously unselected package python3-pyzoltan. Preparing to unpack .../313-python3-pyzoltan_1.0.1-5build1_ppc64el.deb ... Unpacking python3-pyzoltan (1.0.1-5build1) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../314-python3-urllib3_1.26.12-1_all.deb ... Unpacking python3-urllib3 (1.26.12-1) ... Selecting previously unselected package python3-requests. Preparing to unpack .../315-python3-requests_2.28.1+dfsg-1ubuntu1_all.deb ... Unpacking python3-requests (2.28.1+dfsg-1ubuntu1) ... Selecting previously unselected package python3-snowballstemmer. Preparing to unpack .../316-python3-snowballstemmer_2.2.0-2_all.deb ... Unpacking python3-snowballstemmer (2.2.0-2) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../317-sphinx-common_5.3.0-3_all.deb ... Unpacking sphinx-common (5.3.0-3) ... Selecting previously unselected package python3-alabaster. Preparing to unpack .../318-python3-alabaster_0.7.12-1_all.deb ... Unpacking python3-alabaster (0.7.12-1) ... Selecting previously unselected package python3-sphinx. Preparing to unpack .../319-python3-sphinx_5.3.0-3_all.deb ... Unpacking python3-sphinx (5.3.0-3) ... Selecting previously unselected package sphinx-rtd-theme-common. Preparing to unpack .../320-sphinx-rtd-theme-common_1.2.0+dfsg-1_all.deb ... Unpacking sphinx-rtd-theme-common (1.2.0+dfsg-1) ... Selecting previously unselected package python3-sphinx-rtd-theme. Preparing to unpack .../321-python3-sphinx-rtd-theme_1.2.0+dfsg-1_all.deb ... Unpacking python3-sphinx-rtd-theme (1.2.0+dfsg-1) ... Selecting previously unselected package python3-stl. Preparing to unpack .../322-python3-stl_2.9.0-2build1_ppc64el.deb ... Unpacking python3-stl (2.9.0-2build1) ... Selecting previously unselected package libibverbs-dev:ppc64el. Preparing to unpack .../323-libibverbs-dev_44.0-2_ppc64el.deb ... Unpacking libibverbs-dev:ppc64el (44.0-2) ... Selecting previously unselected package libjs-mathjax. Preparing to unpack .../324-libjs-mathjax_2.7.9+dfsg-1_all.deb ... Unpacking libjs-mathjax (2.7.9+dfsg-1) ... Selecting previously unselected package libopenmpi-dev:ppc64el. Preparing to unpack .../325-libopenmpi-dev_4.1.4-3ubuntu2_ppc64el.deb ... Unpacking libopenmpi-dev:ppc64el (4.1.4-3ubuntu2) ... Selecting previously unselected package trilinos-dev:ppc64el. Preparing to unpack .../326-trilinos-dev_13.2.0-3build1_ppc64el.deb ... Unpacking trilinos-dev:ppc64el (13.2.0-3build1) ... Selecting previously unselected package libtrilinos-zoltan-dev:ppc64el. Preparing to unpack .../327-libtrilinos-zoltan-dev_13.2.0-3build1_ppc64el.deb ... Unpacking libtrilinos-zoltan-dev:ppc64el (13.2.0-3build1) ... Selecting previously unselected package mpi-default-dev. Preparing to unpack .../328-mpi-default-dev_1.14_ppc64el.deb ... Unpacking mpi-default-dev (1.14) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../329-sbuild-build-depends-main-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (10.0.0) ... Setting up libpipeline1:ppc64el (1.5.7-1) ... Setting up libgraphite2-3:ppc64el (1.3.14-1build2) ... Setting up libtbbmalloc2:ppc64el (2021.8.0-1ubuntu2) ... Setting up libpixman-1-0:ppc64el (0.42.2-1) ... Setting up libwayland-server0:ppc64el (1.21.0-1) ... Setting up libpciaccess0:ppc64el (0.17-2) ... Setting up libclc-15-dev (1:15.0.7-3) ... Setting up libxau6:ppc64el (1:1.0.9-1build5) ... Setting up libdouble-conversion3:ppc64el (3.2.1-1) ... Setting up libpsl5:ppc64el (0.21.2-1) ... Setting up fonts-lato (2.0-2.1) ... Setting up fonts-mathjax (2.7.9+dfsg-1) ... Setting up libicu72:ppc64el (72.1-3ubuntu1) ... Setting up libogg0:ppc64el (1.3.5-3) ... Setting up liblerc4:ppc64el (4.0.0+ds-2ubuntu2) ... Setting up proj-data (9.1.1-1build1) ... Setting up bsdextrautils (2.38.1-4ubuntu1) ... Setting up libjs-mathjax (2.7.9+dfsg-1) ... Setting up libhyphen0:ppc64el (2.8.8-7build2) ... Setting up trilinos-dev:ppc64el (13.2.0-3build1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libevent-core-2.1-7a:ppc64el (2.1.12-stable-5ubuntu1) ... Setting up libglib2.0-0:ppc64el (2.76.0-1) ... No schema files found: doing nothing. Setting up libglvnd0:ppc64el (1.6.0-1) ... Setting up libscotch-7.0:ppc64el (7.0.3-1) ... Setting up libcbor0.8:ppc64el (0.8.0-2ubuntu1) ... Setting up libpython3.11-stdlib:ppc64el (3.11.2-6) ... Setting up libdebhelper-perl (13.11.4ubuntu3) ... Setting up libbrotli1:ppc64el (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:ppc64el (1.52.0-1) ... Setting up libmagic1:ppc64el (1:5.44-3) ... Setting up libdeflate0:ppc64el (1.15-1) ... Setting up libevent-openssl-2.1-7:ppc64el (2.1.12-stable-5ubuntu1) ... Setting up gettext-base (0.21-11) ... Setting up m4 (1.4.19-3) ... Setting up xkb-data (2.38-0ubuntu1) ... Setting up file (1:5.44-3) ... Setting up libunwind8:ppc64el (1.6.2-3) ... Setting up libjbig0:ppc64el (2.1-6ubuntu1) ... Setting up libpcre2-16-0:ppc64el (10.42-1) ... Setting up libaec0:ppc64el (1.0.6-1) ... Setting up libopengl0:ppc64el (1.6.0-1) ... Setting up python-babel-localedata (2.10.3-1) ... Setting up libevent-2.1-7a:ppc64el (2.1.12-stable-5ubuntu1) ... Setting up libsasl2-modules-db:ppc64el (2.1.28+dfsg-10) ... Setting up libcap2-bin (1:2.66-3ubuntu2) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:ppc64el (3.11.0-2) ... update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode Setting up libmunge2 (0.5.15-2) ... Setting up libexpat1-dev:ppc64el (2.5.0-1) ... Setting up libfreetype6:ppc64el (2.12.1+dfsg-4) ... Setting up libx11-data (2:1.8.4-2) ... Setting up librtmp1:ppc64el (2.4+20151223.gitfa8646d.1-2build4) ... Setting up libavahi-common-data:ppc64el (0.8-6ubuntu1) ... Setting up libdbus-1-3:ppc64el (1.14.4-1ubuntu1) ... Setting up liblzf1:ppc64el (3.6-3) ... Setting up libhwloc15:ppc64el (2.9.0-1) ... Setting up liborc-0.4-0:ppc64el (1:0.4.33-2) ... Setting up libtcl8.6:ppc64el (8.6.13+dfsg-2) ... Setting up autopoint (0.21-11) ... Setting up libjsoncpp25:ppc64el (1.9.5-4) ... Setting up fonts-dejavu-core (2.37-6) ... Setting up libsensors5:ppc64el (1:3.6.0-7ubuntu1) ... Setting up libjpeg-turbo8:ppc64el (2.1.5-2ubuntu1) ... Setting up libltdl7:ppc64el (2.4.7-5) ... Setting up libglapi-mesa:ppc64el (22.3.6-1ubuntu2) ... Setting up libsasl2-2:ppc64el (2.1.28+dfsg-10) ... Setting up libssh-4:ppc64el (0.10.4-2) ... Setting up libgfortran5:ppc64el (13-20230305-1ubuntu1) ... Setting up libmtdev1:ppc64el (1.1.6-1build4) ... Setting up autoconf (2.71-3) ... Setting up libwebp7:ppc64el (1.2.4-0.1build1) ... Setting up zlib1g-dev:ppc64el (1:1.2.13.dfsg-1ubuntu4) ... Setting up libnuma1:ppc64el (2.0.16-1) ... Setting up ocl-icd-libopencl1:ppc64el (2.3.1-1) ... Setting up libxshmfence1:ppc64el (1.3-1build4) ... Setting up libuchardet0:ppc64el (0.0.7-1build2) ... Setting up libjson-perl (4.10000-1) ... Setting up openmpi-common (4.1.4-3ubuntu2) ... Setting up libmd4c0:ppc64el (0.4.8-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libharfbuzz0b:ppc64el (6.0.0+dfsg-3build1) ... Setting up sgml-base (1.31) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libfido2-1:ppc64el (1.12.0-2) ... Setting up libbsd0:ppc64el (0.11.7-4) ... Setting up libdrm-common (2.4.114-1) ... Setting up libelf1:ppc64el (0.188-2.1) ... Setting up libevdev2:ppc64el (1.13.0+dfsg-1) ... Setting up libxml2:ppc64el (2.9.14+dfsg-1.1build2) ... Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Setting up sphinx-rtd-theme-common (1.2.0+dfsg-1) ... Setting up libldap2:ppc64el (2.6.3+dfsg-1~exp1ubuntu2) ... Setting up iso-codes (4.12.0-1) ... Setting up libgudev-1.0-0:ppc64el (1:237-2build1) ... Setting up libsz2:ppc64el (1.0.6-1) ... Setting up libpython3-stdlib:ppc64el (3.11.2-1) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up libevent-pthreads-2.1-7:ppc64el (2.1.12-stable-5ubuntu1) ... Setting up libwacom-common (2.6.0-1) ... Setting up libxkbcommon0:ppc64el (1.5.0-1) ... Setting up libwayland-client0:ppc64el (1.21.0-1) ... Setting up libjpeg8:ppc64el (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.2-6) ... Setting up libice6:ppc64el (2:1.0.10-1build2) ... Setting up libdw1:ppc64el (0.188-2.1) ... Setting up libxdmcp6:ppc64el (1:1.1.3-0ubuntu5) ... Setting up libevent-extra-2.1-7:ppc64el (2.1.12-stable-5ubuntu1) ... Setting up liblapack3:ppc64el (3.11.0-2) ... update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode Setting up libxcb1:ppc64el (1.15-1) ... Setting up gettext (0.21-11) ... Setting up libxcb-xfixes0:ppc64el (1.15-1) ... Setting up libpython3.11:ppc64el (3.11.2-6) ... Setting up libxcb-xinput0:ppc64el (1.15-1) ... Setting up libwoff1:ppc64el (1.0.2-2) ... Setting up libtool (2.4.7-5) ... Setting up libxcb-render0:ppc64el (1.15-1) ... Setting up libwacom9:ppc64el (2.6.0-1) ... Setting up fontconfig-config (2.14.1-3ubuntu3) ... Setting up libxcb-glx0:ppc64el (1.15-1) ... Setting up libedit2:ppc64el (3.1-20221030-2) ... Setting up libxcb-keysyms1:ppc64el (0.4.0-1build3) ... Setting up libxcb-shape0:ppc64el (1.15-1) ... Setting up libavahi-common3:ppc64el (0.8-6ubuntu1) ... Setting up libxcb-render-util0:ppc64el (0.3.9-1build3) ... Setting up libcurl3-gnutls:ppc64el (7.88.1-6ubuntu1) ... Setting up python3 (3.11.2-1) ... Setting up libgfortran-12-dev:ppc64el (12.2.0-17ubuntu1) ... Setting up libxcb-shm0:ppc64el (1.15-1) ... Setting up libxcb-icccm4:ppc64el (0.4.1-1.1build2) ... Setting up python3-markupsafe (2.1.2-1build1) ... Setting up python3-platformdirs (3.0.0-1) ... Setting up python3-tz (2022.7.1-1) ... Setting up libxcb-util1:ppc64el (0.4.0-1build2) ... Setting up libinput-bin (1.22.1-1) ... Setting up libxcb-xkb1:ppc64el (1.15-1) ... Setting up libxcb-image0:ppc64el (0.4.0-2) ... Setting up libtbbbind-2-5:ppc64el (2021.8.0-1ubuntu2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up libnuma-dev:ppc64el (2.0.16-1) ... Setting up libxcb-present0:ppc64el (1.15-1) ... Setting up python3-beaker (1.11.0-3) ... Setting up python3-six (1.16.0-4) ... Setting up dh-autoreconf (20) ... Setting up libltdl-dev:ppc64el (2.4.7-5) ... Setting up python3-roman (3.3-3) ... Setting up python3-decorator (5.1.1-3) ... Setting up gfortran-12 (12.2.0-17ubuntu1) ... Setting up python3-jinja2 (3.1.2-1) ... Setting up python3-packaging (23.0-1) ... Setting up libxcb-xinerama0:ppc64el (1.15-1) ... Setting up python3-configobj (5.0.8-1) ... Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... Setting up python3-certifi (2022.9.24-1) ... Setting up libxcb-sync1:ppc64el (1.15-1) ... Setting up python3-snowballstemmer (2.2.0-2) ... Setting up libpython3.11-dev:ppc64el (3.11.2-6) ... Setting up shared-mime-info (2.2-1) ... Setting up libxkbcommon-x11-0:ppc64el (1.5.0-1) ... Setting up libevent-dev (2.1.12-stable-5ubuntu1) ... Setting up python3-idna (3.3-1) ... Setting up cython3 (0.29.32-2ubuntu2) ... Setting up python3-typing-extensions (4.4.0-1) ... Setting up libqt5core5a:ppc64el (5.15.8+dfsg-3) ... Setting up libjs-sphinxdoc (5.3.0-3) ... Setting up python3-urllib3 (1.26.12-1) ... Setting up python3-pluggy (1.0.0+repack-1) ... Setting up libxcb-dri2-0:ppc64el (1.15-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up python3-pyqt5.sip (12.11.1-1build1) ... Setting up libdrm2:ppc64el (2.4.114-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up libqt5dbus5:ppc64el (5.15.8+dfsg-3) ... Setting up libtiff6:ppc64el (4.5.0-4ubuntu1) ... Setting up libxcb-randr0:ppc64el (1.15-1) ... Setting up xml-core (0.18+nmu1) ... Setting up libllvm15:ppc64el (1:15.0.7-3) ... Setting up libxslt1.1:ppc64el (1.1.35-1) ... Setting up libnl-3-200:ppc64el (3.7.0-0.2) ... Setting up debugedit (1:5.0-5) ... Setting up libcurl4:ppc64el (7.88.1-6ubuntu1) ... Setting up libx11-6:ppc64el (2:1.8.4-2) ... Setting up libhwloc-dev:ppc64el (2.9.0-1) ... Setting up libfontconfig1:ppc64el (2.14.1-3ubuntu3) ... Setting up libqt5sensors5:ppc64el (5.15.8-2) ... Setting up libqt5test5:ppc64el (5.15.8+dfsg-3) ... Setting up python3-lib2to3 (3.11.2-2) ... Setting up python3-appdirs (1.4.4-3) ... Setting up libsm6:ppc64el (2:1.2.3-1build2) ... Setting up libshiboken2-py3-5.15 (5.15.8-2build1) ... Setting up libavahi-client3:ppc64el (0.8-6ubuntu1) ... Setting up libgstreamer1.0-0:ppc64el (1.22.0-2) ... Setcap worked! gst-ptp-helper is not suid! Setting up python3-imagesize (1.4.1-1) ... Setting up libdrm-amdgpu1:ppc64el (2.4.114-1) ... Setting up python3-pkg-resources (66.1.1-1) ... Setting up python3-distutils (3.11.2-2) ... Setting up dh-python (5.20230130) ... Setting up python3-more-itertools (8.10.0-2) ... Setting up libxcb-dri3-0:ppc64el (1.15-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up libinput10:ppc64el (1.22.1-1) ... Setting up python3-attr (22.2.0-1) ... Setting up libx11-xcb1:ppc64el (2:1.8.4-2) ... Setting up fontconfig (2.14.1-3ubuntu3) ... Regenerating fonts cache... done. Setting up libdrm-nouveau2:ppc64el (2.4.114-1) ... Setting up libllvmspirvlib15:ppc64el (15.0.0-1ubuntu2) ... Setting up libpython3-dev:ppc64el (3.11.2-1) ... Setting up python3-setuptools (66.1.1-1) ... Setting up libclang-common-15-dev (1:15.0.7-3) ... Setting up python3-traits (6.3.2-1build3) ... Setting up libxrender1:ppc64el (1:0.9.10-1.1) ... Setting up python3-py (1.11.0-1) ... Setting up libproj25:ppc64el (9.1.1-1build1) ... Setting up libgbm1:ppc64el (22.3.6-1ubuntu2) ... 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.5.2-1) ... Setting up libdrm-radeon1:ppc64el (2.4.114-1) ... Setting up python3.11-dev (3.11.2-6) ... Setting up python3-pytest (7.2.1-2) ... Setting up openssh-client (1:9.0p1-1ubuntu8) ... update-alternatives: using /usr/bin/ssh to provide /usr/bin/rsh (rsh) in auto mode update-alternatives: using /usr/bin/slogin to provide /usr/bin/rlogin (rlogin) in auto mode update-alternatives: using /usr/bin/scp to provide /usr/bin/rcp (rcp) in auto mode Setting up python3-alabaster (0.7.12-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libqt5positioning5:ppc64el (5.15.8+dfsg-3) ... Setting up libgl1-mesa-dri:ppc64el (22.3.6-1ubuntu2) ... Setting up libxext6:ppc64el (2:1.3.4-1build1) ... Setting up python3-all (3.11.2-1) ... Setting up libgstreamer-plugins-base1.0-0:ppc64el (1.22.0-3) ... Setting up libtbb12:ppc64el (2021.8.0-1ubuntu2) ... Setting up man-db (2.11.2-1) ... 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:ppc64el (1.16.0-7) ... Setting up libqt5network5:ppc64el (5.15.8+dfsg-3) ... Setting up libxxf86vm1:ppc64el (1:1.1.4-1build3) ... Setting up libnl-route-3-200:ppc64el (3.7.0-0.2) ... Setting up libxnvctrl0:ppc64el (510.47.03-0ubuntu1) ... Setting up libqt5sql5:ppc64el (5.15.8+dfsg-3) ... Setting up libqt5xml5:ppc64el (5.15.8+dfsg-3) ... Setting up python3-pygments (2.14.0+dfsg-1) ... Setting up libegl-mesa0:ppc64el (22.3.6-1ubuntu2) ... Setting up python3-chardet (5.1.0+dfsg-2) ... Setting up libxfixes3:ppc64el (1:6.0.0-2) ... Setting up libqt5qml5:ppc64el (5.15.8+dfsg-3) ... Setting up libpython3-all-dev:ppc64el (3.11.2-1) ... Setting up sphinx-common (5.3.0-3) ... Setting up python3-dev (3.11.2-1) ... Setting up python3-requests (2.28.1+dfsg-1ubuntu1) ... Setting up libqt5webchannel5:ppc64el (5.15.8-2) ... Setting up python3-numpy (1:1.24.2-1) ... Setting up libcups2:ppc64el (2.4.2-1ubuntu4) ... Setting up libclang-cpp15 (1:15.0.7-3) ... Setting up libhdf5-103-1:ppc64el (1.10.8+repack1-1ubuntu1) ... Setting up libnl-3-dev:ppc64el (3.7.0-0.2) ... Setting up libtheora0:ppc64el (1.1.1+dfsg.1-16.1) ... Setting up libegl1:ppc64el (1.6.0-1) ... Setting up python3-pytest-runner (2.11.1-4) ... Setting up libxss1:ppc64el (1:1.2.3-1build2) ... Setting up libclc-15 (1:15.0.7-3) ... Setting up python3-mako (1.2.4+ds-1) ... Setting up libhdf5-hl-100:ppc64el (1.10.8+repack1-1ubuntu1) ... Setting up python3-all-dev (3.11.2-1) ... Setting up mesa-opencl-icd:ppc64el (22.3.6-1ubuntu2) ... Setting up libibverbs1:ppc64el (44.0-2) ... Setting up libxft2:ppc64el (2.3.6-1) ... Setting up libqt5qmlmodels5:ppc64el (5.15.8+dfsg-3) ... Setting up libglx-mesa0:ppc64el (22.3.6-1ubuntu2) ... Setting up libglx0:ppc64el (1.6.0-1) ... Setting up ibverbs-providers:ppc64el (44.0-2) ... Setting up python3-stl (2.9.0-2build1) ... Setting up libtk8.6:ppc64el (8.6.13-2) ... Setting up python3-h5py-serial (3.7.0-8) ... Setting up debhelper (13.11.4ubuntu3) ... Setting up libpyside2-py3-5.15 (5.15.8-2build1) ... Setting up libhwloc-plugins:ppc64el (2.9.0-1) ... Setting up python3-cyarray (1.1-5build1) ... Setting up libnl-route-3-dev:ppc64el (3.7.0-0.2) ... Setting up libgl1:ppc64el (1.6.0-1) ... Setting up python3-pyside2.qtcore (5.15.8-2build1) ... Setting up python3-h5py (3.7.0-8) ... Setting up python3-pytools (2022.1.14-2) ... Setting up libglew2.2:ppc64el (2.2.0-4) ... Setting up libnetcdf19:ppc64el (1:4.9.0-3) ... Setting up python3-pyopencl (2022.3.1-2build1) ... Setting up librdmacm1:ppc64el (44.0-2) ... Setting up libucx0:ppc64el (1.13.1-1) ... Setting up libpmix2:ppc64el (4.2.2-1) ... Setting up python3-compyle (0.8.1-4) ... Setting up libqt5gui5:ppc64el (5.15.8+dfsg-3) ... Setting up libqt5widgets5:ppc64el (5.15.8+dfsg-3) ... Setting up libibverbs-dev:ppc64el (44.0-2) ... Setting up libqt5help5:ppc64el (5.15.8-2) ... Setting up libgl2ps1.4 (1.4.2+dfsg1-2) ... Setting up libqt5printsupport5:ppc64el (5.15.8+dfsg-3) ... Setting up libqt5opengl5:ppc64el (5.15.8+dfsg-3) ... Setting up libqt5quick5:ppc64el (5.15.8+dfsg-3) ... Setting up libpmix-dev:ppc64el (4.2.2-1) ... Setting up libfabric1:ppc64el (1.17.0-3) ... Setting up libqt5designer5:ppc64el (5.15.8-2) ... Setting up python3-pyside2.qtgui (5.15.8-2build1) ... Setting up libopenmpi3:ppc64el (4.1.4-3ubuntu2) ... Setting up python3-pyside2.qtwidgets (5.15.8-2build1) ... Setting up libqt5svg5:ppc64el (5.15.8-2) ... Setting up libqt5webkit5:ppc64el (5.212.0~alpha4-30build1) ... Setting up libvtk9.1:ppc64el (9.1.0+really9.1.0+dfsg2-5) ... Setting up libvtk9.1-qt:ppc64el (9.1.0+really9.1.0+dfsg2-5) ... Setting up openmpi-bin (4.1.4-3ubuntu2) ... 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-1) ... Setting up python3-pyqt5.qtsvg (5.15.9+dfsg-1) ... Setting up libptscotch-7.0:ppc64el (7.0.3-1) ... Setting up python3-pyqt5.qtopengl (5.15.9+dfsg-1) ... Setting up mpi-default-bin (1.14) ... Setting up python3-mpi4py (3.1.4-2) ... Setting up libtrilinos-zoltan-13.2:ppc64el (13.2.0-3build1) ... Setting up libtrilinos-zoltan-dev:ppc64el (13.2.0-3build1) ... Setting up python3-pyqt5.qtwebkit (5.15.9+dfsg-1) ... Setting up libopenmpi-dev:ppc64el (4.1.4-3ubuntu2) ... update-alternatives: using /usr/lib/powerpc64le-linux-gnu/openmpi/include to provide /usr/include/powerpc64le-linux-gnu/mpi (mpi-powerpc64le-linux-gnu) in auto mode Setting up python3-pyzoltan (1.0.1-5build1) ... Setting up python3-vtk9 (9.1.0+really9.1.0+dfsg2-5) ... 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.37-0ubuntu2) ... Processing triggers for systemd (252.5-2ubuntu2) ... Processing triggers for sgml-base (1.31) ... Setting up docutils-common (0.19+dfsg-6) ... Processing triggers for sgml-base (1.31) ... Setting up python3-docutils (0.19+dfsg-6) ... Setting up python3-sphinx (5.3.0-3) ... Setting up python3-sphinx-rtd-theme (1.2.0+dfsg-1) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (ppc64el included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-139-generic #156-Ubuntu SMP Fri Jan 20 17:27:42 UTC 2023 ppc64el (ppc64le) Toolchain package versions: binutils_2.40-2ubuntu3 dpkg-dev_1.21.21ubuntu1 g++-12_12.2.0-17ubuntu1 gcc-12_12.2.0-17ubuntu1 libc6-dev_2.37-0ubuntu2 libstdc++-12-dev_12.2.0-17ubuntu1 libstdc++6_13-20230305-1ubuntu1 linux-libc-dev_6.1.0-16.16 Package versions: adduser_3.129ubuntu1 advancecomp_2.5-1 apt_2.6.0 autoconf_2.71-3 automake_1:1.16.5-1.3 autopoint_0.21-11 autotools-dev_20220109.1 base-files_12.3ubuntu1 base-passwd_3.6.1 bash_5.2.15-2ubuntu1 binutils_2.40-2ubuntu3 binutils-common_2.40-2ubuntu3 binutils-powerpc64le-linux-gnu_2.40-2ubuntu3 bsdextrautils_2.38.1-4ubuntu1 bsdutils_1:2.38.1-4ubuntu1 build-essential_12.9ubuntu3 bzip2_1.0.8-5build1 ca-certificates_20230311 coreutils_9.1-1ubuntu2 cpp_4:12.2.0-3ubuntu1 cpp-12_12.2.0-17ubuntu1 cython3_0.29.32-2ubuntu2 dash_0.5.12-2ubuntu1 debconf_1.5.82 debhelper_13.11.4ubuntu3 debianutils_5.7-0.4 debugedit_1:5.0-5 dh-autoreconf_20 dh-python_5.20230130 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.8-4 docutils-common_0.19+dfsg-6 dpkg_1.21.21ubuntu1 dpkg-dev_1.21.21ubuntu1 dwz_0.15-1 e2fsprogs_1.47.0-1ubuntu1 fakeroot_1.31-1.1 file_1:5.44-3 findutils_4.9.0-3ubuntu1 fontconfig_2.14.1-3ubuntu3 fontconfig-config_2.14.1-3ubuntu3 fonts-dejavu-core_2.37-6 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 g++_4:12.2.0-3ubuntu1 g++-12_12.2.0-17ubuntu1 gcc_4:12.2.0-3ubuntu1 gcc-12_12.2.0-17ubuntu1 gcc-12-base_12.2.0-17ubuntu1 gcc-13-base_13-20230305-1ubuntu1 gettext_0.21-11 gettext-base_0.21-11 gfortran-12_12.2.0-17ubuntu1 gpg_2.2.40-1ubuntu2 gpg-agent_2.2.40-1ubuntu2 gpgconf_2.2.40-1ubuntu2 gpgv_2.2.40-1ubuntu2 grep_3.8-5 groff-base_1.22.4-10 gzip_1.12-1ubuntu1 hostname_3.23+nmu1ubuntu1 ibverbs-providers_44.0-2 init_1.65.2 init-system-helpers_1.65.2 intltool-debian_0.35.0+20060710.6 iso-codes_4.12.0-1 libacl1_2.3.1-3 libaec0_1.0.6-1 libapparmor1_3.0.8-1ubuntu2 libapt-pkg6.0_2.6.0 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.3 libasan8_13-20230305-1ubuntu1 libassuan0_2.5.5-5 libatomic1_13-20230305-1ubuntu1 libattr1_1:2.5.1-4 libaudit-common_1:3.0.9-1 libaudit1_1:3.0.9-1 libavahi-client3_0.8-6ubuntu1 libavahi-common-data_0.8-6ubuntu1 libavahi-common3_0.8-6ubuntu1 libbinutils_2.40-2ubuntu3 libblas3_3.11.0-2 libblkid1_2.38.1-4ubuntu1 libbrotli1_1.0.9-2build8 libbsd0_0.11.7-4 libbz2-1.0_1.0.8-5build1 libc-bin_2.37-0ubuntu2 libc-dev-bin_2.37-0ubuntu2 libc6_2.37-0ubuntu2 libc6-dev_2.37-0ubuntu2 libcairo2_1.16.0-7 libcap-ng0_0.8.3-1build2 libcap2_1:2.66-3ubuntu2 libcap2-bin_1:2.66-3ubuntu2 libcbor0.8_0.8.0-2ubuntu1 libcc1-0_13-20230305-1ubuntu1 libclang-common-15-dev_1:15.0.7-3 libclang-cpp15_1:15.0.7-3 libclc-15_1:15.0.7-3 libclc-15-dev_1:15.0.7-3 libcom-err2_1.47.0-1ubuntu1 libcrypt-dev_1:4.4.33-2 libcrypt1_1:4.4.33-2 libcryptsetup12_2:2.6.1-1ubuntu1 libctf-nobfd0_2.40-2ubuntu3 libctf0_2.40-2ubuntu3 libcups2_2.4.2-1ubuntu4 libcurl3-gnutls_7.88.1-6ubuntu1 libcurl4_7.88.1-6ubuntu1 libdb5.3_5.3.28+dfsg2-1 libdbus-1-3_1.14.4-1ubuntu1 libdebconfclient0_0.267ubuntu1 libdebhelper-perl_13.11.4ubuntu3 libdeflate0_1.15-1 libdevmapper1.02.1_2:1.02.185-1ubuntu1 libdouble-conversion3_3.2.1-1 libdpkg-perl_1.21.21ubuntu1 libdrm-amdgpu1_2.4.114-1 libdrm-common_2.4.114-1 libdrm-nouveau2_2.4.114-1 libdrm-radeon1_2.4.114-1 libdrm2_2.4.114-1 libdw1_0.188-2.1 libedit2_3.1-20221030-2 libegl-mesa0_22.3.6-1ubuntu2 libegl1_1.6.0-1 libelf1_0.188-2.1 libevdev2_1.13.0+dfsg-1 libevent-2.1-7a_2.1.12-stable-5ubuntu1 libevent-core-2.1-7a_2.1.12-stable-5ubuntu1 libevent-dev_2.1.12-stable-5ubuntu1 libevent-extra-2.1-7_2.1.12-stable-5ubuntu1 libevent-openssl-2.1-7_2.1.12-stable-5ubuntu1 libevent-pthreads-2.1-7_2.1.12-stable-5ubuntu1 libexpat1_2.5.0-1 libexpat1-dev_2.5.0-1 libext2fs2_1.47.0-1ubuntu1 libfabric1_1.17.0-3 libfakeroot_1.31-1.1 libfdisk1_2.38.1-4ubuntu1 libffi8_3.4.4-1 libfido2-1_1.12.0-2 libfile-stripnondeterminism-perl_1.13.1-1 libfontconfig1_2.14.1-3ubuntu3 libfreetype6_2.12.1+dfsg-4 libgbm1_22.3.6-1ubuntu2 libgcc-12-dev_12.2.0-17ubuntu1 libgcc-s1_13-20230305-1ubuntu1 libgcrypt20_1.10.1-3ubuntu1 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgfortran-12-dev_12.2.0-17ubuntu1 libgfortran5_13-20230305-1ubuntu1 libgl1_1.6.0-1 libgl1-mesa-dri_22.3.6-1ubuntu2 libgl2ps1.4_1.4.2+dfsg1-2 libglapi-mesa_22.3.6-1ubuntu2 libglew2.2_2.2.0-4 libglib2.0-0_2.76.0-1 libglvnd0_1.6.0-1 libglx-mesa0_22.3.6-1ubuntu2 libglx0_1.6.0-1 libgmp10_2:6.2.1+dfsg1-1.1ubuntu1 libgnutls30_3.7.8-5ubuntu1 libgomp1_13-20230305-1ubuntu1 libgpg-error0_1.46-1 libgraphite2-3_1.3.14-1build2 libgssapi-krb5-2_1.20.1-1build1 libgstreamer-plugins-base1.0-0_1.22.0-3 libgstreamer1.0-0_1.22.0-2 libgudev-1.0-0_1:237-2build1 libharfbuzz0b_6.0.0+dfsg-3build1 libhdf5-103-1_1.10.8+repack1-1ubuntu1 libhdf5-hl-100_1.10.8+repack1-1ubuntu1 libhogweed6_3.8.1-2 libhwloc-dev_2.9.0-1 libhwloc-plugins_2.9.0-1 libhwloc15_2.9.0-1 libhyphen0_2.8.8-7build2 libibverbs-dev_44.0-2 libibverbs1_44.0-2 libice6_2:1.0.10-1build2 libicu72_72.1-3ubuntu1 libidn2-0_2.3.3-1build1 libinput-bin_1.22.1-1 libinput10_1.22.1-1 libip4tc2_1.8.7-1ubuntu7 libisl23_0.25-1 libitm1_13-20230305-1ubuntu1 libjansson4_2.14-2 libjbig0_2.1-6ubuntu1 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-3 libjs-underscore_1.13.4~dfsg+~1.11.4-3 libjson-c5_0.16-2 libjson-perl_4.10000-1 libjsoncpp25_1.9.5-4 libk5crypto3_1.20.1-1build1 libkeyutils1_1.6.3-2 libkmod2_30+20221128-1ubuntu1 libkrb5-3_1.20.1-1build1 libkrb5support0_1.20.1-1build1 liblapack3_3.11.0-2 libldap2_2.6.3+dfsg-1~exp1ubuntu2 liblerc4_4.0.0+ds-2ubuntu2 libllvm15_1:15.0.7-3 libllvmspirvlib15_15.0.0-1ubuntu2 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 liblsan0_13-20230305-1ubuntu1 libltdl-dev_2.4.7-5 libltdl7_2.4.7-5 liblz4-1_1.9.4-1 liblzf1_3.6-3 liblzma5_5.4.1-0.2 libmagic-mgc_1:5.44-3 libmagic1_1:5.44-3 libmd0_1.0.4-2 libmd4c0_0.4.8-1 libmount1_2.38.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-2 libncursesw6_6.4-2 libnetcdf19_1:4.9.0-3 libnettle8_3.8.1-2 libnghttp2-14_1.52.0-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.4-3ubuntu2 libopenmpi3_4.1.4-3ubuntu2 liborc-0.4-0_1:0.4.33-2 libp11-kit0_0.24.1-2ubuntu1 libpam-modules_1.5.2-5ubuntu1 libpam-modules-bin_1.5.2-5ubuntu1 libpam-runtime_1.5.2-5ubuntu1 libpam0g_1.5.2-5ubuntu1 libpciaccess0_0.17-2 libpcre2-16-0_10.42-1 libpcre2-8-0_10.42-1 libperl5.36_5.36.0-7 libpipeline1_1.5.7-1 libpixman-1-0_0.42.2-1 libpmix-dev_4.2.2-1 libpmix2_4.2.2-1 libpng16-16_1.6.39-2 libproc2-0_2:4.0.3-1ubuntu1 libprocps8_2:3.3.17-7ubuntu1 libproj25_9.1.1-1build1 libpsl5_0.21.2-1 libptscotch-7.0_7.0.3-1 libpyside2-py3-5.15_5.15.8-2build1 libpython3-all-dev_3.11.2-1 libpython3-dev_3.11.2-1 libpython3-stdlib_3.11.2-1 libpython3.11_3.11.2-6 libpython3.11-dev_3.11.2-6 libpython3.11-minimal_3.11.2-6 libpython3.11-stdlib_3.11.2-6 libqt5core5a_5.15.8+dfsg-3 libqt5dbus5_5.15.8+dfsg-3 libqt5designer5_5.15.8-2 libqt5gui5_5.15.8+dfsg-3 libqt5help5_5.15.8-2 libqt5network5_5.15.8+dfsg-3 libqt5opengl5_5.15.8+dfsg-3 libqt5positioning5_5.15.8+dfsg-3 libqt5printsupport5_5.15.8+dfsg-3 libqt5qml5_5.15.8+dfsg-3 libqt5qmlmodels5_5.15.8+dfsg-3 libqt5quick5_5.15.8+dfsg-3 libqt5sensors5_5.15.8-2 libqt5sql5_5.15.8+dfsg-3 libqt5svg5_5.15.8-2 libqt5test5_5.15.8+dfsg-3 libqt5webchannel5_5.15.8-2 libqt5webkit5_5.212.0~alpha4-30build1 libqt5widgets5_5.15.8+dfsg-3 libqt5xml5_5.15.8+dfsg-3 libquadmath0_13-20230305-1ubuntu1 librdmacm1_44.0-2 libreadline8_8.2-1.3 librtmp1_2.4+20151223.gitfa8646d.1-2build4 libsasl2-2_2.1.28+dfsg-10 libsasl2-modules-db_2.1.28+dfsg-10 libscotch-7.0_7.0.3-1 libseccomp2_2.5.4-1ubuntu3 libselinux1_3.4-1build4 libsemanage-common_3.4-1build4 libsemanage2_3.4-1build4 libsensors-config_1:3.6.0-7ubuntu1 libsensors5_1:3.6.0-7ubuntu1 libsepol2_3.4-2 libshiboken2-py3-5.15_5.15.8-2build1 libsm6_2:1.2.3-1build2 libsmartcols1_2.38.1-4ubuntu1 libsqlite3-0_3.40.1-1 libss2_1.47.0-1ubuntu1 libssh-4_0.10.4-2 libssl3_3.0.8-1ubuntu1 libstdc++-12-dev_12.2.0-17ubuntu1 libstdc++6_13-20230305-1ubuntu1 libsub-override-perl_0.09-4 libsystemd-shared_252.5-2ubuntu2 libsystemd0_252.5-2ubuntu2 libsz2_1.0.6-1 libtasn1-6_4.19.0-2 libtbb12_2021.8.0-1ubuntu2 libtbbbind-2-5_2021.8.0-1ubuntu2 libtbbmalloc2_2021.8.0-1ubuntu2 libtcl8.6_8.6.13+dfsg-2 libtheora0_1.1.1+dfsg.1-16.1 libtiff6_4.5.0-4ubuntu1 libtinfo6_6.4-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-5 libtrilinos-zoltan-13.2_13.2.0-3build1 libtrilinos-zoltan-dev_13.2.0-3build1 libtsan2_13-20230305-1ubuntu1 libubsan1_13-20230305-1ubuntu1 libuchardet0_0.0.7-1build2 libucx0_1.13.1-1 libudev1_252.5-2ubuntu2 libunistring2_1.0-2 libunwind8_1.6.2-3 libuuid1_2.38.1-4ubuntu1 libvtk9.1_9.1.0+really9.1.0+dfsg2-5 libvtk9.1-qt_9.1.0+really9.1.0+dfsg2-5 libwacom-common_2.6.0-1 libwacom9_2.6.0-1 libwayland-client0_1.21.0-1 libwayland-server0_1.21.0-1 libwebp7_1.2.4-0.1build1 libwoff1_1.0.2-2 libx11-6_2:1.8.4-2 libx11-data_2:1.8.4-2 libx11-xcb1_2:1.8.4-2 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.1build2 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.4+dfsg2-4 linux-libc-dev_6.1.0-16.16 lockfile-progs_0.1.19build1 login_1:4.13+dfsg1-1ubuntu1 logsave_1.47.0-1ubuntu1 lsb-base_11.6 lto-disabled-list_38 m4_1.4.19-3 make_4.3-4.1build1 man-db_2.11.2-1 mawk_1.3.4.20200120-3.1 mayavi2_4.8.0-2 media-types_10.0.0 mesa-opencl-icd_22.3.6-1ubuntu2 mount_2.38.1-4ubuntu1 mpi-default-bin_1.14 mpi-default-dev_1.14 ncurses-base_6.4-2 ncurses-bin_6.4-2 ocl-icd-libopencl1_2.3.1-1 openmpi-bin_4.1.4-3ubuntu2 openmpi-common_4.1.4-3ubuntu2 openssh-client_1:9.0p1-1ubuntu8 openssl_3.0.8-1ubuntu1 optipng_0.7.7-2build1 passwd_1:4.13+dfsg1-1ubuntu1 patch_2.7.6-7build2 perl_5.36.0-7 perl-base_5.36.0-7 perl-modules-5.36_5.36.0-7 pinentry-curses_1.2.1-1ubuntu1 pkgbinarymangler_152 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 procps_2:4.0.3-1ubuntu1 proj-data_9.1.1-1build1 python-babel-localedata_2.10.3-1 python3_3.11.2-1 python3-alabaster_0.7.12-1 python3-all_3.11.2-1 python3-all-dev_3.11.2-1 python3-appdirs_1.4.4-3 python3-apptools_5.1.0-2 python3-attr_22.2.0-1 python3-babel_2.10.3-1 python3-beaker_1.11.0-3 python3-certifi_2022.9.24-1 python3-chardet_5.1.0+dfsg-2 python3-compyle_0.8.1-4 python3-configobj_5.0.8-1 python3-cyarray_1.1-5build1 python3-decorator_5.1.1-3 python3-dev_3.11.2-1 python3-distutils_3.11.2-2 python3-docutils_0.19+dfsg-6 python3-envisage_6.1.0-1 python3-h5py_3.7.0-8 python3-h5py-serial_3.7.0-8 python3-idna_3.3-1 python3-imagesize_1.4.1-1 python3-iniconfig_1.1.1-2 python3-jinja2_3.1.2-1 python3-lib2to3_3.11.2-2 python3-mako_1.2.4+ds-1 python3-markupsafe_2.1.2-1build1 python3-minimal_3.11.2-1 python3-more-itertools_8.10.0-2 python3-mpi4py_3.1.4-2 python3-numpy_1:1.24.2-1 python3-packaging_23.0-1 python3-pkg-resources_66.1.1-1 python3-platformdirs_3.0.0-1 python3-pluggy_1.0.0+repack-1 python3-py_1.11.0-1 python3-pyface_7.4.0-1 python3-pygments_2.14.0+dfsg-1 python3-pyopencl_2022.3.1-2build1 python3-pyqt5_5.15.9+dfsg-1 python3-pyqt5.qtopengl_5.15.9+dfsg-1 python3-pyqt5.qtsvg_5.15.9+dfsg-1 python3-pyqt5.qtwebkit_5.15.9+dfsg-1 python3-pyqt5.sip_12.11.1-1build1 python3-pyside2.qtcore_5.15.8-2build1 python3-pyside2.qtgui_5.15.8-2build1 python3-pyside2.qtwidgets_5.15.8-2build1 python3-pytest_7.2.1-2 python3-pytest-runner_2.11.1-4 python3-python-utils_3.5.2-1 python3-pytools_2022.1.14-2 python3-pyzoltan_1.0.1-5build1 python3-requests_2.28.1+dfsg-1ubuntu1 python3-roman_3.3-3 python3-setuptools_66.1.1-1 python3-six_1.16.0-4 python3-snowballstemmer_2.2.0-2 python3-sphinx_5.3.0-3 python3-sphinx-rtd-theme_1.2.0+dfsg-1 python3-stl_2.9.0-2build1 python3-traits_6.3.2-1build3 python3-traitsui_7.2.1-2 python3-typing-extensions_4.4.0-1 python3-tz_2022.7.1-1 python3-urllib3_1.26.12-1 python3-vtk9_9.1.0+really9.1.0+dfsg2-5 python3.11_3.11.2-6 python3.11-dev_3.11.2-6 python3.11-minimal_3.11.2-6 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.17+nmu1 sgml-base_1.31 shared-mime-info_2.2-1 sphinx-common_5.3.0-3 sphinx-rtd-theme-common_1.2.0+dfsg-1 systemd_252.5-2ubuntu2 systemd-sysv_252.5-2ubuntu2 sysvinit-utils_3.06-2ubuntu1 tar_1.34+dfsg-1.1 trilinos-dev_13.2.0-3build1 tzdata_2022g-7ubuntu2 ubuntu-keyring_2021.03.26 usrmerge_33ubuntu1 util-linux_2.38.1-4ubuntu1 util-linux-extra_2.38.1-4ubuntu1 x11-common_1:7.7+23ubuntu2 xkb-data_2.38-0ubuntu1 xml-core_0.18+nmu1 xz-utils_5.4.1-0.2 zlib1g_1:1.2.13.dfsg-1ubuntu4 zlib1g-dev_1:1.2.13.dfsg-1ubuntu4 +------------------------------------------------------------------------------+ | 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-5build1 Maintainer: Debian Science Maintainers Uploaders: Antonio Valentino Homepage: https://github.com/pypr/pysph Standards-Version: 4.6.1 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 (= 12), dh-python, 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 4be6fb239e4877afab7c8c4e33ff128b8a812174 13044 pysph_1.0~b1-5build1.debian.tar.xz Checksums-Sha256: 8c6ac3f0f62aa428d4b8157396772317ec44f282e89ce03ed2b919684613160d 3081320 pysph_1.0~b1.orig.tar.gz e0ffbf1479154c469a93f37ffe91fb86d218647f140cea49254496244a5ebe00 13044 pysph_1.0~b1-5build1.debian.tar.xz Files: 05441d54ad4b2476a1a136615ba7afc9 3081320 pysph_1.0~b1.orig.tar.gz 6928075e8c20d2dcb3610fc0e1916f12 13044 pysph_1.0~b1-5build1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEJeP/LX9Gnb59DU5Qr8/sjmac4cIFAmQO9PoACgkQr8/sjmac 4cJSrw/+OTUsRClGg7eiH74jeWhj1d1pMml4K6e41KXEbN3XT8zv6ONSBQ3S9ewy M0JvssCNIA1SyB9af3psORWTV7GJNfx1bULuW4ZBkaABz9xy4Fmi1DjpBeoeGKtI joKZbXrMdQre6hS4NC+rGTW+nzlP6yvs1FFxUeMdy3DxH5yIKyg8RNC2FiX6wEJK u24kgl6hGXeiQhQqr+OQ1VnQjzu5HQx0sb7saR6iHAvvZ5JOd8N6mZxNMuDj4Y8n 4Xw01e5f+Q0SSyeRS7DM/YB6AmsSegYRMkZQ3c1g+VsO3OsAN9jN9HG4CFRk62nF OtPxSHrSaEtUZgvuizdjtGTdMoy+rOcqdX3Dhplw37miFyBm9Mq074kJeIj1OF50 IoGYyFkvZJpMo4ITIUrWGw7NymQY7E5rWyXmSNWCBpahjI3rwxhjtg1M2F3gPwkS 3aVXW7fPeE+bdnWgWjuu778qHpaAaLuNuCg0SzEo7Ar1Sb0Rm90KvtUFdqhEJMqb 4dQ+Uv11qbWRFnxK/4p6QjZq5u7T4yMIftD8ukENnYCM6cSXtCZLDRBoHgaVZtbY sT3j4E3gR9BDa4M7wH0DbBVWsh1A9UfKJhjd8tBuiP0jUnZ+gKPxCjaQR0T2WZDU i5qsG+ZzTPlr1KjNa/vaapG1bbcicENS+5wlr6Nvxuw54JpzVpA= =cqW6 -----END PGP SIGNATURE----- gpgv: Signature made Mon Mar 13 10:03:38 2023 UTC gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pysph_1.0~b1-5build1.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-5build1.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 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-25663373 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-25663373 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-25663373 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-5build1 dpkg-buildpackage: info: source distribution lunar dpkg-source --before-build . dpkg-buildpackage: info: host architecture ppc64el debian/rules clean dh clean --with python3,numpy3,sphinxdoc --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' dh_auto_clean I: pybuild base:240: 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/tmp0pp35h_8/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-ppc64el' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it /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/tmpjqxmxt9n/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 '/<>' /usr/bin/make -C docs clean make[2]: Entering directory '/<>/docs' rm -rf build/* make[2]: Leaving directory '/<>/docs' rm -f -r PySPH.egg-info rm -f pysph/base/gpu_helper_functions rm -f pysph/base/stratified_sfc_gpu_nnps rm -f pysph/base/z_order_gpu_nnps rm -f pysph/tools/geometry_stl.cpp find . -name '*.pyc' -delete rm -f -r .pytest_cache make[1]: Leaving directory '/<>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary-arch dh binary-arch --with python3,numpy3,sphinxdoc --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:240: 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/tmpacl4uk2s/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 debian/rules override_dh_auto_build make[1]: Entering directory '/<>' I: pybuild base:240: echo '/<>/.pybuild/cpython3_3.11/build' dh_auto_build I: pybuild base:240: /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/tmpbv9fuk_j/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/parallel copying pysph/parallel/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/parallel creating /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/output.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/solver.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/application.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_interfaces.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/tools.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/controller.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver copying pysph/solver/__init__.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 copying pysph/examples/fpc_with_packed_cylinder.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/tg_with_packed_particles.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/periodic_cylinders.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/elliptical_drop.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/cavity.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/couette.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/elliptical_drop_no_scheme.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 copying pysph/examples/flow_past_cylinder_2d.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/two_blocks.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/rayleigh_taylor.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/taylor_green.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/_db_geometry.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/poiseuille.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/run.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/hydrostatic_tank.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/cube.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples copying pysph/examples/lattice_cylinders.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples creating /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/device_helper.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/reduce_array.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/nnps.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_helper_kernels.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/__init__.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/utils.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/gpu_nnps.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base copying pysph/base/kernels.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base creating /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/ipy_viewer.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/uniform_distribution.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/packer.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/sphysics.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/fortranfile.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/binder.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/gmsh.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/particle_packing.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/manage_cache.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/geometry_utils.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/cull.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/mayavi_viewer.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/cli.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/sph_evaluator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/pprocess.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/interpolator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools copying pysph/tools/read_mesh.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools creating /<>/.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/basic_equations.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/equation.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/scheme.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/surface_tension.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/integrator_gpu_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/sph_compiler.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/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/boundary_equations.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/integrator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/integrator_step.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/iisph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph copying pysph/sph/rigid_body.py -> /<>/.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/acceleration_eval.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph creating /<>/.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/cavity.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/summation_density.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/__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/test_parallel_run.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.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/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_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 copying pysph/solver/tests/test_application.py -> /<>/.pybuild/cpython3_3.11/build/pysph/solver/tests creating /<>/.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/impact3d.py -> /<>/.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/taylor_bar.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 copying pysph/examples/solid_mech/oscillating_plate.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/solid_mech creating /<>/.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/three_spheres_in_fluid.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/solid_body_floating_in_tank.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/__init__.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 copying pysph/examples/rigid_body/dam_break3D_sph.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/simple.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 creating /<>/.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 copying pysph/examples/gas_dynamics/robert.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/wc_blastwave.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/cheng_shu_1d.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/acoustic_wave.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/hydrostatic_box.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/accuracy_test_2d.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/__init__.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/riemann_2d.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/sjogreen.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 creating /<>/.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 copying pysph/examples/shallow_water/rectangular_dambreak.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/thacker_basin.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/cylindrical_dambreak.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_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/__init__.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/still_water_over_a_hump_1d.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/cylindrical_dambreak_closed_boundary.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/okushiri_tsunami.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/shallow_water creating /<>/.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/__init__.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/spheric copying pysph/examples/spheric/moving_square.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/spheric copying pysph/examples/spheric/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/spheric creating /<>/.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/periodic_rigidbody.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/case2.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/case1.py -> /<>/.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/case7.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/case5.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 creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/tests copying pysph/examples/tests/test_riemann_solver.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/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/examples/tests creating /<>/.pybuild/cpython3_3.11/build/pysph/examples/sloshing copying pysph/examples/sloshing/st_bouscasse.py -> /<>/.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 creating /<>/.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/khi_sy11.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/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/__init__.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 copying pysph/examples/surface_tension/oscillating_rod.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 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/base/tree copying pysph/base/tree/tree.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/__init__.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_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_octree.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_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 copying pysph/base/tests/test_particle_array.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/__init__.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_device_helper.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests copying pysph/base/tests/test_utils.py -> /<>/.pybuild/cpython3_3.11/build/pysph/base/tests creating /<>/.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_sph_evaluator.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_interpolator.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools/tests copying pysph/tools/tests/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/tools/tests 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/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 copying pysph/sph/solid_mech/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/solid_mech creating /<>/.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/gsph.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/__init__.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 copying pysph/sph/gas_dynamics/psph.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 creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/misc copying pysph/sph/misc/advection.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/misc copying pysph/sph/misc/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/misc creating /<>/.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/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/basic.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/transport_velocity.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/linalg.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/viscosity.py -> /<>/.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/density_correction.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc copying pysph/sph/wc/crksph.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/wc creating /<>/.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/__init__.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/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_linalg.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_integrator_step.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_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/__init__.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.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests copying pysph/sph/tests/test_scheme.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/tests creating /<>/.pybuild/cpython3_3.11/build/pysph/sph/swe copying pysph/sph/swe/basic.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/swe copying pysph/sph/swe/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/swe creating /<>/.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 copying pysph/sph/bc/characteristic/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/characteristic creating /<>/.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 copying pysph/sph/bc/mirror/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/mirror creating /<>/.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 copying pysph/sph/bc/hybrid/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/hybrid creating /<>/.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 copying pysph/sph/bc/tests/__init__.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/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 copying pysph/sph/bc/mod_donothing/__init__.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/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 copying pysph/sph/bc/donothing/__init__.py -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc/donothing 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/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/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/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/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/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/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/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 copying pysph/sph/bc/interpolate.py.mako -> /<>/.pybuild/cpython3_3.11/build/pysph/sph/bc running build_ext building 'pysph.base.particle_array' extension creating build creating build/temp.linux-ppc64el-cpython-311 creating build/temp.linux-ppc64el-cpython-311/pysph creating build/temp.linux-ppc64el-cpython-311/pysph/base powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:784: /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 " \ | ^~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from pysph/base/particle_array.cpp:30: In function ‘PyUnicode_IS_READY’, inlined from ‘__Pyx_PyUnicode_Equals(_object*, _object*, int)’ at pysph/base/particle_array.cpp:27135:56, inlined from ‘__pyx_pf_5pysph_4base_14particle_array_13ParticleArray_60_create_carray(__pyx_obj_5pysph_4base_14particle_array_ParticleArray*, _object*, int, _object*)’ at pysph/base/particle_array.cpp:15780:38, inlined from ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’ at pysph/base/particle_array.cpp:15747:84: /usr/include/python3.11/cpython/unicodeobject.h:269:43: warning: array subscript ‘struct PyASCIIObject[0]’ is partly outside array bounds of ‘struct PyObject[1]’ [-Warray-bounds] 269 | return _PyASCIIObject_CAST(op)->state.ready; | ^ In file included from /usr/include/python3.11/Python.h:44: /usr/include/python3.11/object.h: In function ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’: /usr/include/python3.11/object.h:646:22: note: object ‘_Py_NoneStruct’ of size 16 646 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ | ^~~~~~~~~~~~~~ In function ‘PyUnicode_GET_LENGTH’, inlined from ‘__Pyx_PyUnicode_Equals(_object*, _object*, int)’ at pysph/base/particle_array.cpp:27138:23, inlined from ‘__pyx_pf_5pysph_4base_14particle_array_13ParticleArray_60_create_carray(__pyx_obj_5pysph_4base_14particle_array_ParticleArray*, _object*, int, _object*)’ at pysph/base/particle_array.cpp:15780:38, inlined from ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’ at pysph/base/particle_array.cpp:15747:84: /usr/include/python3.11/cpython/unicodeobject.h:360:37: warning: array subscript ‘struct PyASCIIObject[0]’ is partly outside array bounds of ‘struct PyObject[1]’ [-Warray-bounds] 360 | return _PyASCIIObject_CAST(op)->length; | ^~~~~~ /usr/include/python3.11/object.h: In function ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’: /usr/include/python3.11/object.h:646:22: note: object ‘_Py_NoneStruct’ of size 16 646 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ | ^~~~~~~~~~~~~~ In function ‘__Pyx_PyUnicode_Equals(_object*, _object*, int)’, inlined from ‘__pyx_pf_5pysph_4base_14particle_array_13ParticleArray_60_create_carray(__pyx_obj_5pysph_4base_14particle_array_ParticleArray*, _object*, int, _object*)’ at pysph/base/particle_array.cpp:15780:38, inlined from ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’ at pysph/base/particle_array.cpp:15747:84: pysph/base/particle_array.cpp:27146:19: warning: array subscript ‘struct PyASCIIObject[0]’ is partly outside array bounds of ‘struct PyObject[1]’ [-Warray-bounds] 27146 | hash2 = ((PyASCIIObject*)s2)->hash; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/object.h: In function ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’: /usr/include/python3.11/object.h:646:22: note: object ‘_Py_NoneStruct’ of size 16 646 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ | ^~~~~~~~~~~~~~ In function ‘__Pyx_PyUnicode_Equals(_object*, _object*, int)’, inlined from ‘__pyx_pf_5pysph_4base_14particle_array_13ParticleArray_60_create_carray(__pyx_obj_5pysph_4base_14particle_array_ParticleArray*, _object*, int, _object*)’ at pysph/base/particle_array.cpp:15780:38, inlined from ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’ at pysph/base/particle_array.cpp:15747:84: /usr/include/python3.11/cpython/unicodeobject.h:318:37: warning: array subscript ‘struct PyASCIIObject[0]’ is partly outside array bounds of ‘struct PyObject[1]’ [-Warray-bounds] 318 | _PyASCIIObject_CAST(op)->state.kind) | ^ /usr/include/python3.11/object.h: In function ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’: /usr/include/python3.11/object.h:646:22: note: object ‘_Py_NoneStruct’ of size 16 646 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ | ^~~~~~~~~~~~~~ In function ‘PyUnicode_IS_COMPACT’, inlined from ‘PyUnicode_DATA’ at /usr/include/python3.11/cpython/unicodeobject.h:337:9, inlined from ‘__Pyx_PyUnicode_Equals(_object*, _object*, int)’ at pysph/base/particle_array.cpp:27161:17, inlined from ‘__pyx_pf_5pysph_4base_14particle_array_13ParticleArray_60_create_carray(__pyx_obj_5pysph_4base_14particle_array_ParticleArray*, _object*, int, _object*)’ at pysph/base/particle_array.cpp:15780:38, inlined from ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’ at pysph/base/particle_array.cpp:15747:84: /usr/include/python3.11/cpython/unicodeobject.h:289:43: warning: array subscript ‘struct PyASCIIObject[0]’ is partly outside array bounds of ‘struct PyObject[1]’ [-Warray-bounds] 289 | return _PyASCIIObject_CAST(op)->state.compact; | ^ /usr/include/python3.11/object.h: In function ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’: /usr/include/python3.11/object.h:646:22: note: object ‘_Py_NoneStruct’ of size 16 646 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ | ^~~~~~~~~~~~~~ In function ‘_PyUnicode_NONCOMPACT_DATA’, inlined from ‘PyUnicode_DATA’ at /usr/include/python3.11/cpython/unicodeobject.h:340:38, inlined from ‘__Pyx_PyUnicode_Equals(_object*, _object*, int)’ at pysph/base/particle_array.cpp:27161:17, inlined from ‘__pyx_pf_5pysph_4base_14particle_array_13ParticleArray_60_create_carray(__pyx_obj_5pysph_4base_14particle_array_ParticleArray*, _object*, int, _object*)’ at pysph/base/particle_array.cpp:15780:38, inlined from ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’ at pysph/base/particle_array.cpp:15747:84: /usr/include/python3.11/cpython/unicodeobject.h:331:10: warning: array subscript ‘struct PyUnicodeObject[0]’ is partly outside array bounds of ‘struct PyObject[1]’ [-Warray-bounds] 331 | data = _PyUnicodeObject_CAST(op)->data.any; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/object.h: In function ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’: /usr/include/python3.11/object.h:646:22: note: object ‘_Py_NoneStruct’ of size 16 646 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ | ^~~~~~~~~~~~~~ In function ‘PyUnicode_IS_ASCII’, inlined from ‘_PyUnicode_COMPACT_DATA’ at /usr/include/python3.11/cpython/unicodeobject.h:322:9, inlined from ‘PyUnicode_DATA’ at /usr/include/python3.11/cpython/unicodeobject.h:338:39, inlined from ‘PyUnicode_DATA’ at /usr/include/python3.11/cpython/unicodeobject.h:336:21, inlined from ‘__Pyx_PyUnicode_Equals(_object*, _object*, int)’ at pysph/base/particle_array.cpp:27161:17, inlined from ‘__pyx_pf_5pysph_4base_14particle_array_13ParticleArray_60_create_carray(__pyx_obj_5pysph_4base_14particle_array_ParticleArray*, _object*, int, _object*)’ at pysph/base/particle_array.cpp:15780:38, inlined from ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’ at pysph/base/particle_array.cpp:15747:84: /usr/include/python3.11/cpython/unicodeobject.h:280:43: warning: array subscript ‘struct PyASCIIObject[0]’ is partly outside array bounds of ‘struct PyObject[1]’ [-Warray-bounds] 280 | return _PyASCIIObject_CAST(op)->state.ascii; | ^ /usr/include/python3.11/object.h: In function ‘__pyx_pw_5pysph_4base_14particle_array_13ParticleArray_61_create_carray(_object*, _object*, _object*)’: /usr/include/python3.11/object.h:646:22: note: object ‘_Py_NoneStruct’ of size 16 646 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ | ^~~~~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/particle_array.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/particle_array.cpython-311-powerpc64le-linux-gnu.so building 'pysph.base.point' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:784: /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 " \ | ^~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/point.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/point.cpython-311-powerpc64le-linux-gnu.so building 'pysph.base.nnps_base' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:794: /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:21891:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 21891 | for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:21976:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 21976 | 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:22887:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 22887 | for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:22936:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 22936 | 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:28987:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 28987 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:29018:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 29018 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:29071:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 29071 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/nnps_base.cpp:29129:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 29129 | for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { | ~~~~~~~~~~^~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/nnps_base.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/nnps_base.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.linked_list_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:811: /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 " \ | ^~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/linked_list_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/linked_list_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.box_sort_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:812: /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:5972:43: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 5972 | for (__pyx_t_19 = 0; __pyx_t_19 < __pyx_t_18; __pyx_t_19+=1) { | ~~~~~~~~~~~^~~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/box_sort_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/box_sort_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.spatial_hash_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:799: /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:4680:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 4680 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/spatial_hash_nnps.cpp:4745:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 4745 | 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:5411:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5411 | 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:7179:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 7179 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/spatial_hash_nnps.cpp:7244:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 7244 | 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:8422:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 8422 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_6; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/spatial_hash_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/spatial_hash_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.cell_indexing_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:810: /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:4786: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] 4786 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_7; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/cell_indexing_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/cell_indexing_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.z_order_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:812: /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:7926:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 7926 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/z_order_nnps.cpp:7946:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 7946 | 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:8777:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8777 | 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:11120:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 11120 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/z_order_nnps.cpp:11140:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 11140 | 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:11886:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 11886 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_8; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/z_order_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/z_order_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.stratified_hash_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:799: /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:5226:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5226 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/stratified_hash_nnps.cpp:5354:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5354 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_6; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/stratified_hash_nnps.cpp:5419:37: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5419 | for (__pyx_v_k = 0; __pyx_v_k < __pyx_t_7; __pyx_v_k++) { | ~~~~~~~~~~^~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/stratified_hash_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/stratified_hash_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.stratified_sfc_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:815: /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:5957:49: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5957 | 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:6290:86: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 6290 | __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:9548:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 9548 | for (__pyx_v_j = 0; __pyx_v_j < __pyx_t_4; __pyx_v_j++) { | ~~~~~~~~~~^~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/stratified_sfc_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/stratified_sfc_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.octree' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:792: /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:7157:41: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 7157 | __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:9073: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] 9073 | for (__pyx_v_n = 0; __pyx_v_n < __pyx_t_10; __pyx_v_n++) { | ~~~~~~~~~~^~~~~~~~~~~~ pysph/base/octree.cpp:9187:63: warning: comparison of integer expressions of different signedness: ‘__pyx_t_5pysph_4base_6octree_u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 9187 | for (__pyx_v_p = __pyx_v_start; __pyx_v_p < __pyx_t_3; __pyx_v_p++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/octree.cpp:9747: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] 9747 | 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:11462: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] 11462 | for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/octree.cpp:11481: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] 11481 | 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:12986:41: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 12986 | __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:15537: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] 15537 | for (__pyx_v_n = 0; __pyx_v_n < __pyx_t_11; __pyx_v_n++) { | ~~~~~~~~~~^~~~~~~~~~~~ pysph/base/octree.cpp:15680:63: warning: comparison of integer expressions of different signedness: ‘__pyx_t_5pysph_4base_6octree_u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 15680 | for (__pyx_v_p = __pyx_v_start; __pyx_v_p < __pyx_t_3; __pyx_v_p++) { | ~~~~~~~~~~^~~~~~~~~~~ pysph/base/octree.cpp:16323: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] 16323 | for (__pyx_v_jid = 0; __pyx_v_jid < __pyx_t_11; __pyx_v_jid++) { | ~~~~~~~~~~~~^~~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/octree.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/octree.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.octree_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:794: /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:4909:35: warning: comparison of integer expressions of different signedness: ‘__pyx_t_5pysph_4base_11octree_nnps_u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4909 | for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_3; __pyx_v_i++) { | ~~~~~~~~~~^~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/octree_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/octree_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.c_kernels' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:4005:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4005 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:3784:10: note: ‘__pyx_v_fac’ was declared here 3784 | 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:5097:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5097 | __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:4881:10: note: ‘__pyx_v_fac’ was declared here 4881 | 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:5584:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5584 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:5395:10: note: ‘__pyx_v_fac’ was declared here 5395 | 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:8247:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8247 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:8072:10: note: ‘__pyx_v_fac’ was declared here 8072 | 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:9297:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9297 | __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:9123:10: note: ‘__pyx_v_fac’ was declared here 9123 | 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:9751:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9751 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:9595:10: note: ‘__pyx_v_fac’ was declared here 9595 | 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:12404:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12404 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:12239:10: note: ‘__pyx_v_fac’ was declared here 12239 | 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:13444:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13444 | __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:13280:10: note: ‘__pyx_v_fac’ was declared here 13280 | 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:13870:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13870 | __pyx_v_val = (exp(((-__pyx_v_q) * __pyx_v_q)) * __pyx_v_fac); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:13742:10: note: ‘__pyx_v_fac’ was declared here 13742 | 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:16673:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16673 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:16376:10: note: ‘__pyx_v_fac’ was declared here 16376 | 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:17877:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 17877 | __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:17549:10: note: ‘__pyx_v_fac’ was declared here 17549 | 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:18440:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 18440 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:18175:10: note: ‘__pyx_v_fac’ was declared here 18175 | 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:21103:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21103 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:20928:10: note: ‘__pyx_v_fac’ was declared here 20928 | 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:22217:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22217 | __pyx_r = (((-__pyx_v_fac) * __pyx_v_h1) * __pyx_v_val); | ~^~~~~~~~~~~~~ pysph/base/c_kernels.cpp:22031:10: note: ‘__pyx_v_fac’ was declared here 22031 | 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:22653:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22653 | __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:22515:10: note: ‘__pyx_v_fac’ was declared here 22515 | 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:25334:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25334 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:25159:10: note: ‘__pyx_v_fac’ was declared here 25159 | 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:26384:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26384 | __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:26210:10: note: ‘__pyx_v_fac’ was declared here 26210 | 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:26838:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26838 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:26682:10: note: ‘__pyx_v_fac’ was declared here 26682 | 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:29501:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29501 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:29326:10: note: ‘__pyx_v_fac’ was declared here 29326 | 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:30551:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 30551 | __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:30377:10: note: ‘__pyx_v_fac’ was declared here 30377 | 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:31005:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 31005 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:30849:10: note: ‘__pyx_v_fac’ was declared here 30849 | 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:33668:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33668 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:33493:10: note: ‘__pyx_v_fac’ was declared here 33493 | 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:34718:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 34718 | __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:34544:10: note: ‘__pyx_v_fac’ was declared here 34544 | 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:35172:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 35172 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:35016:10: note: ‘__pyx_v_fac’ was declared here 35016 | 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:37835:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37835 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:37660:10: note: ‘__pyx_v_fac’ was declared here 37660 | 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:38885:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 38885 | __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:38711:10: note: ‘__pyx_v_fac’ was declared here 38711 | 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:39339:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 39339 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:39183:10: note: ‘__pyx_v_fac’ was declared here 39183 | 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:42002:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42002 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:41827:10: note: ‘__pyx_v_fac’ was declared here 41827 | 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:43052:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43052 | __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:42878:10: note: ‘__pyx_v_fac’ was declared here 42878 | 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:43506:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43506 | __pyx_r = (__pyx_v_val * __pyx_v_fac); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pysph/base/c_kernels.cpp:43350:10: note: ‘__pyx_v_fac’ was declared here 43350 | 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:34149:80: pysph/base/c_kernels.cpp:33668:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33668 | __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:33493:10: note: ‘__pyx_v_fac’ was declared here 33493 | 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:8728:75: pysph/base/c_kernels.cpp:8247:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8247 | __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:8072:10: note: ‘__pyx_v_fac’ was declared here 8072 | 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:12885:67: pysph/base/c_kernels.cpp:12404:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12404 | __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:12239:10: note: ‘__pyx_v_fac’ was declared here 12239 | 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:4486:71: pysph/base/c_kernels.cpp:4005:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4005 | __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:3784:10: note: ‘__pyx_v_fac’ was declared here 3784 | 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:38316:80: pysph/base/c_kernels.cpp:37835:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37835 | __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:37660:10: note: ‘__pyx_v_fac’ was declared here 37660 | 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:25815:77: pysph/base/c_kernels.cpp:25334:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25334 | __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:25159:10: note: ‘__pyx_v_fac’ was declared here 25159 | 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:21636:73: pysph/base/c_kernels.cpp:21103:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21103 | __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:20928:10: note: ‘__pyx_v_fac’ was declared here 20928 | 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:42483:80: pysph/base/c_kernels.cpp:42002:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42002 | __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:41827:10: note: ‘__pyx_v_fac’ was declared here 41827 | 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:29982:77: pysph/base/c_kernels.cpp:29501:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29501 | __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:29326:10: note: ‘__pyx_v_fac’ was declared here 29326 | 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:17154:73: pysph/base/c_kernels.cpp:16673:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16673 | __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:16376:10: note: ‘__pyx_v_fac’ was declared here 16376 | 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:14045:61: pysph/base/c_kernels.cpp:13870:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13870 | __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:13742:10: note: ‘__pyx_v_fac’ was declared here 13742 | 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:35329:74: pysph/base/c_kernels.cpp:35172:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 35172 | __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:35016:10: note: ‘__pyx_v_fac’ was declared here 35016 | 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:9908:69: pysph/base/c_kernels.cpp:9751:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9751 | __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:9595:10: note: ‘__pyx_v_fac’ was declared here 9595 | 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:22828:67: pysph/base/c_kernels.cpp:22653:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22653 | __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:22515:10: note: ‘__pyx_v_fac’ was declared here 22515 | 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:5741:65: pysph/base/c_kernels.cpp:5584:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5584 | __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:5395:10: note: ‘__pyx_v_fac’ was declared here 5395 | 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:39496:74: pysph/base/c_kernels.cpp:39339:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 39339 | __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:39183:10: note: ‘__pyx_v_fac’ was declared here 39183 | 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:13601:65: pysph/base/c_kernels.cpp:13444:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13444 | __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:13280:10: note: ‘__pyx_v_fac’ was declared here 13280 | 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:26995:71: pysph/base/c_kernels.cpp:26838:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26838 | __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:26682:10: note: ‘__pyx_v_fac’ was declared here 26682 | 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:34875:78: pysph/base/c_kernels.cpp:34718:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 34718 | __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:34544:10: note: ‘__pyx_v_fac’ was declared here 34544 | 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:9454:73: pysph/base/c_kernels.cpp:9297:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9297 | __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:9123:10: note: ‘__pyx_v_fac’ was declared here 9123 | 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:31162:71: pysph/base/c_kernels.cpp:31005:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 31005 | __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:30849:10: note: ‘__pyx_v_fac’ was declared here 30849 | 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:43663:74: pysph/base/c_kernels.cpp:43506:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43506 | __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:43350:10: note: ‘__pyx_v_fac’ was declared here 43350 | 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:22374:71: pysph/base/c_kernels.cpp:22217:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22217 | __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:22031:10: note: ‘__pyx_v_fac’ was declared here 22031 | 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:5254:69: pysph/base/c_kernels.cpp:5097:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5097 | __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:4881:10: note: ‘__pyx_v_fac’ was declared here 4881 | 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:39042:78: pysph/base/c_kernels.cpp:38885:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 38885 | __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:38711:10: note: ‘__pyx_v_fac’ was declared here 38711 | 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:26541:75: pysph/base/c_kernels.cpp:26384:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26384 | __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:26210:10: note: ‘__pyx_v_fac’ was declared here 26210 | 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:30708:75: pysph/base/c_kernels.cpp:30551:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 30551 | __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:30377:10: note: ‘__pyx_v_fac’ was declared here 30377 | 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:18597:67: pysph/base/c_kernels.cpp:18440:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 18440 | __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:18175:10: note: ‘__pyx_v_fac’ was declared here 18175 | 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:43209:78: pysph/base/c_kernels.cpp:43052:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43052 | __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:42878:10: note: ‘__pyx_v_fac’ was declared here 42878 | double __pyx_v_fac; | ^~~~~~~~~~~ In function ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, double*, double, double)’, inlined from ‘__pyx_f_5pysph_4base_9c_kernels_13QuinticSpline_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, __Pyx_memviewslice, double, double, int)’ at pysph/base/c_kernels.cpp:18034:71: pysph/base/c_kernels.cpp:17877:16: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 17877 | __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_13QuinticSpline_py_gradient_h(__pyx_obj_5pysph_4base_9c_kernels_QuinticSpline*, __Pyx_memviewslice, double, double, int)’: pysph/base/c_kernels.cpp:17549:10: note: ‘__pyx_v_fac’ was declared here 17549 | 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:34149: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:34386:66: pysph/base/c_kernels.cpp:33668:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33668 | __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:33493:10: note: ‘__pyx_v_fac’ was declared here 33493 | 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:8728: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:8965:61: pysph/base/c_kernels.cpp:8247:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8247 | __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:8072:10: note: ‘__pyx_v_fac’ was declared here 8072 | 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:12885: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:13122:53: pysph/base/c_kernels.cpp:12404:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12404 | __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:12239:10: note: ‘__pyx_v_fac’ was declared here 12239 | 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:4486: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:4723:57: pysph/base/c_kernels.cpp:4005:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4005 | __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:3784:10: note: ‘__pyx_v_fac’ was declared here 3784 | 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:38316: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:38553:66: pysph/base/c_kernels.cpp:37835:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37835 | __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:37660:10: note: ‘__pyx_v_fac’ was declared here 37660 | 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:25815: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:26052:63: pysph/base/c_kernels.cpp:25334:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25334 | __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:25159:10: note: ‘__pyx_v_fac’ was declared here 25159 | 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:21636: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:21873:59: pysph/base/c_kernels.cpp:21103:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21103 | __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:20928:10: note: ‘__pyx_v_fac’ was declared here 20928 | 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:42483: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:42720:66: pysph/base/c_kernels.cpp:42002:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42002 | __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:41827:10: note: ‘__pyx_v_fac’ was declared here 41827 | 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:29982: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:30219:63: pysph/base/c_kernels.cpp:29501:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29501 | __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:29326:10: note: ‘__pyx_v_fac’ was declared here 29326 | 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:19622:67: pysph/base/c_kernels.cpp:18440:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 18440 | __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:18175:10: note: ‘__pyx_v_fac’ was declared here 18175 | 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:17154: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:17391:59: pysph/base/c_kernels.cpp:16673:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16673 | __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:16376:10: note: ‘__pyx_v_fac’ was declared here 16376 | 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:33805:72: pysph/base/c_kernels.cpp:33668:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33668 | __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:33493:10: note: ‘__pyx_v_fac’ was declared here 33493 | 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:8384:67: pysph/base/c_kernels.cpp:8247:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8247 | __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:8072:10: note: ‘__pyx_v_fac’ was declared here 8072 | 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:12541:59: pysph/base/c_kernels.cpp:12404:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12404 | __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:12239:10: note: ‘__pyx_v_fac’ was declared here 12239 | 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:4142:63: pysph/base/c_kernels.cpp:4005:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4005 | __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:3784:10: note: ‘__pyx_v_fac’ was declared here 3784 | 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:37972:72: pysph/base/c_kernels.cpp:37835:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37835 | __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:37660:10: note: ‘__pyx_v_fac’ was declared here 37660 | 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:25471:69: pysph/base/c_kernels.cpp:25334:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25334 | __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:25159:10: note: ‘__pyx_v_fac’ was declared here 25159 | 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:21240:65: pysph/base/c_kernels.cpp:21103:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21103 | __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:20928:10: note: ‘__pyx_v_fac’ was declared here 20928 | 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:34149: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:36748:66: pysph/base/c_kernels.cpp:33668:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 33668 | __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:33493:10: note: ‘__pyx_v_fac’ was declared here 33493 | 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:8728: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:11327:61: pysph/base/c_kernels.cpp:8247:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 8247 | __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:8072:10: note: ‘__pyx_v_fac’ was declared here 8072 | 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:42139:72: pysph/base/c_kernels.cpp:42002:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42002 | __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:41827:10: note: ‘__pyx_v_fac’ was declared here 41827 | 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:12885: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:15464:53: pysph/base/c_kernels.cpp:12404:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 12404 | __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:12239:10: note: ‘__pyx_v_fac’ was declared here 12239 | 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:29638:69: pysph/base/c_kernels.cpp:29501:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29501 | __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:29326:10: note: ‘__pyx_v_fac’ was declared here 29326 | 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:4486: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:7160:57: pysph/base/c_kernels.cpp:4005:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 4005 | __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:3784:10: note: ‘__pyx_v_fac’ was declared here 3784 | 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:38316: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:40915:66: pysph/base/c_kernels.cpp:37835:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 37835 | __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:37660:10: note: ‘__pyx_v_fac’ was declared here 37660 | 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:25815: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:28414:63: pysph/base/c_kernels.cpp:25334:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 25334 | __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:25159:10: note: ‘__pyx_v_fac’ was declared here 25159 | 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:21636: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:24247:59: pysph/base/c_kernels.cpp:21103:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 21103 | __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:20928:10: note: ‘__pyx_v_fac’ was declared here 20928 | 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:42483: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:45082:66: pysph/base/c_kernels.cpp:42002:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 42002 | __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:41827:10: note: ‘__pyx_v_fac’ was declared here 41827 | 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:29982: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:32581:63: pysph/base/c_kernels.cpp:29501:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 29501 | __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:29326:10: note: ‘__pyx_v_fac’ was declared here 29326 | 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:16810:65: pysph/base/c_kernels.cpp:16673:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16673 | __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:16376:10: note: ‘__pyx_v_fac’ was declared here 16376 | 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:17154: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:20016:59: pysph/base/c_kernels.cpp:16673:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 16673 | __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:16376:10: note: ‘__pyx_v_fac’ was declared here 16376 | 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:15070:61: pysph/base/c_kernels.cpp:13870:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 13870 | __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:13742:10: note: ‘__pyx_v_fac’ was declared here 13742 | 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:36354:74: pysph/base/c_kernels.cpp:35172:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 35172 | __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:35016:10: note: ‘__pyx_v_fac’ was declared here 35016 | 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:10933:69: pysph/base/c_kernels.cpp:9751:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 9751 | __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:9595:10: note: ‘__pyx_v_fac’ was declared here 9595 | 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:23853:67: pysph/base/c_kernels.cpp:22653:17: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 22653 | __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:22515:10: note: ‘__pyx_v_fac’ was declared here 22515 | 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:6766:65: pysph/base/c_kernels.cpp:5584:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 5584 | __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:5395:10: note: ‘__pyx_v_fac’ was declared here 5395 | 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:40521:74: pysph/base/c_kernels.cpp:39339:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 39339 | __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:39183:10: note: ‘__pyx_v_fac’ was declared here 39183 | 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:28020:71: pysph/base/c_kernels.cpp:26838:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 26838 | __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:26682:10: note: ‘__pyx_v_fac’ was declared here 26682 | 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:44688:74: pysph/base/c_kernels.cpp:43506:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 43506 | __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:43350:10: note: ‘__pyx_v_fac’ was declared here 43350 | 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:32187:71: pysph/base/c_kernels.cpp:31005:11: warning: ‘__pyx_v_fac’ may be used uninitialized [-Wmaybe-uninitialized] 31005 | __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:30849:10: note: ‘__pyx_v_fac’ was declared here 30849 | double __pyx_v_fac; | ^~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/c_kernels.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/c_kernels.cpython-311-powerpc64le-linux-gnu.so building 'pysph.base.linalg3' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:785: /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 " \ | ^~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/linalg3.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/linalg3.cpython-311-powerpc64le-linux-gnu.so building 'pysph.tools.mesh_tools' extension creating build/temp.linux-ppc64el-cpython-311/pysph/tools powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:784: /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 " \ | ^~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/tools/mesh_tools.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/tools/mesh_tools.cpython-311-powerpc64le-linux-gnu.so building 'pysph.base.gpu_nnps_base' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:796: /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 " \ | ^~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/gpu_nnps_base.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/gpu_nnps_base.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.z_order_gpu_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:812: /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 " \ | ^~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/z_order_gpu_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/z_order_gpu_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.stratified_sfc_gpu_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:811: /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 " \ | ^~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/stratified_sfc_gpu_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/stratified_sfc_gpu_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.base.octree_gpu_nnps' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-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:792: /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 " \ | ^~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/base/octree_gpu_nnps.o -L/usr/lib/powerpc64le-linux-gnu -o /<>/.pybuild/cpython3_3.11/build/pysph/base/octree_gpu_nnps.cpython-311-powerpc64le-linux-gnu.so -fopenmp building 'pysph.parallel.parallel_manager' extension creating build/temp.linux-ppc64el-cpython-311/pysph/parallel powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -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-ppc64el-cpython-311/pysph/parallel/parallel_manager.o -I/usr/lib/powerpc64le-linux-gnu/openmpi/include -I/usr/lib/powerpc64le-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:812: /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:19177:43: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 19177 | for (__pyx_t_18 = 0; __pyx_t_18 < __pyx_t_17; __pyx_t_18+=1) { | ~~~~~~~~~~~^~~~~~~~~~~~ powerpc64le-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 -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/pysph-1.0~b1-5build1 -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-cpython-311/pysph/parallel/parallel_manager.o -L/usr/lib -L/usr/lib/powerpc64le-linux-gnu -ltrilinos_zoltan -lmpi -o /<>/.pybuild/cpython3_3.11/build/pysph/parallel/parallel_manager.cpython-311-powerpc64le-linux-gnu.so -L/usr/lib/powerpc64le-linux-gnu/openmpi/lib -lmpi_cxx -lmpi env PYTHONPATH=/<>/.pybuild/cpython3_3.11/build \ python3 -m sphinx -M html /<>/docs/source /<>/docs/build -N 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 /<>/pysph/tools/read_mesh.py:88: SyntaxWarning: "is" with a literal. Did you mean "=="? if file_format is 'stl': 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 1206, in _gcd_import File "", line 1178, in _find_and_load File "", line 1149, 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 docs/build/html. find /<>/docs/build/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:240: 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.2, pytest-7.2.1, pluggy-1.0.0+repack 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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:1650: 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/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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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[cython] /usr/lib/python3/dist-packages/Cython/Tempita/__init__.py:4: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from ._tempita import * .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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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:901: 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 695.50s (0:11:35) = E: pybuild pybuild:388: 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-03-19T06:52:51Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: ppc64el Build Type: any Build-Space: 529948 Build-Time: 996 Distribution: lunar-proposed Fail-Stage: build Host Architecture: ppc64el Install-Time: 243 Job: pysph_1.0~b1-5build1.dsc Machine Architecture: ppc64el Package: pysph Package-Time: 1241 Source-Version: 1.0~b1-5build1 Space: 529948 Status: attempted Version: 1.0~b1-5build1 -------------------------------------------------------------------------------- Finished at 2023-03-19T06:52:51Z Build needed 00:20:41, 529948k disk space E: Build failure (dpkg-buildpackage died) RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=lunar --arch=ppc64el PACKAGEBUILD-25663373 Scanning for processes to kill in build PACKAGEBUILD-25663373