[Wien] Error while running the command ./siteconfig_lapw during installation of WIEN2k code
Peter Blaha
pblaha at theochem.tuwien.ac.at
Tue Jan 23 09:41:57 CET 2018
Maybe a problem with your csh.
On most, but not at all systems by now the csh and the tcsh are the
same. Maybe not on your system.
What do you get with:
csh --version
tcsh --version
Eventually use (install ?) tcsh instead of csh.
On 01/23/2018 05:22 AM, Sourav Dey wrote:
> Dear MrGavin Abo,
> Thank you for your suggestions. As per your guidelines, I have set the
> LC_NUMERIC=en_US.UTF-8 in the locale settings. If I type locale from
> terminal now, it shows the following.
>
> LANG=en_US.UTF-8
> LANGUAGE=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC=en_US.UTF-8
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT=en_US.UTF-8
> LC_IDENTIFICATION="en_US.UTF-8"
> LC_ALL=
>
> After fixing this issue, I tried to run the command "./siteconfig_lapw"
> from terminal. It still shows the same error.
>
> "If: Expression Syntax".
>
> I typed the command "csh -v siteconfig_lapw" from terminal in WIENROOT
> directory. It shows the following.
>
> unalias rm
>
> set name = $0
> set bin = $name:h
> if ! ( -d $bin ) set bin = .
> cd $bin
> set bin = `pwd`
>
>
> alias define_installdate 'date >$bin/WIEN2k_INSTALLDATE'
> alias wait 'echo "";echo " Press RETURN to continue";' 'set yn = ($<)'
> alias update_makefiles 'sed -e "s^_FOPT_^$FOPT^" < Makefile.orig |\\
> sed -e "s^_FOPT_^$FOPT^" |\\
> sed -e "s^_FPOPT_^$FPOPT^" |\\
> sed -e "s^_LDFLAGS_^$LDFLAGS^" |\\
> sed -e "s^_DPARALLEL_^$DPARALLEL^" |\\
> sed -e "s^_R_LIBS_^$R_LIBS^" |\\
> sed -e "s^_RP_LIBS_^$RP_LIBS^" |\\
> sed -e "s^_SCALAPACKROOT_^$SCALAPACKROOT^" |\\
> sed -e "s^_SCALAPACK_LIBNAME_^$SCALAPACK_LIBNAME^" |\\
> sed -e "s^_BLACSROOT_^$BLACSROOT^" |\\
> sed -e "s^_BLACS_LIBNAME_^$BLACS_LIBNAME^" |\\
> sed -e "s^_MKL_TARGET_ARCH_^$MKL_TARGET_ARCH^" |\\
> sed -e "s^_LIBXCROOT_^$LIBXCROOT^" |\\
> sed -e "s^_LIBXC_LIBNAME_^$LIBXC_LIBNAME^" |\\
> sed -e "s^_LIBXC_FORTRAN_^$LIBXC_FORTRAN^" |\\
> sed -e "s^_FFTW_VERSION_^$FFTW_VERSION^" |\\
> sed -e "s^_FFTWROOT_^$FFTWROOT^" |\\
> sed -e "s^_FFTW_LIB_^$FFTW_LIB^" |\\
> sed -e "s^_FFTW_LIBNAME_^$FFTW_LIBNAME^" |\\
> sed -e "s^_ELPAROOT_^$ELPAROOT^" |\\
> sed -e "s^_ELPA_VERSION_^$ELPA_VERSION^" |\\
> sed -e "s^_FC_^$f77^" |\\
> sed -e "s^_MPF_^$MPF^" |\\
> sed -e "s^_CC_^$c77^"> Makefile'
>
>
>
>
> set FC ; set MPF ; set CC
> set FOPT ; set R_FOPT ; set FPOPT ; set R_FPOPT
> set LDFLAGS ; set R_LDFLAGS
> set DPARALLEL ; set R_DPARALLEL
> set R_LIBS ; set R_R_LIBS ; set RP_LIBS ; set R_RP_LIBS
> if ( ! $?MKLROOT ) set MKLROOT
>
> set FFTWROOT ; set FFTW_LIB ; set FFTW_LIBNAME ; set FFTW_VERSION
>
> set LIBXCROOT ; set LIBXC_FORTRAN ; set LIBXC_LIBNAME
>
> set SCALAPACKROOT ; set SCALAPACK_LIBNAME ; set BLACSROOT ; set BLACS_LIBNAME
> set MKL_TARGET_ARCH
>
> set ELPAROOT ; set ELPA_VERSION
>
> set remote = ssh
> unset mpi
> set MPIRUN
> set R_MPIRUN
> set CORES_PER_NODE = 1
>
>
> set recompile
> unset firstinstall
> unset suggestall
> unset compiled
> set libxcconf = 'false'
>
> set counter = 0
> set nextlist = ( intro system compiler compopts2 parallel dimension
> recompile perl tmp_dir bye )
>
> set name = $name:t
> set logfile = :log
>
>
> set test=`printf "%5.3f \n" 0.15 | grep , |wc`
> if ( $test[1] != 0 ) then
>
> main:
> if ( -e $bin/WIEN2k_INSTALLDATE ) then
> if: Expression Syntax.
>
>
>
> I guess, there is some problem with the last if statement. Kindly help me
> fix this issue.
>
> Best regards,
> --
> Sourav Kumar Dey
> Senior Research Fellow
> Applied Nuclear Physics Division
> Saha Institute of Nuclear Physics
> Kolkata-700064
> Tel.:033 2337 1337/1333(lab)
>
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at: http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>
--
P.Blaha
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300 FAX: +43-1-58801-165982
Email: blaha at theochem.tuwien.ac.at WIEN2k: http://www.wien2k.at
WWW: http://www.imc.tuwien.ac.at/TC_Blaha
--------------------------------------------------------------------------
More information about the Wien
mailing list