Hello,
I met a problem when ./configure --prefix=...
checking for /usr/bin/nm... /usr/bin/nm -B
checking nm flags...
checking for C-equivalent to Fortran routine "SUB"...
pgf90 9.0-4 64-bit target on x86-64 Linux -tp nehalem-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
configure: error: Could not compile conftest.f*
*
The setting in my ~/.bashrc is:
18 export BIN=Linux2_x86pg
19
20 #configuration from
http://www.pgroup.com/resources/netcdf/netcdf362_pgi80.htm
21 export CC=pgcc
22 export CFLAGS="-O2 -Msignextend -V"
23 export F77=pgf90
24 export FC=pgf90
25 export F90=pgf90
26 export FFLAGS="-02 -w -V"
27 # export CXX=pgcpp
28 export CXX=pgCC
29 export CPPFLAGS="-DNDEBUG -DpgiFortran -D_LARGEFILE_SOURCE"
Can anybody please tell me what's wrong with it? Thank you!
--
Cordially,
Hongyan
鸿雁