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.
Hi, Sorry, the instructions were wrong. After "make distclean", you must run the configure script before "make all check". The log outputs you sent from running configure for both ifort and gfortran look fine. Errors are expected when configure runs, since it determines the configuration needed for each platform by running small test programs and some of these are expected to get errors. The error you are seeing /shared/gfortran/gcc-4.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.4/libgfortranbegin.a(fmain.o)(.text+0xa): > In function `main': > /projects/tob/gcc-4_2-branch/libgfortran/fmain.c:18: undefined reference to > `MAIN__' > collect2: ld returned 1 exit status > gmake: *** [/shared/ROMS-3.0/trunk/Projects/Upwelling/oceanS] Error 1 It looks like the linking step doesn't have all the compiled pieces it needs. If you are using the netCDF module (.mod file), you need to tell the linker where to find it (typically the same directory where the netcdf.h and netcdf.inc files have been installed). --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: AVY-866390 Department: Support netCDF Priority: Normal Status: Closed