Re: [netcdfgroup] installing hdf5

Hello,

Regarding the Fortran errors, I'm dredging up an old memory here (not much else to go from your post... what compiler? What flags? etc), but it reminds me of a problem I had when the xlf compiler thought some f95/2003 code was in fixed-format (or vice versa).

The "f90" prefix should be enough to let the compiler know it's free-format source, but in some cases it's not (e.g. if the -qsuffix switch has been used in some weird fashion)

What happens if you use the "-qfree" switch? (I think that's the right name)

cheers,

paulv


On 11/07/13 14:44, M.Mahakur wrote:
Respected All,

I am trying to install hdf5 in IBM AIX/P6 using:

  $ ./configure --prefix=/gpfs2/home/mmahakur/hdf5 --enable-fortran --enable-cxx
--with-szlib=/gpfs2/home/mmahakur

But failed with following errors like is 1 and then stopped after 2. Can 
somebody suggest how can I install properly.

With Regards,
Mahakur

=========================1===================================

gmake[2]: Entering directory `/gpfs2/home/mmahakur/SOFTWARES/hdf5-1.8.11/perform
'
   CC       sio_perf.o
"../test/h5test.h", line 178.56: 1506-1108 (I) The use of keyword '__attribute__
' is non-portable.
   CC       sio_engine.o
"../test/h5test.h", line 178.56: 1506-1108 (I) The use of keyword '__attribute__
' is non-portable.
   CC       sio_timer.o
"../test/h5test.h", line 178.56: 1506-1108 (I) The use of keyword '__attribute__
' is non-portable.
   CCLD     h5perf_serial
   CC       iopipe.o
   CCLD     iopipe
   CC       chunk.o
"chunk.c", line 81.19: 1506-1108 (I) The use of keyword '__attribute__' is non-p
ortable.
"chunk.c", line 114.19: 1506-1108 (I) The use of keyword '__attribute__' is non-
portable.
"chunk.c", line 114.40: 1506-1108 (I) The use of keyword '__attribute__' is non-
portable.
"chunk.c", line 115.25: 1506-1108 (I) The use of keyword '__attribute__' is non-
portable.
"chunk.c", line 116.17: 1506-1108 (I) The use of keyword '__attribute__' is non-
portable.
"chunk.c", line 116.40: 1506-1108 (I) The use of keyword '__attribute__' is non-
portable.


================================================2======================

Making all in fortran
gmake[1]: Entering directory `/gpfs2/home/mmahakur/SOFTWARES/hdf5-1.8.11/fortran
'
Making all in src
gmake[2]: Entering directory `/gpfs2/home/mmahakur/SOFTWARES/hdf5-1.8.11/fortran
/src'
   FC       H5test_kind.o
"./H5test_kind.f90", line 45.0: 1515-005 (S) Continuation line is not permitted
at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment
directive.  Line is ignored.
"./H5test_kind.f90", line 46.0: 1515-005 (S) Continuation line is not permitted
at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment
directive.  Line is ignored.
"./H5test_kind.f90", line 47.0: 1515-005 (S) Continuation line is not permitted
at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment
directive.  Line is ignored.
"./H5test_kind.f90", line 48.0: 1515-005 (S) Continuation line is not permitted
at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment
directive.  Line is ignored.
"./H5test_kind.f90", line 49.0: 1515-005 (S) Continuation line is not permitted
at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment
directive.  Line is ignored.
"./H5test_kind.f90", line 50.0: 1515-005 (S) Continuation line is not permitted
at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment
directive.  Line is ignored.
"./H5test_kind.f90", line 51.3: 1515-017 (S) Label contains characters that are
not permitted.  Label is ignored.
"./H5test_kind.f90", line 52.11: 1515-019 (S) Syntax is incorrect.
"./H5test_kind.f90", line 57.12: 1515-025 (S) Only a name of a variable, array e
lement, or character substring is permitted on the left hand side of an assignme
nt statement.
"./H5test_kind.f90", line 66.8: 1515-019 (S) Syntax is incorrect.
"./H5test_kind.f90", line 71.12: 1515-025 (S) Only a name of a variable, array e
lement, or character substring is permitted on the left hand side of an assignme
nt statement.
"./H5test_kind.f90", line 80.7: 1515-019 (S) Syntax is incorrect.
"./H5test_kind.f90", line 101.3: 1515-017 (S) Label contains characters that are
  not permitted.  Label is ignored.
"./H5test_kind.f90", line 103.7: 1515-019 (S) Syntax is incorrect.
"./H5test_kind.f90", line 119.37: 1515-018 (S) Incorrect character found in sour
ce at line 119 in column 37.  Hexadecimal value of character is 23.
"./H5test_kind.f90", line 151.37: 1515-018 (S) Incorrect character found in sour
ce at line 151 in column 37.  Hexadecimal value of character is 23.
"./H5test_kind.f90", line 185.40: 1515-018 (S) Incorrect character found in sour
ce at line 185 in column 40.  Hexadecimal value of character is 23.
"./H5test_kind.f90", line 197.40: 1515-018 (S) Incorrect character found in sour
ce at line 197 in column 40.  Hexadecimal value of character is 23.
"./H5test_kind.f90", line 223.36: 1515-018 (S) Incorrect character found in sour
ce at line 223 in column 36.  Hexadecimal value of character is 23.
"./H5test_kind.f90", line 227.40: 1515-018 (S) Incorrect character found in sour
ce at line 227 in column 40.  Hexadecimal value of character is 23.
"./H5test_kind.f90", 1515-002 (S) END card is missing.  One is assumed.
** _main   === End of Compilation 1 ===
1501-511  Compilation failed for file H5test_kind.f90.
gmake[2]: *** [H5test_kind.o] Error 1
gmake[2]: Leaving directory `/gpfs2/home/mmahakur/SOFTWARES/hdf5-1.8.11/fortran/
src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/gpfs2/home/mmahakur/SOFTWARES/hdf5-1.8.11/fortran'
gmake: *** [all-recursive] Error 1
bash-3.2$

_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/



  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: