Closed ytooyama closed 1 year ago
Software versions are as follows:
//MLNX_OFED Driver:
MLNX_OFED_LINUX-5.4-3.5.8.0-rhel8.6-x86_64
# rpm -q cuda
cuda-11.8.0-1.x86_64
# uname -srv
Linux 4.18.0-372.26.1.el8_6.x86_64 #1 SMP Sat Aug 27 02:44:20 EDT 2022
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.6 (Ootpa)
fac8972c3146d61620d60161df028bb9ae78dd1e makes PG-Strom compilable to PG15, but not tested yet.
fac8972...Build Success. but didn't work postgresql-15.service. 441ae38c...Build Success. but didn't work postgresql-15.service.
-- Unit postgresql-15.service has begun starting up.
Oct 25 04:02:18 ml110gen9.maas postmaster[332717]: 2022-10-25 04:02:18.695 UTC [332717] LOG: NVRTC 11.8 is successfully loaded.
Oct 25 04:02:18 ml110gen9.maas postmaster[332717]: 2022-10-25 04:02:18.695 UTC [332717] LOG: HeteroDB Extra module is not available
Oct 25 04:02:18 ml110gen9.maas postmaster[332717]: 2022-10-25 04:02:18.695 UTC [332717] LOG: PG-Strom version 3.3 built for PostgreSQL 15 (git: 441ae38c31d6b93f9bc57a26a170d8e12e43b588)
Oct 25 04:02:18 ml110gen9.maas postmaster[332717]: 2022-10-25 04:02:18.695 UTC [332717] FATAL: cannot request additional shared memory outside shmem_request_hook
Oct 25 04:02:18 ml110gen9.maas postmaster[332717]: 2022-10-25 04:02:18.695 UTC [332717] LOG: database system is shut down
Oct 25 04:02:18 ml110gen9.maas systemd[1]: postgresql-15.service: Main process exited, code=exited, status=1/FAILURE
Oct 25 04:02:18 ml110gen9.maas systemd[1]: postgresql-15.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit postgresql-15.service has entered the 'failed' state with result 'exit-code'.
Oct 25 04:02:18 ml110gen9.maas systemd[1]: Failed to start PostgreSQL 15 database server.
-- Subject: Unit postgresql-15.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit postgresql-15.service has failed.
--
-- The result is failed.
@kaigai any updates? PG 15 is already out.
263e2236da2ceef96a05f47164e72c5da1e9c701 should fix the problem.
Indeed, PG15 changed API around RequestAddinShmemSpace
@kaigai thanks, but I need a release to build the RPMs. Any chance you can release a new version? Thanks!
After some more checks. Please wait for the next week.
Thanks!
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.6 (Ootpa)
# uname -srv
Linux 4.18.0-372.32.1.el8_6.x86_64 #1 SMP Fri Oct 7 12:35:10 EDT 2022
# dnf install postgresql15-devel postgresql15-server
# git clone -b v3.4 https://github.com/heterodb/pg-strom.git
# cd pg-strom
# git switch -c v3.4
# make PG_CONFIG=/usr/pgsql-15/bin/pg_config
# make install PG_CONFIG=/usr/pgsql-15/bin/pg_config
# systemctl start postgresql-15.service
I'm tried make install of PG-Strom 3.4. It worked fine.
I am using a tarball of pg-strom v3.3-2 downloaded from swdc. pg_strom fails to build against v15. Can you please take a look?
英語が下手なので日本語でも。 pg-strom v3.3-2のtarballを使ってビルドしたところIssueのようなエラーでmakeが通りませんでした。どのブランチ、タグを指定してチェックすると良いでしょうか?ちなみにPostgreSQL 14.5ではPG_CONFIG のPathを/usr/pgsql-14に書き換えるくらいで同じ方法でmake,buildは通っています。