mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > And now for something completely different

Reply
 
Thread Tools
Old 2022-11-30, 16:27   #23
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5×29×31 Posts
Default

Quote:
Originally Posted by EdH View Post
No Joy! ... and, even added /usr/local/lib to my PATH. No progress was made.
Did you export LD_LIBRARY_PATH? See this.

Last fiddled with by paulunderwood on 2022-11-30 at 16:30
paulunderwood is offline   Reply With Quote
Old 2022-11-30, 16:38   #24
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

22·5·263 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Did you export LD_LIBRARY_PATH? See this.
No. This is not familiar to me, but I may have fixed it. I rebooted the machine and all seems 100% happy, including Primo certs, I guess that was needed for the installs to finalize?

Thanks for all your help.


* Actually exporting to LD_LIBRARY_PATH is familiar in that I used it for GPU stuff, but otherwise I'm not familiar with it and it never has anything in it.

Last fiddled with by EdH on 2022-11-30 at 16:40
EdH is offline   Reply With Quote
Old 2022-11-30, 17:18   #25
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

2×73×17 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Did you export LD_LIBRARY_PATH? See this.
Further, it might not be in /usr/local/lib

find / -name libmpfrcx.so -ls | more

should dig it out for you (though it may be hidden in a bunch of clutter from inaccessible directories).

On my machine it gives:

pcl@thoth:~$ find / -name libmpfrcx.so -ls | more
109188130 0 lrwxrwxrwx 1 root root 18 May 8 2022 /usr/local/lib/libmpfrcx.so -> libmpfrcx.so.1.2.3
pcl@thoth:~$
xilman is offline   Reply With Quote
Old 2022-11-30, 18:48   #26
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

22×5×263 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Did you export LD_LIBRARY_PATH? See this.
I guess I'm even more confused now. Both the correct way and the incorrect way look the same to me at this page. Or, is that what they are trying to show - that the correct way is incorrect?

find didn't find it anywhere on the newly installed working machine, only 2k+ "permission denied" lines as far as I could tell.

Setting the LD_LIBRARY_PATH did the trick with one of the other non-working machines. I "think" I'm all good to go now.

Thanks for all the help everyone.
EdH is offline   Reply With Quote
Old 2022-11-30, 19:05   #27
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

10001100011112 Posts
Default

Quote:
Originally Posted by EdH View Post
I guess I'm even more confused now. Both the correct way and the incorrect way look the same to me at this page. Or, is that what they are trying to show - that the correct way is incorrect?

find didn't find it anywhere on the newly installed working machine, only 2k+ "permission denied" lines as far as I could tell.

Setting the LD_LIBRARY_PATH did the trick with one of the other non-working machines. I "think" I'm all good to go now.

Thanks for all the help everyone.
No problem with the helping out.

I must admit I did not set my ROCm library path with LD_LIBRARY_PATH, but merely copied the ".so" to /usr/lib64

Last fiddled with by paulunderwood on 2022-11-30 at 19:12
paulunderwood is offline   Reply With Quote
Old 2022-11-30, 21:51   #28
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

526010 Posts
Default

For completeness, this procedure proved to work from scratch on an Ubuntu 20.04 machine:

- Obtain cm-0.4.1dev (cm-0.4.1dev-41c4bce.tar.gz) from multiprecision.org
- - This had to be found in the News section of the Introduction, labeled "tarball."

- Obtain mpfrcx (mpfrcx-0.6.3.tar.gz) from multiprecision.org

- untar both packages

- sudo apt install mpc libmpc-dev libmpfr-dev libpari-dev

- move into mpfrcx directory
- - ./configure
- - make
- - make check
- - sudo make install

- whereis libmpfrcx.so.1 This showed it in /usr/local/lib, which is used in the next step.
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/

- move into cm directory
- - ./configure
- - make --enable-mpi
- - make check
- - sudo make install

I then tested both ecpp and ecpp-mpi and uploaded the .primo certificates, without any change, to factordb.com.

