Hi,
On Sun, Jul 05, 2015 at 02:00:30PM +0300, Elisabetta Strazzeri wrote:
> my set in bashrc is this :
>
> export HDF5=/usr/local/hdf5-1.8.14
> export PATH=$PATH:${HDF5}/bin
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HDF5}/lib
>
> but when I have to use it with hdf5, it doesn't work.
can you post the result of
ls /usr/local/hdf5-1.8.14/bin
ls /usr/local/hdf5-1.8.14/lib
This would help to diagnose the problem. A few more questions:
1. How did you install hdf5? If you compiled it yourself you should make sure
that you have enabled the parallel feature.
2. Is your code parallel? If not, you can use h5fc instead of h5pfc
3. It also matters to match the fortran compiler used to compile HDF5 and the
one you use to build your code.
Pierre
>
>
> On Sun, Jul 5, 2015 at 1:20 PM, Elisabetta Strazzeri <
> [email protected]> wrote:
>
> > Hi Pierre,
> >
> > the command : which h5pfc doesn't give me any location of the directory
> > so I need to setup the shell variable Path and others.
> > is there a tutorial of how to set the variables in the bash_profile?
> >
> > thank you
> > my kindest regards
> > Elisabetta
> >
> > On Wed, Jul 1, 2015 at 8:55 PM, Pierre de Buyl <
> > [email protected]> wrote:
> >
> >> Hi Elisabetta,
> >>
> >> The information you give is a bit light. If h5pfc is indeed installed, its
> >> location will be returned by the command
> >>
> >> which h5pfc
> >>
> >> Note that depending on where you installed HDF5 on your computer, you may
> >> need
> >> to setup your environment (the shell variables PATH and others).
> >>
> >> Pierre
> >>
> >> On Wed, Jul 01, 2015 at 07:35:20PM +0300, Elisabetta Strazzeri wrote:
> >> > Hello everyone!
> >> >
> >> > I’m working with a MacBook Pro OS X Yosemite Version 10.10.4
> >> > I’ve installed h5pfc and I’m running a Fortran based software, but I
> >> read this error:
> >> >
> >> > 19:18:elisabettastrazzeri@MacBook-Pro-di-Elisabetta:FortranCode:$> make
> >> > h5pfc -O3 -cpp -fno-range-check -ffree-line-length-none -ffast-math
> >> -c parameters.F90
> >> > make: h5pfc: No such file or directory
> >> > make: *** [parameters.o] Error 1
> >> >
> >> > Where is the problem?
> >> >
> >> > Thank you very much
> >> > My Kindest Regards
> >> > Elisabetta
> >>
> >>
> >> _______________________________________________
> >> Hdf-forum is for HDF software users discussion.
> >> [email protected]
> >> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> >> Twitter: https://twitter.com/hdf5
> >
> >
> >
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> Twitter: https://twitter.com/hdf5
--
-----------------------------------------------------------
Pierre de Buyl
KU Leuven - Institute for Theoretical Physics
T +32 16 3 27355
W http://pdebuyl.be/
-----------------------------------------------------------
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5