NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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


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