测试问题解决

测试问题解决

1 找不到so库的解决方法

# 方法一:
	设置LD_LIBRARY_PATH
# 方法二:
 	vim /etc/ld.so.conf
 	----------------------------------------------------
 	include ld.so.conf.d/*.conf
	/opt/intel/compilers_and_libraries/linux/lib/intel64
	ldconfig 更新

2 复制以及查看端口占用

# 查看端口占用
netstat -nultp | grep 8080
netstat -anp  | grep 80
netstat -ano | grep 18130
lsof -i:18130

# 复制
rsync -chavP /var/opt/gitlab/postgresql .
rsync -avzP 复制显示进度

# 查看Bios版本
dmidecode
mpiicc -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DHPL_DETAILED_TIMING -DHPL_PROGRESS_REPORT -I/root/hpl/include -I/root/hpl/include/Linux_Intel64 -I/opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/mkl/include  -O3 -w -ansi-alias -i-static -z noexecstack -z relro -z now -nocompchk -Wall -qopenmp -mt_mpi -o /root/hpl/bin/Linux_Intel64/xhpl HPL_pddriver.o         HPL_pdinfo.o           HPL_pdtest.o /root/hpl/lib/Linux_Intel64/libhpl.a  -L/opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/mkl/lib/intel64 -Wl,--start-group /opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.a /opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -ldl

3 查看cpu主频率 和 内存信息

# 查看CPU信息
lscpu 其中 sockets个数代表物理核个数
cat /proc/cpuinfo
lmbench的mhz
/usr/bin/turbostat

# 查看内存信息
cat /proc/meminfo
dmidecode | grep -A 16 "Memory Device"、

4 GLSL 1.50 is not supported

# 报错:
ERROR: In /home/gs/src/VTK8.2/VTK-8.2.0/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x2b87270): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

# 解决方法
export MESA_GL_VERSION_OVERRIDE=3.2
cn[16-19,24-27,144-147,152-155]

5 ncat端口转发

ncat --sh-exec "ncat 25.8.27.6 15929" -l 15929 --keep-open

6 Git改密码

gitlab-rails console production

irb(main):002:0> user=User.where(email:'[email protected]').first
=> #<User id:30 @cyb>
irb(main):003:0> user.password=12345678
=> 12345678
irb(main):004:0> user.password_confirmation=12345678
=> 12345678
irb(main):005:0> user.save!
Enqueued ActionMailer::DeliveryJob (Job ID: 540244db-c6ec-44f9-880e-72338b955aa5) to Sidekiq(mailers) with arguments: "DeviseMailer", "password_change", "deliver_now", #<GlobalID:0x00007f57f5da3208 @uri=#<URI::GID gid://gitlab/User/30>>
=> true

7 YHPDE(eclipse)FT部署

1、安装eclipse:
	gitlab
2、插件安装,参考手册
2、新版SLURM需要
vim org.eclipse.ptp.rm.slurm.proxy_4.0.7.201104291906/src/ptp_slurm_proxy.c
1625行:slurm_allocation_lookup_lite -> slurm_allocation_lookup
2942行: primary = 1; ->  primary = 0;
2943行:secondary = 2; -> secondary = 1;

测试问题解决
http://gsproj.github.io/2022/07/06/02_测试/03_测试问题解决/
作者
GongSheng
发布于
2022年7月6日
许可协议