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
==============================================================================