This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Gagan, > To: <address@hidden> > cc: <address@hidden> > From: "Gagan Kaul" <address@hidden> > Subject: URGENT: Unable to Install Netcdf. > Organization: UCAR/Unidata The above message contained the following: > I am trying to install netCdf on my computer but its not working. I have > tried to install various RPMs but none is working properly. Finally I > downloaded this beta version, but it is also giving problems. I did > everything that you told on the installation page, but still I dont know > what is the problem. > > I have an IBM machine, and I am running Red Hat Linux 9. The software I > am trying to work on is dacapo which requires coordination of netCdf > with Scientific Python. But something is getting wrong in the > installation of netCdf and hence Scientific Python is also not getting > installed, because I need to specify the address where netcdf libraries > are installed. So please help me with this. > > I am lagging behind on my project schedule, and before installing it > this time, I had tried to reinstall the linux software thinking that > there might be some software installation problem. But now finally, > having done everything I could, I am approaching you for help. > > Please look into the make command error log, namely the make.log file. > > Thanking you in anticipation, > > Gagan Kaul, > Senior Undergraduate Student, > Department of Chemical Engineering, > Indian Institute of Technology Bombay, > India. > > > On Screen Display at the command prompt when I executed the 'make' command: > In file included from ncfortran.h:13, > from fort-attio.c:6: > cfortran.h:134:3: #error "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" > make[2]: *** [fort-attio.o] Error 1 > make[1]: *** [subdir_target] Error 1 > make: *** [fortran/all] Error 2 What are the absolute pathnames of your Fortran-77 and Fortran-90 compilers? Did you look at the examples in the file INSTALL.html? Regards, Steve Emmerson