@ |
Home | Help | Status | Forums | Glossary | Account
|
log in |
1)
Message boards :
Pirate Talk :
*LAST PIRATE TO POST HERE GETS THE GOLD*
(Message 9181)
Posted 76 days ago by 7ri9991 [MM] My gold again. Arrr! |
2)
Message boards :
Number Crunching :
1 hour?
(Message 9092)
Posted 564 days ago by 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 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 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 7ri9991 [MM] rilian wrote: Ok, then just file is missed Get used to CTRL+SHIFT+E |
6)
Message boards :
Pirate Applications :
cube 6.05 from source
(Message 8829)
Posted 1245 days ago by 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 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 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 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 I believe that's what you're looking for. |
10)
Message boards :
Number Crunching :
New work?
(Message 8806)
Posted 1250 days ago by 7ri9991 [MM] Gentoo Linux Hope that displays correctly. As is customary with posting Gentoo info... emerge --info I wish there was a preview feature here. |
Home | Help | Status | Forums | Glossary | Account
|