[Pw_forum] Making Changes in pw.x

Matteo Cococcioni matteo at umn.edu
Tue Oct 7 06:08:39 CEST 2008


Hi Paul,

as far as I know what make does is checking the dates when routine.f90 
and routine.o were generated. if routine.f90 is younger than routine.o 
(because it's been changed) then it will be recompiled, re-linked etc.
In any case don't worry it will do the right thing.

Regards,

Matteo




Paul M. Grant wrote:
>
> Thanks, Prasenjit.
>
> 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?
>
> Thanks again.
>
> -Paul
>
> */Paul M. Grant, PhD/*
>
> *Principal, W2AGZ Technologies*
>
> *Visiting Scholar, Applied Physics, Stanford (2005-2008)*
>
> *EPRI Science Fellow (Retired)*
>
> *IBM Research Staff Member Emeritus*
>
> *w2agz at pacbell.net* <mailto:w2agz at pacbell.net>
>
> *http://www.w2agz.com* <http://www.w2agz.com/>
>
> *From:* pw_forum-bounces at pwscf.org [mailto:pw_forum-bounces at pwscf.org] 
> *On Behalf Of *Prasenjit Ghosh
> *Sent:* Monday, October 06, 2008 3:36 PM
> *To:* PWSCF Forum
> *Subject:* Re: [Pw_forum] Making Changes in pw.x
>
> 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.
>
> Prasenjit
>
> 2008/10/7 Paul M. Grant <w2agz at pacbell.net <mailto:w2agz at pacbell.net>>
>
> I know I've done this before, but can't remember how. Suppose 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?
>
> */Paul M. Grant, PhD/*
>
> *Principal, W2AGZ Technologies*
>
> *Visiting Scholar, Applied Physics, Stanford (2005-2008)*
>
> *EPRI Science Fellow (Retired)*
>
> *IBM Research Staff Member Emeritus*
>
> *w2agz at pacbell.net* <mailto:w2agz at pacbell.net>
>
> *http://www.w2agz.com* <http://www.w2agz.com/>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org <mailto:Pw_forum at pwscf.org>
> http://www.democritos.it/mailman/listinfo/pw_forum
>
>
>
>
> -- 
> PRASENJIT GHOSH,
> POST-DOC,
> ROOM NO: 265, MAIN BUILDING,
> CM SECTION, ICTP,
> STRADA COSTERIA 11,
> TRIESTE, 34104,
> ITALY
> PHONE: +39 040 2240 369 (O)
> +39 3807528672 (M)
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>   




More information about the users mailing list