[petsc-users] Petsc configure with download hdf5 fortrtan bindings

Satish Balay balay at mcs.anl.gov
Wed Mar 16 10:24:05 CDT 2022


Glad it worked. Thanks for the update!

Satish

On Wed, 16 Mar 2022, Shah Vitesh via petsc-users wrote:

> Hello,
> 
> Thanks a lot fort he detailed instructions. It worked form e!
> 
> With regards,
> Vitesh
> 
> -----Ursprüngliche Nachricht-----
> Von: Satish Balay <balay at mcs.anl.gov> 
> Gesendet: Dienstag, 15. März 2022 16:37
> An: Shah Vitesh <vitesh.shah at amag.at>
> Cc: petsc-users at mcs.anl.gov
> Betreff: Re: [petsc-users] Petsc configure with download hdf5 fortrtan bindings
> 
> On Tue, 15 Mar 2022, Shah Vitesh via petsc-users wrote:
> 
> > Hello,
> > 
> > I am on a linux mahine which has no internet connection. I am trying to install PETSc to use it in a crystal plasticity software.
> > I am trying to follow a script given to me for PETSc installation that would work with this software.  In the script during the configuration there is an option:
> > 
> > --download-hdf5-fortran-bindings=1
> > 
> > What does this option exactly do? 
> 
> Its a modifier to --download-hdf5 - i.e it enables fortran-bindings in the hdf5 build.
> 
> > And is it possible that I download these hdf5 fortran bindings and then point the PETSc Configure tot he download path? I see that it is possible to do for other packages like superlu etc.
> 
> Yes.
> 
> 
> > If yes, any ideas on where can these fortran bindings be downloaded from?
> 
> Its not a separate download of fortran bindings [but modifier to --download-hdf5]
> 
> Here is what you would do:
> 
> >>>>
> balay at sb /home/balay/petsc (release=)
> $ ./configure --download-hdf5=1 --download-hdf5-fortran-bindings=1 --with-packages-download-dir=$HOME/tmp
> =============================================================================================
>                       Configuring PETSc to compile on your system                            
> =============================================================================================
> Download the following packages to /home/balay/tmp 
> 
> hdf5 ['https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.hdfgroup.org%2Fftp%2FHDF5%2Freleases%2Fhdf5-1.12%2Fhdf5-1.12.1%2Fsrc%2Fhdf5-1.12.1.tar.bz2&data=04%7C01%7Cvitesh.shah%40amag.at%7Cf5245d541b2a41aff57708da0699a78b%7Ceb56916191974b369057efd40e40ee4c%7C1%7C0%7C637829557373446021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=fXDI%2FxqjOwZ5NTron5tIyCA33%2BP9P1UbTPifPhNPJ%2FI%3D&reserved=0', 'https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fftp.mcs.anl.gov%2Fpub%2Fpetsc%2Fexternalpackages%2Fhdf5-1.12.1.tar.bz2&data=04%7C01%7Cvitesh.shah%40amag.at%7Cf5245d541b2a41aff57708da0699a78b%7Ceb56916191974b369057efd40e40ee4c%7C1%7C0%7C637829557373446021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=m9AewLIcgPRu885K6VZxogpCvxbh2D8uubIhCZxqTtk%3D&reserved=0']
> 
> Then run the script again
> 
> balay at sb /home/balay/petsc (release=)
> $ cd $HOME/tmp
> balay at sb /home/balay/tmp
> $ wget -q https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.hdfgroup.org%2Fftp%2FHDF5%2Freleases%2Fhdf5-1.12%2Fhdf5-1.12.1%2Fsrc%2Fhdf5-1.12.1.tar.bz2&data=04%7C01%7Cvitesh.shah%40amag.at%7Cf5245d541b2a41aff57708da0699a78b%7Ceb56916191974b369057efd40e40ee4c%7C1%7C0%7C637829557373446021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=fXDI%2FxqjOwZ5NTron5tIyCA33%2BP9P1UbTPifPhNPJ%2FI%3D&reserved=0
> balay at sb /home/balay/tmp
> $ ls -l
> total 9500
> -rw-r--r--. 1 balay balay 9724309 Jul  6  2021 hdf5-1.12.1.tar.bz2 balay at sb /home/balay/tmp $ cd - /home/balay/petsc balay at sb /home/balay/petsc (release=) $ ./configure --download-hdf5=1 --download-hdf5-fortran-bindings=1 --with-packages-download-dir=$HOME/tmp
> <<<<<<
> 
> Satish
> 


More information about the petsc-users mailing list