Moreton, Peter schrieb: > I'm trying to compile Prime95, v24.14 using Visual Studio 2005, X64. The > reason? - well, I'm playing about with a Quad-core Opteron workstation, and > wanted to see if it might be possible to 'decompose' the Lucas-Lehmer code > over 4 CPU cores. Also, I have an FPGA co-processor device to try out.... > > Anyhow, the build issues I am seeing are: > > 1/ "security.c" is missing from the zipfile. I guess this is to stop people > producing errant Prime95's that can connect to the Primenet server, > masquerading as the real program. Does anyone know how to get around this > problem? (I commented out security.c and the compile now gets further, but > I'm certain this missing file will bite me in the future) > > 2/ When I "nmake /f Compil64", I get masses of errors compiling the assembler > files, of the type: > > Assembling: xmult1.asm > unravel.mac(10) : error A2008: syntax error : rax > unravel.mac(11) : error A2008: syntax error : rbx > unravel.mac(12) : error A2008: syntax error : rcx > unravel.mac(17) : error A2008: syntax error : rsp
Hello, I didn't try the same, but will try to help :) Does ml64.exe get called correctly? It looks like X86_64 isn't defined and MASM tries to execute the macros for 32 bit mode (see unravel.mac). So you want to build a FFT spread over 4 cores? Will be a difficult task doing the change directly in the asm code. Or are you planning to do just the smaller sized FFTs per core using the ASM macros? How many memory banks do you have there? I'm interested in bench results :) Regards, Matthias _______________________________________________ Prime mailing list [email protected] http://hogranch.com/mailman/listinfo/prime
