[Wrf-users] Compile Error 1 on Mac 10.5.8
Kirstie Stramler
kirstie.stramler at gmail.com
Mon Jan 9 14:26:31 MST 2012
*Newbie Install Attempts of WRFV 3.3.1 on Mac 10.5.8*
Closest I could find in the archives was this, but no answer is posted to
the list:
http://mailman.ucar.edu/pipermail/wrf-users/2010/001885.html
Would be appreciative for any guidance!
*Getting this error twice:*
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: [em_wrf] Error 1 (ignored)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: [diffwrf] Error 1 (ignored)
*And a bunch (30 or so) of messages like these (before each error):*
"_H5Tvlen_create", referenced from:
_nc4_rec_write_metadata fr libnetcdf.a(nc4hdf.o)
"_H5T_IEEE_F64LE_g", referenced from:
_H5T_IEEE_F64LE_g$non_lazy_ptr in libnetcdf.a(nc4hdf.o)
*Other points of confusion:*
cc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1
gfortran --version
GNU Fortran (GCC) 4.4.0
have installed NetCDF and zlib and HDF, but not sure if libraries are
well-placed
*From configure.wrf:*
# Settings for Darwin (MACOS) gfortran with gcc (serial)
#
DMPARALLEL = 1
OMPCPP = # -D_OPENMP
OMP = # -fopenmp
OMPCC = # -fopenmp
SFC = gfortran
SCC = gcc
CCOMP = gcc
DM_FC = mpif90 -f90=$(SFC)
DM_CC = mpicc -cc=$(SCC) -DMPI2_SUPPORT
FC = $(SFC)
CC = $(SCC) -DFSEEKO_OK
LD = $(FC)
RWORDSIZE = $(NATIVE_RWORDSIZE)
PROMOTION = # -fdefault-real-8 # uncomment manually
ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -DMACOS
CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB -DMACOS
LDFLAGS_LOCAL =
CPLUSPLUSLIB =
ESMF_LDFLAG = $(CPLUSPLUSLIB)
FCOPTIM = -O3 -ftree-vectorize -ftree-loop-linear
-funroll-loops
FCREDUCEDOPT = $(FCOPTIM)
FCNOOPT = -O0
FCDEBUG = # -g $(FCNOOPT)
FORMAT_FIXED = -ffixed-form
FORMAT_FREE = -ffree-form -ffree-line-length-none
FCSUFFIX =
BYTESWAPIO = -fconvert=big-endian -frecord-marker=4
FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO)
FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG)
MODULE_SRCH_FLAG =
TRADFLAG = -traditional
CPP = cpp -C -P -xassembler-with-cpp
AR = ar
ARFLAGS = ru
M4 = m4 -B 14000
RANLIB = ranlib
CC_TOOLS = $(SCC)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20120109/ffbdd11e/attachment.html
More information about the Wrf-users
mailing list