Andrea,

We know that our users successfully built HDF5 with NAG. 

Could you please add --disable-silent-rules configure flag and post outputs of
./configure….
and 
make 

commands?

Thank you!

Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group  http://hdfgroup.org   
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




On Oct 25, 2013, at 9:01 AM, Albert Cheng <[email protected]> wrote:

> Hi Andy,
> 
> Try disable the shared version by adding --disable-shared to the configure 
> stage to see if the error
> would go away.  Thanks.
> 
> -Albert Cheng
> 
> On Oct 25, 2013, at 5:47 AM, "Moorhouse, Andrew" 
> <[email protected]> wrote:
> 
>> Hello, I guess mine is quite an unusual system on which to build HDF5, so it 
>> is not surprising it isn't working "out of the box".
>> 
>> The setup is:
>> * Red Hat Enterprise Linux v6.4 running as a guest on a z/VM LPAR on IBM 
>> z196 Mainframe (RHEL architecture is "s390x" as opposed to "x86_64" etc).
>> * NAG Fortran compiler version 5.1
>> 
>> Trying to build HDF5 from source (hdf5-1.8.11), I do:
>> ./configure --prefix=/usr/local/nag/hdf5 --enable-fortran 
>> CFLAGS='-mtune=z196 -march=z196' FC='/usr/local/bin/f95'
>> make
>> Unrecognised option -shared passed to ld 
>> Unrecognised option -rpath passed to ld 
>> Unrecognised file suffix .libs 
>> make[3]: *** [libhdf5_fortran.la] Error 2 
>> make[3]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/src' 
>> make[2]: *** [all] Error 2 
>> make[1]: *** [all-recursive] Error 1 
>> make: *** [all-recursive] Error 1 
>> make[2]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/src' 
>> make[1]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran'
>> 
>> Currently I'm not very good at debugging the whole configure/make/make 
>> install process; Google is normally my friend but not in this case, and I 
>> can't see anything on this mailing list about the NAG compiler. 
>> 
>> I have seen this post: http://www.eeo.ed.ac.uk/it/FAQ/SciIO.html#HDF5 which 
>> says: "The library cannot be built with the NAG f95 compiler", though I have 
>> no idea if this is true or not.
>> 
>> One thing worth mentioning is that if I omit the FC option to configure, and 
>> hence use the gfortran compiler instead, all works well and I can make/make 
>> check/make install successfully. So it is definitely something to do with 
>> the NAG compiler.
>> 
>> I'm hoping for some assistance from what looks like a friendly and helpful 
>> group!
>> Regards
>> Andy
>> 
>> _______________________________________________
>> Hdf-forum is for HDF software users discussion.
>> [email protected]
>> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to