Go to Settings > Keyboard > Shortcuts and add three shortcuts for your function keys. The commands should be:
amixer set Master 5%+
amixer set Master 5%-
amixer set Master toggle
This requires that the function keys are actually recognized by your system but have no command assigned till now
Friday, November 25, 2011
Thursday, November 10, 2011
VirtualBox: ResizeHD
In general the following should work:
VBoxManage modifyhd MYHD.vdi --resize 20000
Were 20000 is more or less 20 GB.
If the command fails several reasons could be the cause.
VBoxManage modifyhd MYHD.vdi --resize 20000
Were 20000 is more or less 20 GB.
If the command fails several reasons could be the cause.
- The virtual disk is already larger. Till now you cannot shrink drives that way. Take a close look in the VM whether you already use that space actually. In Windows this information is under Computer Management --> Storage --> Disk Management
- The virtual disk has the wrong type. Issue the command:
VBoxManage showhdinfo MYHD.vdi
If the result is not:
Format variant: dynamic default
you have to migrate your disk to that dynamic system. Since this is the default container for newer versions you can simply clone your HD file and then enlarge the new one:
VBoxManage clonehd MYHD.vdi MYNEWHD.vdi
- I did not encounter other errors, please comment if you have any problem and/or solution
Tuesday, November 8, 2011
WINDOWS: Build Boost for Visual Studio 2010
Source:
http://stackoverflow.com/questions/2629421/how-to-use-boost-in-visual-studio-2010
If you are using headers only libraries, then all you need to do is to unarchive the boost download and set up the environment variables. The instruction below set the environment variables for Visual Studio only, and not across the system as a whole. Note you only have to do it once.
If you want to use the part of boost that require building, but none of the features that requires external dependencies, then building it is fairly simple.
http://stackoverflow.com/questions/2629421/how-to-use-boost-in-visual-studio-2010
If you are using headers only libraries, then all you need to do is to unarchive the boost download and set up the environment variables. The instruction below set the environment variables for Visual Studio only, and not across the system as a whole. Note you only have to do it once.
- Unarchive the latest version of boost (1.47.0 as of writing) into a directory of your choice (e.g.
C:\boost_1_47_0
). - Create a new empty project in Visual Studio.
- Open the Property Manager and expand one of the configuration for the platform of your choice.
- Select & right click
Microsoft.Cpp.<Platform>.user
, and selectProperties
to open the Property Page for edit. - Select
VC++ Directories
on the left. - Edit the
Include Directories
section to include the path to your boost source files. - Repeat steps 3 - 6 for different platform of your choice if needed.
If you want to use the part of boost that require building, but none of the features that requires external dependencies, then building it is fairly simple.
- Unarchive the latest version of boost (1.47.0 as of writing) into a directory of your choice (e.g.
C:\boost_1_47_0
). - Start the Visual Studio Command Prompt for the platform of your choice and navigate to where boost is.
- Run:
bootstrap.bat
to build b2.exe (previously named bjam). - Run b2: (Win32)
b2 --toolset=msvc-10.0 --build-type=complete stage
; (x64)b2 --toolset=msvc-10.0 --build-type=complete architecture=x86 address-model=64 stage
. Go for a walk / watch a movie or 2 / .... - Go through steps 2 - 6 from the set of instruction above to set the environment variables.
- Edit the
Library Directories
section to include the path to your boost libraries output. (The default for the example and instructions above would beC:\boost_1_47_0\stage\lib
. Rename and move the directory first if you want to have x86 & x64 side by side (such as to<BOOST_PATH>\lib\x86
&<BOOST_PATH>\lib\x64
). - Repeat steps 2 - 6 for different platform of your choice if needed.
If you want both x64 & win32 side by side, add "--stagedir=lib/win32" and "--stagedir=lib/x64" to the respective builds
Monday, October 31, 2011
Exchange 2010: Enable RPC over HTTPS: Outlook Anywhere
In Exchange Management Console select Server Node and Client Access.
In action pane hit Enable Outlook Anywhere.
Additionally you need to install the Feature RPC over HTTP Proxy of Win200 Server.
http://exchangeserverpro.com/how-to-configure-exchange-server-2010-outlook-anywhere
Sunday, October 30, 2011
EXCHANGE 2010: An error caused a change in the current set of domain controllers
After some digging in the profile, I found out the following file, which seemed to be the cause of the problem:
c:\users\<specific user>\appdata\roaming\microsoft\mmc\Exchange Management Console
Rename or delete this file, restart the EX2010 EMC and all errors will be gone.
From:
http://trycatch.be/blogs/pdtit/archive/2010/02/04/an-error-caused-a-change-in-the-current-set-of-domain-controllers-exchange-2010.aspx
Monday, August 15, 2011
Outlook 2010 HTML break blue citation line
Coming from Outlook 2003 everyone knows that one can break the blue line marking the cited text by entering a new text or at least with the common reverse indent button. This does no longer work for Outlook 2007 and 2010 as the blue line is now represented in some different way.
You can get around this by Ctrl+Q but if you check the email at the recipients mailbox, you will see the unbroken blue line again.
If you switch to Rich Text you can actually use Ctrl+Q and it will be that way at the recipients side too.
If you have a real solution to the html problem, please comment!!!!
Please refrain from any unfeasible comments about the sense and non-sense of HTML mails. For that a lot of forums are available online to take that garbage!
You can get around this by Ctrl+Q but if you check the email at the recipients mailbox, you will see the unbroken blue line again.
If you switch to Rich Text you can actually use Ctrl+Q and it will be that way at the recipients side too.
If you have a real solution to the html problem, please comment!!!!
Please refrain from any unfeasible comments about the sense and non-sense of HTML mails. For that a lot of forums are available online to take that garbage!
Thursday, August 11, 2011
OpenCL programming
OpenCL Kernels get compiled at execution time (Just in Time, JIT).
This means that any error inside the kernel is discovered at that time.
The error message I get till now are very silent about what the problem of the kernel is.
So there is just one method of commenting and uncommenting to get a kernel debugged just for compilation.
Intel however recently released it's first beta version of OpenCL with a lot of tools.
As with early Parallel Studio, these tools are only available for Windows (in particular Win Vista + and Server 2008) and not for Linux.
Note, that the runtime for compiling and running OpenCL is available for Linux, Mac and Windows!
Included is the Intel OpenCL Offline Compiler where you can load your kernel and precompile it.
Here the error messages are much more helpfull (of course, helpfull in a way ordinary compiler messages are helpfull :-)).
Nevertheless, a great tool which makes daily programming a lot easier.
LINK: http://www.intel.com/go/opencl/
This means that any error inside the kernel is discovered at that time.
The error message I get till now are very silent about what the problem of the kernel is.
So there is just one method of commenting and uncommenting to get a kernel debugged just for compilation.
Intel however recently released it's first beta version of OpenCL with a lot of tools.
As with early Parallel Studio, these tools are only available for Windows (in particular Win Vista + and Server 2008) and not for Linux.
Note, that the runtime for compiling and running OpenCL is available for Linux, Mac and Windows!
Included is the Intel OpenCL Offline Compiler where you can load your kernel and precompile it.
Here the error messages are much more helpfull (of course, helpfull in a way ordinary compiler messages are helpfull :-)).
Nevertheless, a great tool which makes daily programming a lot easier.
LINK: http://www.intel.com/go/opencl/
Labels:
Allgemeines,
AMD/ATI,
CUDA,
FERMI,
General Topics,
GPU,
HPC2008,
Intel,
NVIDIA,
OpenCL,
TESLA,
Windows7
Tuesday, August 9, 2011
OpenCL GPU computing tutorial
Very nice tutorial with hands on about installation, setup and programming:
http://www.thebigblob.com/getting-started-with-opencl-and-gpu-computing/
http://www.thebigblob.com/getting-started-with-opencl-and-gpu-computing/
Friday, August 5, 2011
NVIDIA CUDA disable/enable ECC , new commands
In order to query ECC status in CUDA 4.0 (and hopefully the next versions), nvidia-smi works a little bit different:
will give you a excerpt.
Just use
To enable ECC:
To disable ECC:
Where i is the GPU ID!
nvidia-smi -q | grep -e"Ecc Mode" -e"Product" -A2
will give you a excerpt.
Just use
nvidia-smi -q
for full outputTo enable ECC:
nvidia-smi -i 0 -e 1
To disable ECC:
nvidia-smi -i 0 -e 0
Where i is the GPU ID!
Thursday, August 4, 2011
TinyGPU upgrade to CUDA Toolkit 4.0
All nodes of the TinyGPU Cluster is now on the current CUDA Toolkit 4.0 and the appropriate driver.
Subscribe to:
Posts (Atom)