Skip to content

Instantly share code, notes, and snippets.

View dvdesolve's full-sized avatar

viktor drobot dvdesolve

View GitHub Profile
@dvdesolve
dvdesolve / fixedconc.R
Created September 18, 2017 16:50
tikzDevice output example
library(tikzDevice)
library(ggplot2)
df <- read.table("data.dat", dec = ",", header = T)
tikz(file = "fixedconc.tex", width = 6, height = 4)
ggplot(df, aes(x = factor(type), y = delta, fill = fixed)) +
geom_bar(stat = "identity", position="dodge", colour="black") +
theme_bw() + theme(legend.title = element_blank(), axis.title.x = element_blank()) +
@dvdesolve
dvdesolve / data.dat
Created September 19, 2017 20:35
tikzDevice output example - ver. 2
type fixed delta
Ki invis 0,4883642619
Ki vis 0,3613851374
kcat invis 1,0486102416
kcat vis 0,7752776029
Km invis 2,6102565864
Km vis 2,0140390717
Kp invis 0,8960615386
Kp vis 0,6552219266
@dvdesolve
dvdesolve / build
Created April 27, 2019 22:56
ELPA with MKL
./configure CC=mpicc CXX=mpic++ FC=mpifort SCALAPACK_LDFLAGS="-L$MKLROOT/lib/intel64 -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lmkl_blacs_openmpi_lp64 -Wl,--end-group -lgomp -lpthread -lm -ldl" SCALAPACK_FCFLAGS="-m64 -I$MKLROOT/include" CFLAGS="-m64 -march=native" --prefix=$HOME/usr --enable-openmp --enable-gpu --with-cuda-path=/opt/cuda/cuda-8.0 --with-GPU-compute-capability=sm_35
make -j14
make install
./configure CC=mpicc CXX=mpic++ FC=mpifort SCALAPACK_LDFLAGS="-L$MKLROOT/lib/intel64 -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_openmpi_lp64 -Wl,--end-group -lpthread -lm -ldl" SCALAPACK_FCFLAGS="-m64 -I$MKLROOT/include" CFLAGS="-m64 -march=native" --prefix=$HOME/usr --disable-openmp --enable-gpu --with-cuda-path=/opt/cuda/cuda-8.0 --with-GPU-compute-capability=sm_35
make -j14
make install
@dvdesolve
dvdesolve / ycm_8hphidpv.log
Last active April 2, 2020 16:42
[02.04.2020] ycm client log
2020-04-02 19:40:13,763 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=41145): Max retries exceeded with url: /ready (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5120e3dc40>: Failed to establish a new connection: [Errno 111] Connection refused'))
2020-04-02 19:40:13,865 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=41145): Max retries exceeded with url: /ready (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5120e3dcd0>: Failed to establish a new connection: [Errno 111] Connection refused'))
@dvdesolve
dvdesolve / ycmd_41145_stderr_b7rl0fuh.log
Last active April 2, 2020 16:43
[02.04.2020] ycm server stderr log
2020-04-02 19:40:13,969 - INFO - Received ready request
2020-04-02 19:40:13,976 - INFO - Received signature help available request
2020-04-02 19:40:13,989 - INFO - Received event notification
2020-04-02 19:40:13,993 - INFO - Received event notification
2020-04-02 19:40:13,994 - INFO - Adding buffer identifiers for file: /home/viktor/build/git/glrpt/src/glrpt/jpeg.c
2020-04-02 19:40:14,092 - INFO - Received filetype completion available request
2020-04-02 19:40:26,813 - INFO - Received debug info request
2020-04-02 19:41:11,463 - INFO - Received event notification
2020-04-02 19:41:11,464 - INFO - Adding buffer identifiers for file: /home/viktor/build/git/glrpt/src/glrpt/jpeg.c
2020-04-02 19:42:03,936 - INFO - Received debug info request
@dvdesolve
dvdesolve / ycmd_41145_stdout_6bqu1qf8.log
Last active April 2, 2020 16:44
[02.04.2020] ycm server stdout log
serving on http://localhost.localdomain:41145
@dvdesolve
dvdesolve / clangd_stderre5qzfzlx.log
Last active April 7, 2020 12:26
YCM and clangd debug
I[15:24:12.158] clangd version 9.0.1
I[15:24:12.158] Working directory: /home/viktor/build/git/glrpt/src/glrpt
I[15:24:12.158] argv[0]: /usr/bin/clangd
I[15:24:12.158] argv[1]: -header-insertion-decorators=0
I[15:24:12.158] argv[2]: -limit-results=500
I[15:24:12.158] argv[3]: -log=verbose
I[15:24:12.158] Starting LSP over stdin/stdout
V[15:24:12.158] <<< {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["plaintext","markdown"]},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"contentFormat":["plaintext","markdown"]},"signatureHelp":{"signatureInformation":{"documentationFormat":["plaintext","markdown"],"parameterInformation":{"labelOffsetSupport":false}}}},"workspace