Skip to content

CplusHua01/yafu-setup-package

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAFU Build Automation Package

Automate the (grueling) build process for YAFU with NFS support! This is meant to be used on 64bit systems only. It is likely the case that either the build or the YAFU binary produced by this will fail on a 32-bit system.

Read more at http://bowser.pw/misc/yafu_setup_package

Building

I have written a make script to do all the work for you. Be sure to read caveats at the bottom.

You may specify compile options for the various programs and libraries.

Of interest are 'CUDA=1' and 'OPENMP=1', which may be specified in 'MSIEVE_OPTS', and 'USE_SSE41=1' which may be specified in 'YAFU_OPTS'.

Once you are ready to build, run make all. I would highly suggest that you specify the maximum threadcount supported by your system, (e.g. -j4).

Once compilation is finished, YAFU will be usable inside of the yafu-XXXXXX folder, or can be had in /prefix/bin. If you opt to use the YAFU in /prefix you will need to fill out the yafu.ini file properly. You may refer to the yafu.ini inside /prefix/share for the correct paths and what have you.

Caveats

I have done my best to put together the makefile and modify the other makefiles as needed. This compiles without issue on my system, and should take little to no effort on your part.

That being said, please do not attempt to use this from a path that contains spaces. I looked in to this edge case, but found that mitigating it simply made the other Makefiles very upset.

Happy Factoring, King Bowser.

About

All resources necessary to compile YAFU with NFS support on 64-bit linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 59.2%
  • Assembly 26.3%
  • Shell 4.4%
  • C++ 4.0%
  • Cuda 2.0%
  • TeX 1.8%
  • Other 2.3%