After that, I rebooted the machine, tried again and all went well.
EdH is offline   Reply With Quote
Old 2023-01-12, 20:10   #29
bur
 
bur's Avatar
 
Aug 2020
79*6581e-4;3*2539e-3

29316 Posts
Default

Just for the record, I had similar troubles with messages about a missing shared object and I could solve it by running sudo ldconfig. Not sure if it's applicable in your case and you solved it anyway, but could still be worthwhile for the future. :)
bur is offline   Reply With Quote
Old 2023-01-12, 23:23   #30
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

122148 Posts
Default

Thanks for posting. It may help someday, as you suggest.
EdH is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gpuowl Windows builds kriesel GpuOwl 34 2022-12-10 19:18
Would Personal Builds run win-11? a1call Hardware 29 2021-11-27 14:42
Apparent Ubuntu Version Troubles with ecmpi EdH GMP-ECM 1 2020-05-04 13:16
ARM builds and SIMD-assembler prospects ewmayer Mlucas 183 2019-02-25 08:17
Running 32-bit builds on a Win7 system ewmayer Programming 34 2010-10-18 22:36

All times are UTC. The time now is 22:45.


Mon Feb 6 22:45:24 UTC 2023 up 172 days, 20:13, 1 user, load averages: 1.05, 1.09, 1.08

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

โ‰  ยฑ โˆ“ รท ร— ยท โˆ’ โˆš โ€ฐ โŠ— โŠ• โŠ– โŠ˜ โŠ™ โ‰ค โ‰ฅ โ‰ฆ โ‰ง โ‰จ โ‰ฉ โ‰บ โ‰ป โ‰ผ โ‰ฝ โŠ โŠ โŠ‘ โŠ’ ยฒ ยณ ยฐ
โˆ  โˆŸ ยฐ โ‰… ~ โ€– โŸ‚ โซ›
โ‰ก โ‰œ โ‰ˆ โˆ โˆž โ‰ช โ‰ซ โŒŠโŒ‹ โŒˆโŒ‰ โˆ˜ โˆ โˆ โˆ‘ โˆง โˆจ โˆฉ โˆช โจ€ โŠ• โŠ— ๐–• ๐–– ๐–— โŠฒ โŠณ
โˆ… โˆ– โˆ โ†ฆ โ†ฃ โˆฉ โˆช โŠ† โŠ‚ โŠ„ โŠŠ โŠ‡ โŠƒ โŠ… โŠ‹ โŠ– โˆˆ โˆ‰ โˆ‹ โˆŒ โ„• โ„ค โ„š โ„ โ„‚ โ„ต โ„ถ โ„ท โ„ธ ๐“Ÿ
ยฌ โˆจ โˆง โŠ• โ†’ โ† โ‡’ โ‡ โ‡” โˆ€ โˆƒ โˆ„ โˆด โˆต โŠค โŠฅ โŠข โŠจ โซค โŠฃ โ€ฆ โ‹ฏ โ‹ฎ โ‹ฐ โ‹ฑ
โˆซ โˆฌ โˆญ โˆฎ โˆฏ โˆฐ โˆ‡ โˆ† ฮด โˆ‚ โ„ฑ โ„’ โ„“
๐›ข๐›ผ ๐›ฃ๐›ฝ ๐›ค๐›พ ๐›ฅ๐›ฟ ๐›ฆ๐œ€๐œ– ๐›ง๐œ ๐›จ๐œ‚ ๐›ฉ๐œƒ๐œ— ๐›ช๐œ„ ๐›ซ๐œ… ๐›ฌ๐œ† ๐›ญ๐œ‡ ๐›ฎ๐œˆ ๐›ฏ๐œ‰ ๐›ฐ๐œŠ ๐›ฑ๐œ‹ ๐›ฒ๐œŒ ๐›ด๐œŽ๐œ ๐›ต๐œ ๐›ถ๐œ ๐›ท๐œ™๐œ‘ ๐›ธ๐œ’ ๐›น๐œ“ ๐›บ๐œ”