[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 19991207: pgf90 won't work!
- Subject: Re: 19991207: pgf90 won't work!
- Date: Tue, 07 Dec 1999 17:00:49 -0700
Dean,
> From: "Dean N. Williams" <address@hidden>
> Subject: pgf90 won't work!
> Organization: PCMDI
> Keywords: 199912071733.KAA19310 netCDF pgf90
In the above message, you wrote:
> %uname -a
> Linux chico 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 unknown
>
> %more VERSION (netcdf-3.5-beta2)
> 3.5
>
> %which pgf90 cc gcc c++ g++ f77 g77 fort77
> /usr/pgi/linux86/bin/pgf90
> /usr/bin/cc
> /usr/bin/gcc
> /usr/bin/c++
> /usr/bin/g++
> /usr/bin/f77
> /usr/bin/g77
> /usr/bin/fort77
...
> filename="config.log"
The only problematical thing I saw in this file was the following:
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
...
> configure:3141: checking whether char is unsigned
> configure:3180: /usr/bin/egcs -o conftest -O -DNDEBUG -DpgiFortran
> conftest.c 1>&5
> configure: failed program was:
> #line 3170 "configure"
> #include "confdefs.h"
> /* volatile prevents gcc2 from optimizing the test away on sparcs. */
> #if !defined(__STDC__) || __STDC__ != 1
> #define volatile
> #endif
> main() {
> volatile char c = 255; exit(c < 0);
> }
The above test code should not have failed (our egcs successfully
compiles it).
> filename="configure.log"
I didn't see anything problematical in this file.
> filename="make.log"
This file indicated a successful build of the C interface of the netCDF
package. It's only the Fortran interface that failed somehow:
...
> Making `test' in directory /usr/local/src/netcdf-3.5/src/fortran
>
> make[2]: Entering directory `/usr/local/src/netcdf-3.5/src/fortran'
> + pgf90 -c -O -w ftest.F
> ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o fort-dim.o
> fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o
> fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o
> fort-varsio.o
> ranlib ../libsrc/libnetcdf.a
> pgf90 -o ftest -O -w ftest.o ../libsrc/libnetcdf.a
> Linking:
> ./ftest
> make[2]: *** [test] Segmentation fault
> make[2]: Leaving directory `/usr/local/src/netcdf-3.5/src/fortran'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/usr/local/src/netcdf-3.5/src'
> make: *** [fortran/test] Error 2
I don't know why this occurred. And, unfortunately, we don't have a
"pgf90" compiler here with which to duplicate your problem.
Though it seems an unlikely cause of the problem, you might investigate
the code above that the egcs compiler failed to compile.
You might also try posting to the netCDF mailing-list to try and find
another Linux/pfg90 user.
--------
Steve Emmerson <http://www.unidata.ucar.edu>