Advanced search

Message boards : Graphics cards (GPUs) : app_config - acemdshort

Author Message
Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36398 - Posted: 18 Apr 2014 | 19:29:09 UTC

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>


____________

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36403 - Posted: 18 Apr 2014 | 22:08:44 UTC
Last modified: 18 Apr 2014 | 22:10:17 UTC

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.

captainjack
Send message
Joined: 9 May 13
Posts: 160
Credit: 1,250,090,584
RAC: 2,710
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36405 - Posted: 18 Apr 2014 | 22:23:29 UTC

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.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36407 - Posted: 18 Apr 2014 | 23:11:40 UTC
Last modified: 18 Apr 2014 | 23:13:02 UTC

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.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36409 - Posted: 18 Apr 2014 | 23:24:21 UTC

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.

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36410 - Posted: 18 Apr 2014 | 23:25:56 UTC
Last modified: 18 Apr 2014 | 23:26:15 UTC

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?

captainjack
Send message
Joined: 9 May 13
Posts: 160
Credit: 1,250,090,584
RAC: 2,710
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36411 - Posted: 19 Apr 2014 | 0:27:53 UTC

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.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36412 - Posted: 19 Apr 2014 | 1:20:02 UTC - in response to Message 36411.
Last modified: 19 Apr 2014 | 1:25:04 UTC

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?

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36413 - Posted: 19 Apr 2014 | 1:23:25 UTC - in response to Message 36412.

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.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36414 - Posted: 19 Apr 2014 | 1:25:46 UTC - in response to Message 36413.

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.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36415 - Posted: 19 Apr 2014 | 1:38:19 UTC - in response to Message 36413.
Last modified: 19 Apr 2014 | 1:38:41 UTC

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
Fri 18 Apr 2014 06:30:04 PM PDT | | log flags: file_xfer, sched_ops, task, sched_op_debug
Fri 18 Apr 2014 06:30:04 PM PDT | | Libraries: libcurl/7.27.0 OpenSSL/1.0.1c zlib/1.2.7 libidn/1.25 librtmp/2.3
Fri 18 Apr 2014 06:30:04 PM PDT | | Data directory: /var/lib/boinc-client
Fri 18 Apr 2014 06:30:04 PM PDT | | Processor: 12 GenuineIntel Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz [Family 6 Model 45 Stepping 7]
Fri 18 Apr 2014 06:30:04 PM PDT | | Processor: 12.00 MB cache
Fri 18 Apr 2014 06:30:04 PM PDT | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
Fri 18 Apr 2014 06:30:04 PM PDT | | OS: Linux: 3.5.0-17-generic
Fri 18 Apr 2014 06:30:04 PM PDT | | Memory: 11.71 GB physical, 11.97 GB virtual
Fri 18 Apr 2014 06:30:04 PM PDT | | Disk: 222.94 GB total, 205.96 GB free
Fri 18 Apr 2014 06:30:04 PM PDT | | Local time is UTC -7 hours
Fri 18 Apr 2014 06:30:04 PM PDT | | No usable GPUs found
Fri 18 Apr 2014 06:30:04 PM PDT | GPUGRID | Application uses missing CUDA GPU
Fri 18 Apr 2014 06:30:04 PM PDT | GPUGRID | Missing coprocessor for task 302x-SANTI_MAR419cap310-63-84-RND4489_2
Fri 18 Apr 2014 06:30:04 PM PDT | GPUGRID | Missing coprocessor for task 452x-SANTI_MAR419cap310-62-84-RND2124_0
Fri 18 Apr 2014 06:30:04 PM PDT | | Config: use all coprocessors
Fri 18 Apr 2014 06:30:04 PM PDT | | Config: GUI RPC allowed from:
Fri 18 Apr 2014 06:30:04 PM PDT | | Config: 192.168.1.100
Fri 18 Apr 2014 06:30:04 PM PDT | | Config: 192.168.1.101
Fri 18 Apr 2014 06:30:04 PM PDT | | Config: 192.168.1.102
Fri 18 Apr 2014 06:30:04 PM PDT | | Config: 192.168.1.103
Fri 18 Apr 2014 06:30:04 PM PDT | | A new version of BOINC is available. <a href=http://boinc.berkeley.edu/download.php>Download it.</a>
Fri 18 Apr 2014 06:30:04 PM PDT | GPUGRID | URL http://www.gpugrid.net/; Computer ID 172696; resource share 100
Fri 18 Apr 2014 06:30:04 PM PDT | WUProp@Home | URL http://wuprop.boinc-af.org/; Computer ID 68339; resource share 100
Fri 18 Apr 2014 06:30:04 PM PDT | NFS@Home | URL http://escatter11.fullerton.edu/nfs/; Computer ID 591333; resource share 100
Fri 18 Apr 2014 06:30:04 PM PDT | PrimeGrid | URL http://www.primegrid.com/; Computer ID 430857; resource share 100
Fri 18 Apr 2014 06:30:04 PM PDT | Collatz Conjecture | URL http://boinc.thesonntags.com/collatz/; Computer ID 143372; resource share 100
Fri 18 Apr 2014 06:30:04 PM PDT | PrimeGrid | General prefs: from PrimeGrid (last modified 21-Jan-2014 10:41:09)
Fri 18 Apr 2014 06:30:04 PM PDT | PrimeGrid | Host location: none
Fri 18 Apr 2014 06:30:04 PM PDT | PrimeGrid | General prefs: using your defaults
Fri 18 Apr 2014 06:30:04 PM PDT | | Reading preferences override file
Fri 18 Apr 2014 06:30:04 PM PDT | | Preferences:
Fri 18 Apr 2014 06:30:04 PM PDT | | max memory usage when active: 11993.41MB
Fri 18 Apr 2014 06:30:04 PM PDT | | max memory usage when idle: 11993.41MB
Fri 18 Apr 2014 06:30:04 PM PDT | | max disk usage: 0.00GB
Fri 18 Apr 2014 06:30:04 PM PDT | | (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
Fri 18 Apr 2014 06:30:04 PM PDT | | Not using a proxy
Fri 18 Apr 2014 06:33:43 PM PDT | GPUGRID | URL http://www.gpugrid.net/; Computer ID 172696; resource share 100
Fri 18 Apr 2014 06:33:43 PM PDT | WUProp@Home | URL http://wuprop.boinc-af.org/; Computer ID 68339; resource share 100
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | URL http://escatter11.fullerton.edu/nfs/; Computer ID 591333; resource share 100
Fri 18 Apr 2014 06:33:43 PM PDT | PrimeGrid | URL http://www.primegrid.com/; Computer ID 430857; resource share 100
Fri 18 Apr 2014 06:33:43 PM PDT | Collatz Conjecture | URL http://boinc.thesonntags.com/collatz/; Computer ID 143372; resource share 100
Fri 18 Apr 2014 06:33:43 PM PDT | PrimeGrid | General prefs: from PrimeGrid (last modified 21-Jan-2014 10:41:09)
Fri 18 Apr 2014 06:33:43 PM PDT | PrimeGrid | Host location: none
Fri 18 Apr 2014 06:33:43 PM PDT | PrimeGrid | General prefs: using your defaults
Fri 18 Apr 2014 06:33:43 PM PDT | | Reading preferences override file
Fri 18 Apr 2014 06:33:43 PM PDT | | Preferences:
Fri 18 Apr 2014 06:33:43 PM PDT | | max memory usage when active: 11993.41MB
Fri 18 Apr 2014 06:33:43 PM PDT | | max memory usage when idle: 11993.41MB
Fri 18 Apr 2014 06:33:43 PM PDT | | max disk usage: 0.00GB
Fri 18 Apr 2014 06:33:43 PM PDT | | (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
Fri 18 Apr 2014 06:33:43 PM PDT | | Not using a proxy
Fri 18 Apr 2014 06:33:43 PM PDT | WUProp@Home | Restarting task wu_v4_1397066238_186252_0 using data_collect_v4 version 413 (nci) in slot 0
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task GW_6_298_45232_0 using lasieved version 110 in slot 10
Fri 18 Apr 2014 06:33:43 PM PDT | GPUGRID | Restarting task 302x-SANTI_MAR419cap310-63-84-RND4489_2 using acemdshort version 800 (cuda55) in slot 14
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task GW_6_298_45184_0 using lasieved version 110 in slot 11
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task GW_6_298_45280_0 using lasieved version 110 in slot 7
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task C_2_769_115040_0 using lasieved version 110 in slot 12
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task L1872_134336_0 using lasievee version 110 in slot 3
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task L1872_134332_0 using lasievee version 110 in slot 5
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task C_2_769_115200_0 using lasieved version 110 in slot 6
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task L1872_134320_0 using lasievee version 110 in slot 4
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task L1872_134312_0 using lasievee version 110 in slot 9
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task C_2_769_115072_0 using lasieved version 110 in slot 1
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task L1872_134288_0 using lasievee version 110 in slot 2
Fri 18 Apr 2014 06:33:43 PM PDT | GPUGRID | Restarting task 452x-SANTI_MAR419cap310-62-84-RND2124_0 using acemdshort version 800 (cuda55) in slot 13
Fri 18 Apr 2014 06:33:43 PM PDT | NFS@Home | Restarting task C_2_769_115248_0 using lasieved version 110 in slot 8

captainjack
Send message
Joined: 9 May 13
Posts: 160
Credit: 1,250,090,584
RAC: 2,710
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36416 - Posted: 19 Apr 2014 | 2:03:55 UTC

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?

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36417 - Posted: 19 Apr 2014 | 2:19:12 UTC - in response to Message 36416.

YES!!!
I just used chmod from a terminal to gain access.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36420 - Posted: 19 Apr 2014 | 2:38:53 UTC - in response to Message 36417.

Thought a picture would not hurt.

captainjack
Send message
Joined: 9 May 13
Posts: 160
Credit: 1,250,090,584
RAC: 2,710
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36421 - Posted: 19 Apr 2014 | 3:05:00 UTC

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.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36422 - Posted: 19 Apr 2014 | 3:18:08 UTC - in response to Message 36421.

Thanks for trying, Lieutenant. :)


____________

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36423 - Posted: 19 Apr 2014 | 3:20:56 UTC - in response to Message 36422.

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.

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36424 - Posted: 19 Apr 2014 | 3:27:59 UTC
Last modified: 19 Apr 2014 | 3:33:24 UTC

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.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36425 - Posted: 19 Apr 2014 | 3:30:50 UTC - in response to Message 36424.

I think I found the problem. It's your BOINC version.
Look here: https://boinc.berkeley.edu/wiki/Client_configurationYour version is to old.
Perhaps you should heed the warning message at the beginning of the Event Log, and upgrade, and then try again.

I installed via the apt-get function. I'll reinstall via apt-get.

mikey
Send message
Joined: 2 Jan 09
Posts: 285
Credit: 556,746,959
RAC: 57,623
Level
Lys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36434 - Posted: 19 Apr 2014 | 13:35:51 UTC - in response to Message 36424.

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.


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.

captainjack
Send message
Joined: 9 May 13
Posts: 160
Credit: 1,250,090,584
RAC: 2,710
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36435 - Posted: 19 Apr 2014 | 14:25:13 UTC

Mikey said:

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.

Not sure where you are looking. Right now when I check in the Ubuntu 14.04 software installer, BOINC 7.2.42 comes up. Then all I have to do is click the "Install" button. Sounds pretty simple to me.

Profile skgiven
Volunteer moderator
Project tester
Volunteer tester
Avatar
Send message
Joined: 23 Apr 09
Posts: 3968
Credit: 1,995,359,260
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36438 - Posted: 19 Apr 2014 | 15:47:51 UTC - in response to Message 36435.

Fine if you are using 14.04, not fine if you are using some earlier version which only updates from older repositories, and if you don't have an LTS version then it's DIY or die trying.

It's the command names and the command changes that I don't like, especially when jumping from flavour to flavour. How would a newbie really know that sudo stands for Super User do? If Linux actually told you 'verbosely' what the commands did when you entered them, then you would learn while you do/copy and paste.

https://www.linux.com/learn/tutorials/306766:linux-101-introduction-to-sudo

Until Linux facilitates click and install, it will not be user friendly!

It's for that exact reason that Android exists, however it was/is a commercial investment (not that an OEM Win system is much better; most systems come with endless crapware) - you need to register before you can download and install their apps for Android. That means that you give them your personal and device details and are subsequently tracked, relentlessly and endlessly - you see, you're the product and you even paid for a device to enable a super-company to track/use/sell your info!
____________
FAQ's

HOW TO:
- Opt out of Beta Tests
- Ask for Help

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36442 - Posted: 19 Apr 2014 | 16:35:50 UTC

Back on topic -- Did a new version work? :)

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36446 - Posted: 19 Apr 2014 | 17:04:46 UTC - in response to Message 36442.

