Gnu-linux
log in

Advanced search

Message boards : Number crunching : Gnu-linux

Author Message
fzs600
Send message
Joined: 28 Nov 14
Posts: 17
Credit: 1,144,473,134
RAC: 37,884
Message 28 - Posted: 28 Nov 2014, 18:57:22 UTC

hello

is when a Gnu-linux implementation

thank you

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 29 - Posted: 28 Nov 2014, 19:05:41 UTC - in response to Message 28.

hello

is when a Gnu-linux implementation

thank you


Yes, later on but not tested yet. I could use the linux wrapper from primegrid. If you can do a standalone test in linux this could be helping.

Profile Buckey
Volunteer tester
Avatar
Send message
Joined: 28 Nov 14
Posts: 3
Credit: 23,991,070
RAC: 24,455
Message 32 - Posted: 28 Nov 2014, 21:15:21 UTC - in response to Message 29.

I would like to join the test

DeleteNull
Volunteer developer
Volunteer tester
Send message
Joined: 29 Nov 14
Posts: 83
Credit: 374,914,522
RAC: 4,661
Message 42 - Posted: 29 Nov 2014, 16:05:47 UTC - in response to Message 29.
Last modified: 29 Nov 2014, 16:06:14 UTC

Is this the same source code used for PrimeGrid, or a modified version? I wanna give it a try in Linux (and/or BSD). Some boxes with gcc and all the stuff are waiting.....

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 43 - Posted: 29 Nov 2014, 16:12:10 UTC - in response to Message 42.

Is this the same source code used for PrimeGrid, or a modified version? I wanna give it a try in Linux (and/or BSD). Some boxes with gcc and all the stuff are waiting.....


I have copied their wrappers, the llr is from jean's website, downloaded the static ones. For windows I have used the Primegrid's wrapper source and compiled it by my own.

DeleteNull
Volunteer developer
Volunteer tester
Send message
Joined: 29 Nov 14
Posts: 83
Credit: 374,914,522
RAC: 4,661
Message 44 - Posted: 29 Nov 2014, 18:02:44 UTC - in response to Message 43.

First test:

This project doesn't support computers of type anonymous.....

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 45 - Posted: 29 Nov 2014, 18:04:42 UTC - in response to Message 44.
Last modified: 29 Nov 2014, 18:11:44 UTC

First test:

This project doesn't support computers of type anonymous.....


Correct :)

Try to run it outside BOINC in an own folder. Execute the wrapper only. Create an own input.prp with the following content.

100000000:M:1:646:258
614 2534

DeleteNull
Volunteer developer
Volunteer tester
Send message
Joined: 29 Nov 14
Posts: 83
Credit: 374,914,522
RAC: 4,661
Message 46 - Posted: 29 Nov 2014, 18:23:00 UTC - in response to Message 45.

??? don't know a syntax to test all 5 files in a BOINC environment.

You can download ist from here http://www.rechenaugust.de/boinc/srbase.tar.gz (if you want)

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 48 - Posted: 29 Nov 2014, 18:30:48 UTC - in response to Message 46.

??? don't know a syntax to test all 5 files in a BOINC environment.

You can download ist from here http://www.rechenaugust.de/boinc/srbase.tar.gz (if you want)


I have prepared some files here but cannot give them free in dropbox, I dont know if they changed something there. For your files. Remove app_info.xml and rename the job...xml to job.xml

Content of the job.xml should be

<job_desc> <task> <application>./llr_linux64</application> <append_cmdline_args/> </task> <unzip_input> <zipfilename>srbase_linux_x64_00001.zip</zipfilename> </unzip_input> </job_desc>


Iam expecting a right problem with the llr after unzipping but you can test it.
Create also an input.prp with the content:

100000000:M:1:646:258 614 2534


Execute the wrapper file then.

DeleteNull
Volunteer developer
Volunteer tester
Send message
Joined: 29 Nov 14
Posts: 83
Credit: 374,914,522
RAC: 4,661
Message 49 - Posted: 29 Nov 2014, 19:01:41 UTC - in response to Message 48.

'unzip srbase_linux_x64_00001.zip' leaves llr_linux64 executable, but i don't know how BOINC is handling zips.

the lresult.txt is:
614*646^2534-1 ...... is prime

Should be o.k.?!

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 50 - Posted: 29 Nov 2014, 19:08:19 UTC - in response to Message 49.

'unzip srbase_linux_x64_00001.zip' leaves llr_linux64 executable, but i don't know how BOINC is handling zips.

the lresult.txt is:
614*646^2534-1 ...... is prime

Should be o.k.?!


Similar to this one:
614*646^2534-1 is prime! (7124 decimal digits, P = 3) Time : 1.859 sec.

And there must be a primes.txt, if yes then this is ok, I need to move the llr from the zip because you have rights to execute the file yet but BOINC not.

