[Wien] 2Doptimize.job

Gerhard Fecher fecher at uni-mainz.de
Thu May 13 11:38:46 CEST 2010


You are sure that there are no line breaks ????????

look at
if (-e Pu_Zr_hcp_metastable_2D.clmsum && ! -z Pu_Zr_hcp_metastable_2D
 .clmsum)

I guess it cannot do any thing with Pu_Zr_hcp_metastable_2D as it expects
to read Pu_Zr_hcp_metastable_2D .clmsum

I have to revise my estimation, now it is 100% typos.


Ciao
Gerhard

====================================
Dr. Gerhard H. Fecher
Institut of Inorganic and Analytical Chemistry
Johannes Gutenberg - University
55099 Mainz
________________________________________
Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at zeus.theochem.tuwien.ac.at]" im Auftrag von "Ghosh SUDDHASATTWA [ssghosh at igcar.gov.in]
Gesendet: Donnerstag, 13. Mai 2010 04:47
An: 'A Mailing list for WIEN2k users'
Betreff: Re: [Wien] 2Doptimize.job

Dear Gerhard,
Thanks for the mail
check that the \' s
in the lines following
foreach i ( \
                                  case something__-8.0  \
                                 ...
                                  case something___8.0  \
 )
are all correct (check if there are tabs instead of spaces, or anything else
that does not belong there but is hidden)

Everything is ok
set count = 1
set j = 0
 @ j = $j + 1
set jj = 1
foreach i ( \
                                      2D_V-10.0_COA_25.0 \
                                      2D_V-10.0_COA_26.0 \
                                      2D_V-10.0_COA_27.0 \
                                      2D_V-10.0_COA_28.0 \
                                      2D_V-10.0_COA_29.0 \
------
                                       2D_V_10.0_COA_61.0 \
                                       2D_V_10.0_COA_62.0 \
                                       2D_V_10.0_COA_63.0 \
                                       2D_V_10.0_COA_64.0 \
                                       2D_V_10.0_COA_65.0 \
   )
 echo "*******************************"
 echo $i
 echo "*******************************"

in some cases a line break appears for long file names in the
if (-e case something_opt_something.clmup &&  ! -z case
something_opt_something.clmup)
or other if(... ) lines
that causes  an Too many ('s error.

There are no line breaks
if (-e Pu_Zr_hcp_metastable_2D.clmsum && ! -z Pu_Zr_hcp_metastable_2D
 .clmsum) then
   x dstart -super
 endif
 if (-e Pu_Zr_hcp_metastable_2D.clmup && ! -z Pu_Zr_hcp_metastable_2D
 .clmup  ) then
   x dstart -super -up
   x dstart -super -dn
 endif

as it appears in youre case after the
rm ....
line, I guess it is somewhere above that line,
did you check that the last ) after foreach ... is ok

It is ok
#!/bin/csh -f
 #
 #Modify this script according to your needs
 unalias rm
 #
 # to reuse previous scf runs (without a new scf run) set answscf=y
 # and use the same "savename".
 # When you make modifications (RKmax, k-mesh, XC-potentials) choose
 # answscf=no and a new savename (eg. "_pbe_rk8_1000k").
 set answscf=y
 set savename=
 #
 set numbvcoa = `head -1 < numbvcoa`
 set numbcoa = $numbvcoa[2]
 #
 rm -f Pu_Zr_hcp_metastable_2D.Vconst*
 if !(-d Vconst$savename) then
    mkdir Vconst$savename
 endif
 if (-e Pu_Zr_hcp_metastable_2D.clmsum && ! -z Pu_Zr_hcp_metastable_2D
 .clmsum) then
   x dstart -super
 endif

Thanks
[SuddhasattwaGhosh]
Suddhasattwa

_______________________________________________
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien


More information about the Wien mailing list