<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas:contacts" xmlns:st2="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Re: [Wien] Problem in run_phonon script</title>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="middlename"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City" downloadurl="http://www.5iamas-microsoft-com:office:smarttags"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place" downloadurl="http://www.5iantlavalamp.com/"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="title"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="Sn"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="GivenName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName" downloadurl="http://www.microsoft.com"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }st2\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.avgcert, li.avgcert, div.avgcert
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Times New Roman";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'>Dear <st1:GivenName w:st="on">Gerhard</st1:GivenName>, <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'>Thanks very much. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'>Happy New Year to you <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'>SG <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
wien-bounces@zeus.theochem.tuwien.ac.at
[mailto:wien-bounces@zeus.theochem.tuwien.ac.at] <b><span style='font-weight:
bold'>On Behalf Of </span></b><st2:PersonName w:st="on"><st1:GivenName w:st="on">Gerhard</st1:GivenName>
<st1:Sn w:st="on">Fecher</st1:Sn></st2:PersonName><br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, January 03, 2011
1:13 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st2:PersonName w:st="on"><st1:GivenName
w:st="on">A</st1:GivenName> <st1:middlename w:st="on">Mailing list</st1:middlename>
<st1:middlename w:st="on">for</st1:middlename> <st1:middlename w:st="on">WIEN2k</st1:middlename>
<st1:Sn w:st="on">users</st1:Sn></st2:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [<st1:Sn w:st="on">Wien</st1:Sn>]
Problem in run_phonon script</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>The error
message is just wrong it is Too many \'s and not Too many (‘s.<br>
The problem is in the run_phonon job file<br>
for some reason the template creates \\ instead of \<br>
<br>
replace:<br>
foreach i ( \\<br>
1 \\<br>
2 \\<br>
etc.<br>
<br>
by:<br>
foreach i ( \<br>
1 \<br>
2 \<br>
etc<br>
<br>
<br>
<br>
<br>
Ciao<br>
Gerhard<br>
<br>
====================================<br>
<st2:PersonName w:st="on"><st1:title w:st="on">Dr.</st1:title> <st1:GivenName
w:st="on">Gerhard</st1:GivenName> <st1:middlename w:st="on">H.</st1:middlename>
<st1:Sn w:st="on">Fecher</st1:Sn></st2:PersonName><br>
Institut of Inorganic and Analytical Chemistry<br>
<st2:PersonName w:st="on"><st1:GivenName w:st="on">Johannes</st1:GivenName> <st1:Sn
w:st="on">Gutenberg</st1:Sn></st2:PersonName> - University<br>
55099 <st2:City w:st="on"><st2:place w:st="on">Mainz</st2:place></st2:City><br>
________________________________________<br>
Von: wien-bounces@zeus.theochem.tuwien.ac.at
[wien-bounces@zeus.theochem.tuwien.ac.at]&quot; im Auftrag von &quot;<st2:PersonName
w:st="on"><st1:GivenName w:st="on">Ghosh</st1:GivenName> <st1:Sn w:st="on">SUDDHASATTWA</st1:Sn></st2:PersonName>
[ssghosh@igcar.gov.in]<br>
Gesendet: Montag, 3. Januar 2011 08:29<br>
Bis: 'A Mailing list for WIEN2k users'<br>
Betreff: [<st1:Sn w:st="on">Wien</st1:Sn>] Problem in run_phonon script<br>
<br>
Dear <st2:PersonName w:st="on"><st1:title w:st="on">Dr.</st1:title> <st1:Sn
w:st="on">Blaha</st1:Sn></st2:PersonName>,<br>
I am running k point parallel in Wien2k using the following job script<br>
<br>
#!/bin/bash<br>
#<br>
#$ -cwd<br>
#$ -j y<br>
#$ -S /bin/bash<br>
#$ -V<br>
<br>
# RJ: Script to run Wien2k-kpoint parallel job thru SGE<br>
# Use kpoint PE<br>
<br>
#hc=`cat $PE_HOSTFILE`<br>
#echo "-------------------------"<br>
#echo "Contents of $PE_HOSTFILE :"<br>
#echo $hc<br>
#echo "-------------------------"<br>
#echo "Hostname: "<br>
#hostname<br>
#echo "No. of Slots"<br>
#echo $NSLOTS<br>
<br>
echo "Wien2k Machine file TMPDIR/machines"<br>
mf=`cat $TMPDIR/machines.wien2k-kpoint`<br>
echo $mf<br>
<br>
cp $TMPDIR/machines.wien2k-kpoint .machines<br>
<br>
# RJ: command for kpoint parallel run<br>
run_phonon<br>
<br>
<br>
The script works very well (some 50-80 jobs have been completed) when I use<br>
#!/bin/bash<br>
#<br>
#$ -cwd<br>
#$ -j y<br>
#$ -S /bin/bash<br>
#$ -V<br>
<br>
# RJ: Script to run Wien2k-kpoint parallel job thru SGE<br>
# Use kpoint PE<br>
<br>
#hc=`cat $PE_HOSTFILE`<br>
#echo "-------------------------"<br>
#echo "Contents of $PE_HOSTFILE :"<br>
#echo $hc<br>
#echo "-------------------------"<br>
#echo "Hostname: "<br>
#hostname<br>
#echo "No. of Slots"<br>
#echo $NSLOTS<br>
<br>
echo "Wien2k Machine file TMPDIR/machines"<br>
mf=`cat $TMPDIR/machines.wien2k-kpoint`<br>
echo $mf<br>
<br>
cp $TMPDIR/machines.wien2k-kpoint .machines<br>
<br>
# RJ: command for kpoint parallel run<br>
Run_lapw –cc 0.0001 –ec 0.0001 –in1ef –p<br>
<br>
<br>
The job is submitted by<br>
qsub –pe kpoint 6 kpoint.sh<br>
Where kpoint.sh is the job script file<br>
<br>
When I replace wih run_phonon, the job is submitted but suddenly
disappears!!!!!!<br>
<br>
<br>
I checked the script files and noted the following<br>
<br>
Wien2k machine file TMPDIR/machines<br>
1:ibnx79 1:ibnx79 1:ibnx79 1:ibnx79 1:ibnx79 1:ibnx79 1:ibnx79 granularity:1
extrafine:1<br>
Too many (‘s.<br>
<br>
<br>
Can any body tell me what is the issue here?<br>
There are no issues with the script file as I have been using this for quite
some time<br>
<br>
Suddhasattwa<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<st1:Sn w:st="on">Wien</st1:Sn> mailing list<br>
Wien@zeus.theochem.tuwien.ac.at<br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a></span></font>
<o:p></o:p></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=1 width="100%" noshade color="#aca899" align=center>
</span></font></div>
<p class=avgcert color="#000000"><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>No virus found in this message.<br>
Checked by AVG - <a href="http://www.avg.com">www.avg.com</a><br>
Version: 10.0.1170 / Virus Database: 1435/3355 - Release Date: 01/02/11<o:p></o:p></span></font></p>
</div>
</body>
</html>