Welcome to MilkyWay@home

What's needed to compile the app?

Message boards : Application Code Discussion : What's needed to compile the app?
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5 · Next

AuthorMessage
GlennG

Send message
Joined: 17 Nov 08
Posts: 18
Credit: 130,650,263
RAC: 0
Message 7798 - Posted: 16 Dec 2008, 18:09:54 UTC - in response to Message 7796.  

No Joy. Thanks anyway

Glenn


Can't open init data file - running in standalone mode
SIGSEGV: segmentation violation
Stack trace (10 frames):
[0x80701b6]
[0xffffe500]
[0x80d1e51]
[0x80d82a7]
[0x809ddcf]
[0x8057bd1]
[0x804825b]
[0x804844c]
[0x80925fa]
[0x8048151]

Exiting...

ID: 7798 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile speedimic
Avatar

Send message
Joined: 22 Feb 08
Posts: 260
Credit: 57,387,048
RAC: 0
Message 7800 - Posted: 16 Dec 2008, 22:07:37 UTC - in response to Message 7798.  

Just for the record, you tried it on 64bit Linux?

mic.


ID: 7800 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 7805 - Posted: 17 Dec 2008, 0:08:32 UTC - in response to Message 7786.  

Type

make app_x86_64

to compile the 64bit version.


Thank you speedimic for your help i really appreciate it.

yes i did it and after some corrections i had to do, i can't find solution on this error:

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lboinc_api collect2: ld returned 1 exit status make: *** [app_x86_64] error 1

whats wrong? what i have to do to build the client for my 64 machine?



ID: 7805 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
jedirock
Avatar

Send message
Joined: 8 Nov 08
Posts: 178
Credit: 6,140,854
RAC: 0
Message 7812 - Posted: 17 Dec 2008, 3:14:03 UTC - in response to Message 7805.  

Type

make app_x86_64

to compile the 64bit version.


Thank you speedimic for your help i really appreciate it.

yes i did it and after some corrections i had to do, i can't find solution on this error:

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lboinc_api collect2: ld returned 1 exit status make: *** [app_x86_64] error 1

whats wrong? what i have to do to build the client for my 64 machine?



Follow the instructions I posted at the top to compile the BOINC API library. If you've done that, make sure the paths at the top of the file point to the correct directory.
ID: 7812 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 7813 - Posted: 17 Dec 2008, 4:04:06 UTC

Hi Jedirock ,

This is exactly what i've done the whole time, i followed all the instructions you and others you have posted here.

The make process stops with the error : lboinc_api cannot find ,but under the boinc/api i can find the libboinc_api.a file but not any lboinc_api.

Any ideas?


ID: 7813 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
GlennG

Send message
Joined: 17 Nov 08
Posts: 18
Credit: 130,650,263
RAC: 0
Message 7819 - Posted: 17 Dec 2008, 13:59:00 UTC - in response to Message 7800.  

Mic,

For the record, Yes.

Linux xxxxx 2.6.9-78.0.5.ELsmp #1 SMP Wed Sep 24 05:40:24 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Thanks again.
ID: 7819 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 7820 - Posted: 17 Dec 2008, 16:48:44 UTC
Last modified: 17 Dec 2008, 16:56:10 UTC

yess my client for Linux64 its ready, i had to add something on my makefile!

i've tested the application as speedimic suggested with typing following in my console :
./milkyway_0.7_x86_64-pc-linux-gnu astronomy_parameters-cut-large.txt


And i got no errors.

After this i replaced the stock application with my optimized but i can't download new wus. Boinc reports : download failed !!

what i have to do now? Any suggestions?

EDIT : I got my first wus and the client started normally, now im waiting to see if the optimized client runs faster than the stock client!
ID: 7820 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 7847 - Posted: 18 Dec 2008, 5:58:26 UTC
Last modified: 18 Dec 2008, 5:59:07 UTC

The optimized client for Linux64 (sse3) its about 10% faster than the stock app.

If anyone has interest for a test use the download Link.

http://uploading.com/files/OYAARQ8U/MW-unix64.tar.html
ID: 7847 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Gavin Shaw
Avatar

Send message
Joined: 16 Jan 08
Posts: 98
Credit: 1,371,299
RAC: 0
Message 7908 - Posted: 22 Dec 2008, 3:18:11 UTC

Kind of a silly question, but since it is Christmas and there is a slow down at uni here. Would be interesting for me to try (especially since I am waiting for several instances of my research work to run on the HPC).

