This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Maps {Caps Lock}+key to {Ctrl}+key and {Caps Lock} by itself to {Esc}. | |
| ; Does nothing on Remote Desktop windows to prevent conflicts. | |
| ; Modified from http://www.autohotkey.com/board/topic/104173-capslock-to-control-and-escape/?p=669777 | |
| SetCapsLockState Off ; This doesn't work on mstsc, so we don't attempt to resend CapsLock manually | |
| SetTitleMatchMode, 2 ; String passed to IfWinActive can be anywhere in the window title | |
| SetTitleMatchMode, Fast | |
| CapsLock:: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ECHO OFF | |
| @ Creates a msysGit Bash instance in your Windows shell session while keeping its environment variables. | |
| @ Requires msysGit (obviously), which can be installed either from their website or through choco. | |
| @ Put this file somewhere in your %PATH%, like C:\Windows\System32 (if you put it there, you'll also want it in C:\Windows\SysWOW64). | |
| "C:\Program Files (x86)\Git\bin\sh.exe" --login -i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # you should define your own $name_of_executable | |
| $coresPerNode = 16 | |
| for nodes in 4 8 16 32 64 | |
| do | |
| for ranksPerCore in 1 2 4 | |
| do | |
| srun -o output-$nodes-$ranksPerCore.txt --nodes=$nodes --ntasks=$((cores*ranksPerCore*coresPerNode)) --overcommit --runjob-opts="--mapping TEDCBA" ./$name_of_executable |
NewerOlder