Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

Posts by 7ri9991 [MM]

log in
1) Message boards : Pirate Talk : *LAST PIRATE TO POST HERE GETS THE GOLD* (Message 9181)
Posted 76 days ago by Profile 7ri9991 [MM]
My gold again. Arrr!
2) Message boards : Number Crunching : 1 hour? (Message 9092)
Posted 564 days ago by Profile 7ri9991 [MM]
They put out a very limited amount of work and they want everyone to get a chance to grab some. It has always been this way.

It hasn't always been an hour. I think that's something I would have gotten annoyed by way before now.
3) Message boards : Pirate Talk : *LAST PIRATE TO POST HERE GETS THE GOLD* (Message 9087)
Posted 564 days ago by Profile 7ri9991 [MM]
It occurs to me that the only reason that there will be a last person to post is if the project closes. In that case the gold will be buried under the project. Good luck collecting. :-P
4) Message boards : Number Crunching : 1 hour? (Message 9086)
Posted 564 days ago by Profile 7ri9991 [MM]
Is a deferral of 1 hour really necessary? We can't make it 5 or 10 minutes?
5) Message boards : Number Crunching : hello_6.10_powerpc-apple-darwin: file not found (Message 9030)
Posted 668 days ago by Profile 7ri9991 [MM]
rilian wrote:
Ok, then just file is missed

I do not want to switch from 6.10 BOINC (cause of messages tab) ... What would you recommend ?

Get used to CTRL+SHIFT+E
6) Message boards : Pirate Applications : cube 6.05 from source (Message 8829)
Posted 1245 days ago by Profile 7ri9991 [MM]
I'm trying to compile a static app from source for a powerpc64-unknown-linux-gnu.

When I try to compile I get the following error message after it tried to compile buffon.C
make: *** No rule to make target `-Wl,-Bstatic', needed by `cube'. Stop.


Here is the Makefile after my edits.
# Makefile for the BOINC cube program
#
# Unpack this in boinc/apps/cube.d and say 'make cube' to make
# a BOINC application which demonstrates BOINC graphics.
#
# Can be built either using A) the directory in which BOINC was BUILT,
# or B) the location where BOINC was installed. Uncomment accordingly.
#
# Comments marked #MAC# show what needs to be changed for MacOS,
# but see the file Makefile.Mac for a working example.
#
# Eric Myers - 3 August 2004
# @(#) $Id: Makefile,v 1.51 2010/02/20 03:13:25 myers Exp $
#######################################################################

default: cube cube_graphics

# Version of app we are building (change as appropriate):
# (Major version of an app must match major version of BOINC core client!)

MAJOR_VERSION= 6
MINOR_VERSION= 05
BUILD_ARCH=powerpc64-unknown-linux-gnu
#MAC#BUILD_ARCH=powerpc-apple-darwin

BIN_FILENAME= cube_$(MAJOR_VERSION).$(MINOR_VERSION)_$(BUILD_ARCH)
GFX_FILENAME= cube_graphics_$(MAJOR_VERSION).$(MINOR_VERSION)_$(BUILD_ARCH)


# A) Use BOINC_BUILD to point to where you built BOINC
# Use this if it was not yet installed in BOINC_PREFIX
#BOINC_BUILD= /usr/local/src/boinc/server_stable
#BOINC_BUILD=/net/alvarez/usr04/boinc/server_stable
BOINC_BUILD= /home/greg/boinc


# B) Use BOINC_PREFIX to point to where you have installed BOINC
# There should be lib and include/BOINC directories under it.
BOINC_PREFIX=/usr

# compiler custom flags (if you need these, eg. to enable graphics )
# Linux graphics apps need -D_REENTRANT for separate compute/graphics threads
# Need USE_GLUT to be able to use GLUT text functions
# use NOLIB on Linux to prevent graphics thread via separate .so library

#DEFS= -DHAVE_DIRENT_H
#MAC#DEFS= -DBOINC_APP_GRAPHICS -D_THREAD_SAFE -DUSE_GLUT


DEFS= -DBOINC_APP_GRAPHICS -DHEARTS
# DEFS= -DBOINC_APP_GRAPHICS -DUSE_GLUT -D_REENTRANT -D__NO_CTYPE

##################
# Header files:

#A)
INCLUDES= -I$(BOINC_BUILD)/api -I$(BOINC_BUILD)/lib -I$(BOINC_BUILD)
#B)
# INCLUDES= -I$(BOINC_PREFIX)/include/boinc


##############
# Libraries:
#
# Flags to set static/dynamic loading of libraries for more portable apps
LDSTATIC= -Wl,-Bstatic
LDDYNAMIC= -Wl,-Bdynamic

# BOINC libraries, other stuff

#A)
LIBDIRS= -L. -L$(BOINC_BUILD)/api -L$(BOINC_BUILD)/lib
#B)
# LIBDIRS= -L$(BOINC_PREFIX)/lib

LIBS= $(LIBDIRS) -lboinc_api -lboinc -static-libgcc
LIBS2= $(LDSTATIC) -L. -lstdc++ -lc -lm
#LIBS2= libstdc++.a libc.a

# This is what we need for BOINC v6
#
BOINC_GFX_LIBS= $(LIBDIRS) $(LDSTATIC) -lboinc_graphics2

# Unix graphics libraries, for OpenGL, GLU, GLUT, and X11 graphics
# (We also need JPEG libs because BOINC uses it, even though we don't)
# They are dynamic because each client host has the best version of the
# graphics libraries for it's own graphics card(s)
#
UNIX_GFX_LIBS= $(LDDYNAMIC) -L/usr/X11R6/lib -lglut -lGL -lGLU -ljpeg
-lX11 -lXmu -lXext -lXi -lSM -lICE

# And these are the graphics libraries for Mac OS X
#
MAC_GFX_LIBS= -ljpeg -lobjc -framework Cocoa -framework GLUT -framework OpenGL

# Unix or Mac?
#MAC#GLIBS= $(BOINC_GFX_LIBS) $(MAC_GFX_LIBS)
GLIBS= $(BOINC_GFX_LIBS) $(UNIX_GFX_LIBS)


##
# How to invoke the C++ compiler:

CXX = g++
CXXCPP = $(CXX) -E
CXXFLAGS =-g
LDFLAGS= -pthread -v -static-libgcc
#MAC#LDFLAGS=

CXXCOMPILE = $(CXX) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
CXXLINK = g++ -o $@ $(CXXFLAGS) $(LDFLAGS)

.C.o:
$(CXXCOMPILE) -o $@ $<

##
# What we gotta make, and how to do it

OBJECTS= cube.o buffon.o
GRAPHICS= cube_gfx.o hearts.o


# In BOINC v6 the graphics are in a separate program,
# and the science app is in a separate program with no graphics
#
cube: $(OBJECTS) $(LIBS2)
$(CXX) -o $@ $+ $(CXXFLAGS) $(LDFLAGS) $(LIBS) $(LIBS2)
ln -f $@ $(BIN_FILENAME)

cube_graphics: graphics_app.o $(GRAPHICS) $(LIBS2)
$(CXXLINK) $+ $(GLIBS) $(LIBS) $(LIBS2)
ln -f $@ $(GFX_FILENAME)

##
# Object files

cube.o: cube.C buffon.h
cube_gfx.o: cube_gfx.C
tree.o: tree.C
hearts.o: hearts.c


# BOINC version 6: Generic main program for screensaver as a separate executable

graphics_app.C: ../graphics_app.C
cp ../graphics_app.C .

##
# Buffon MC simulation

buffon.C: ../buffon/buffon.C
cp $+ $@

buffon.h: ../buffon/buffon.h
cp $+ $@

buffon.o: buffon.C buffon.h

buffon: buffon.C buffon.h
-rm -f buffon.o
$(CXX) $(CXXFLAGS) -DBUFFON_STANDALONE $< -o $@

buffon_wu.xml: ../buffon/buffon_wu.xml
cp $+ $@


##
# The boinclet is a standalone test of the graphics thread
# (kinda like cube_graphics before BOINC 6). Use it to test
# graphics against GLUT without BOINC graphics libraries.

boinclet: boinclet.o $(GRAPHICS)
$(CXXLINK) $+ $(UNIX_GFX_LIBS) $(LIBDIRS) -lboinc
strip $@

boinclet.o: boinclet.C boinclet.h
$(CXXCOMPILE) -DUSE_GLUT $< -o $@