Back on topic -- Did a new version work? :)

Now that I'm up with a fresh install of Boinc, how do I put a copy of app_config.xml into the /var/lib/boinc-client area when the privileges block me?

____________

Profile skgiven
Volunteer moderator
Project tester
Volunteer tester
Avatar
Send message
Joined: 23 Apr 09
Posts: 3968
Credit: 1,995,359,260
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36450 - Posted: 19 Apr 2014 | 17:25:08 UTC - in response to Message 36446.

Can I remind people that when asking for help its important to specify and detail the system in question, especially the operating system, Boinc version, driver version and hardware (GPU mostly).
The best place for this info is the first post. This has been covered in a fairly obvious FAQ.
____________
FAQ's

HOW TO:
- Opt out of Beta Tests
- Ask for Help

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36451 - Posted: 19 Apr 2014 | 17:31:55 UTC - in response to Message 36450.

Can I remind people that when asking for help its important to specify and detail the system in question, especially the operating system, Boinc version, driver version and hardware (GPU mostly).
The best place for this info is the first post. This has been covered in a fairly obvious FAQ.

Might I remind you that I am looking for help. I am not a professional as you seem to think. Frankly, I do not think you have an answer for my issue so you take it out on the OP. I have a suggestion for you, but it might not be physically possible.

I will wait until Collatz is back up on line and do WUs for them. You can keep your WU. To those who actually were trying to help me, my thanks.

captainjack
Send message
Joined: 9 May 13
Posts: 160
Credit: 1,250,090,584
RAC: 2,710
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36452 - Posted: 19 Apr 2014 | 17:54:27 UTC

Gandalf,

Hold up just a sec: Here's what worked for me.

First, attach to the gpugrid project in the BOINC Manager. That creates the www.gpugrid.net folder in the /var/lib/boinc-client/projects folder.

Open a terminal session

cd /var/lib/boinc-client/projects/www.gpugrid.net
sudo gedit app_config.xml


Enter the xml code into the "gedit" editor then save the file. That should get the app_config.xml file set up in the correct folder.

That machine isn't up right now I can't test to verify. If you have any trouble with the commands let me know and I will bring the machine up and verify.

Don't give up yet, you are almost there.

Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36453 - Posted: 19 Apr 2014 | 18:35:46 UTC

Don't give up Gandalf.

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36454 - Posted: 19 Apr 2014 | 20:11:26 UTC - in response to Message 36452.

Gandalf,

Hold up just a sec: Here's what worked for me.

First, attach to the gpugrid project in the BOINC Manager. That creates the www.gpugrid.net folder in the /var/lib/boinc-client/projects folder.

