Message boards :
Graphics cards (GPUs) :
app_config - acemdshort
Message board moderation
| Author | Message |
|---|---|
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
What is wrong with this... <app_config> <app> <name>acemdshort</name> <max_concurrent>2</max_concurrent> <gpu_versions> <gpu_usage>1.00</gpu_usage> <cpu_usage>1.00</cpu_usage> </gpu_versions> </app> </app_config>
|
|
Send message Joined: 11 Oct 08 Posts: 1127 Credit: 1,901,927,545 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The contents of the xml file are correct. Is it in a file called "app_config.xml" within your "projects\www.gpugrid.net" folder? It should be. Is it not setting the CPU usage to 1.00 for each of the tasks? It should be. And it'll require a restart of BOINC for it to properly take effect. Are you trying to get 2 tasks to run at 1 time, and wondering why that's not working? Max_concurrent means "run at most these many tasks of this application type, at any given moment", but it's the gpu_usage setting that dictates "how many tasks of this application type can run on a given GPU", since it really means "consider this much GPU as used when this application type is running on a GPU". Setting it to 0.5, and restarting BOINC, will allow 2 acemdshort tasks on 1 GPU. Does this help you at all? Next time, saying "what's wrong" is not enough to properly ask a question - details matter. Ask more appropriately. |
|
Send message Joined: 9 May 13 Posts: 171 Credit: 4,594,296,466 RAC: 140 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
If you want to get the app_config.xml to take effect without having to restart BOINC, Open up BOINC Manager on your PC In the menu bar at top, click on "Advanced" In the drop-down click on "Read Config Files" In the event log, you should get a message in the even log that says GPUGRID | 4/18/2014 5:19:08 PM | Found app_config.xml If you don't get the message in your event log, it didn't find the app_config.xml file in the ...\projects\www.gpugrid.net folder The one odd quirk about this method is that the "Status" column may not show the correct usage of cpu's/gpu's, but it will behave as you intended in the app_config. Hope that helps. |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
The BOINC Manager reports Status as Running (0.492 CPUs + NVIDIA GPU) for each of my GPUs. It should report 1.0 CPUs + 1 NVIDIA GPU. I have rebooted the Boinc Manager and used the... sudo service boinc-client restart Still the amount of approved CPU usage is not reflected in the BOINC Manager. The one odd quirk about this method is that the "Status" column may not show the correct usage of cpu's/gpu's, but it will behave as you intended in the app_config. Well, IMO it should. |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
Follow up to prior post... The Windows application of your project works for assigning CPU + GPU usage. It is the Linux version that seems to ignore the app_config.xml file. |
|
Send message Joined: 11 Oct 08 Posts: 1127 Credit: 1,901,927,545 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
If you're not getting the message: GPUGRID | 4/18/2014 5:19:08 PM | Found app_config.xml ... within the startup Event Log entries, then it means your app_config.xml file is in the wrong place, and BOINC is not finding it. Are you getting that message? I assume you're not. So, where exactly are you putting this .xml file? |
|
Send message Joined: 9 May 13 Posts: 171 Credit: 4,594,296,466 RAC: 140 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The app_config.xml is working just fine for me on BOINC 7.2.42 running on Ubuntu 14.04. I have 2 cpu's and 1 gpu assigned per task. If you are running Ubuntu and installed using the Ubuntu software installer, the projects folder should be in /var/lib/boinc-client/projects/www.gpugrid.net. It might be in the same location on other Linux distros, I am unable to verify. Personally, I do not use the Ubuntu software installer so my projects folder is stored in a different location. If you do use the distro software installer, there might be some permissions issues that you have to work around to get the app_config.xml file moved into the ~/projects/www.gpugrid.net folder. If you are still having trouble, let us know, I would be glad to do some testing with the BOINC version that is installed by the distro installer. |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
Hi Captain, I'm using LinuxMint 14 DE: Cinnamon One of my PC is on LM with NV GPUs. I also have a PC on Win7 and NV GPUs. You have confirmed the content of the file. Both files are identical. The Win7 PC indicates 1C + 1NV. The LM PC indicates 0.492C + 1NV. BoincTasks indicates CPU % for the Win7 PC as about 15%. The LM PC indicates about 97%. This is why I am trying to set the permissions for the WUs to use 1 CPU vice 0.492. The file location in the LM PC is /var/lib/boinc-client/projects/www.gpugrid.net Edit: The Event log on the Win7 reports finding the file. The Event log on the LM PC does not show the app_config.xml file as having been found. Where should I put it if not where it is? |
|
Send message Joined: 11 Oct 08 Posts: 1127 Credit: 1,901,927,545 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Can you please post the startup entries of your Event Log, like the first 30 or so lines? Specifically, it should actually be TELLING you where your data directory is. |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
Can you please post the startup entries of your Event Log, like the first 30 or so lines? Specifically, it should actually be TELLING you where your data directory is. OK. Working on it. |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
Can you please post the startup entries of your Event Log, like the first 30 or so lines? Specifically, it should actually be TELLING you where your data directory is. Fri 18 Apr 2014 06:30:04 PM PDT | | Starting BOINC client version 7.0.27 for x86_64-pc-linux-gnu |
|
Send message Joined: 9 May 13 Posts: 171 Credit: 4,594,296,466 RAC: 140 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Gandalf, Indeed this is puzzling. Your event log confirms that your data directory is /var/lib/boinc-client. I just started up a Ubuntu VM with BOINC installed by the Ubuntu software installer. Data directory is in the same location. When I tried to get into the ~/boinc-client/projects folder using the Ubuntu file manager, it said that I didn't have permission to see the contents. The only way I found to get the app_config.xml into the /boinc-client/projects/www.gpugrid.net folder was to start up a terminal session and use the sudo command to get permissions to save data into the folder. I did a "cd /var/lib/boinc-client/projects/www.gpugrid.net" to switch to the folder. Then I did a "sudo gedit app_config.xml" to open the editor. After I placed the app_config.xml into the folder, I went into BOINC and told it to "Read config files". The event log confirmed that the app_config was found. Did you have the same permissions problems when trying to store the app_config in the /projects/www.gpugrid.net folder? |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
YES!!! I just used chmod from a terminal to gain access. |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
Thought a picture would not hurt. |
|
Send message Joined: 9 May 13 Posts: 171 Credit: 4,594,296,466 RAC: 140 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'm about out of guesses. Assuming that the app_config.xml file name is spelled correctly and is in the correct folder, the BOINC Manager should find it. My only other guess would be the effect of the chmod that you issued to get into the projects folder. I wonder if that could have done something to the folder permissions to confuse BOINC and cause it to not read the app_config file. Sorry I couldn't be of more help. |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
Thanks for trying, Lieutenant. :)
|
|
Send message Joined: 11 Oct 08 Posts: 1127 Credit: 1,901,927,545 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
With the file placed on the correct folder, you might try uninstalling and reinstalling BOINC. Perhaps reinstalling it will set the file permissions to their correct values. |
|
Send message Joined: 11 Oct 08 Posts: 1127 Credit: 1,901,927,545 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I think I found the problem. It's your BOINC version. Look here: https://boinc.berkeley.edu/wiki/Client_configuration Your version is too old. Perhaps you should heed the warning message at the beginning of the Event Log, and upgrade, and then try again. |
|
Send message Joined: 4 Apr 13 Posts: 27 Credit: 32,882,125 RAC: 0 Level ![]() Scientific publications
|
I think I found the problem. It's your BOINC version. I installed via the apt-get function. I'll reinstall via apt-get. |
|
Send message Joined: 2 Jan 09 Posts: 303 Credit: 7,321,800,090 RAC: 270 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I think I found the problem. It's your BOINC version. Not being a Linux guy this isn't as easy as it sounds. In Windows you click the link provided, it takes you to the webpage link, you click it, it runs and boom it is installed. If only Linux were that simple lots of people would upgrade, but right now in Ubuntu when you search the default repositories for Boinc and ONLY 7.0.27 comes up, nothing newer. That means you have to manually download and install it, not nearly as easy for folks that don't use Linux on a regular basis and forget the syntax and commands. In the past I 'upgraded' to a newer Boinc version in Linux, it has been awhile, and it didn't even install it in the SAME directory, so every workunit I had was lost. Perhaps Dr A can get his guru's to make it easy for us Linux dummies to just 'point and click' like in Windows. |
©2025 Universitat Pompeu Fabra