Posts by loonis

1) Message boards : Server programs : 1 task = 2 jobs why ? (Message 38713)
Posted 29 Jun 2011 by loonis
Post:
Hi,

I would like to know why everytime I'm using the command create_work to create a single task, when I'm going to the client side and start processing the project it download and process twice the same task although there is only 1 task pending.

Thanks for any enlightenment

2) Message boards : API : Cannot compile a simple work_generator (Message 38613)
Posted 21 Jun 2011 by loonis
Post:
I got the same error as you.

Did anyone know a solution to this problem.

Thank you, Loonis
3) Message boards : Server programs : Can't build sample_work_generator (Message 38129)
Posted 2 Jun 2011 by loonis
Post:
I found the simplest Makefile I can create for a simple work generator, here it is for those who one day need it :

#!/usr/bin/make -f

BOINC_BUILD=/home/boincadm/boinc

CXX = g++
CXXFLAGS = -pthread -Wall

INCLUDES =-I. -I$(BOINC_BUILD) -I$(BOINC_BUILD)/api -I$(BOINC_BUILD)/lib -I$(BOINC_BUILD)/db -I$(BOINC_BUILD)/sched -I$(BOINC_BUILD)/tools -I/usr/include/mysql

##- Libraries:

LIBS = $(BOINC_BUILD)/sched/libsched.a $(BOINC_BUILD)/lib/libboinc.a $(BOINC_BUILD)/api/libboinc_api.a  /usr/lib/libmysqlclient.a -lz

SOURCES = $(my_sample_work_generator *.cpp)
APPS = $(SOURCES:.cpp=)

all: $(APPS)

%: %.cpp
	$(CXX) $^ $(INCLUDES) $(CXXFLAGS) $(LIBS) -o $@

%.o: %.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $<

clean:
	rm -rf *.o *~ $(APPS)
4) Message boards : Server programs : Can't build sample_work_generator (Message 38123)
Posted 2 Jun 2011 by loonis
Post:
Hi, Could you share your MakeFile, I can't build my own work generator

Thanks.




Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.