<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        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","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks, Prasenjit.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I do have the make.sys file…but how does make “know”
what’s been changed…is there a database of original electron.f90 creation
dates somewhere?  I confess I’m not exactly an expert on the linker
process in linux…for OS/360 I once was!  Is there an online manual
on fortran and linking resultant .o and the (mysterious to me) .mod files?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks again.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>-Paul<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><b><i><span style='font-size:13.5pt;font-family:"Comic Sans MS";
color:#1F497D'>Paul M. Grant, PhD</span></i></b><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Principal, W2AGZ Technologies</span></b><span style='font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Visiting Scholar, Applied Physics, Stanford (2005-2008)</span></b><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>EPRI Science Fellow (Retired)</span></b><span style='font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>IBM Research Staff Member Emeritus</span></b><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><a href="mailto:w2agz@pacbell.net"><b><span style='color:#1F497D;
text-decoration:none'>w2agz@pacbell.net</span></b></a></span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><a href="http://www.w2agz.com/"><b><span style='color:#1F497D;
text-decoration:none'>http://www.w2agz.com</span></b></a></span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> pw_forum-bounces@pwscf.org
[mailto:pw_forum-bounces@pwscf.org] <b>On Behalf Of </b>Prasenjit Ghosh<br>
<b>Sent:</b> Monday, October 06, 2008 3:36 PM<br>
<b>To:</b> PWSCF Forum<br>
<b>Subject:</b> Re: [Pw_forum] Making Changes in pw.x<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>if you have the make.sys file,
then make all or make pw will be sufficient. The subroutines which have been
changed will be recompiled, linked and the pw.x will be created.<br>
<br>
Prasenjit<o:p></o:p></p>

<div>

<p class=MsoNormal>2008/10/7 Paul M. Grant <<a
href="mailto:w2agz@pacbell.net">w2agz@pacbell.net</a>><o:p></o:p></p>

<div>

<p><span style='font-family:"Calibri","sans-serif"'>I know I've done this
before, but can't remember how.  Suppose</span> <span style='font-family:
"Calibri","sans-serif"'>I want to make a small change in one of the routines
used by pw.x, let's say electrons.f90.  What do I do after making and
saving the changes?  Do a fortran compile and then make all?</span><o:p></o:p></p>

<p><b><i><span style='font-size:13.5pt;font-family:"Comic Sans MS"'>Paul M.
Grant, PhD</span></i></b><o:p></o:p></p>

<p><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Principal,
W2AGZ Technologies</span></b><o:p></o:p></p>

<p><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Visiting
Scholar, Applied Physics, Stanford (2005-2008)</span></b><o:p></o:p></p>

<p><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>EPRI
Science Fellow (Retired)</span></b><o:p></o:p></p>

<p><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>IBM
Research Staff Member Emeritus</span></b><o:p></o:p></p>

<p><a href="mailto:w2agz@pacbell.net" target="_blank"><b><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>w2agz@pacbell.net</span></b></a><o:p></o:p></p>

<p><a href="http://www.w2agz.com/" target="_blank"><b><span style='font-size:
10.0pt;font-family:"Arial","sans-serif"'>http://www.w2agz.com</span></b></a><o:p></o:p></p>

<p><span style='font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p>

<p><span style='font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><o:p></o:p></p>

</div>

<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
PRASENJIT GHOSH,<br>
POST-DOC,<br>
ROOM NO: 265, MAIN BUILDING,<br>
CM SECTION, ICTP,<br>
STRADA COSTERIA 11,<br>
TRIESTE, 34104,<br>
ITALY<br>
PHONE: +39 040 2240 369 (O)<br>
             +39 3807528672 (M)<o:p></o:p></p>

</div>

</div>

</body>

</html>