How would you go about compiling a 32bit Win (XP) version? I have the 0.7 source (which has make files for linux and osx) and gcc-g++-4.3.2. I assume I would have to get the libraries as well. But with no make file for Win (probably because it doesn't use one) I don't really know the procedure. Looking at the linux make file I see references to the operating environment I would assume they would have to be changed to match the Win 32bit OS?

I mainly want to add in sse? support/usage since my systems have it and the current 32bit app doesn't use it.

Never surrender and never give up. In the darkest hour there is always hope.

ID: 7908 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 7909 - Posted: 22 Dec 2008, 4:14:27 UTC

I think you need something like the Microsoft Visual c++ or something similar to this.

The last days I keep worked with the optimization for Unix/Linux64 and now my last optimized client it runs 50 % faster than the stock. And thats not all i believe.
ID: 7909 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Gavin Shaw
Avatar

Send message
Joined: 16 Jan 08
Posts: 98
Credit: 1,371,299
RAC: 0
Message 7910 - Posted: 22 Dec 2008, 4:28:16 UTC

Well I do have Visual Studio 2005 already (the joy of being a student here is you can get free software from Microsoft) and it does include C/C++.

So I guess I fire it up and bring the source into it and try to compile?

Never surrender and never give up. In the darkest hour there is always hope.

ID: 7910 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
jedirock
Avatar

Send message
Joined: 8 Nov 08
Posts: 178
Credit: 6,140,854
RAC: 0
Message 7911 - Posted: 22 Dec 2008, 4:28:18 UTC - in response to Message 7908.  

How would you go about compiling a 32bit Win (XP) version?

Yes, you would probably need Microsoft's Visual C++ compiler. However, it's also possible that the Windows application uses a different source. Travis, do you have any input? What compiler, options, and source do you use?
ID: 7911 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 7934 - Posted: 23 Dec 2008, 10:17:07 UTC
Last modified: 23 Dec 2008, 10:40:30 UTC

For all unix/linux Milkyway guys here now you can download my new Unix/Linux 64 client, it runs 50% faster than the stock.

http://rapidshare.com/files/176036647/MW-Unixpower.tar

The client has been tested to a system with a kernel 2.6.xx and Intel cpu.
ID: 7934 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile speedimic
Avatar

Send message
Joined: 22 Feb 08
Posts: 260
Credit: 57,387,048
RAC: 0
Message 8077 - Posted: 30 Dec 2008, 23:08:04 UTC - in response to Message 7934.  

For all unix/linux Milkyway guys here now you can download my new Unix/Linux 64 client, it runs 50% faster than the stock.

http://rapidshare.com/files/176036647/MW-Unixpower.tar

The client has been tested to a system with a kernel 2.6.xx and Intel cpu.


Well done!

You did not only change the compiler / options, did you?


mic.


ID: 8077 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 8081 - Posted: 31 Dec 2008, 8:08:15 UTC


You did not only change the compiler / options, did you?


hi speedimic,

I didn't made any changes to the application code, if this is the sense of the question ,but im planning to do it the next weeks.

You can test my new client for Unix/Linux @ 64 ,it offers 25 % more performance in comparison to my last client.

Update: New client for Unix/Linux @ 64

Unix64-Xtrem

The new client has been tested successfully to a machine with a modern Intel cpu and Linux @ 64 with 2.6.25.xxxxxx Kernel.

Happy crunching and a Happy new Year!
ID: 8081 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile speedimic
Avatar

Send message
Joined: 22 Feb 08
Posts: 260
Credit: 57,387,048
RAC: 0
Message 8094 - Posted: 31 Dec 2008, 12:05:47 UTC - in response to Message 8081.  


hi speedimic,

I didn't made any changes to the application code, if this is the sense of the question ,but im planning to do it the next weeks.

You can test my new client for Unix/Linux @ 64 ,it offers 25 % more performance in comparison to my last client.

Update: New client for Unix/Linux @ 64

Unix64-Xtrem

The new client has been tested successfully to a machine with a modern Intel cpu and Linux @ 64 with 2.6.25.xxxxxx Kernel.

Happy crunching and a Happy new Year!



Hell, that one's fast!

Here are the numbers for my Q9550 (fedora 10 x64):

stock app: 38min
my app: 27min
petros app(1): 24min
petros app(2): 18-19min

How did you get there?
For my app I used the latest Intel compiler and this options:

-O3 -msse4.1 -xSSE4.1 -fast -fomit-frame-pointer -funroll-loops -unroll-aggressive

Happy new year for you, too!

mic.


ID: 8094 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 8096 - Posted: 31 Dec 2008, 13:15:55 UTC

hi,

You have Q9550 and Intel Compiler?? wow

You can drill deeper !!!!! , i mean you can drop the crunching time to something less than 15 mins.

Try with this flags:

-O3 -xS -fomit-frame-pointer -funroll-loops 


and post your new crunching times!




ID: 8096 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
GlennG

Send message
Joined: 17 Nov 08
Posts: 18
Credit: 130,650,263
RAC: 0
Message 8098 - Posted: 31 Dec 2008, 15:25:13 UTC - in response to Message 8096.  

Petros

Great job. My WU times have dropped from 22 mins with your old app to mid 16's for the new one. Keep squeezing.

Glenn

ID: 8098 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile speedimic
Avatar

Send message
Joined: 22 Feb 08
Posts: 260
Credit: 57,387,048
RAC: 0
Message 8100 - Posted: 31 Dec 2008, 15:55:37 UTC - in response to Message 8096.  

hi,

You have Q9550 and Intel Compiler?? wow

You can drill deeper !!!!! , i mean you can drop the crunching time to something less than 15 mins.

Try with this flags:

-O3 -xS -fomit-frame-pointer -funroll-loops 


and post your new crunching times!


I just moved from Ubuntu 32bit to fedora 64bit yesterday, so I still got to build up my dev-environment...
Though I'm sceptic if just the -xS will do the trick, I'll give it a shot.
Till then I stick to your build.

mic.


ID: 8100 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile petros
Avatar

Send message
Joined: 3 Aug 08
Posts: 89
Credit: 255,801
RAC: 0
Message 8102 - Posted: 31 Dec 2008, 16:27:59 UTC

hi guys

can you please test this client for SSE4.1 architecture?

All of you with the last generation Intel cpus you can use this client!

Unix/Linux@64-Xtrem-SSE4.1 client

please let me know if the client runs faster! thank you!

ID: 8102 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · 4 · 5 · Next

Message boards : Application Code Discussion : What's needed to compile the app?

©2024 Astroinformatics Group