Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setiathome and boinc optimized for mips/linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Pliablemammal
n00b
n00b


Joined: 02 Oct 2006
Posts: 52
Location: Sacramento

PostPosted: Sat Nov 18, 2006 11:11 pm    Post subject: setiathome and boinc optimized for mips/linux Reply with quote

hey guys i've been playing around with this but it doesn't seem to be all that great, maybe my CFLAGS are wrong, but I can't really seem to get the most out of the boinc software that I've been compiling on my box. I have a dual R10000 195mhz Octane and the boinc cpu test output is as follows:









checking for authdes_create... yes
checking for library containing getsecretkey... none required
checking if Secure RPC authentication ("SUN-DES-1") should be supported... yes
checking build system type... mips-unknown-linux-gnu
checking host system type... mips-unknown-linux-gnu
configure: creating ./config.status






































checking for mips-unknown-linux-gnu-g77... no
checking for mips-unknown-linux-gnu-f77... no
checking for mips-unknown-linux-gnu-xlf... no
checking for mips-unknown-linux-gnu-frt... no
checking for mips-unknown-linux-gnu-pgf77... no
checking for mips-unknown-linux-gnu-fort77... no
checking for mips-unknown-linux-gnu-fl32... no
checking for mips-unknown-linux-gnu-af77... no
checking for mips-unknown-linux-gnu-f90... no
checking for mips-unknown-linux-gnu-xlf90... no
checking for mips-unknown-linux-gnu-pgf90... no
checking for mips-unknown-linux-gnu-epcf90... no
checking for mips-unknown-linux-gnu-f95... no
checking for mips-unknown-linux-gnu-fort... no
checking for mips-unknown-linux-gnu-xlf95... no
checking for mips-unknown-linux-gnu-ifc... no
checking for mips-unknown-linux-gnu-efc... no
checking for mips-unknown-linux-gnu-pgf95... no
checking for mips-unknown-linux-gnu-lf95... no
checking for mips-unknown-linux-gnu-gfortran... mips-unknown-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether mips-unknown-linux-gnu-gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from mips-unknown-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for mips-unknown-linux-gnu-ar... mips-unknown-linux-gnu-ar
checking for mips-unknown-linux-gnu-ranlib... mips-unknown-linux-gnu-ranlib
checking for mips-unknown-linux-gnu-strip... mips-unknown-linux-gnu-strip
checking if mips-unknown-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-unknown-linux-gnu-gcc option to produce PIC... -fPIC
checking if mips-unknown-linux-gnu-gcc PIC flag -fPIC works... yes
checking if mips-unknown-linux-gnu-gcc static flag -static works... yes
checking if mips-unknown-linux-gnu-gcc supports -c -o file.o... yes
checking whether the mips-unknown-linux-gnu-gcc linker (/usr/mips-unknown-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by mips-unknown-linux-gnu-g++... /usr/mips-unknown-linux-gnu/bin/ld
checking if the linker (/usr/mips-unknown-linux-gnu/bin/ld) is GNU ld... yes
checking whether the mips-unknown-linux-gnu-g++ linker (/usr/mips-unknown-linux-gnu/bin/ld) supports shared libraries... yes
checking for mips-unknown-linux-gnu-g++ option to produce PIC... -fPIC
checking if mips-unknown-linux-gnu-g++ PIC flag -fPIC works... yes
checking if mips-unknown-linux-gnu-g++ static flag -static works... yes
checking if mips-unknown-linux-gnu-g++ supports -c -o file.o... yes
checking whether the mips-unknown-linux-gnu-g++ linker (/usr/mips-unknown-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for mips-unknown-linux-gnu-gfortran option to produce PIC... -fPIC
checking if mips-unknown-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if mips-unknown-linux-gnu-gfortran static flag -static works... yes
checking if mips-unknown-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the mips-unknown-linux-gnu-gfortran linker (/usr/mips-unknown-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for mips-unknown-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XSCRNSAVER... yes
checking whether malloc(0) returns NULL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating xscrnsaver.pc
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1'
Making all in src
make[2]: Entering directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1/src'
if /bin/sh ../libtool --tag=CC --mode=compile mips-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMALLOC_0_RETURNS_NULL -O3 -march=mips4 -pipe -MT XScrnSaver.lo -MD -MP -MF ".deps/XScrnSaver.Tpo" -c -o XScrnSaver.lo XScrnSaver.c; \
then mv -f ".deps/XScrnSaver.Tpo" ".deps/XScrnSaver.Plo"; else rm -f ".deps/XScrnSaver.Tpo"; exit 1; fi
mkdir .libs
mips-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMALLOC_0_RETURNS_NULL -O3 -march=mips4 -pipe -MT XScrnSaver.lo -MD -MP -MF .deps/XScrnSaver.Tpo -c XScrnSaver.c -fPIC -DPIC -o .libs/XScrnSaver.o
mips-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMALLOC_0_RETURNS_NULL -O3 -march=mips4 -pipe -MT XScrnSaver.lo -MD -MP -MF .deps/XScrnSaver.Tpo -c XScrnSaver.c -o XScrnSaver.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link mips-unknown-linux-gnu-gcc -DMALLOC_0_RETURNS_NULL -O3 -march=mips4 -pipe -o libXss.la -rpath /usr/lib -version-info 1:0:0 -no-undefined XScrnSaver.lo -lX11 -lXext
mips-unknown-linux-gnu-gcc -shared .libs/XScrnSaver.o /usr/lib/libX11.so -L/usr/lib /usr/lib/libXext.so -march=mips4 -Wl,-soname -Wl,libXss.so.1 -o .libs/libXss.so.1.0.0
(cd .libs && rm -f libXss.so.1 && ln -s libXss.so.1.0.0 libXss.so.1)
(cd .libs && rm -f libXss.so && ln -s libXss.so.1.0.0 libXss.so)
mips-unknown-linux-gnu-ar cru .libs/libXss.a XScrnSaver.o
mips-unknown-linux-gnu-ranlib .libs/libXss.a
creating libXss.la
(cd .libs && rm -f libXss.la && ln -s ../libXss.la libXss.la)
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1/src'
Making all in man
make[2]: Entering directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1/man'
rm -f XScreenSaverQueryExtension.3 XScreenSaverQueryVersion.3 XScreenSaverAllocInfo.3 XScreenSaverQueryInfo.3 XScreenSaverSelectInput.3 XScreenSaverSetAttributes.3 XScreenSaverUnsetAttributes.3 XScreenSaverRegister.3 XScreenSaverUnregister.3 XScreenSaverGetRegistered.3 XScreenSaverSuspend.3
(for i in XScreenSaverQueryExtension.3 XScreenSaverQueryVersion.3 XScreenSaverAllocInfo.3 XScreenSaverQueryInfo.3 XScreenSaverSelectInput.3 XScreenSaverSetAttributes.3 XScreenSaverUnsetAttributes.3 XScreenSaverRegister.3 XScreenSaverUnregister.3 XScreenSaverGetRegistered.3 XScreenSaverSuspend.3 ; do \
echo .so man3/Xss.3 > $i; \
done)
make all-am
make[3]: Entering directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1/man'
sed -e 's/__vendorversion__/"libXScrnSaver 1.1.1" "X Version 11"/' -e 's/__miscmansuffix__/7/g' -e 's/__libmansuffix__/3/g' < Xss.man > Xss.3
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1/man'
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1/man'
make[2]: Entering directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1'
>>> Source compiled.
>>> Test phase [not enabled]: x11-libs/libXScrnSaver-1.1.1

>>> Install libXScrnSaver-1.1.1 into /var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image/ category x11-libs
Making install in src
make[1]: Entering directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1/src'
make[2]: Entering directory `/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/work/libXScrnSaver-1.1.1/src'
test -z "/usr/lib" || mkdir -p -- "/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib"
/bin/sh ../libtool --mode=install /bin/install -c 'libXss.la' '/var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib/libXss.la'
/bin/install -c .libs/libXss.so.1.0.0 /var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib/libXss.so.1.0.0
(cd /var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib && { ln -s -f libXss.so.1.0.0 libXss.so.1 || { rm -f libXss.so.1 && ln -s libXss.so.1.0.0 libXss.so.1; }; })
(cd /var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib && { ln -s -f libXss.so.1.0.0 libXss.so || { rm -f libXss.so && ln -s libXss.so.1.0.0 libXss.so; }; })
/bin/install -c .libs/libXss.lai /var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib/libXss.la
/bin/install -c .libs/libXss.a /var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib/libXss.a
chmod 644 /var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib/libXss.a
mips-unknown-linux-gnu-ranlib /var/tmp/portage/x11-libs/libXScrnSaver-1.1.1/image//usr/lib/libXss.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
brutus ~ # uname -a
Linux brutus 2.6.17.10-mipsgit-20060618 #4 SMP Thu Nov 16 10:45:43 GMT 2006 mips64 R10000 V2.7 FPU V0.0 SGI Octane GNU/Linux
brutus ~ # brutus ~ # uname -a
bash: brutus: command not found
brutus ~ # Linux brutus 2.6.17.10-mipsgit-20060618 #4 SMP Thu Nov 16 10:45:43 GMT 2006 mips64 R10000 V2.7 FPU V0.0 SGI Octane GNU/Linux
bash: Linux: command not found
brutus ~ # w
21:52:34 up 2 days, 7:38, 2 users, load average: 1.50, 1.47, 1.52
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
root pts/10 Thu15 19:54m 42:06 42:04 /usr/bin/python -O /usr/bin/emerge -e world
root pts/1 21:36 0.00s 0.17s 0.03s w
brutus ~ # boinc_client -dir /root/BOINC/
2006-11-18 22:46:24 [---] Starting BOINC client version 5.7.3 for mips64-unknown-linux-gnu
2006-11-18 22:46:24 [---] log flags: task, file_xfer, sched_ops
2006-11-18 22:46:24 [---] Libraries: libcurl/7.16.0 OpenSSL/0.9.7l zlib/1.2.3 libidn/0.5.15
2006-11-18 22:46:24 [---] Data directory: /root/BOINC
2006-11-18 22:46:24 [SETI@home] Found app_info.xml; using anonymous platform
2006-11-18 22:46:24 [---] Processor: 2 SGI Octane MIPS
2006-11-18 22:46:24 [---] Memory: 995.98 MB physical, 768.73 MB virtual
2006-11-18 22:46:24 [---] Disk: 6.83 GB total, 2.01 GB free
2006-11-18 22:46:24 [SETI@home] URL: http://setiathome.berkeley.edu/; Computer ID: 2879416; location: (none); project prefs: default
2006-11-18 22:46:24 [---] General prefs: from SETI@home (last modified 2006-11-14 04:32:36)
2006-11-18 22:46:24 [---] Host location: none
2006-11-18 22:46:24 [---] General prefs: using your defaults
2006-11-18 22:46:24 [SETI@home] Sending scheduler request: To fetch work
2006-11-18 22:46:24 [SETI@home] Requesting 8640 seconds of new work
2006-11-18 22:46:30 [SETI@home] Scheduler RPC succeeded [server version 507]
2006-11-18 22:46:30 [SETI@home] Message from server: No work sent
2006-11-18 22:46:30 [SETI@home] Deferring scheduler requests for 11 seconds
2006-11-18 22:46:30 [SETI@home] No work from project
2006-11-18 22:46:30 [SETI@home] Deferring scheduler requests for 56 minutes and 46 seconds
2006-11-18 23:02:54 [---] Received signal 2
2006-11-18 23:02:55 [---] Exit requested by user
brutus ~ # boinc_client -dir /root/BOINC/ --help
Usage: boinc_client [options]
-help show options
-version show version info
-exit_when_idle Get/process/report work, then exit
-show_projects show attached projects
-return_results_immediately contact server when have results
-detach_project <URL> detach from a project
-reset_project <URL> reset (clear) a project
-attach_project <URL> <key> attach to a project
-update_prefs <URL> contact a project to update preferences
-run_cpu_benchmarks run the CPU benchmarks
-check_all_logins for idle detection, check remote logins
too -allow_remote_gui_rpc allow remote GUI RPC connections
-gui_rpc_port port for GUI RPCs
-redirectio redirect stdout and stderr to log files
-detach detach from console (Windows)
-dir <path> use given dir as BOINC home
-no_gui_rpc don't allow GUI RPC, don't make socket
-daemon run as daemon (Unix)
-insecure disable BOINC security users and permissions (Unix, Linux)
brutus ~ # boinc_client -dir /root/BOINC/ -run_cpu_benchmarks
2006-11-18 23:03:24 [---] Starting BOINC client version 5.7.3 for mips64-unknown-linux-gnu
2006-11-18 23:03:24 [---] log flags: task, file_xfer, sched_ops
2006-11-18 23:03:24 [---] Libraries: libcurl/7.16.0 OpenSSL/0.9.7l zlib/1.2.3 libidn/0.5.15
2006-11-18 23:03:24 [---] Data directory: /root/BOINC
2006-11-18 23:03:24 [SETI@home] Found app_info.xml; using anonymous platform
2006-11-18 23:03:24 [---] Processor: 2 SGI Octane MIPS
2006-11-18 23:03:24 [---] Memory: 995.98 MB physical, 768.73 MB virtual
2006-11-18 23:03:24 [---] Disk: 6.83 GB total, 1.99 GB free
2006-11-18 23:03:24 [SETI@home] URL: http://setiathome.berkeley.edu/; Computer ID: 2879416; location: (none); project prefs: default
2006-11-18 23:03:24 [---] General prefs: from SETI@home (last modified 2006-11-14 04:32:36)
2006-11-18 23:03:24 [---] Host location: none
2006-11-18 23:03:24 [---] General prefs: using your defaults
2006-11-18 23:03:26 [---] Running CPU benchmarks
2006-11-18 23:04:25 [---] Benchmark results:
2006-11-18 23:04:25 [---] Number of CPUs: 1
2006-11-18 23:04:25 [---] 90 floating point MIPS (Whetstone) per CPU
2006-11-18 23:04:25 [---] 223 integer MIPS (Dhrystone) per CPU


Come to think of it only one CPU is showing up. I know this may be a little off topic, but does anyone else have a similar problem, and / or solution?

Thanks! :P
Back to top
View user's profile Send private message
tfp
n00b
n00b


Joined: 18 Jun 2005
Posts: 7

PostPosted: Sun Nov 19, 2006 12:09 am    Post subject: Reply with quote

On your seti account, general preferences there is the following item. Do you have it set to more then one?

Quote:
On multiprocessors, use at most "X" processors
Back to top
View user's profile Send private message
Pliablemammal
n00b
n00b


Joined: 02 Oct 2006
Posts: 52
Location: Sacramento

PostPosted: Sun Nov 19, 2006 11:12 am    Post subject: Reply with quote

i changed it to two and it seems to see them now, but it still hasn't gotten any work from the server, even when i manually copied some work from another box seti_boinc just seems to start but I have to run it in stand alone, I think I am missing something in one of my config files.
Back to top
View user's profile Send private message
tfp
n00b
n00b


Joined: 18 Jun 2005
Posts: 7

PostPosted: Tue Nov 21, 2006 7:03 pm    Post subject: Reply with quote

It might take a bit for there to be work. Did you check if the computer is listed on your account?

You could always try to for it to connect and see if that helps. I had the same thing when I started my Sun up this winter, I can't remember how it got to a point so it started to get work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum