[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #RBY-219136]: netcdf-3.6.2-beta4 build problem
- Subject: [netCDF #RBY-219136]: netcdf-3.6.2-beta4 build problem
- Date: Tue, 02 Jan 2007 05:09:40 -0700
> Hi,
>
> I think netcdf 3.6.2-beta4 may disregard or over-ride user-specified
> values for compiler flags, specifically FFLAGS/F90FLAGS.
> Here is how I configure it:
>
> 501 export GNU_TRP=`~/nco/autobld/config.guess`
> 502 export CC='gcc'
> 503 export CXX='g++'
> 504 export CPPFLAGS='-DNDEBUG -DpgiFortran'
> 505 export CFLAGS='-O -fPIC -m64 -march=opteron -mmmx -msse -msse2
> -m3dnow -pipe -fexpensive-optimizations -mfpmath=sse,387'
> 506 export FC='g95'
> 507 export F90='g95'
> 508 export FFLAGS='-O -g -fno-second-underscore'
> 509 export F90FLAGS='-O -g -fno-second-underscore'
> 510 ./configure --prefix=/usr/local --disable-shared >
> netcdf.configure.${GNU_TRP}.foo 2>&1
> 511 make > netcdf.make.${GNU_TRP}.foo 2>&1
>
> configure and build output, respectively, are at
> http://dust.ess.uci.edu/tmp/netcdf.configure.x86_64-unknown-linux-gnu.foo
> http://dust.ess.uci.edu/tmp/make.configure.x86_64-unknown-linux-gnu.foo
>
> The build output does not include the -fno-second-underscore flag,
> although I specified it with FFLAGS/F90FLAGS.
> This is on a 64 bit opteron running CentOS, though I think the same
> thing will happen on other linux platforms.
> I can't tell what I'm doing wrong with FFLAGS.
> This build configuration definitely worked with 3.6.1.
> Any help appreciated.
>
> Thanks,
> Charlie
> --
> Charlie Zender, address@hidden, Department of Earth System Science
> 3228 Croul Hall, UC Irvine, Irvine CA 92697-3100. (949) 824-2987 :)
>
>
Howdy Charlie!
Hope you are having a nice New Year so far!
I am just about to release a beta5 which eschews all setting of flags. At
least, that is the goal. However it is a challenge to do this and still not
require the user to know what flags to set. However, I think I can manage it.
I'll send you email when the new beta5 release is ready...
Thanks!
Ed
Ticket Details
===================
Ticket ID: RBY-219136
Department: Support netCDF
Priority: Normal
Status: Open