<div dir="auto">Thanks, that does sound useful! </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 31, 2020, 6:23 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
   You might find this option useful. <br>
<br>
   --with-packages-download-dir=<dir><br>
       Skip network download of package tarballs and locate them in specified dir. If not found in dir, print package URL - so it can be obtained manually.<br>
<br>
<br>
   This generates a list of URLs to download so you don't need to look through the xxx.py files for that information. Conceivably a script could gather this information from the run of configure and get the tarballs for you. <br>
<br>
    Barry<br>
<br>
<br>
<br>
> On Jan 31, 2020, at 11:58 AM, Tomas Mondragon <<a href="mailto:tom.alex.mondragon@gmail.com" target="_blank" rel="noreferrer">tom.alex.mondragon@gmail.com</a>> wrote:<br>
> <br>
> Hypre problem resolved. PETSc commit 05f86fb made in August 05, 2019 added the line 'self.installwithbatch  = 0' to the __init__ method of the Configure class in the file petsc/config/BuildSystem/config/packages/hypre.py to fix a bug with hypre installation on Cray KNL systems. Since the machine I was installing os was an SGI system, I decided to try switching to 'self.installwithbatch = 1' and it worked! The configure script was finally able to run to completion.<br>
> <br>
> Perhaps there can be a Cray flag for configure that can control this, since it is only Cray's that have this problem with Hypre?<br>
> <br>
> For my benefit when I have to do this again - <br>
> To get moose/petsc/scripts/update_and_rebuild_petsc.sh to run on an SGI system as a batch job, I had to:<br>
> <br>
> Make sure the git (gnu version) module was loaded<br>
> git clone moose<br>
> cd to the petsc directory and git clone the petsc submodule, but make sure to pull the latest commit. The commit that the moose repo refers to is outdated.<br>
> cd back to the moose directory, git add petsc and git commit so that the newest petsc commit gets used by the update script. otherwise the old commit will be used.<br>
> download the tarballs for fblaspack, hypre, metis, mumps, parmetis, scalapack, (PT)scotch, slepc, and superLU_dist. The URLS are in the __init__ methods of the relevant files inmost/petsc/config/BuildSystem/config/packages/<br>
> alter moose/scripts/update_and_rebuild_petsc.sh script so that it is a working PBS batch job. Be sure to module swap to the gcc compiler and module load git (gnu version) and alter the ./configure command arguments<br>
>      adding<br>
>              --with-cudac=0<br>
>              --with-batch=1<br>
>     changing<br>
>              --download-<package>=/path/to/thirdparty/package/tarball<br>
> If the supercomputer is not a Cray KNL system, change line 26 of moose/petsc/config/BuildSystem/config/packages/hypre.py from 'self.installwithbath = 0' to 'self.installwithbatch = 1', otherwise, install hypre on its own and use --with-hypre-dir=/path/to/hypre in the ./configure command<br>
> <br>
> On Fri, Jan 31, 2020 at 10:06 AM Tomas Mondragon <<a href="mailto:tom.alex.mondragon@gmail.com" target="_blank" rel="noreferrer">tom.alex.mondragon@gmail.com</a>> wrote:<br>
> Thanks for the change to base.py. Pulling the commit, confirm was able to skip over lgrind and c2html. I did have a problem with Parmetis, but that was because I was using an old ParMetis commit accidentally. Fixed by downloading the right commit of ParMetis.<br>
> <br>
> My current problem is with Hypre. Apparently --download-hypre cannot be used with --with-batch=1 even if the download URL is on the local machine. The configuration.log that resulted is attached for anyone who may be interested.<br>
> <br>
> -- <br>
> You received this message because you are subscribed to a topic in the Google Groups "moose-users" group.<br>
> To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/moose-users/2xZsBpG-DtY/unsubscribe" rel="noreferrer noreferrer" target="_blank">https://groups.google.com/d/topic/moose-users/2xZsBpG-DtY/unsubscribe</a>.<br>
> To unsubscribe from this group and all its topics, send an email to <a href="mailto:moose-users%2Bunsubscribe@googlegroups.com" target="_blank" rel="noreferrer">moose-users+unsubscribe@googlegroups.com</a>.<br>
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/moose-users/a34fa09e-a4f5-4225-8933-34eb36759260%40googlegroups.com" rel="noreferrer noreferrer" target="_blank">https://groups.google.com/d/msgid/moose-users/a34fa09e-a4f5-4225-8933-34eb36759260%40googlegroups.com</a>.<br>
<br>
</blockquote></div>