Compiling old Linux AP AVX source, problems with linking

Message boards : Number crunching : Compiling old Linux AP AVX source, problems with linking
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile petri33
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1668
Credit: 623,086,772
RAC: 156
Finland
Message 1337325 - Posted: 12 Feb 2013, 5:01:42 UTC

Hi,

I'm trying to set up a development environment on my Fedora Core 14.

I got a new compiler gcc 4.7.2 to compile and install and to work.

When making AP everything goes well. Got past libfft3w.a static link by linking dynamically, but now the make process stops sying I need BOINC_FILES.

Any ideas?
To overcome Heisenbergs:
"You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones
ID: 1337325 · Report as offensive
Profile ivan
Volunteer tester
Avatar

Send message
Joined: 5 Mar 01
Posts: 783
Credit: 348,560,338
RAC: 223
United Kingdom
Message 1337387 - Posted: 12 Feb 2013, 8:56:25 UTC - in response to Message 1337325.  

Hi,

I'm trying to set up a development environment on my Fedora Core 14.

I got a new compiler gcc 4.7.2 to compile and install and to work.

When making AP everything goes well. Got past libfft3w.a static link by linking dynamically, but now the make process stops sying I need BOINC_FILES.

Any ideas?

Did you build BOINC first; it's probably looking for boinc libraries.
ID: 1337387 · Report as offensive
Profile petri33
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1668
Credit: 623,086,772
RAC: 156
Finland
Message 1337462 - Posted: 12 Feb 2013, 15:34:23 UTC - in response to Message 1337387.  
Last modified: 12 Feb 2013, 15:47:16 UTC

Did you build BOINC first; it's probably looking for boinc libraries.


Now I have done 'svn checkout ...' for boinc_seti stuff and I'm trying to ./configure

It gives me this:

checking for openssl... no
configure: error:
----------------------------------------------------------------------
Cannot find openssl libraries.

Please install openssl or specify installation directory with
--with-ssl=(dir).


I have openssl files in many places, but i don't know which file it is looking for so that I could specify the directory. I tried yum install openssl and it said it is installed and up to date.

[EDIT] Got past that. yum install openssl-devel [/EDIT]

Now I get:
configure: WARNING: boinc not found.
============================================================================

ERROR: trying to build the seti_boinc client or server but BOINC was not
found.

You can get boinc at http://boinc.ssl.berkeley.edu/

============================================================================

To overcome Heisenbergs:
"You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones
ID: 1337462 · Report as offensive
Profile ivan
Volunteer tester
Avatar

Send message
Joined: 5 Mar 01
Posts: 783
Credit: 348,560,338
RAC: 223
United Kingdom
Message 1337519 - Posted: 12 Feb 2013, 22:01:52 UTC - in response to Message 1337462.  

Now I get:
configure: WARNING: boinc not found.
============================================================================

ERROR: trying to build the seti_boinc client or server but BOINC was not
found.

You can get boinc at http://boinc.ssl.berkeley.edu/

============================================================================

[pion2] /home/eesridr/boinc_core_release_7_0_31 > head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by BOINC configure 7.0.31, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --disable-server --enable-manager


There will almost certainly be a large number of other libraries you need to 'yum install' -- you need to add the <lib>-devel packages to get the source header files as well.

ID: 1337519 · Report as offensive
Profile petri33
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1668
Credit: 623,086,772
RAC: 156
Finland
Message 1337710 - Posted: 13 Feb 2013, 10:29:52 UTC - in response to Message 1337519.  


There will almost certainly be a large number of other libraries you need to 'yum install' -- you need to add the <lib>-devel packages to get the source header files as well.


Thank You,

It helped.. I had to install BOINC something from boinc.berkeley.edu and then a lot of devel-packages.

Everything compiled fine except the Lunatics AVX source, which gave me errors saying 'fabs not defined in this scope' - got that sorted out and then there was an old flops counter function that is now deprecated. I created a dummy for that. I'll see how to adopt to the new method.

Now I'm ready to run some tests and to do 'diff' for the output.

I'll copy some of my AP work units to 2 different locations and run the Lunatics original against one and my compilation against one. First thing is to make sure they produce identical output. The Boinc and seti stuff are so new that they seem to be V7. Is that going to be a problem?

And the biggest question: How do I run tasks manually from command-line?

ID: 1337710 · Report as offensive
Claggy
Volunteer tester

Send message
Joined: 5 Jul 99
Posts: 4654
Credit: 47,537,079
RAC: 4
United Kingdom
Message 1337711 - Posted: 13 Feb 2013, 10:48:58 UTC - in response to Message 1337710.  

Now I'm ready to run some tests and to do 'diff' for the output.

I'll copy some of my AP work units to 2 different locations and run the Lunatics original against one and my compilation against one. First thing is to make sure they produce identical output. The Boinc and seti stuff are so new that they seem to be V7. Is that going to be a problem?

And the biggest question: How do I run tasks manually from command-line?


Why reinvent the wheel? Get the Linux Bench programs and the shortened test Wu's, and test with those first:

Test and Benchmark Tools

Looks as if i'll have to get the latest Linux AP & MB Bench programs moved to downloads, I've asked, We'll have to wait for a mod to come along now.

Claggy
ID: 1337711 · Report as offensive
Profile arkayn
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4438
Credit: 55,006,323
RAC: 0
United States
Message 1337719 - Posted: 13 Feb 2013, 11:52:26 UTC - in response to Message 1337711.  

Now I'm ready to run some tests and to do 'diff' for the output.

I'll copy some of my AP work units to 2 different locations and run the Lunatics original against one and my compilation against one. First thing is to make sure they produce identical output. The Boinc and seti stuff are so new that they seem to be V7. Is that going to be a problem?

