Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xlf and netcdf



Thanks to everyone who replied to my request for help regarding xlf and netcdf.

I tried various approaches, but because I was needing to compile with the -qextname option (I should have mentioned this), I ended up using the following options which worked fine.

export CC=gcc
export CFLAGS=-O
export FC=xlf
export FFLAGS="-O -qextname"
export F90=xlf90
export F90FLAGS="-qsuffix=f=f90 -qextname"
export CXX=""
#export CXXFLAGS=-O
#in cfortran.h add
#  #define NAGf90Fortran
#

Thanks again,
Malcolm Haylock
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Fortran-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/fortran-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.