[netcdf-hdf] compiling error

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

I used the following to configure the netcdf and hdf.
./configure
--prefix=/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/installnetcdf
--enable-netcdf-4
--with-hdf5=/apps/rhel5/graphics/x86_64/intel/11.1.038/hdf5-1.8.3p/
--with-szlib=/apps/rhel5/graphics/x86_64/intel/11.1.038/hdf5-1.8.3p/
--disable-f90

i have previously installed hdf5 with parallel mode and also with szlib.
i attached the config.log. can you tell me what i'm missing?
if needed,i can also install the hdf5 and szlib again. can you help me with
how to configure ?
after i make all,i get the following error
make  all-recursive
make[1]: Entering directory
`/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/netcdf-4.0.1'
Making all in fortran
make[2]: Entering directory
`/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/netcdf-4.0.1/fortran'
make  all-am
make[3]: Entering directory
`/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/netcdf-4.0.1/fortran'
depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ../libtool --tag=CC   --mode=compile mpicc -DHAVE_CONFIG_H
-I. -I..   -I../libsrc4
-I/apps/rhel5/graphics/x86_64/intel/11.1.038/hdf5-1.8.3p//include     -g -O2
-MT fort-attio.lo -MD -MP -MF $depbase.Tpo -c -o fort-attio.lo fort-attio.c
&&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I.. -I../libsrc4
-I/apps/rhel5/graphics/x86_64/intel/11.1.038/hdf5-1.8.3p//include -g -O2 -MT
fort-attio.lo -MD -MP -MF .deps/fort-attio.Tpo -c fort-attio.c -o
fort-attio.o
icc: command line warning #10120: overriding '-O3' with '-O2'
cfortran.h(138): catastrophic error: #error directive: "cfortran.h:  Can't
find your environment among:    - MIPS cc and f77 2.0. (e.g. Silicon
Graphics, DECstations, ...)         - IBM AIX XL C and FORTRAN Compiler/6000
Version 01.01.0000.0000         - VAX   VMS CC 3.1 and FORTRAN 5.4.
                             - Alpha VMS DEC C 1.3 and DEC FORTRAN 6.0.
                          - Alpha OSF DEC C and DEC Fortran for OSF/1 AXP
Version 1.2              - Apollo DomainOS 10.2
          (sys5.3) with f77 10.7 and cc 6.7.                - CRAY
                                                        - NEC SX-4 SUPER-UX
                                                     - CONVEX
                                                  - Sun
                                               - PowerStation Fortran with
Visual C++                                   - HP9000s300/s700/s800 Latest
test with: HP-UX A.08.07 A 9000/730        -
          LynxOS: cc or gcc with f2c.
     - VAXUltrix: vcc,cc or gcc with f2c. gcc or cc with f77.
  -            f77 with vcc works; but missing link magic for f77 I/O.     -
           NO fort. None of gcc, cc or vcc generate required names.    - f2c
   : Use #define    f2cFortran, or cc -Df2cFortran                 - NAG
f90: Use #define NAGf90Fortran, or cc -DNAGf90Fortran              - Absoft
UNIX F77: Use #define AbsoftUNIXFortran or
          cc -DAbsoftUNIXFortran     - Absoft Pro Fortran: Use #define
AbsoftProFortran     - Portland Group Fortran: Use #define pgiFortran     -
PathScale Fortran: Use #define PATHSCALE_COMPILER"
   #error "cfortran.h:  Can't find your environment among:\
    ^

compilation aborted for fort-attio.c (code 4)
make[3]: *** [fort-attio.lo] Error 1
make[3]: Leaving directory
`/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/netcdf-4.0.1/fortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/netcdf-4.0.1/fortran'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/netcdf-4.0.1'
make: *** [all] Error 2
[wwinthan@coates-fe00 netcdf-4.0.1]$ make all > junk
vimicc: command line warning #10120: overriding '-O3' with '-O2'
 jucfortran.h(138): catastrophic error: #error directive: "cfortran.h:
 Can't find your environment among:    - MIPS cc and f77 2.0. (e.g. Silicon
Graphics, DECstations, ...)         - IBM AIX XL C and FORTRAN Compiler/6000
Version 01.01.0000.0000         - VAX   VMS CC 3.1 and FORTRAN 5.4.
                             - Alpha VMS DEC C 1.3 and DEC FORTRAN 6.0.
                          - Alpha OSF DEC C and DEC Fortran for OSF/1 AXP
Version 1.2              - Apollo DomainOS 10.2
          (sys5.3) with f77 10.7 and cc 6.7.                - CRAY
                                                        - NEC SX-4 SUPER-UX
                                                     - CONVEX
                                                  - Sun
                                               - PowerStation Fortran with
Visual C++                                   - HP9000s300/s700/s800 Latest
test with: HP-UX A.08.07 A 9000/730        -
          LynxOS: cc or gcc with f2c.
     - VAXUltrix: vcc,cc or gcc with f2c. gcc or cc with f77.
  -            f77 with vcc works; but missing link magic for f77 I/O.     -
           NO fort. None of gcc, cc or vcc generate required names.    - f2c
   : Use #define    f2cFortran, or cc -Df2cFortran                 - NAG
f90: Use #define NAGf90Fortran, or cc -DNAGf90Fortran              - Absoft
UNIX F77: Use #define AbsoftUNIXFortran or
          cc -DAbsoftUNIXFortran     - Absoft Pro Fortran: Use #define
AbsoftProFortran     - Portland Group Fortran: Use #define pgiFortran     -
PathScale Fortran: Use #define PATHSCALE_COMPILER"
   #error "cfortran.h:  Can't find your environment among:\
    ^

compilation aborted for fort-attio.c (code 4)
make[3]: *** [fort-attio.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
nmake: *** [all] Error 2


thanks
winthan
  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: