<div dir="ltr">On Thu, Jan 24, 2013 at 6:37 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, 25 Jan 2013, Blaise A Bourdin wrote:<br>
<br>
> the usual naming scheme is just the version number, but for petsc, most supercomputing centers use %version-%arch<br>
> the installer will copy the file into $MODULEPATH/petsc/%version-%arch, or the user to $HOME/.modulefiles<br>
><br>
> Of course, %version-%arch is a really silly name out of context. How about petsc-%version-%arch, somewhere within $PETSC_DIR/$PETSC_ARCH, or $PETSC_DIR/$PETSC_ARCH/modulefiles/%version-%arch ?<br>
<br>
</div>And PETSC_ARCH has no singificance with prefix install [the<br>
significant text is in the prefix-path - and one doesn't have to match<br>
PETSC_ARCH to this significant text]<br></blockquote><div><br></div><div style>Are you pushing this or should i?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
BTW: Is the following notation ok? [google didn't help]<br>
<br>
prepend-path PATH /home/balay/spetsc/asterix64/bin:/home/balay/spetsc/bin<br>
<br>
I have some fixes [except for the modfile name] which I can push.<br></blockquote><div><br></div><div style>Cool, do it.</div><div style><br></div><div style> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thanks,<br>
Satish<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Blaise<br>
><br>
><br>
> On Jan 24, 2013, at 6:19 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>><br>
> wrote:<br>
><br>
> > On Thu, 24 Jan 2013, Matthew Knepley wrote:<br>
> ><br>
> >> On Thu, Jan 24, 2013 at 3:42 PM, Blaise A Bourdin <<a href="mailto:bourdin@lsu.edu">bourdin@lsu.edu</a>> wrote:<br>
> >><br>
> >>> I am attaching a very basic module file for reference. One would need to<br>
> >>> update petsc_dir and petsc_arch upon deploying these, or perhaps configure<br>
> >>> can do it.<br>
> >>><br>
> >>> I actually use this to easily switch between builds and debug / optimized<br>
> >>> versions<br>
> >>><br>
> >><br>
> >> Pushed something that writes your simple module file to<br>
> >> lib/modules/PETSc.mod. It would now be good to get feedback<br>
> >> to make this the right thing.<br>
> ><br>
> > The name conflists with f90 modules. Perhaps there is a different<br>
> > notation for software modules?<br>
> ><br>
> > Also for prefix install we should set PETSC_ARCH=""<br>
> ><br>
> > And for inplace install - do we also add PETSC_DIR/bin to PATH?<br>
> ><br>
> > Satish<br>
> ><br>
><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>