Welcome to MilkyWay@home

milkyway v0.2 code release


Advanced search

Message boards : Application Code Discussion : milkyway v0.2 code release
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
jedirock
Avatar

Send message
Joined: 8 Nov 08
Posts: 178
Credit: 6,140,854
RAC: 0
5 million credit badge13 year member badge
Message 6536 - Posted: 23 Nov 2008, 23:35:46 UTC - in response to Message 6534.  

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>

It's a little rough. You need to take a look at the Makefile to find the actual targets, which are "app_i686" and "app_x86_64". Should be easy enough to figure out which target you want.
ID: 6536 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileMichael Roberts
Avatar

Send message
Joined: 25 Dec 07
Posts: 10
Credit: 217,283
RAC: 0
100 thousand credit badge14 year member badge
Message 6540 - Posted: 23 Nov 2008, 23:58:45 UTC - in response to Message 6475.  
Last modified: 24 Nov 2008, 0:10:01 UTC

I have downloaded the new tar, but anyway now missing:
/searches/asynchronous_newton_method.<h/c>

do you know what file is including that? it shouldn't be there.

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.
ID: 6540 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileMichael Roberts
Avatar

Send message
Joined: 25 Dec 07
Posts: 10
Credit: 217,283
RAC: 0
100 thousand credit badge14 year member badge
Message 6617 - Posted: 24 Nov 2008, 21:06:14 UTC
Last modified: 24 Nov 2008, 21:13:07 UTC

(edit - I've just noticed the v0.3 release in another thread - I'll download that...)

Some more updates for make.linux:

  • The definition -I/software/boinc-6.3.14-0/pkg/include/boinc/ is not needed for CXXFLAGS
  • We need to add -L$(BOINC_DIR)/lib -L$(BOINC_DIR)/api to LDFLAGS, and move the definition of BOINC_DIR above that
  • I've added some brief usage comments at the head of the file


Here is a patch with collected changes so far: http://www.pastebin.ca/1266100

ID: 6617 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Emanuel

Send message
Joined: 18 Nov 07
Posts: 280
Credit: 2,442,757
RAC: 0
2 million credit badge14 year member badge
Message 6632 - Posted: 24 Nov 2008, 22:20:24 UTC - in response to Message 6617.  
Last modified: 24 Nov 2008, 22:20:40 UTC

Some more updates for make.linux:

  • The definition -I/software/boinc-6.3.14-0/pkg/include/boinc/ is not needed for CXXFLAGS
  • We need to add -L$(BOINC_DIR)/lib -L$(BOINC_DIR)/api to LDFLAGS, and move the definition of BOINC_DIR above that
  • I've added some brief usage comments at the head of the file


Here is a patch with collected changes so far: http://www.pastebin.ca/1266100



Does all of this apply to Windows as well? (note I haven't seriously tried to compile it yet)
ID: 6632 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileMichael Roberts
Avatar

Send message
Joined: 25 Dec 07
Posts: 10
Credit: 217,283
RAC: 0
100 thousand credit badge14 year member badge
Message 6636 - Posted: 24 Nov 2008, 22:34:30 UTC - in response to Message 6632.  

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.
ID: 6636 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2

Message boards : Application Code Discussion : milkyway v0.2 code release

©2022 Astroinformatics Group