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 Andreas, ... > cc -c -O2 -g -DNDEBUG fortlib.c > ifc -o nf_test -O test_get.o test_put.o nf_error.o nf_test.o test_read.o > test_write.o util.o fortlib.o ../libsrc/libnetcdf.a -lm > nf_test.o: In function `main': > nf_test.o(.text+0x223): undefined reference to `getarg_' > nf_test.o(.text+0x248): undefined reference to `iargc_' > nf_test.o(.text+0x276): undefined reference to `getarg_' > nf_test.o(.text+0xbcc): undefined reference to `getarg_' > make[2]: *** [nf_test] Error 1 > make[2]: Leaving directory `/home/anma/netcdf-3.5.0/src/nf_test' > make[1]: *** [subdir_target] Error 1 > make[1]: Leaving directory `/home/anma/netcdf-3.5.0/src' > make: *** [nf_test/test] Error 2 We've encountered this problem with Intel's IFC compiler not finding the getarg and iargc functions before. Please see this support reply: http://www.unidata.ucar.edu/glimpse/netcdf/4547 So far, we have no workaround as far as I know. You also referred to failures when using the FAT32 partition: > But I have a small problem installing and running netcdf on a RedHat 7.3 > Linux notebook > when using a FAT32 partition. Those problems don't exist when using an ext2 > partition. > Netcdf seems not to be able to write into files on the FAT32 partition. > This behavior happens with netcdf-3.5.0-1RH72.i386.rpm and also when > compiling/testing > the source. For compiling and testing I used the same commands for the src > tree > living on the FAT32 and on the ext2 partition respectively. I'm not sure whether you're saying that the IFC compiler couldn't find the getarg/iargc functions when you compiled on the FAT32 partition, or that you got it successfully built but then it couldn't write files on the FAT32 partition. I didn't see any symptom of the latter problem in the output you sent (but I may have missed it among all the Fortran compiler warnings). If you have an example of the error you get when trying to write to the FAT32 partition, it might help. In the meantime, we'll set up a FAT32 partition on one of our Linux systems here and see if we can reproduce the problem, but this may take a couple of days. ... --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu