[netcdfgroup] Netcdf 4.2 with PGI problem

I'm trying to build the netcdf fortran release 4.2 using PGI 2012 on 64-bit Linux. So far I have not had any luck using the environment suggested on the Portland Group web site. Admittedly, their information is quite dated now. Does anyone have a working environment that they could share? Thanks.

From the tail of the "make" process.  No errors appeared earlier.

   /bin/sh ../libtool --tag=CC   --mode=compile pgcc -DHAVE_CONFIG_H -I. -I..  
-DDLL_EXPORT  -DNDEBUG -DpgiFortran  -O2 -Msignextend -V -c -o fort-v2compat.lo 
fort-v2compat.c

   libtool: compile:  pgcc -DHAVE_CONFIG_H -I. -I.. -DDLL_EXPORT -DNDEBUG 
-DpgiFortran -O2 -Msignextend -V -c fort-v2compat.c  -fpic -DPIC -o 
.libs/fort-v2compat.o

   PGC/x86-64 Linux 12.10-0

   Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.

   Copyright 2000-2012, STMicroelectronics, Inc.  All Rights Reserved.

   PGC-S-0039-Use of undeclared variable NC_CLASSIC_MODEL (fort-v2compat.c: 274)

   PGC/x86-64 Linux 12.10-0: compilation completed with severe errors

   pgcc 12.10-0 64-bit target on x86-64 Linux -tp penryn

   Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.

   Copyright 2000-2012, STMicroelectronics, Inc.  All Rights Reserved.

   make[3]: *** [fort-v2compat.lo] Error 1

   make[3]: Leaving directory `/home/mark/tmp/netcdf-fortran-4.2/fortran'

   make[2]: *** [all] Error 2

   make[2]: Leaving directory `/home/mark/tmp/netcdf-fortran-4.2/fortran'

   make[1]: *** [all-recursive] Error 1

   make[1]: Leaving directory `/home/mark/tmp/netcdf-fortran-4.2'

   make: *** [all] Error 2

--
Mark Tucker
Systems Administrator
Dept. of Atmospheric Sciences
Lyndon State College
http://meteorology.lyndonstate.edu
mark.tucker@xxxxxxxxxxxxxxx
(802)-626-6328

  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: