![]() |
1 Attachment(s)
Now I get a lot of these errors:
[CODE]ar: Erzeugen von libynfs.a ranlib libynfs.a cc -g -DUSE_SSE2 -DUSE_AVX2 -DUSE_SSE41 -mavx2 -DUSE_SSE41 -m64 -msse4.1 -DUSE_NFS -O2 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/cmdParser -Itop/ -I../msieve/zlib -I../ysieve -I../ytools -I/usr/local/include/ -I/usr/local/include/ top/driver.o top/test.o factor/tune.o factor/autofactor.o top/cmdParser/cmdOptions.o top/cmdParser/calc.o -o yafu -lysiqs -lyecm -lynfs -L../ysieve -L../ytools -L. -L/usr/local/lib/ -L/usr/local/lib/ -lecm /usr/local/lib/libgmp.a -lytools -lysieve -lpthread -lm -ldl /usr/bin/ld: ./libynfs.a(nfs_poly.o): in function `init_poly_threaddata': /home/florian/Math/yafu/factor/nfs/nfs_poly.c:881: undefined reference to `msieve_obj_new' . . . /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:511: undefined reference to `msieve_obj_new' /usr/bin/ld: ./libynfs.a(nfs_postproc.o): in function `do_msieve_filtering': /home/florian/Math/yafu/factor/nfs/nfs_postproc.c:103: undefined reference to `nfs_filter_relations' [/CODE]msieve is in ../msieve ytools is in ../ytools ysieve is in ../ysieve gmp and ecm libs and includes are in /usr/local/lib and /usr/local/include Any idea what could be missing? I attached the Makefile (copy&paste from terminal to Windows, so there might be formatting errors). Any help is greatly appreciated. |
Typo.
LIB += -L../msieve/ should be LIBS += -L../msieve/ |
Sorry to be a bit ignorant here, but how can I download the txt files? When I clicked on the windows executable I got a download button, but I don't get one for docfile.txt, README and yafu.ini.
|
[QUOTE=BudgieJane;577146]Sorry to be a bit ignorant here, but how can I download the txt files? When I clicked on the windows executable I got a download button, but I don't get one for docfile.txt, README and yafu.ini.[/QUOTE]
I don't know about individual files, but if you don't want to clone, then from the top level page ([url]https://github.com/bbuhrow/yafu[/url]) there is a "code" pulldown where you can download a .zip of the selected branch. |
[QUOTE=bsquared;577149]I don't know about individual files, but if you don't want to clone, then from the top level page ([url]https://github.com/bbuhrow/yafu[/url]) there is a "code" pulldown where you can download a .zip of the selected branch.[/QUOTE]
Thank you. |
AMD Threadripper 1950X feature set
YAFU says:
[CODE]For InfoType 0 CPUInfo[0] = 0xd CPUInfo[1] = 0x68747541 CPUInfo[2] = 0x444d4163 CPUInfo[3] = 0x69746e65 For InfoType 1 CPUInfo[0] = 0x800f11 CPUInfo[1] = 0xa200800 CPUInfo[2] = 0x7ed8320b CPUInfo[3] = 0x178bfbff For InfoType 2 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 3 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 4 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 5 CPUInfo[0] = 0x40 CPUInfo[1] = 0x40 CPUInfo[2] = 0x3 CPUInfo[3] = 0x0 For InfoType 6 CPUInfo[0] = 0x4 CPUInfo[1] = 0x0 CPUInfo[2] = 0x1 CPUInfo[3] = 0x0 For InfoType 7 CPUInfo[0] = 0x0 CPUInfo[1] = 0x209c01a9 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 9 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 10 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 11 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 12 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 13 CPUInfo[0] = 0x7 CPUInfo[1] = 0x340 CPUInfo[2] = 0x340 CPUInfo[3] = 0x0 For InfoType 80000000 CPUInfo[0] = 0x8000001f CPUInfo[1] = 0x68747541 CPUInfo[2] = 0x444d4163 CPUInfo[3] = 0x69746e65 For InfoType 80000001 CPUInfo[0] = 0x800f11 CPUInfo[1] = 0x70000000 CPUInfo[2] = 0x35c233ff CPUInfo[3] = 0x2fd3fbff For InfoType 80000002 CPUInfo[0] = 0x20444d41 CPUInfo[1] = 0x657a7952 CPUInfo[2] = 0x6854206e CPUInfo[3] = 0x64616572 For InfoType 80000003 CPUInfo[0] = 0x70706972 CPUInfo[1] = 0x31207265 CPUInfo[2] = 0x58303539 CPUInfo[3] = 0x2d363120 For InfoType 80000004 CPUInfo[0] = 0x65726f43 CPUInfo[1] = 0x6f725020 CPUInfo[2] = 0x73736563 CPUInfo[3] = 0x20726f For InfoType 80000005 CPUInfo[0] = 0xff40ff40 CPUInfo[1] = 0xff40ff40 CPUInfo[2] = 0x20080140 CPUInfo[3] = 0x40040140 For InfoType 80000006 CPUInfo[0] = 0x36006400 CPUInfo[1] = 0x56006400 CPUInfo[2] = 0x2006140 CPUInfo[3] = 0x100a140 For InfoType 80000007 CPUInfo[0] = 0x0 CPUInfo[1] = 0x1b CPUInfo[2] = 0x0 CPUInfo[3] = 0x6599 For InfoType 80000008 CPUInfo[0] = 0x3030 CPUInfo[1] = 0x1007 CPUInfo[2] = 0x501f CPUInfo[3] = 0x0 For InfoType 80000009 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000000a CPUInfo[0] = 0x1 CPUInfo[1] = 0x8000 CPUInfo[2] = 0x0 CPUInfo[3] = 0x1bcff For InfoType 8000000b CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000000c CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000000d CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000000e CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000000f CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000010 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000011 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000012 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000013 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000014 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000015 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000016 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000017 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000018 CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 80000019 CPUInfo[0] = 0xf040f040 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000001a CPUInfo[0] = 0x3 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000001b CPUInfo[0] = 0x3ff CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000001c CPUInfo[0] = 0x0 CPUInfo[1] = 0x0 CPUInfo[2] = 0x0 CPUInfo[3] = 0x0 For InfoType 8000001d CPUInfo[0] = 0x4121 CPUInfo[1] = 0x1c0003f CPUInfo[2] = 0x3f CPUInfo[3] = 0x0 For InfoType 8000001e CPUInfo[0] = 0xa CPUInfo[1] = 0x105 CPUInfo[2] = 0x100 CPUInfo[3] = 0x0 For InfoType 8000001f CPUInfo[0] = 0x7 CPUInfo[1] = 0x16f CPUInfo[2] = 0xf CPUInfo[3] = 0x1 CPU String: AuthenticAMD Stepping ID = 1 Model = 1 Family = 15 Extended family = 8 CLFLUSH cache line size = 64 Logical Processor Count = 32 APIC Physical ID = 10 The following features are supported: SSE3 MONITOR/MWAIT Supplemental Streaming SIMD Extensions 3 L1 Context ID CMPXCHG16B Instruction SSE4.1 Extensions SSE4.2 Extensions AVX Extensions PPOPCNT Instruction x87 FPU On Chip Virtual-8086 Mode Enhancement Debugging Extensions Page Size Extensions Time Stamp Counter RDMSR and WRMSR Support Physical Address Extensions Machine Check Exception CMPXCHG8B Instruction APIC On Chip SYSENTER and SYSEXIT Memory Type Range Registers PTE Global Bit Machine Check Architecture Conditional Move/Compare Instruction Page Attribute Table 36-bit Page Size Extension CFLUSH Extension MMX Technology FXSAVE/FXRSTOR SSE Extensions SSE2 Extensions Multithreading Technology LAHF/SAHF in 64-bit mode Core multi-processing legacy mode Secure Virtual Machine Extended APIC Register Space AltMovCr8 LZCNT instruction SSE4A (EXTRQ, INSERTQ, MOVNTSD, MOVNTSS) Misaligned SSE mode PREFETCH and PREFETCHW Instructions SKINIT and DEV support SYSCALL/SYSRET in 64-bit mode Execute Disable Bit 1GB page support RDTSCP instruction 64 bit Technology Nested Paging LBR Visualization FP128 optimization MOVU Optimization CPU Brand String: AMD Ryzen Threadripper 1950X 16-Core Processor Cache Line Size = 64 L2 Associativity = 6 Cache Size = 512K EAX=7 CPUID feature bits: EAX=00000000 EBX=209c01a9 ECX=00000000 EDX=00000000 AVX2 Extensions BMI2 Extensions YAFU Version 2.0 Built with Microsoft Visual Studio 1928 Using GMP-ECM 7.0.4, Powered by MPIR 3.0.0 Detected AMD Ryzen Threadripper 1950X 16-Core Processor Detected L1 = 32768 bytes, L2 = 33554432 bytes, CL = 64 bytes Using 1 random witness for Rabin-Miller PRP checks Cached 664579 primes; max prime is 9999991 =============================================================== ======= Welcome to YAFU (Yet Another Factoring Utility) ======= ======= bbuhrow@gmail.com ======= ======= Type help at any time, or quit to quit ======= =============================================================== >>[/CODE] y-cruncher says: [CODE]y-cruncher v0.7.8 Build 9507 Detecting Environment... CPU Vendor: AMD = Yes Intel = No OS Features: * 64-bit = Yes * OS AVX = Yes * OS AVX512 = No Hardware Features: MMX = Yes * x64 = Yes * ABM = Yes RDRAND = Yes RDSEED = Yes BMI1 = Yes * BMI2 = Yes * ADX = Yes MPX = No PREFETCHW = Yes PREFETCHWT1 = No RDPID = No GFNI = No VAES = No SIMD: 128-bit * SSE = Yes * SSE2 = Yes * SSE3 = Yes * SSSE3 = Yes SSE4a = Yes * SSE4.1 = Yes * SSE4.2 = Yes AES-NI = Yes SHA = Yes SIMD: 256-bit * AVX = Yes XOP = No * FMA3 = Yes * FMA4 = No * AVX2 = Yes SIMD: 512-bit * AVX512-F = No AVX512-CD = No AVX512-PF = No AVX512-ER = No * AVX512-VL = No * AVX512-BW = No * AVX512-DQ = No * AVX512-IFMA = No * AVX512-VBMI = No Alright Intel, how many drinks have you had tonight? AVX512-VPOPCNTDQ = No AVX512-4FMAPS = No AVX512-4VNNIW = No AVX512-VBMI2 = No AVX512-VPCLMUL = No AVX512-VNNI = No AVX512-BITALG = No AVX512-BF16 = No Auto-Selecting: 17-ZN1 ~ Yukina[/CODE] |
[QUOTE=bsquared;577144]Typo.
LIB += -L../msieve/ should be LIBS += -L../msieve/[/QUOTE]Thanks, unfortunately I still get the same error. |
[QUOTE=bur;577305]Thanks, unfortunately I still get the same error.[/QUOTE]
Are you building with NFS=1? e.g., something like: make yafu NFS=1 USE_AVX2=1 |
Yes, I forgot to mention, I use this [c]make NFS=1 USE_SSE41=1 USE_AVX2=1[/c]
|
And the file ../msieve/libmsieve.a exists relative to your yafu makefile? If so, and you use that build line, then I don't know what's going on: you will probably have to post more about the errors you are seeing.
|
[QUOTE=bsquared;577315]And the file ../msieve/libmsieve.a exists relative to your yafu makefile? If so, and you use that build line, then I don't know what's going on: you will probably have to post more about the errors you are seeing.[/QUOTE]Here's what I did:[CODE]git clone https://github.com/bbuhrow/yafu
cd yafu make NFS=1 USE_SSE41=1 USE_AVX=1 [/CODE]This is the output of the failed building of libynfs.a (if you need all I don't know how to transfer all that text from ssh, so I'd do it on monday): [CODE]ranlib libynfs.a cc -g -DUSE_SSE2 -DUSE_SSE41 -m64 -msse4.1 -DUSE_NFS -O2 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/cmdParser -Itop/ -I../msieve/zlib/ -I../ysieve/ -I../ytools/ -I=../msieve/include/ -I../msieve/ -I/usr/local/include/ -I/usr/local/include/ top/driver.o top/test.o factor/tune.o factor/autofactor.o top/cmdParser/cmdOptions.o top/cmdParser/calc.o -o yafu -lysiqs -lyecm -lynfs -L../ysieve/ -L../ytools/ -L. -L/usr/local/lib/ -L/usr/local/lib/ -L../msieve/ -lecm /usr/local/lib/libgmp.a -lytools -lysieve -lpthread -lm -ldl /usr/bin/ld: ./libynfs.a(nfs_poly.o): in function `init_poly_threaddata': /home/florian/Math/yafu/factor/nfs/nfs_poly.c:881: undefined reference to `msieve_obj_new' /usr/bin/ld: ./libynfs.a(nfs_poly.o): in function `polyfind_launcher': /home/florian/Math/yafu/factor/nfs/nfs_poly.c:942: undefined reference to `factor_gnfs' /usr/bin/ld: ./libynfs.a(nfs_poly.o): in function `do_msieve_polyselect': /home/florian/Math/yafu/factor/nfs/nfs_poly.c:681: undefined reference to `msieve_obj_free' /usr/bin/ld: ./libynfs.a(nfs_filemanip.o): in function `savefile_concat': /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:33: undefined reference to `savefile_open' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:42: undefined reference to `savefile_write_line' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:46: undefined reference to `savefile_flush' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:47: undefined reference to `savefile_close' /usr/bin/ld: ./libynfs.a(nfs_filemanip.o): in function `check_existing_files': /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:135: undefined reference to `savefile_exists' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:354: undefined reference to `savefile_exists' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:437: undefined reference to `savefile_open' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:438: undefined reference to `savefile_read_line' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:439: undefined reference to `savefile_eof' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:457: undefined reference to `savefile_read_line' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:458: undefined reference to `savefile_eof' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:473: undefined reference to `savefile_close' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs_filemanip.c:441: undefined reference to `savefile_close' /usr/bin/ld: ./libynfs.a(snfs.o): in function `analyze_one_poly_xface': /home/florian/Math/yafu/factor/nfs/snfs.c:2905: undefined reference to `msieve_obj_new' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/snfs.c:2910: undefined reference to `analyze_one_poly' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/snfs.c:2946: undefined reference to `msieve_obj_free' /usr/bin/ld: ./libynfs.a(snfs.o): in function `approx_norms': /home/florian/Math/yafu/factor/nfs/snfs.c:287: undefined reference to `eval_poly' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/snfs.c:290: undefined reference to `eval_poly' /usr/bin/ld: ./libynfs.a(nfs.o): in function `nfs': /home/florian/Math/yafu/factor/nfs/nfs.c:210: undefined reference to `msieve_obj_new' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:250: undefined reference to `factor_list_init' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:251: undefined reference to `factor_list_add' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:917: undefined reference to `msieve_obj_free' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:561: undefined reference to `nfs_find_factors' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:451: undefined reference to `msieve_obj_free' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:452: undefined reference to `msieve_obj_new' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:461: undefined reference to `nfs_solve_linear_system' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:510: undefined reference to `msieve_obj_free' /usr/bin/ld: /home/florian/Math/yafu/factor/nfs/nfs.c:511: undefined reference to `msieve_obj_new' /usr/bin/ld: ./libynfs.a(nfs_postproc.o): in function `do_msieve_filtering': /home/florian/Math/yafu/factor/nfs/nfs_postproc.c:103: undefined reference to `nfs_filter_relations' collect2: error: ld returned 1 exit status make: *** [Makefile:408: yafu] Fehler 1[/CODE]libmsieve.a is there: [CODE]~/Math/yafu$ ls ../msieve/libmsieve.a -l -rw-rw-r-- 1 florian florian 1120358 Apr 20 16:54 ../msieve/libmsieve.a[/CODE] |
All times are UTC. The time now is 01:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.