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

[netCDF #ZBY-408193]: NetCDF building on Blue Gene/Q with IBM XL compiler?

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.


  • Subject: [netCDF #ZBY-408193]: NetCDF building on Blue Gene/Q with IBM XL compiler?
  • Date: Sat, 20 Apr 2013 05:44:25 -0600

Hi Aleksey,

> I'm having troubles building NetCDF 4.1.3 for BG/Q login nodes with IBM
> XL compiler.
> What *Fortran constant should I define?
> 
> -DpgiFortran => "test_get.F" can't be compiled (some configuration file
> does not exist)
> -DIBMR2Fortran => "test_get.F" can't be compiled (syntax error)
> -Df2cFortran => "test_get.F" can't be compiled (syntax error)
> 
> (If I omit this constant, then compiler will complain about it)

I forwarded your question to address@hidden, who suggested 

  CPPFLAGS=-DIBMR2Fortran

should work.  Could you send me the output of running the configure script and
"make check" using that value for CPPFLAGS?

Thanks.

--Russ

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



Ticket Details
===================
Ticket ID: ZBY-408193
Department: Support netCDF
Priority: Normal
Status: Closed