[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #QGB-866955]: make check: two tests failed



Hi,

Apparently some changes are required for AbsoftProFortran 10.2 or later, and 
you have 
version 11, so I'd appreciate it if you would help test these changes.  Please 
get
this file:

  
http://svn.unidata.ucar.edu/repos/netcdf-fortran/branches/netcdf-fortran-4.2/fortran/cfortran.h

which is just the changes recommended by Absoft here:

  http://absoft.absoft.com/newforums/index.php?topic=478.0

applied to and integrted into a later version of cfortran.h.

Then copy it over the fortran/cfortran.h file you have, to replace it.  Then
"make clean" and "make check" again.  Please let me know if that fails, and if
so, provide the details.

Thanks!

--Russ

> Unidata netCDF Support wrote:
> >> Unresolved references
> >> libmv.so.1 - what is it, where to get it from?
> > No idea what this is; not part of or required by
> > netcdf as far as I know.
> >
> > f90tst_vars.o: In function `MAIN__':
> > (.text+0x2b3): undefined reference to `__NF90_CREATE.in.NETCDF'
> > If you are using netcdf-4.1.3 or later, then the fortran code
> > has been separated out in its own distribution. You will need
> > to get that distribution and compile (using ./configure etc).
> > Then you will need to specify -lnetcdff as an extra library.
> >
> >
> > =Dennis Heimbigner
> >    Unidata
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: QGB-866955
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> >
> >
> http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.1.3.tar.gz
> was the one I downloaded. Here's what I got:
> lrwxrwxrwx 1 hgs hgs 16 Feb 22 21:29 ./fortran/.libs/libnetcdff.la ->
> ../libnetcdff.la
> -rwxrwxr-x 1 hgs hgs 308830 Feb 22 21:29 ./fortran/.libs/libnetcdff.so.5.1.0
> lrwxrwxrwx 1 hgs hgs 19 Feb 22 21:29 ./fortran/.libs/libnetcdff.so.5 ->
> libnetcdff.so.5.1.0
> lrwxrwxrwx 1 hgs hgs 19 Feb 22 21:29 ./fortran/.libs/libnetcdff.so ->
> libnetcdff.so.5.1.0
> -rw-rw-r-- 1 hgs hgs 1257378 Feb 22 21:29 ./fortran/.libs/libnetcdff.a
> -rw-rw-r-- 1 hgs hgs 1043 Feb 22 21:29 ./fortran/.libs/libnetcdff.lai
> -rw-rw-r-- 1 hgs hgs 1589 Feb 22 21:29 ./fortran/libnetcdff.la
> 
> Since I'm supposed to do
> make check
> before
> make install
> I wonder why the check failed. I noticed: The symbols reported
> unresolved were in upper-case.
> 
> And yet another question:
> nm fortran/.libs/libnetcdff.a | fgrep ' U ' | fgrep nf_put_vars_
> U nf_put_vars_
> U nf_put_vars_double_
> wouldn't the symbols have to have a double underscore at the end?
> 
> The Absoft compilers accept a flag -B108 to force underscoring. From
> what I could see the af90 invocations don't get this flag although I had
> tried to setenv FFLAG '-w -s -B108'
> (FCFLAG alike) in an earlier  attempt. The last build at 21:29 was made
> without the -B108 though.
> 
> Which env-parameter would have to be set to contain -B108 before or
> after configure so that the symbols get the extra underscores? And
> likewise: a two-case option?
> 
> Sorry to bother you again, I apologize for the many blind spots that
> cloud my vision.
> 
> --
> -----
> Med vänliga hälsningar With best regards yours             /   A   \
> Hans-Georg                                                |   / \   |
> ---------------------+-----------------------------------  \       /
> .Telephone:          | Hans-Georg Scherneck                  -----
> . +46 31 772 5556    | Onsala Space Observatory               | |
> .Telefax:            | Chalmers University of Technology     /   \
> . +46 31 772 5590    | S-439 92  Onsala, Sweden         ----------------
> .E-Mail:             | ftp://gere.oso.chalmers.se/pub   /===\ ,===//===\
> .address@hidden     | http://www.oso.chalmers.se/~hgs /    /`===,/    /
> ---------------------+---------------------------------\===//===' \===/
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: QGB-866955
Department: Support netCDF
Priority: Normal
Status: Closed