❶ linux系統下如何安裝Abinit5.6.4
一.首先了解DHCP的概念
DHCP是實現主機IP地址DNS等動態配置的網路協議. DNCP可以在多種操作系統中實現,包括最常用的linux系統和windows系統 DHCP網路服務的結構中具有伺服器和客戶機兩個角色 DHCP伺服器用於為網路中所有的DHCP客戶機提供網路配置信息,在同一網路中, DHCP伺服器通常是唯一存在在. 網路中的任何主機都可以配置成為DHCP客戶機,向DHCP伺服器發出配置請求並按照服務 器返回的信息進行網路配置
二.DHCP伺服器能夠提供的網路配置信息
1.網路介面的IP地址和子網掩碼. 2.網路介面的IP地址對應的網路地址和廣播地址 3.默認網關地址 4.DNS伺服器地址
三.DHCP伺服器的配置
1.安裝DHCP伺服器軟體(在RHEL4系統的安裝光碟中包括RPM格式的DHCP伺服器軟體包,包文件的名稱是dhcp-3.0.1-12_EL.i386.rpm),在RHEL4的第4安裝光碟中,在同一張安裝盤中還包括與DHCP相關的其它軟體包 # cd /media/cdrom/rehat/rpms/ #ks -l dhcp* dhcp-3.0.1-12_EL.i386,rpm在REL4中沒有被默認安裝,需要手動安裝 #rpm -qa | grep dhcp #rpm -ivh dhcp-3.0.1-12_EL.i386.rpm
2.其中/usr/sbin/dhcpd 是DHCP伺服器的執行文件,/etc/rc.d/init.d/dhcpd是DHCP伺服器的啟動腳本,雖然文件名都是DHCPD,但是文件位於不同的目錄,功能也不一樣. DHCPD.CONF配置文件以及建立配置文件和配置文件的格式 #ls /etc/dhcp* #vi /etc/dhcpd.conf
❷ Linux下安裝fftw函數庫後在QtCreator中如何使用
g++ main* /usr/local/fftw3/libfftw3f.so.3 -lfftw3
❸ 編譯vasp出現錯誤,求幫助,如能幫助,不勝感激
安裝環境centOS6.5+Intel parallel studio xe 2013+openmpi+fftw
這是修改過makefile後make出現的錯誤:
fpp -f_com=no -free -w0 base.F base.f90 -DMPI -DHOST=\\"LinuxIFC\\" -DIFC -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DNGZhalf -DMPI_BLOCK=8000 -Duse_collective -DscaLAPACK -DRPROMU_DGEMV -DRACCMU_DGEMV
mpif90 -FR -names lowercase -assume byterecl -O2 -ip -I/opt/intel/composer_xe_2013.2.146/mkl/include/fftw -c base.f90
mpif90: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
make: *** Error 127
這是我的修改過的makefile:
1 .SUFFIXES: .inc .f .f90 .F
2 #-----------------------------------------------------------------------
3 # Makefile for Intel Fortran compiler for Pentium/Athlon/Opteron
4 # based systems
5 # we recommend this makefile for both Intel as well as AMD systems
6 # for AMD based systems appropriate BLAS (libgoto) and fftw libraries are
7 # however mandatory (whereas they are optional for Intel platforms)
8 # For Athlon we recommend
9 # ) to link against libgoto (and mkl as a backup for missing routines)
10 # ) odd enough link in libfftw3xf_intel.a (fftw interface for mkl)
11 # feedback is greatly appreciated
12 #
13 # The makefile was tested only under Linux on Intel and AMD platforms
14 # the following compiler versions have been tested:
15 # - ifc.7.1 works stable somewhat slow but reliably
16 # - ifc.8.1 fails to compile the code properly
17 # - ifc.9.1 recommended (both for 32 and 64 bit)
18 # - ifc.10.1 partially recommended (both for 32 and 64 bit)
19 # tested build 20080312 Package ID: l_fc_p_10.1.015
20 # the gamma only mpi version can not be compiles
21 # using ifc.10.1
22 # - ifc.11.1 partially recommended (some problems with Gamma only and intel fftw)
23 # Build 20090630 Package ID: l_cprof_p_11.1.046
24 # - ifort.12.1 strongly recommended (we use this to compile vasp)
25 # Version 12.1.5.339 Build 20120612
26 #
27 # it might be required to change some of li