The GrADS graphics package.


Postby Udo » Sun Jun 08, 2014 10:52 am

Hi there!

I am having problem trying to compile WRF2GRADS on MAC.

Here is my Makefile:

LIBNETCDF = -L/opt/local/lib -lnetcdf -lm
INCLUDE = -I/opt/local/include -I./
FC = gfortran
FCFLAGS = -g -C -free
CPP = /opt/local/bin/cpp
CPPFLAGS = -I. -C -P -DRECL4 -xassembler-with-cpp

and the error message:

gfortran -g -C -free -o wrf_to_grads wrf_to_grads.o \
module_wrf_to_grads_netcdf.o \
module_wrf_to_grads_util.o \
-L/opt/local/lib -lnetcdf -lm
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [wrf_to_grads] Error 1

Does anyone have any clue of what that means or how to solve it?
Thanks a lot!
Posts: 3
Joined: Sun Jun 08, 2014 10:43 am

Return to GrADS

Who is online

Users browsing this forum: Google [Bot] and 1 guest