[petsc-dev] Get a list of package download URL

Blaise A Bourdin bourdin at lsu.edu
Wed Nov 18 22:06:49 CST 2020


Awesome, thanks.

Blaise


> On Nov 18, 2020, at 6:01 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> Check --with-packages-download-dir option.
> 
> This is a 2 step process. For ex - the first step:
> 
>>>> 
> balay at sb /home/balay/petsc (master=)
> $ ./configure --with-packages-download-dir=$HOME/tmp --download-metis --download-parmetis
> ===============================================================================
>             Configuring PETSc to compile on your system                       
> ===============================================================================
> Download the following packages to /home/balay/tmp 
> 
> metis ['git://https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fpetsc%2Fpkg-metis.git&data=04%7C01%7Cbourdin%40lsu.edu%7Cdc3a2e8e9424476634ca08d88c1e49e2%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637413409027494849%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tIgSO%2BhWR7Nz0SYO0jJ2xpZmW2rXWWhOhXv7ZG1FT4s%3D&reserved=0', 'https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fpetsc%2Fpkg-metis%2Fget%2Fv5.1.0-p10.tar.gz&data=04%7C01%7Cbourdin%40lsu.edu%7Cdc3a2e8e9424476634ca08d88c1e49e2%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637413409027494849%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nZSgkp8hJFv7yJj2PpYdqltF0VETWvFsG%2BPgjZZhWQM%3D&reserved=0']
> parmetis ['git://https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fpetsc%2Fpkg-parmetis.git&data=04%7C01%7Cbourdin%40lsu.edu%7Cdc3a2e8e9424476634ca08d88c1e49e2%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637413409027504803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Tq6wjnHdqyNY3aABmpppTwT%2FKWCLFc5opda70UHSmG8%3D&reserved=0', 'https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fpetsc%2Fpkg-parmetis%2Fget%2Fv4.0.3-p6.tar.gz&data=04%7C01%7Cbourdin%40lsu.edu%7Cdc3a2e8e9424476634ca08d88c1e49e2%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637413409027504803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CsqwH7BZVjyNrNv8aDQwRZeOf%2B4HXtsCN5ni%2BzhKkC0%3D&reserved=0']
> 
> Then run the script again
> <<<<
> 
> Satish
> 
> On Wed, 18 Nov 2020, Blaise A Bourdin wrote:
> 
>> Hi,
>> 
>> I am working with a company whose cluster is an a private network without connectivity to the outside world. Our process to install petsc is to manually extract the packages URL from config/BuildSystem/packages/ and download the appropriate files.
>> Another approach is to run configure and let it fail when it cannot download a package, note the download URL, and manually download it from a separate machine.
>> 
>> Is there a quicker way to get the URL of all packages that will be downloaded without running through the whole configure process? 
>> 
>> Assuming that I know the list of package that I will want, is there a programmatic way to figure out what os the download URL for say Metis or sowing?
>> 
>> Regards,
>> Blaise
>> 
>> 
>> 
> 

-- 
A.K. & Shirley Barton Professor of  Mathematics
Adjunct Professor of Mechanical Engineering
Adjunct of the Center for Computation & Technology
Louisiana State University, Lockett Hall Room 344, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 Web http://www.math.lsu.edu/~bourdin



More information about the petsc-dev mailing list