mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2015-10-14, 21:27   #23
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

24·73 Posts
Default

Quote:
Originally Posted by henryzz View Post
If you have 5.5 installed then you should have the correct dlls(or Linux equivalent) as long as you have set up the environment variable to point to it.
I am not sure what the situation is if you have two versions installed on Linux.
Have you been able to find a binary? It should complain if you run it asking for dlls.
I have no binary, and have not gotten 5.5 installed (I installed the repo package, but didn't realize it failed to install CUDA). I did manage to fully uninstall 7.5, which is a start. I learned the repo for 5.5 doesn't install on 14.04, and the .run rejects the compiler (gcc 4.8.4) as incorrect (too new?). I am slightly annoyed at Nvidia, but not sharp enough with compilers and installers to know what to do next. I think this maze of what supports what is a bit of why xyzzy sold me the card!

Since I do only use this machine for NFS/ECM, I guess I could install 12.04 fresh, which is specifically supported by CUDA 5.5 installer...? msieve poly search is my first interest for this card, with llrCUDA second and some mersenne factoring or primegrid sieving a minor interest.
VBCurtis is offline   Reply With Quote
Old 2015-12-04, 21:06   #24
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

24×73 Posts
Default

I finally got this resolved, and GPU poly select is running on formerly-xyzzy's 750ti under Ubuntu 14.04.

Thanks in particular to RichD, who worked extensively with me via PM to troubleshoot, even built me a binary in case my own inexperience with compilation was the problem. I am running his binary presently.
VBCurtis is offline   Reply With Quote
Old 2015-12-05, 14:23   #25
efiGeek
 
Dec 2015

10012 Posts
Default

Quote:
Originally Posted by D. B. Staple View Post
For reference, here are build instructions. Starting from a fresh install of Ubuntu Server 14.04.1 LTS 64-bit, the following will get you up and running with GGNFS (GitHub commit 3490572ca8, Apr. 23, 2011), Msieve (SF SVN revision 975, Sep. 30, 2014), and factmsieve.py (version 0.77, MersenneForum.org, Aug 27, 2013).

Thank you EdH for your help working this out.

Code:
#!/bin/bash

# Install some dependencies
sudo apt-get install g++ subversion m4 wget zlib1g-dev make libgmp-dev gmp-ecm libecm-dev unzip

# Download & compile GGNFS
wget https://github.com/radii/ggnfs/archive/master.zip
unzip master.zip
mv ggnfs-master ggnfs
pushd ggnfs
make x86_64
popd

# Download & compile Msieve
svn co https://svn.code.sf.net/p/msieve/code/trunk msieve
pushd msieve
make all NO_ZLIB=1 ECM=1
popd

# Download & configure factmsieve.py
# factmsieve.77.zip comes from http://www.mersenneforum.org/showthread.php?t=12981&page=65
wget "http://www.mersenneforum.org/attachment.php?attachmentid=10171&d=1377631047" -O factmsieve.77.zip
unzip -o factmsieve.77.zip
chmod +x factmsieve.py
cp factmsieve.py factmsieve_original.py
sed -i '1i #!/usr/bin/env python' factmsieve.py
sed -i "s/GGNFS_REL_PATH = '..\/bin\/x64\/Release\/'/GGNFS_REL_PATH = '.\/ggnfs\/bin\/'/g" factmsieve.py
sed -i "s/MSIEVE_REL_PATH = '..\/..\/msieve\/bin\/x64\/Release\/'/MSIEVE_REL_PATH = '.\/msieve\/'/g" factmsieve.py
sed -i 's/NUM_CORES = 4/NUM_CORES = 6/g' factmsieve.py
sed -i 's/USE_CUDA = True/USE_CUDA = False/g' factmsieve.py
diff factmsieve_original.py factmsieve.py

# Create example input file and run test calculation
echo "n: 2881039827457895971881627053137530734638790825166127496066674320241571446494762386620442953820735453" > example.n
time ./factmsieve.py example
This script is the single best thing someone could have made for GNFS and Msieve. Works perfect with slight changes to match my setup. THANKS!
efiGeek is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadwell new instructions tha Hardware 6 2014-07-18 00:08
Useless SSE instructions __HRB__ Programming 41 2012-07-07 17:43
Project instructions MooooMoo Twin Prime Search 9 2006-06-06 13:30
Instructions to manual LLR? OmbooHankvald PSearch 3 2005-08-05 20:28
Instructions please? jasong Sierpinski/Riesel Base 5 10 2005-03-14 04:03

All times are UTC. The time now is 12:33.


Tue Oct 4 12:33:10 UTC 2022 up 47 days, 10:01, 0 users, load averages: 1.15, 1.32, 1.29

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