[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #AFW-910872]: Difficulty Compiling netcdf (with make check)



> Greetings,
>
> I'm having difficulty compiling NETCDF on a Sparc Solaris 10 system. I'm
> forwarding you the config, make, and version files. I would appreciate any
> insights you might have.
>
> Thanks so much!
>
> Cynthia Segura
> Information Technology Specialist
> USGS Albuquerque Seismological Laboratory
> 10002 Isleta Road SE Kirtland AFB, NM 87117
> Phone: (505) 853-6386
>
>
>

You are confusing netCDF with by having the following environment vars set:
F77='/usr/local/gcc-3.3.2/bin/g77'
FC='/usr/local/gcc-3.3.2/bin/g77'

What fortran compiler would you like to use? The GNU one, or the Sun one?

(The GNU one you have is pretty old BTW.)

Try a rebuild, but set the variable FC to the F90 compiler you want to use, and
F77 to the Fortran 77 compiler you want to use (they can be the same, as f90
compilers can handle f77 code).

If you are using these old GNU compilers, try also setting CPPFLAGS to
-f2cFortran.

Please let me know if this doesn't help.

Thanks,

Ed

Ticket Details
===================
Ticket ID: AFW-910872
Department: Support netCDF
Priority: Normal
Status: Closed