1)
Message boards :
Application Code Discussion :
What's needed to compile the app?
(Message 6819)
Posted 26 Nov 2008 by Michael Roberts Post: ok, ... This one Yes that should have been made with boinc. Is it really not there? Have you updated make.linux to take the libraries from boinc? (edit) that was a silly question because the error message would have referred to a different path if you had not done that! I have just checked a fresh boinc build with both server and client disabled as suggested and confirmed that the library is created. I suggest you do the following in the boinc directory: make distclean svn update (and then the configure and make commands again) and check for any build errors. Sometimes the svn is in an inconsistent state and it does not build correctly. (That's assuming you are taking trunk or an active branch - it shoud'nt be a problem if you take an explicit release.) I'll leave the quoted section as it shows how I am currently managing the changes to make.linux - I have a 'little script' which adds lines or uncomments them as necessary -- the comments are added so it is easy to see what has been changed automatically. See the three lines after the ## comments below: BOINC_LINK_DIR = /projects/wcl/software/boinc ##zap-cmt BOINC_LINK_DIR = $(BOINC_DIR) BOINC_LIB_LINK_DIR = $(BOINC_LINK_DIR)/lib BOINC_API_LINK_DIR = $(BOINC_LINK_DIR)/api VARIANTFLAGS = -DGMLE_BOINC CXXFLAGS_ALL = $(VARIANTFLAGS) \ -g \ -O INC = -I$(BOINC_DIR) -I$(BOINC_DIR)/lib -I$(BOINC_DIR)/api CXX_i686 = g++ CXXFLAGS_i686 = -m32 -O2 -ftree-vectorize -funroll-loops $(CXXFLAGS_ALL) LDFLAGS_i686 = -L/usr/X11R6/lib -L../../linux32_libboinc ##zap-cmt LDFLAGS_i686 = -L$(BOINC_LIB_LINK_DIR) -L$(BOINC_API_LINK_DIR) CXX_x86_64 = g++ CXXFLAGS_x86_64 = -O2 -msse2 -ftree-vectorize -funroll-loops $(CXXFLAGS_ALL) LDFLAGS_x86_64 = -L/usr/local/lib #LDFLAGS_x86_64 = -L/usr/local/lib -L/usr/X11R6/lib ##zap-cmt LDFLAGS_x86_64 = -L$(BOINC_LIB_LINK_DIR) -L$(BOINC_API_LINK_DIR) |
2)
Message boards :
Application Code Discussion :
What's needed to compile the app?
(Message 6807)
Posted 26 Nov 2008 by Michael Roberts Post: Thanks jedirock! You will also need -I$(BOINC_DIR)/api . I pointed out yesterday that the definition of INC was missing from the makefile. I have now checked one directory at a time and am using these definitions: CXXFLAGS_ALL = $(VARIANTFLAGS) \ -g \ -O INC = -I$(BOINC_DIR) -I$(BOINC_DIR)/lib -I$(BOINC_DIR)/api I would prefer the VARIANTFLAGS and INC definitions to remain in separate variables so they can also be used for other commands (such as splint . |
3)
Message boards :
Application Code Discussion :
milkyway code releases
(Message 6641)
Posted 24 Nov 2008 by Michael Roberts Post: Some updates to make.linux for v0.3
|
4)
Message boards :
Application Code Discussion :
milkyway v0.2 code release
(Message 6636)
Posted 24 Nov 2008 by Michael Roberts Post: Sorry I'm only able to check the linux builds (practicality rather than dogma - I don't have a compilation environment on our Windows machine.) Note also the new thread for v0.3 code release. |
5)
Message boards :
Application Code Discussion :
milkyway v0.2 code release
(Message 6617)
Posted 24 Nov 2008 by Michael Roberts Post: (edit - I've just noticed the v0.3 release in another thread - I'll download that...) Some more updates for make.linux:
|
6)
Message boards :
Application Code Discussion :
milkyway v0.2 code release
(Message 6540)
Posted 23 Nov 2008 by Michael Roberts Post: I have downloaded the new tar, but anyway now missing: It is just a dependency in the linux makefile, so you could remove that: ... make: *** No rule to make target `../searches/asynchronous_newton_method.o', needed by `app_x86_64'. Stop. xxx> grep -r asynchronous_newton_method . ./make.linux: $(SEARCH_DIR)/asynchronous_newton_method.o \ xxx> (edit) I have now finished the initial compiling and I have had to remove dependencies on the following objects from make.linux: ../searches/asynchronous_newton_method.o ../searches/hessian.o ../searches/gradient.o ../searches/recombination.o ../util/matrix.o Thanks jedirock for the hint about the make targets - that is working fine now. |
7)
Message boards :
Application Code Discussion :
milkyway v0.2 code release
(Message 6534)
Posted 23 Nov 2008 by Michael Roberts Post: 1. I'm using linux. I don't see how to use the makefiles -- the dependencies for all -- the $(PROGS) definition -- do not appear anywhere as targets. I get: xxx> make -f make.linux make: *** No rule to make target `boinc_astronomy', needed by `all'. Stop. xxx> 2. If you add a comment line to the beginning of the makefiles, life will be easier for those using emacs/xemacs (and perhaps other editors?): # -*- Makefile -*- This turns on Makefile colourisation for that file in a generic editor configuration. |
8)
Message boards :
Number crunching :
known issues
(Message 3769)
Posted 13 Jun 2008 by Michael Roberts Post: You can safely abort that wu. It's caused by a bad set of wus (gs_600). Thanks for the quick reply. Done that. Happy again! |
9)
Message boards :
Number crunching :
known issues
(Message 3767)
Posted 13 Jun 2008 by Michael Roberts Post: I woke up to a workunit which has been running for about ten hours still with zero progress, so v1.23 hasn't fixed the "some workunits just freeze" problem. I will leave it suspended for a day or so in case there is any useful information we can extract from it. |
10)
Questions and Answers :
Web site :
Your Account broken
(Message 1192)
Posted 28 Dec 2007 by Michael Roberts Post: Newly-created profiles are also broken: view profile shows the error: Fatal error: Call to undefined method stdClass::hasImagesAsLinks() in /export/share0/www/boinc/milkyway/html/inc/text_transform.inc on line 109 and results: Notice: Trying to get property of non-object in /export/share0/www/boinc/milkyway/html/inc/result.inc on line 79 |
©2024 Astroinformatics Group