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

[netCDF #CXW-877910]: installation version 3.6.2 on IBM AIX 5.3 make check failed for fortran



Hi Anne,

We have output from a successful build of netCDF 3.6.2 on AIX using xlf for the 
Fortran compiler here:

  
http://www.unidata.ucar.edu/software/netcdf/builds/zasu_AIX_netcdf-3.6.2_2007-03-05-10-44.txt

which shows xlf was invoked in the following way:

  xlf -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -I../f90 -g -c -o 
test_get.o test_get.F

with no "-DpgiFortran" flag, as in your output.  I suspect you may have had the 
environment variables FFLAGS defined with "-DpgiFortran" before invoking 
configure.  Otherwise, I can't explain why that option appeared on the xlf 
invocation in your build.

I think it would be incorrect to specify -DpgiFortran with the xlf compiler, 
because it uses different conventions for calling C from Fortran programs than 
the Portland Group compilers.  To confirm this was the problem, you might try 
building without FFLAGS defined to see if it completes successfully.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: CXW-877910
Department: Support netCDF
Priority: High
Status: Closed