Go Back > Extra Stuff > Blogorrhea > EdH

Thread Tools
Old 2018-02-23, 14:43   #1
EdH's Avatar
"Ed Hall"
Dec 2009
Adirondack Mtns

4,877 Posts
Default How I Install msieve onto my Ubuntu Machines

(Note: I expect to keep the first post of each of these "How I Install..." threads up-to-date with the latest version. Please read the rest of each thread to see what may have led to the current set of instructions.)

This thread will explain the steps I use to install* msieve onto a computer which is already running Ubuntu. This procedure should work for other linux distributions as well but the only other one I've currently tested is Debain.

*In this instance "install" is referring to the acquiring and compilation of the msieve package only. The binary will have to be called using its respective path.

I will expect the user of these steps to be able to use the sudo command.

I will use a directory called Math for these installations. You may elect to replace "Math" with your own choice.

These instructions can be used as a reference only, if you want, but I will provide specifics that work for me. If you follow these steps as I provide them, you should end up with a working installation.

First, follow the procedures in:

How I Install GMP onto my Ubuntu Machines (Optionally, if you would prefer to use the repository version of GMP, you can add "libgmp-dev" to the install list below.)
How I Install GMP-ECM onto my Ubuntu Machines

If you have already installed the following packages, you can skip the next two steps, although performing them wouldn't hurt anything.

Open a terminal and Enter:
sudo apt-get update
You should be prompted for your password. This prompt should only appear once for your terminal session, unless you leave it idle for a long time.

After the update completes and the user prompt reappears, type:
sudo apt-get install g++ m4 zlib1g-dev make p7zip subversion
Accept the prompt.

Download the msieve package:
svn co $HOME/Math/msieve
Move into the msieve folder:
cd Math/msieve
Now you have a choice to make. If you will be installing YAFU, then you need to use the NO_ZLIB switch.

If you will be installing YAFU, compile msieve with the following:
make all ECM=1 NO_ZLIB=1
Otherwise, use:
make all ECM=1
Note: There are other switches to compile msieve for use with GPUs and/or clusters. I will not be covering those options here.

Return to your home directory:
cd ~/
You can check your installation by running a test factor instance:
Math/msieve/msieve -v 115367564564210182766242534110944507919869313713243756429
You should see something like:
Msieve v. 1.53 (SVN 993)
Sun Aug 30 08:06:40 2020
random seeds: 02fd7c73 6110f1e7
factoring 115367564564210182766242534110944507919869313713243756429 (57 digits)
p7 factor: 3387679
p50 factor: 34055046113935288073705488067477617542827792631251
elapsed time 00:00:00
Or, you can open the log with your preferred text editor. To learn more about msieve see the Readme files located in the msieve directory or try msieve/msieve -h.

Last fiddled with by EdH on 2020-09-04 at 18:34
EdH is online now   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
How I Install ggnfs onto my Ubuntu Machines EdH EdH 2 2022-08-11 02:16
How I install YAFU onto my Ubuntu Machines EdH EdH 118 2021-09-29 12:42
How I Install CADO-NFS onto my Ubuntu Machines EdH EdH 3 2019-06-24 03:42
How I Install GMP-ECM onto my Ubuntu Machines EdH EdH 12 2019-04-16 09:28
How I Install GMP onto my Ubuntu Machines EdH EdH 0 2018-02-21 23:48

All times are UTC. The time now is 16:57.

Tue Sep 27 16:57:25 UTC 2022 up 40 days, 14:25, 1 user, load averages: 1.16, 1.69, 1.67

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.

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