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

FFLAGS in compiling Netcdf3.6.1

Hi!

I am compiling netcdf -3.6.1 for MCIP v2.2.(MCIP is a component of MODELS-3)

Here I set
setenv FC pgf90
setenv CC gcc
setenv FFLAGS "O2"
setenv CPPFLAGS "-DNDEBUG -DpgiFortran"
in ~/.cshrc, then I can compile netcdf successfully.

The problem is that
in Makefile of MCIP v2.2,
FFLAGS = -O2   -tp p6 -pc 32 -Mvect=prefetch -Mnoframe -Mfree -byteswapio

However,
if I set FFLAGS = -O2   -tp p6 -pc 32 -Mvect=prefetch -Mnoframe -Mfree
-byteswapio
I can not succeed in compiling netcdf-3.6.1.
If I changed FFLAGS in Makefile of MCIP v2.2, there are errors in
compiling MCIP.

Is there anyone having experience to handle such a problem?

Thanks in advance.








--
Best Regards.
Zhou Wei

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


 
 
  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