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.
Dr Gary, >Date: Wed, 30 Oct 1996 16:07:16 -0700 >From: "Dr John M Gary" <address@hidden> >Organization: NIST >To: Steve Emmerson <address@hidden> >Subject: Re: 961030: netcdf problem >Keywords: 199610302230.AA28711 In the above message you wrote: > making `test' in directory > /usr/people/jmgary/netcdf-test/SGI/netcdf-2.4.3/src/fortran > > ar rcuv ../libsrc/libnetcdf.a jackets.o > : ../libsrc/libnetcdf.a > ./fortc -L . -O irix64 ftest.src > ftest.f > f90 -c -64 ftest.f > ### 40 continue > ### in line 957 procedure TNCVGT of file ftest.f ### > ### warning Shared DO termination statements are > obsolescent under Fortran 90. ### > ### 50 continue > ### in line 976 procedure TNCVGT of file ftest.f ### > ### warning Shared DO termination statements are > obsolescent under Fortran 90. ### > ### 40 continue > ### in line 1140 procedure TNCVPT of file ftest.f ### > ### warning Shared DO termination statements are > obsolescent under Fortran 90. ### > ### 50 continue > ### in line 1153 procedure TNCVPT of file ftest.f ### > ### warning Shared DO termination statements are > obsolescent under Fortran 90. ### > 4 warnings in file ftest.f > f90 -o ftest -64 ftest.o -L../libsrc -lnetcdf > ld64: FATAL 12: Expecting ../libsrc/libnetcdf.a objects: ld64: Segmentation > fault. Removing output file... > f90 ERROR: /usr/lib64/cmplrs/ld64 returned non-zero status 1 > *** Error code 1 (bu21) > *** Error code 1 (bu21) I never tried using the f90(1) FORTRAN compiler. I'm not surprised that there are some problems. I suggest using the f77(1) FORTRAN compiler: 1. Go to the top-level source directory. 2. Remove the file `config.cache' if it exists. 3. Edit the file CUSTOMIZE: change FC to `f77' and remove any definition for FFLAGS. 4. Execute the `configure' script. Trap the output in case you have to send it to me. 5. If the above goes well, execute the command `make fortran/clean'. 6. Execute the command `make'. Trap the output. 7. Execute the command `make test'. Please let me know if this helps. -------- Steve Emmerson <address@hidden>