installation de WIEN2k18.2
1 : Set the Intel compilation environment:
Check the compiler used:
> which ifort icc mpiifort
If
the display does not exist, you can set the Intel compiler environment
similar to the following (the specific path depends on the system you
are using)
set Intel MKL environment:
> gedit ~/.bashrc
copy to bashrc :
source /opt/intel/compilers_and_libraries_2020.0.166/linux/bin/compilervars.sh intel64source //opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/bin/mklvars.sh intel64source /opt/intel/compilers_and_libraries_2020.0.166/linux/bin/iccvars.sh intel64source /opt/intel/compilers_and_libraries_2020.0.166/linux/bin/ifortvars.sh intel64source /opt/intel/impi/2018.5.288/intel64/bin/mpivars.sh intel64> if ifort not found see this vedio#install intel 2020 :voir https://www.youtube.com/watch?v=S__pRws4SMA2 : install FFTW3:> tar -xzvf fftw-3.3.8.gz> cd fftw-3.3../configure --prefix=/opt/fftw-3.3.8/ CC=icc F77=ifort MPICC=mpiicc -enable-mpiou> make> make install3 : install WEN2k 18.2:Before building you must export the MKL_TARGET_ARCH environment variable:export MKL_TARGET_ARCH=intel64MKL_TARGET_ARCH = intel64tar xvf WIEN2k_18.2.targunzip *.gz./expand_lapw./siteconfig_lapw'''if you get any error look to "siteconfig_lapw" then change if not continue#!/bin/csh -fby#!/bin/tcsh -f'''step 1#S specify a systemSELECT :LI : "LI Linux (Intel ifort compiler (12.0 or later)+mkl+intelmpi))"C specify compilerRecommended setting for f90 compiler: ifort"Your compiler: ifort"Recommended setting for C compiler: cc"Your compiler: gcc"#O specify compiler options, BLAS and LAPACKselection : L L$(FOPT) -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -pthreadou$(FOPT) -L/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/intel64 -pthreadR R_LIB (LAPACK+BLAS): -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_corechange byR_LIB (LAPACK+BLAS):-mkl -L/opt/intel/mkl/lib/intel64libmkl_blacs_lp64.a -L/opt/intel/mkl/lib/intel64/libmkl_sequential.a-L/opt/intel/mkl/lib/intel64/libmkl_scalapack_lp64.a-L/opt/intel/mkl/lib/intel64/ -lmkl_lapack95_lp64-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -qopenmp -lpthread"si vous avez problem avec -openmp chnage par -qopenmp"S save and Quit#P configure Parallel executionShared Memory Architecture? (y/n)"n"Do you know/need a command to bind your jobs to specific nodes?(like taskset -c). Enter N / your_specific_command:"enter"On most mpi2-versions, it is better to start an mpijob on the original machineand not via ssh on a remote system. If you are using mpi2 set MPI_REMOTE to 0Set MPI_REMOTE to 0 / 1:"0"Remote shell (default is ssh) ="ssh"Remote copy (default is scp) ="scp"This is useful only for BIG cases (50 atoms and more / unit cell)and your HARDWARE has at least 16 cores (or is a cluster with Infiniband)You need to KNOW details about your installed MPI, ELPA, and FFTW )(y/N)"y"Recommended setting for parallel f90 compiler (default): mpiifortCurrent selection: mpiifortYour compiler:"mpiifort"Do you want to use a present ScaLAPACK installation? (Y,n):"y"Do you want to use the MKL version of ScaLAPACK? (Y,n):"y"There is no $INTEL_TARGET_ARCH defined in your environment.Please specify your MKL_TARGET_ARCH (e.g. intel64)!:"intel64"Do you use Intel MPI? (Y,n):"y"SCALAPACKROOT: /opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/lib/SCALAPACK_LIBNAME: mkl_scalapack_lp64BLACSROOT: /opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/lib/BLACS_LIBNAME: mkl_blacs_intelmpi_lp64MKL_TARGET_ARCH: intel64Is this correct? (Y,n):"y"Do you want to use a present FFTW installation? (Y,n):"y"Do you want to automatically search for FFTW installations? (Y,n):"n"Please specify whether you want to use FFTW3 (default) or FFTW2 (FFTW3 / FFTW2):"FFTW3"Present FFTW root directory is: "/opt/fftw-3.3.8/"Please specify the path of your FFTW installation (like /opt/fftw3/) or accept present choice (enter):"/opt/fftw-3.3.8/"The present target architecture of your FFTW library is: lib64Please specify the target achitecture of your FFTW library (e.g. lib64) or accept present choice (enter):"lib"The present name of your FFTW library: fftw3Please specify the name of your FFTW library or accept present choice (enter):"fftw3"FFTWROOT: /opt/fftw-3.3.8/FFTW_VERSION: FFTW3FFTW_LIB: libFFTW_LIBNAME: fftw3Is this correct? (Y,n):"y"Do you want to use ELPA? (y,N):"N"Please specify your parallel compiler options or accept the recommendations (Enter - default)!:"enter"Please specify your MPIRUN command or accept the recommendations (Enter - default)!:"enter"S Accept, Save, and QuitR Restart ConfigurationQ Quit and abandon changesPlease accept and save these settings, restart the configuration, or abandonyour changes.If you want to change anything later on you can redo this whole configurationprocess or you can change single items in “Compiling Options”.Selection:"S"#D Dimension Parameters "facultatif "Change parameters in:1 : 1 lapw1 (e.g. NMATMAX, NUME)Which parameter to change? (q to quit): NMATMAX:NMATMAX=20000NUME=2000Q quit#R Compile/RecompileSelection: A"if you don't have any error"congratulationthen continue#L Perl Path (if not in /usr/bin/perl)entre#T Temp Pathentre$./userconfig_lapwContinue until "y"Edit .rhosts file now?'N$./w2web————————————————By Bekkali Hamza————————————————
This comment has been removed by the author.
ReplyDeletehow can get WIEN2k_18.2.tar file ????
ReplyDeleteThank you so much
ReplyDelete
ReplyDeleteAfter the compilation of Wien2k using the Intel Fortran compiler, could anyone please assist us with the following issues?
SRC_lapw0/compile.msg:libxc_mod.F(4): error #7013: This module file was not generated by any
release of this compiler. [XC_F03_LIB_M]
SRC_lapw0/compile.msg:libxc_mod.F(9): error #6457: This derived type name has not been declared.
[XC_F03_FUNC_T]
SRC_lapw0/compile.msg:libxc_mod.F(10): error #6457: This derived type name has not been declared.
[XC_F03_FUNC_INFO_T]
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not
accessible. [XCCONST]
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not
accessible. [VX_SWITCH]
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not
accessible. [VC_SWITCH]
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not
accessible. [EX_SWITCH]
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not
accessible. [EC_SWITCH]
SRC_lapw0/compile.msg:libxc_mod.F(22): error #6404: This name does not have a type, and must have
an explicit type. [XC_FUNC_X]
SRC_lapw0/compile.msg:libxc_mod.F(22): error #6404: This name does not have a type, and must have
an explicit type. [XC_UNPOLARIZED]
SRC_lapw0/compile.msg:libxc_mod.F(23): error #6404: This name does not have a type, and must have
an explicit type. [XC_FUNC_C]
SRC_lapw0/compile.msg:libxc_mod.F(25): error #6404: This name does not have a type, and must have
an explicit type. [XC_POLARIZED]
SRC_lapw0/compile.msg:libxc_mod.F(34): error #6404: This name does not have a type, and must have
an explicit type. [XCCONST]
SRC_lapw0/compile.msg:libxc_mod.F(38): error #6404: This name does not have a type, and must have
an explicit type. [XC_INFO_C]
SRC_lapw0/compile.msg:libxc_mod.F(38): error #6404: This name does not have a type, and must have
an explicit type. [XC_F03_FUNC_GET_INFO]
SRC_lapw0/compile.msg:libxc_mod.F(39): error #6404: This name does not have a type, and must have
an explicit type. [XC_INFO_X]
SRC_lapw0/compile.msg:libxc_mod.F(40): error #6404: This name does not have a type, and must have
an explicit type. [XC_F03_FUNC_INFO_GET_FLAGS]
SRC_lapw0/compile.msg:libxc_mod.F(56): error #6404: This name does not have a type, and must have
an explicit type. [VC_SWITCH]
SRC_lapw0/compile.msg:libxc_mod.F(56): error #6404: This name does not have a type, and must have
an explicit type. [EC_SWITCH]
SRC_lapw0/compile.msg:libxc_mod.F(57): error #6404: This name does not have a type, and must have
an explicit type. [VX_SWITCH]
SRC_lapw0/compile.msg:libxc_mod.F(57): error #6404: This name does not have a type, and must have
an explicit type. [EX_SWITCH]
SRC_lapw0/compile.msg:make[1]: *** [Makefile:171: libxc_mod.o] Error 1
SRC_lapw0/compile.msg:make: *** [Makefile:120: seq] Error 2