git fetch --> updates your local rep but not your working Dir
git diff ... origin gives you the comparison
Tuesday, July 12, 2011
Monday, July 11, 2011
GIT: Ignore File mode/right changes
If you have files or directories under git control and change the rights of them, git does recognize them as changed.
To force git to ignore these changes just execute the following.
You can reenable that after all files have a new revision because of an actual change and are comitted in the new mode anyway.
To force git to ignore these changes just execute the following.
git config core.filemode false
You can reenable that after all files have a new revision because of an actual change and are comitted in the new mode anyway.
Tuesday, June 28, 2011
LIKWID: Installation Hint
If you set the likwid install path in config.mk and the last character is a slash, likwid-pin will not run with the following error message:
ERROR: ld.so: object '~/helper/likwid-2.2-inst' from LD_PRELOAD cannot be preloaded: ignored.
Delete the last slash and do
make clean && make && make install
and likwid-pin should work fine.
ERROR: ld.so: object '~/helper/likwid-2.2-inst' from LD_PRELOAD cannot be preloaded: ignored.
Delete the last slash and do
make clean && make && make install
and likwid-pin should work fine.
Monday, June 27, 2011
GIT: Clone Repository with different branch than master
git clone git@someserver.com:projectname newdir -b yourbranchname
Tuesday, June 21, 2011
Disable Fermi Cache
To disable Fermi L1 Cache in CUDA just compile with: -Xptxas -dlcm=cg
Any idea on how to do this with OpenCL?
Any idea on how to do this with OpenCL?
Monday, June 20, 2011
7th Erlangen International High-End-Computing Symposium
Please note the upcoming 7th EIHECS on this weeks Friday 24th of June .
Tuesday, June 14, 2011
GIT: Getting information about tags
To show the tags you made and the comments or tag messages:
git tag -l -n1
Monday, April 18, 2011
NVIDIA CUDA disable/enable ECC
Show ECC config
Enable ECC on GPU 0:
Disable ECC on GPU 0:
You need a reboot to get settings active
nvidia-smi -r
Enable ECC on GPU 0:
nvidia-smi -g 0 -e 1
Disable ECC on GPU 0:
nvidia-smi -g 0 -e 0
You need a reboot to get settings active
Thursday, April 7, 2011
EMACS: Whitespaces
Motivation:
Each and every editor handles whitespaces tabs etc. differently. The first step to get everyting out to the open is so show whitespaces and tabs the way the editor sees them. For me it's emacs and the following lines in your ~/.emacs should give you a good view of whitespaces.
Look at this documentation for all references
Please be patient and drop me a comment if there are any errors or misunderstandings. I'm really no emacs pro!!!
Each and every editor handles whitespaces tabs etc. differently. The first step to get everyting out to the open is so show whitespaces and tabs the way the editor sees them. For me it's emacs and the following lines in your ~/.emacs should give you a good view of whitespaces.
Look at this documentation for all references
Please be patient and drop me a comment if there are any errors or misunderstandings. I'm really no emacs pro!!!
(require 'whitespace)
(global-whitespace-mode t)
Monday, March 28, 2011
GIT: Remote branches
Show remote branches:
git remote show origin
Subscribe to:
Posts (Atom)