boinclet.C: ../boinclet/boinclet.C
cp ../boinclet/boinclet.C .

boinclet.h: ../boinclet/boinclet.h
cp ../boinclet/boinclet.h .


##
# Using static stdc++ library can make apps more portable
# (But no longer needed or useful on a Mac).

libstdc++.a:
ln -s ` $(CXX) --print-file-name=libstdc++.a `

libc.a:
ln -s ` $(CXX) --print-file-name=libc.a `


##
# For testing dynamics loading. Must have . in LD_LIBRARY_PATH

ldd: cube cube_graphics
export LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH}; ldd -v cube
export LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH}; ldd -v cube_graphics

needed: cube cube_graphics
objdump -p cube | grep NEEDED
objdump -p cube_graphics | grep NEEDED


##
# Add the application to the BOINC project, using the add_app.sh
# script, naming any extra files that should be included
# TODO: modify script to look for .so files

add_app:
add_app.sh $(SO_FILENAME)

##
# You can run the app "standalone" if you create an output file
# called "out.txt" first:

out:
rm -f out.txt stderr.txt buffon_ckpt gfx_inited boinc_finish_called
touch out.txt

test: out cube cube_graphics
cube_graphics & cube ; kill %1
@grep "Blow me down!" out.txt && echo " Success! "|| echo "Failed! "


##
# Cleaning removes the executable and object, also the long named
# executable, and any files left from running standalone

clean:
rm -f cube cube.so buffon boinclet cube_nolib cube_graphics
rm -f *.o
rm -f $(BIN_FILENAME) $(BIN_FILENAME).gz $(BIN_FILENAME).sig
rm -f $(GFX_FILENAME) $(GFX_FILENAME).gz $(GFX_FILENAME).sig
rm -f boinc_finish_called boinc_lockfile init_data.xml
rm -f stderr.txt stderrgfx.txt gfx_info
rm -f ckpt_state buffon_ckpt gfx_inited
rm -f cube_?.??_$(BUILD_ARCH) cube_?.??_$(BUILD_ARCH).so
cat /dev/null > out.txt

veryclean: clean
rm -f out.txt out a.out
rm -f cube_*_i686-*-linux-*
rm -f cube_*_windows_*
rm -f cube_*_powerpc-apple-*
rm -f cube_*_i686-apple-darwin
rm -f libstdc++.a libc.a


distclean: veryclean
rm -f *~
rm -f buffon.C buffon.h
rm -f boinclet.C boinclet.h
rm -f graphics_app.C
##

Should I just give up on a static app or am I using a wrong option? It looks like it's trying to compile the includes.
7) Message boards : Pirate Applications : cube_6.05 (Message 8828)
Posted 1245 days ago by Profile 7ri9991 [MM]
I can't seem to find the source code for 6.05. Is it available?

Nevermind, I found it.
8) Message boards : Number Crunching : New work? (Message 8809)
Posted 1250 days ago by Profile 7ri9991 [MM]
My PIII box running Ubuntu Intrepid
kernel 2.6.27-16
xorg 1:7.4

Does not display the graphic. One finished, the other had a computation error when I resumed wanless.
9) Message boards : Number Crunching : New work? (Message 8808)
Posted 1250 days ago by Profile 7ri9991 [MM]
Wormholio wrote:
Thanks. We'll have to figure out from that what version of X11 is installed. The uname info is also probably a good indicator of how fresh this version is (2.6.30 is quite recent).

Let me simplify the matter:
emerge -vp xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] x11-base/xorg-server-1.6.5-r1 USE="hal ipv6 nptl sdl xorg -debug -dmx -kdrive -minimal -tslib"

I believe that's what you're looking for.
10) Message boards : Number Crunching : New work? (Message 8806)
Posted 1250 days ago by Profile 7ri9991 [MM]
Gentoo Linux


Hope that displays correctly.

As is customary with posting Gentoo info...

emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Pentium-R-_Dual_CPU_E2160_@_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 06 Feb 2010 18:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc: 3.4.6-r2, 4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://mirror.usu.edu/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif glib gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl session spell spl sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="all" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I wish there was a preview feature here.


Next 10

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2013 Capt. Jack Sparrow