mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 25 of 1000
Search took 0.19 seconds.
Search: Posts Made By: Citrix
Forum: Software 2020-07-03, 06:06
Replies: 430
Views: 25,988
Posted By Citrix
Since 8+2=10 You can do it by 2 bitshift...

Since 8+2=10

You can do it by 2 bitshift operations, 1 addition, 3-4 compare operations, 1 subtraction. Still faster than fkbnsieve for each individual n.
Forum: Software 2020-06-22, 04:39
Replies: 430
Views: 25,988
Posted By Citrix
I downloaded the latest version of mtsieve and...

I downloaded the latest version of mtsieve and compiled it. gcwsievecl.exe does work and did not crash. :smile:

The cl code is not working properly. I will play with it and let you know.

The...
Forum: Software 2020-06-21, 23:09
Replies: 430
Views: 25,988
Posted By Citrix
I tried your file. I have to copy the CL...

I tried your file.
I have to copy the CL folder to mtsieve for it to compile.
gcwsievecl still crashes.
Forum: Lounge 2020-06-08, 01:30
Replies: 53
Views: 2,103
Posted By Citrix
Shouldn't the poll say 'More than $x' instead of...

Shouldn't the poll say 'More than $x' instead of 'less than $x'.

Less than $1000 includes all the options?
Forum: Software 2020-06-07, 03:58
Replies: 430
Views: 25,988
Posted By Citrix
The AMD SDK does have opencl in program files...

The AMD SDK does have opencl in program files folder even though it does not say so. It still did not work.

There is an issue with the compiler
https://community.amd.com/thread/138890

The...
Forum: Other Mathematical Topics 2020-06-06, 19:25
Replies: 15
Views: 1,136
Posted By Citrix
I have been thinking of a generalized version of...

I have been thinking of a generalized version of the above problem
We can define S(n)=S(n-1)+n*(S(n-1)-S(n-2))
For every value of S(0) and S(1) we can get a different sequence (where S(1)>S(0))
...
Forum: Software 2020-06-06, 14:19
Replies: 430
Views: 25,988
Posted By Citrix
The windows version only has openGL. I do not see...

The windows version only has openGL. I do not see an openCL.lib. I tried this yesterday.

I also tried using the headers from the Khronos group (2nd link) and using opencl.dll driver provided by...
Forum: Software 2020-06-06, 05:42
Replies: 430
Views: 25,988
Posted By Citrix
I am using MinGW The first opencl link has...

I am using MinGW

The first opencl link has both .lib and header files
I cannot find AMD SDK online. The one I could find was for openGL.
The code compiles fine but crashes on runtime. All cl...
Forum: Software 2020-06-05, 02:44
Replies: 430
Views: 25,988
Posted By Citrix
https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SD...

https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SDK/releases & https://github.com/KhronosGroup/OpenCL-Headers

I get this error with the latest release



cullen_woodall/CullenWoodallApp.cpp:...
Forum: Software 2020-06-04, 03:15
Replies: 430
Views: 25,988
Posted By Citrix
gcwsievecl.exe -p 3770000000000 -P 4000000000000...

gcwsievecl.exe -p 3770000000000 -P 4000000000000 -b 2 -n 825 -N 1000 -s +



Same error. Crashes after printing banner. Though the gcwsievecl.exe from latest release does work as I mentioned...
Forum: Software 2020-06-04, 01:26
Replies: 430
Views: 25,988
Posted By Citrix
I was able to give this a try by replacing the...

I was able to give this a try by replacing the CullenWoodallWorker class. No improvement. Still crashes.

In the latest build the gcwsievecl does work on my computer.

Would this have to do with...
Forum: Software 2020-05-30, 20:07
Replies: 430
Views: 25,988
Posted By Citrix
Clean build. No luck. still crashes. It does...

Clean build. No luck. still crashes.
It does not work with the original cw_kernel.cl file either.
I am on Windows 10 if that makes a difference.
Forum: Software 2020-05-30, 17:54
Replies: 430
Views: 25,988
Posted By Citrix
You need to add gcwsievecl to ...

You need to add gcwsievecl to

GPU_PROGS=afsievecl mfsievecl gfndsievecl pixsievecl xyyxsievecl

Compiles for me and at least I get
"gcwsievecl.exe -p 3770000000000 -P 4000000000000 -b 2 -n 825...
Forum: Software 2020-05-30, 16:57
Replies: 430
Views: 25,988
Posted By Citrix
Where do you get the new makefile from?

Where do you get the new makefile from?
Forum: Software 2020-05-30, 16:38
Replies: 430
Views: 25,988
Posted By Citrix
Did not compile - "too many paths"

Did not compile - "too many paths"
Forum: Software 2020-05-30, 15:15
Replies: 430
Views: 25,988
Posted By Citrix
It did not work for me. :confused2:

It did not work for me. :confused2:
Forum: Software 2020-05-30, 01:19
Replies: 430
Views: 25,988
Posted By Citrix
Looking at the code more closely - In the...

Looking at the code more closely -

In the make file for linking the *cl files the $(GPUCPPFLAGS) and $(*_GPU_OBJS) is missing so the compiler does not even build the GPU.o files.

I now have

...
Forum: Software 2020-05-29, 23:10
Replies: 430
Views: 25,988
Posted By Citrix
No message, It does crash before the start banner...

No message, It does crash before the start banner is printed. Possibly I am not using the input line correctly.

I am using :- Should I be using something else? Both programs crash for me.


...
Forum: Software 2020-05-29, 02:36
Replies: 430
Views: 25,988
Posted By Citrix
I was finally able to modify the GPU code. I had...

I was finally able to modify the GPU code. I had to do the Perl portion manually. The script did not work for me. It goes into an infinite while loop. The code did compile.

Though I cannot get the...
Forum: Software 2020-05-28, 21:53
Replies: 31
Views: 1,335
Posted By Citrix
I am posting a simpler explanation of the...

I am posting a simpler explanation of the algorithm here - in case some can come up with a faster implementation



Take all the remaining candidates in a range Nmin to Nmax
Let b be the base...
Forum: Software 2020-05-28, 20:41
Replies: 31
Views: 1,335
Posted By Citrix
I did try implementing the algorithm. There...

I did try implementing the algorithm. There possibly is some small bug as it is not producing all the factors. I can't find it right now. I do not have a debugger for GCC to help me.

For base 2
I...
Forum: Software 2020-05-28, 05:25
Replies: 31
Views: 1,335
Posted By Citrix
I am not sure if you understood the algorithm...

I am not sure if you understood the algorithm correctly.
Here is the pseudocode


Given a base b, nmin, nmax, prime p to sieve.

Choose a value C where C<=nmax-nmin && (nmax-nmin+1)%C==0; need...
Forum: Software 2020-05-27, 16:54
Replies: 31
Views: 1,335
Posted By Citrix
I am suggesting using a few more primes, other...

I am suggesting using a few more primes, other than 2, like 3,5,7,13 etc (Covering sets)
The code below is from mtsieve for prime 2.



// If the base is odd, then all n must be even and thus...
Forum: Software 2020-05-27, 04:26
Replies: 31
Views: 1,335
Posted By Citrix
gcwsieve enhancements

// We're trying to determine if n*b^n (mod p) = +1/-1. This requires an two
// operations, an exponentiation (b^n) and a multiplication (n). We can make a
// change to eliminate one of those...
Forum: Software 2020-05-27, 03:37
Replies: 430
Views: 25,988
Posted By Citrix
Just multiplying the (Double) floating point...

Just multiplying the (Double) floating point number with 1/2 (mod p).

I looked into the code further. I was wrong before on get and set giving the error. This portion of the code gives the error....
Showing results 1 to 25 of 1000

 
All times are UTC. The time now is 01:11.

Thu Jul 16 01:11:44 UTC 2020 up 112 days, 22:44, 0 users, load averages: 1.67, 1.80, 1.68

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