
工具
japrin
这个作者很懒,什么都没留下…
展开
-
源代码编译安装X11及相关库、vim,配置vim(4)
这里是这次编译安装学到的教训。在新的环境,先确认系统默认的各软件是不是较新。然后一定要将各关键软件都更新到较新版本或多版本。常用软件包括gcc, git, java, perl, python, python3, R, ruby, tcltk, X11 等等。千万记住,一定更新软件!原创 2025-01-06 16:51:35 · 78 阅读 · 0 评论 -
源代码编译安装X11及相关库、vim,配置vim(1)
所有X11及相关库装到mybuild,源代码下载到src下,解压,进入,编译安装。编译时指定--prefix到相同的目录,即上图中mybuild。手动编译各X11库相关的包,如下表。原创 2025-01-04 11:30:16 · 1078 阅读 · 0 评论 -
配置RStudio server和shiny server 以指定LD_LIBRARY_PATH
【代码】配置RStudio和shiny以指定LD_LIBRARY_PATH。原创 2023-05-16 17:05:13 · 519 阅读 · 0 评论 -
我的R编译选项
-with-tcl-config=/路径到/tcltk/tcl8.5.19/unix/mybuild/lib/tclConfig.sh \。LDFLAGS="-L/路径到/Intel_oneAPI/mybuild/mkl/latest/lib/intel64 -l mkl_rt"--with-tk-config=/路径到/tcltk/tk8.5.19/unix/mybuild/lib/tkConfig.sh \。原创 2022-12-09 22:27:47 · 200 阅读 · 0 评论 -
R编译带tcltk选项及安装R包gWidgets2tcltk
需要将putty的“Enable X11 forwarding"打开,运行Xming,再用putty登录服务器,重新安装gWidgets2tcltk。2. 安装R包gWidgets2tcltk。该包依赖于软件tcktk(原创 2022-12-09 22:24:53 · 755 阅读 · 0 评论 -
配置RStudioServer,避免占用/home空间
配置RStudioServer,避免占用/home空间原创 2022-09-14 17:06:41 · 990 阅读 · 1 评论 -
using jupyter
0. install python and jupyterIn my ~/.bashrc, I have:. /tools/software/Modules/modules-4.7.1/init/profile.shexport MODULEPATH="/tools/modulefiles:/workspace/japrin/05.setting/modulefiles":$MODULEPATHmodule purgemodule load python/3.9.51. gener原创 2022-02-10 09:56:48 · 428 阅读 · 0 评论 -
Cannot build gcc-6.4.0: fenv_t has not been declared
solutionadd this option to./configure:--disable-libstdcxx-pch原创 2020-02-06 17:26:23 · 1064 阅读 · 0 评论 -
st_tissue_recognition安装
1. openCV装4.0.1.openCV 4.0.1有个小布丁(https://github.com/opencv/opencv/pull/13969/files)要根据它修改下:modules/videoio/src/cap_v4l.cpp 的245行后加上:// https://github.com/opencv/opencv/issues/13929#ifndef V4L...原创 2019-03-23 23:14:55 · 481 阅读 · 0 评论 -
Error: modulecmd: malloc(): memory corruption: memory corruption
出现error:modulecmd: malloc(): memory corruption: memory corruption检查发现是modulecmd的版本不对在没问题的节点上是3.2.10,并且/usr/bin/modulecmd --> /usr/local/Modules/3.2.10/bin/modulecmd而在有问题的节点上是3.2.7,/u...原创 2018-08-06 11:03:44 · 1115 阅读 · 0 评论 -
安装R包
报错:configure: error: Need GSL version >= 1.12ERROR: configuration failed for package ‘gsl’ ...原创 2018-06-20 09:11:44 · 882 阅读 · 0 评论 -
error related with autoconfig
Errors as follow:./configure: line 2140: AX_CHECK_ENABLE_DEBUG: command not foundchecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnu./configure:...原创 2018-04-11 17:08:41 · 803 阅读 · 0 评论 -
vim笔记(1)
:mksession [file]:source session-file:wviminfo [file]:rviminfo [file]‘sessionoptions’选项和‘viminfo’选项set path=.,/usr/include,,/Share/BP/zhenglt/01.bin/vi/vim/src*.c:help starstar-wildcard原创 2016-12-21 20:57:43 · 371 阅读 · 0 评论 -
安装软件spams时报错error: template with C linkage
安装 spams 这个软件时报错In file included from /....../R/R-3.3.0/mybuild/lib64/R/include/R.h:43, from spams.cpp:1277:/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/c原创 2016-07-28 22:12:52 · 1346 阅读 · 0 评论 -
安装graphviz
git 最新版graphviz,autogen.sh报错configure.ac:33: error: possibly undefined macro: AC_SUBST If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf document原创 2016-06-17 23:38:40 · 1143 阅读 · 0 评论 -
ssh自动认证
以下是步骤:在$HOME/.ssh下 ssh-keygen -t rsa -f id_rsa 这将生成密钥对 id_rsa, id_rsa.pub将id_rsa.pub上传到集群$HOME/.ssh将id_rsa.pub的内容追加到authorized_keys cat id_rsa.pub>> authorized_keys原创 2016-07-26 08:18:17 · 407 阅读 · 0 评论 -
how to use cmake
1. cmake 的几个变量:CMAKE_INSTALL_PREFIX, CMAKE_CXX_FLAGS, CMAKE_EXE_LINKER_FLAGS /PROJ/GR/share/Software/cmake/current/bin/cmake ../ -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=../mybin/ -DCMAKE原创 2016-06-13 10:44:45 · 461 阅读 · 0 评论 -
how to compile neovim
how to compile neovim原创 2016-06-13 10:42:19 · 723 阅读 · 0 评论