Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: autoconf on Linux/opteron

One gotcha when checking for the Opteron is the need to look specifically for 'x86_64' as well as for 'Linux' in 'uname -a'. This is also a problem in some other apps and models we're working with. If you find that, using autoconf to do all sorts of neat things becomes a bit simpler.

gerry

Ed Hartnett wrote:
Harry Mangalam <hjm@xxxxxxxxx> writes:


Hi there,

This is mostly an FYI:

I'm building netCDF lib on an opteron /Linux (ubuntu) in 64 bit mode with f77 & f90, gcc 3.4.

I can get it to build correctly after modifying the macro.make file to resemble

  31 # Compilation:
  32 CC    = gcc -Df2cFortran   <-- had to be manually edited
  33 CXX      = g++
34 FC = f77 35 F90 = f90 36 CFLAGS = -g
  37 CXXFLAGS = -g -O2
  38 FFLAGS      = -ff2c        <--had to be manually edited
39 F90FLAGS = When you next re-examine the autoconf process, you might try to detect this platform and add these flags automagically. Our experience with the opteron so far has been pretty good and this may well be a standard platform for large data sets soon.


The intention is that you set these as environment variables before
running configure.

Can you tell me what fortran compiler the above works with?

Thanks!

Ed


--
Gerry Creager -- gerry.creager@xxxxxxxx
Texas Mesonet -- AATLT, Texas A&M University        
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690