Can you also post the output of the stderr.txt? I hope the 32bit is also good.

DeleteNull
Volunteer developer
Volunteer tester
Send message
Joined: 29 Nov 14
Posts: 83
Credit: 374,914,522
RAC: 4,661
Message 51 - Posted: 29 Nov 2014, 19:25:17 UTC - in response to Message 50.

four output files:

1. llr.out, content
614*646^2534-1 is prime! (7124 decimal digits, P = 3) Time : 2.200 sec.

2. lresults.txt, content
614*646^2534-1 is prime! (7124 decimal digits, P = 3) Time : 2.200 sec.

3. lresults_parsed.txt, content
614*646^2534-1 is prime! (7124 decimal digits, P = 3) Time : 2.200 sec.

4. stderr.txt, content
BOINC LLR 6.03 wrapper: starting
20:18:06 (5962): Can't open init data file - running in standalone mode
All done!
20:18:07 (5962): called boinc_finish(0)

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 52 - Posted: 29 Nov 2014, 19:31:11 UTC - in response to Message 51.
Last modified: 29 Nov 2014, 19:39:23 UTC

four output files:

1. llr.out, content
614*646^2534-1 is prime! (7124 decimal digits, P = 3) Time : 2.200 sec.

2. lresults.txt, content
614*646^2534-1 is prime! (7124 decimal digits, P = 3) Time : 2.200 sec.

3. lresults_parsed.txt, content
614*646^2534-1 is prime! (7124 decimal digits, P = 3) Time : 2.200 sec.

4. stderr.txt, content
BOINC LLR 6.03 wrapper: starting
20:18:06 (5962): Can't open init data file - running in standalone mode
All done!
20:18:07 (5962): called boinc_finish(0)


This is bad. The primes.txt is the most important file. The stderr.txt must also contain some lines.

Edit:
ok I see the problem,

in job.xml change this line

<append_cmdline_args/>
to
<command_line>-d -oPgenOutputFile=primes.txt -oPgenInputFile=input.prp -oDiskWriteTime=10 -oStopOnPrimedK=1 -oOutputIterations=10000 -oResultsFileIterations=99999999</command_line>

DeleteNull
Volunteer developer
Volunteer tester
Send message
Joined: 29 Nov 14
Posts: 83
Credit: 374,914,522
RAC: 4,661
Message 53 - Posted: 29 Nov 2014, 20:06:54 UTC - in response to Message 52.

The standard wrapper starts and ends, but don't do llr, because its's not a primegrid wrapper.

And it don't produce a primes.txt

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 54 - Posted: 29 Nov 2014, 20:10:17 UTC - in response to Message 53.
Last modified: 29 Nov 2014, 20:20:31 UTC

The standard wrapper starts and ends, but don't do llr, because its's not a primegrid wrapper.

And it don't produce a primes.txt


Try my solution with changing the commandline in job.xml and use the pg wrapper.

Edit:
Just testing by myself but the wrapper need a primegrid_llr, also I have no primes.txt file. Testing further...

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 55 - Posted: 29 Nov 2014, 20:30:28 UTC
Last modified: 29 Nov 2014, 20:31:05 UTC

The standard wrapper is working but the stderr.txt has no output with -d command, not a big deal. I will ask Primegrid again to get the wrapper source for linux. I need my own name for llr and not a fixed primegrid_llr.

DeleteNull
Volunteer developer
Volunteer tester
Send message
Joined: 29 Nov 14
Posts: 83
Credit: 374,914,522
RAC: 4,661
Message 56 - Posted: 29 Nov 2014, 20:32:00 UTC - in response to Message 54.

With your command line the standard BOINC wrapper generates a primes.txt and a lrsults.zip that contains the lresults.txt.

But the pg-wrapper don't do this?!

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,683,091
RAC: 42,465
Message 57 - Posted: 29 Nov 2014, 20:37:27 UTC - in response to Message 56.

With your command line the standard BOINC wrapper generates a primes.txt and a lrsults.zip that contains the lresults.txt.

But the pg-wrapper don't do this?!


yes, it has its own fixed defined things. I have asked the admin @primegrid now. Perhaps he has a solution for this.

DeleteNull
Volunteer developer
Volunteer tester
Send message
Joined: 29 Nov 14
Posts: 83
Credit: 374,914,522
RAC: 4,661
Message 58 - Posted: 29 Nov 2014, 20:45:17 UTC - in response to Message 57.
Last modified: 29 Nov 2014, 20:56:36 UTC

The current version from sourceforge http://sourceforge.net/p/primegrid/code/HEAD/tree/ is 5 years old, but works for PG.

May be they have a newer version, but didn't check in :(

Edit:
You have the source code for the windows wrapper?


Post to thread

Message boards : Number crunching : Gnu-linux


Main page · Your account · Message boards


Copyright © 2014-2024 BOINC Confederation / rebirther