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.
George, >Date: Wed, 22 Sep 1999 11:50:30 -0700 >From: "G_Shayne" <address@hidden> >Organization: Microsoft Corporation >To: "Steve Emmerson" <address@hidden> >Subject: Re: 19990922: NETCDF Build on C90 >Keywords: 199909212014.OAA06054 In the above message, you wrote: > I'll try anything! Since the c90 is behind a firewall, it is cumbersome to > get files over to e-mail. If you had an anonymous ftp site, I could send > to, it would save me a lot of time, by avoiding my use of msn on my office > PC. Sorry. We've disabled incoming ftp for security reasons. What's your version of the f90 compiler? Please compile this C code: void SUB(values) double values[4]; { exit(values[1] != -2 || values[2] != -3); } using the command "cc -c sub.c". Then, build and execute the following Fortran program: program prog doubleprecision values(4) data values /-1, -2, -3, -4/ call sub(values) end using the following commands: $ f90 prog.f sub.o $ ./a.out What is the exit code (e.g. "echo $?" or "echo $status" -- depending on your shell)? Next, rebuild and re-execute the program using the following commands: $ f90 -dp prog.f sub.o $ ./a.out What is the exit code? -------- Steve Emmerson <http://www.unidata.ucar.edu>