heterodb / pg-strom

PG-Strom - Master development repository
http://heterodb.github.io/pg-strom/
Other
1.27k stars 163 forks source link

[VTJ-JP] Can't enable extension (rpm package bug ?) #753

Closed ytooyama closed 2 months ago

ytooyama commented 2 months ago

env

[postgres@inspiron-3881 ~]$ psql
psql (15.6)
Type "help" for help.

postgres=# \c testdb
You are now connected to database "testdb" as user "postgres".
testdb=# CREATE EXTENSION pg_strom;
ERROR:  extension "pg_strom" has no installation script nor update path for version "5.1"
testdb=# exit
$ exit
logout

$ rpm -q pg_strom-PG15
pg_strom-PG15-5.1-0.el9.x86_64

$ journalctl -u postgresql-15
Apr 17 18:25:43 inspiron-3881.local.tooyama.org systemd[1]: Starting PostgreSQL 15 database server...
Apr 17 18:25:43 inspiron-3881.local.tooyama.org postmaster[14858]: 2024-04-17 18:25:43.756 JST [14858] LOG:  HeteroDB Extra module is not available
Apr 17 18:25:43 inspiron-3881.local.tooyama.org postmaster[14858]: 2024-04-17 18:25:43.756 JST [14858] LOG:  PG-Strom version 5.1.0 built for PostgreSQL 15 (githash: )
Apr 17 18:25:45 inspiron-3881.local.tooyama.org postmaster[14858]: 2024-04-17 18:25:45.500 JST [14858] LOG:  PG-Strom binary built for CUDA 12.4 (CUDA runtime 12.4, nvidia kmod: 550.54.15)
...
ytooyama commented 2 months ago

more info..

[postgres@inspiron-3881 ~]$ /usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Mar_28_02:18:24_PDT_2024
Cuda compilation tools, release 12.4, V12.4.131
Build cuda_12.4.r12.4/compiler.34097967_0
kaigai commented 2 months ago

しまった。pg_strom--5.0--5.1.sql をパッケージに入れ忘れていた。。。 あとで直します。

kaigai commented 2 months ago

パッケージを差し替えました。 もう一度DLしてやってみてください。。。

ytooyama commented 2 months ago

行けましたが、同じバージョンのままで差し替えてしまったので、dnf updateでは落ちてきませんでした。 dnf reinstall pg_strom-PG15sudo dnf reinstall ./pg_strom-PG15-5.1-0.el9.x86_64.rpmが必要でした。

kaigai commented 2 months ago

慌ててやるとよくない。🙄

ytooyama commented 2 months ago

動作確認取れましたので、Closeにします。