Open a terminal session

cd /var/lib/boinc-client/projects/www.gpugrid.net
sudo gedit app_config.xml


Enter the xml code into the "gedit" editor then save the file. That should get the app_config.xml file set up in the correct folder.

That machine isn't up right now I can't test to verify. If you have any trouble with the commands let me know and I will bring the machine up and verify.

Don't give up yet, you are almost there.


OK, you're a Captain again just for your stick-to-it attitude.
I followed your procedure.

Here is the log. I don't see any reference to the app_config file...

-------------------------------------------------------------------------------

Sat 19 Apr 2014 10:01:57 AM PDT | | Starting BOINC client version 7.0.27 for x86_64-pc-linux-gnu
Sat 19 Apr 2014 10:01:57 AM PDT | | log flags: file_xfer, sched_ops, task, sched_op_debug
Sat 19 Apr 2014 10:01:57 AM PDT | | Libraries: libcurl/7.27.0 OpenSSL/1.0.1c zlib/1.2.7 libidn/1.25 librtmp/2.3
Sat 19 Apr 2014 10:01:57 AM PDT | | Data directory: /var/lib/boinc-client
Sat 19 Apr 2014 10:01:57 AM PDT | | Processor: 12 GenuineIntel Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz [Family 6 Model 45 Stepping 7]
Sat 19 Apr 2014 10:01:57 AM PDT | | Processor: 12.00 MB cache
Sat 19 Apr 2014 10:01:57 AM PDT | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
Sat 19 Apr 2014 10:01:57 AM PDT | | OS: Linux: 3.5.0-17-generic
Sat 19 Apr 2014 10:01:57 AM PDT | | Memory: 11.71 GB physical, 11.97 GB virtual
Sat 19 Apr 2014 10:01:57 AM PDT | | Disk: 222.94 GB total, 205.76 GB free
Sat 19 Apr 2014 10:01:57 AM PDT | | Local time is UTC -7 hours
Sat 19 Apr 2014 10:01:57 AM PDT | | NVIDIA GPU 0: GeForce GTX 285 (driver version unknown, CUDA version 5.0, compute capability 1.3, 134215679MB, 134215521MB available, 1063 GFLOPS peak)
Sat 19 Apr 2014 10:01:57 AM PDT | | NVIDIA GPU 1: GeForce GTX 285 (driver version unknown, CUDA version 5.0, compute capability 1.3, 134214656MB, 134214601MB available, 1063 GFLOPS peak)
Sat 19 Apr 2014 10:01:57 AM PDT | | OpenCL: NVIDIA GPU 0: GeForce GTX 285 (driver version 304.88, device version OpenCL 1.0 CUDA, 2047MB, 134215521MB available)
Sat 19 Apr 2014 10:01:57 AM PDT | | OpenCL: NVIDIA GPU 1: GeForce GTX 285 (driver version 304.88, device version OpenCL 1.0 CUDA, 1024MB, 134214601MB available)
Sat 19 Apr 2014 10:01:57 AM PDT | | Config: use all coprocessors
Sat 19 Apr 2014 10:01:57 AM PDT | | Config: GUI RPC allowed from:
Sat 19 Apr 2014 10:01:57 AM PDT | | Config: 192.168.1.100
Sat 19 Apr 2014 10:01:57 AM PDT | | Config: 192.168.1.101
Sat 19 Apr 2014 10:01:57 AM PDT | | Config: 192.168.1.102
Sat 19 Apr 2014 10:01:57 AM PDT | | Config: 192.168.1.103
Sat 19 Apr 2014 10:01:57 AM PDT | | A new version of BOINC is available. <a href=http://boinc.berkeley.edu/download.php>Download it.</a>
Sat 19 Apr 2014 10:01:57 AM PDT | GPUGRID | URL http://www.gpugrid.net/; Computer ID 172878; resource share 100
Sat 19 Apr 2014 10:01:57 AM PDT | | General prefs: from http://www.primegrid.com/ (last modified 21-Jan-2014 10:41:09)
Sat 19 Apr 2014 10:01:57 AM PDT | | Host location: none
Sat 19 Apr 2014 10:01:57 AM PDT | | General prefs: using your defaults
Sat 19 Apr 2014 10:01:57 AM PDT | | Reading preferences override file
Sat 19 Apr 2014 10:01:57 AM PDT | | Preferences:
Sat 19 Apr 2014 10:01:57 AM PDT | | max memory usage when active: 5996.71MB
Sat 19 Apr 2014 10:01:57 AM PDT | | max memory usage when idle: 10794.07MB
Sat 19 Apr 2014 10:01:57 AM PDT | | max disk usage: 0.00GB
Sat 19 Apr 2014 10:01:57 AM PDT | | (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
Sat 19 Apr 2014 10:01:57 AM PDT | | Not using a proxy
Sat 19 Apr 2014 10:01:57 AM PDT | GPUGRID | Restarting task 739x-SANTI_MAR419cap310-65-84-RND3225_0 using acemdshort version 800 (cuda55) in slot 0
Sat 19 Apr 2014 10:01:57 AM PDT | GPUGRID | Restarting task 1_4_19-NATHAN_CMYB_run1-30-40-RND3566_0 using acemdshort version 800 (cuda55) in slot 1
Sat 19 Apr 2014 10:01:57 AM PDT | GPUGRID | [sched_op] Starting scheduler request
Sat 19 Apr 2014 10:01:57 AM PDT | GPUGRID | Sending scheduler request: To fetch work.
Sat 19 Apr 2014 10:01:57 AM PDT | GPUGRID | Requesting new tasks for CPU and NVIDIA
Sat 19 Apr 2014 10:01:57 AM PDT | GPUGRID | [sched_op] CPU work request: 622080.00 seconds; 12.00 devices
Sat 19 Apr 2014 10:01:57 AM PDT | GPUGRID | [sched_op] NVIDIA work request: 17275.34 seconds; 0.00 devices
Sat 19 Apr 2014 10:01:59 AM PDT | GPUGRID | Scheduler request completed: got 0 new tasks
Sat 19 Apr 2014 10:01:59 AM PDT | GPUGRID | [sched_op] Server version 613
Sat 19 Apr 2014 10:01:59 AM PDT | GPUGRID | No tasks sent
Sat 19 Apr 2014 10:01:59 AM PDT | GPUGRID | No tasks are available for Short runs (2-3 hours on fastest card)
Sat 19 Apr 2014 10:01:59 AM PDT | GPUGRID | This computer has reached a limit on tasks in progress
Sat 19 Apr 2014 10:01:59 AM PDT | GPUGRID | Project requested delay of 31 seconds
Sat 19 Apr 2014 10:01:59 AM PDT | GPUGRID | [sched_op] Deferring communication for 31 sec
Sat 19 Apr 2014 10:01:59 AM PDT | GPUGRID | [sched_op] Reason: requested by project
Sat 19 Apr 2014 11:09:54 AM PDT | GPUGRID | work fetch suspended by user
Sat 19 Apr 2014 01:00:53 PM PDT | GPUGRID | work fetch resumed by user


Jacob Klein
Send message
Joined: 11 Oct 08
Posts: 1127
Credit: 1,901,927,545
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36455 - Posted: 19 Apr 2014 | 20:16:30 UTC - in response to Message 36454.
Last modified: 19 Apr 2014 | 20:25:10 UTC

See where it says you are using 7.0.27?

Sat 19 Apr 2014 10:01:57 AM PDT | | Starting BOINC client version 7.0.27 for x86_64-pc-linux-gnu


That, again, is the problem.

https://boinc.berkeley.edu/wiki/Client_configuration
... says you need 7.0.40 or better. See that? Specifically, here:
https://boinc.berkeley.edu/wiki/Client_configuration#Application_configuration

Maybe you could visit this link to get a newer version?
http://boinc.berkeley.edu/download.php

Gandalf_the_Grey
Send message
Joined: 4 Apr 13
Posts: 27
Credit: 32,882,125
RAC: 0
Level
Val
Scientific publications
wat
Message 36456 - Posted: 19 Apr 2014 | 20:29:22 UTC - in response to Message 36455.

Since the Package Manager and the apt-get command both install an older version, I guess I'll just have to wait until Boinc provides a newer version to Linux distribution. Manually installing Boinc doesn't install the same way. I've tried.

Thanks for the research.

____________

captainjack
Send message
Joined: 9 May 13
Posts: 160
Credit: 1,250,090,584
RAC: 2,710
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36457 - Posted: 19 Apr 2014 | 21:00:33 UTC
Last modified: 19 Apr 2014 | 21:09:51 UTC

Hey Gandalf,

Appreciate you patience,

Yes, installing BOINC manually in Linux is very different. I had to learn how to do it that way for the test4theory project to get around some permissions problems with the repository install. Now I actually prefer to install it manually for several reasons. I get to choose the version that I run. I get to choose when to start it. And there are not all the permissions problems with the manual install.

To get the manual install to work properly, there are some prerequisite libraries that have to be installed. I have posted all the instructions for installing manually on Ubuntu over on the Test4theory web site, on the "Questions and Answers" board, "Unix/Linux" list, sticky thread at the top of the list titled "Step by Step instructions for getting test4theory to work in Ubuntu". There are two sets of instructions in that thread. One is for Ubuntu 12.10 and earlier, the other is for 13.04 and later.

In your case, since you have already installed BOINC from the repository all of the prerequisite libraries might already be there. You could just stop the BOINC from the repository, install BOINC 7.2.42 manually and see if it will start up. If not then the other libraries would need to be installed.

I don't have any experience with Linux Mint, but IIRC it is based on Ubuntu so the same library configuration might work for you.

I always install in my home directory so the app_config for gpugrid is stored in /home/myname/BOINC/projects/www.gpugrid.net (no permissions restrictions).

If you want to try the manual install and need some more help, post here and I'll keep watching the thread.

[minor edit to fix address on test4theory board]

biodoc
Send message
Joined: 26 Aug 08
Posts: 174
Credit: 2,180,164,375
RAC: 29,186
Level
Phe
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36461 - Posted: 20 Apr 2014 | 12:51:39 UTC

I agree with captainjack on installing and running boinc manually.

I use linux mint (ver 16 on 2 machines and ver 13 LTS on one machine) so I can give you mint specific instructions (similar to Ubuntu instructions provided by captainjack).

Download linux-x64 boinc 7.2.42 from here: https://boinc.berkeley.edu/download_all.php

move the install script, boinc_7.2.42_x86_64-pc-linux-gnu.sh, from your download directory to your home directory (usually up one level)

From your home directory run: sh ./boinc_7.2.42_x86_64-pc-linux-gnu.sh

the script creates a Directory called BOINC in your home directory and installs all the boinc files to get boinc up and running.

Install libraries need to run boinc and boincmgr:

sudo apt-get install libwxgtk2.8-0
sudo apt-get install libwxbase2.8-0

Try running boincmgr:

cd into BOINC directory and run:

./boincmgr

If it runs then you are set to go. If you get an error then continue below.

Since you are running linux mint 14 (KDE?) there may be more libraries missing.

To check, cd into the BOINC directory and run:

ldd boinc
ldd boincmgr

the ldd command checks for library dependencies for a particular application.

if you see a pointer for libraries "not found" then post the output here and we'll help find and install the missing libraries.


Post to thread

Message boards : Graphics cards (GPUs) : app_config - acemdshort

//