And the biggest question: How do I run tasks manually from command-line?


Why reinvent the wheel? Get the Linux Bench programs and the shortened test Wu's, and test with those first:

Test and Benchmark Tools

Looks as if i'll have to get the latest Linux AP & MB Bench programs moved to downloads, I've asked, We'll have to wait for a mod to come along now.

Claggy


I also have them on my site as I Urs just updated a couple of them.
http://www.arkayn.us/forum/index.php?board=9.0

ID: 1337719 · Report as offensive
Profile petri33
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1668
Credit: 623,086,772
RAC: 156
Finland
Message 1337778 - Posted: 13 Feb 2013, 16:13:27 UTC - in response to Message 1337719.  

Thank You all!

I'll get them and give a try.

Hope that everything has compiled nicely and tests show all ok.

Then I'll get my hands on the code and my mind to the (almost) infinite loops.

There must be some time slice for my hobby between the hours of playing with my kids, going to work and some sleep. I can always eat while coding or vice versa.
ID: 1337778 · Report as offensive
Profile petri33
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1668
Credit: 623,086,772
RAC: 156
Finland
Message 1343084 - Posted: 4 Mar 2013, 21:30:10 UTC

... lost my environment (accidental close of terminal before saving my settings)...

>
>ERROR: /bin/sh: g++47: command not found
>
>I have had trouble finding stuff in *nux since -87.
>
> FC 14, GCC 4.7, standard installation, ...

Please help: How do I find anything with a name? Please assume I'm at the / and I have the command line open and (root) access to all directories.

In DOS I'd type dir *mystuff* /s or attrib xxx /s

You are allowed to laugh at this point. :D

But anyways, Plaease tell...

I'm compiling the new stuff and I still have limited time resource. The kids take and will take all remaining time.

To overcome Heisenbergs:
"You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones
ID: 1343084 · Report as offensive
Profile Khangollo
Avatar

Send message
Joined: 1 Aug 00
Posts: 245
Credit: 36,410,524
RAC: 0
Slovenia
Message 1343090 - Posted: 4 Mar 2013, 21:47:55 UTC - in response to Message 1343084.  

How do I find anything with a name?

find . -name *mystuff*

(or -iname for case-insensitive search)
ID: 1343090 · Report as offensive
Profile petri33
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1668
Credit: 623,086,772
RAC: 156
Finland
Message 1343096 - Posted: 4 Mar 2013, 21:55:45 UTC - in response to Message 1343090.  

Thank You, I'll try.. (Sure it works)
To overcome Heisenbergs:
"You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones
ID: 1343096 · Report as offensive
Profile petri33
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1668
Credit: 623,086,772
RAC: 156
Finland
Message 1343099 - Posted: 4 Mar 2013, 22:00:44 UTC - in response to Message 1343096.  

In one minute (with a right question) have I learned more than ..... :D


./opt/gcc-4.7.2
./opt/gcc-4.7.2/share/man/man1/gcc47.1
./opt/gcc-4.7.2/share/gcc-4.7.2
./opt/gcc-4.7.2/bin/gcc-ranlib47
./opt/gcc-4.7.2/bin/x86_64-unknown-linux-gnu-gcc-ranlib47
./opt/gcc-4.7.2/bin/x86_64-unknown-linux-gnu-gcc-4.7.2
./opt/gcc-4.7.2/bin/x86_64-unknown-linux-gnu-gcc-nm47
./opt/gcc-4.7.2/bin/gcc-ar47
./opt/gcc-4.7.2/bin/gcc47
./opt/gcc-4.7.2/bin/gcc-nm47
./opt/gcc-4.7.2/bin/x86_64-unknown-linux-gnu-gcc-ar47
./opt/gcc-4.7.2/bin/x86_64-unknown-linux-gnu-gcc47
./opt/gcc-4.7.0
./opt/gcc-4.7.0/share/man/man1/gcc47.1
./opt/gcc-4.7.0/share/gcc-4.7.2
./opt/gcc-4.7.0/bin/gcc-ranlib47
./opt/gcc-4.7.0/bin/x86_64-unknown-linux-gnu-gcc-ranlib47
./opt/gcc-4.7.0/bin/x86_64-unknown-linux-gnu-gcc-4.7.2
./opt/gcc-4.7.0/bin/x86_64-unknown-linux-gnu-gcc-nm47
./opt/gcc-4.7.0/bin/gcc-ar47
./opt/gcc-4.7.0/bin/gcc47
./opt/gcc-4.7.0/bin/gcc-nm47
./opt/gcc-4.7.0/bin/x86_64-unknown-linux-gnu-gcc-ar47
./opt/gcc-4.7.0/bin/x86_64-unknown-linux-gnu-gcc47
./usr/local/cuda-4.2/doc/html/group__CUDA__EXEC__DEPRECATED_gcc446977269d74db8fdd341959409ea7.html
./usr/local/cuda-4.2/doc/html/group__CUDA__MATH_gcc4c04661e042fc6ebc8a07d91057583.html
./media/data/Download/backup/vsswork/OAKYARD/Software/Epcp/EpcpLinux/rpmutil/libgcc-4.1.2-27.fc7.i386.rpm
./media/data/Download/vsswork/OAKYARD/Software/Epcp/EpcpLinux/rpmutil/libgcc-4.1.2-27.fc7.i386.rpm
./media/data/Download/work/vsswork/OAKYARD/Software/Epcp/EpcpLinux/rpmutil/libgcc-4.1.2-27.fc7.i386.rpm


*makes waves*
To overcome Heisenbergs:
"You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones
ID: 1343099 · Report as offensive

Message boards : Number crunching : Compiling old Linux AP AVX source, problems with linking


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.