no arwpost.exe

The GrADS graphics package.

no arwpost.exe

Postby miklosera » Thu Jan 17, 2013 10:50 am

Hi everyone,
could you check what is going wrong? i downloaded the file, configured, but it always ends weird and I don't have arwpost.exe how it tells me as well...

Please check it.
Erika Miklos

/bin/rm -f module_map_utils.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -o ARWpost.exe module_model_basics.o constants_module.o gridinfo_module.o ARWpost.o input_module.o output_module.o module_map_utils.o misc_definitions_module.o module_date_pack.o module_debug.o process_domain_module.o module_get_file_names.o module_interp.o module_basic_arrays.o module_diagnostics.o module_arrays.o module_pressure.o module_calc_height.o module_calc_pressure.o module_calc_theta.o module_calc_tk.o module_calc_tc.o module_calc_td.o module_calc_td2.o module_calc_rh.o module_calc_rh2.o module_calc_uvmet.o module_calc_slp.o module_calc_dbz.o module_calc_cape.o module_calc_wdir.o module_calc_wspd.o module_calc_clfr.o \
-L/home/erika/Projects/WRF/ARWpost/ARWpost/netcdf_links/lib -I/home/erika/Projects/WRF/ARWpost/ARWpost/netcdf_links/include -lnetcdf
input_module.o: In function `__input_module_MOD_arw_get_next_time':
input_module.f:(.text+0x41): undefined reference to `nf_inq_varid_'
input_module.f:(.text+0x7f): undefined reference to `nf_inq_var_'
input_module.f:(.text+0x12e): undefined reference to `nf_get_vara_text_'
input_module.o: In function `__input_module_MOD_input_close':
input_module.f:(.text+0x1b9): undefined reference to `nf_close_'
input_module.o: In function `__input_module_MOD_read_global_attrs':
input_module.f:(.text+0x27f): undefined reference to `nf_get_att_text_'
input_module.f:(.text+0x533): undefined reference to `nf_get_att_int_'
input_module.f:(.text+0x55e): undefined reference to `nf_get_att_int_'
input_module.f:(.text+0x589): undefined reference to `nf_get_att_int_'
input_module.f:(.text+0x5d7): undefined reference to `nf_get_att_text_'
input_module.f:(.text+0x5fb): undefined reference to `nf_get_att_int_'
input_module.f:(.text+0x61f): undefined reference to `nf_get_att_real_'
input_module.f:(.text+0x643): undefined reference to `nf_get_att_real_'
input_module.f:(.text+0x667): undefined reference to `nf_get_att_real_'
input_module.f:(.text+0x68b): undefined reference to `nf_get_att_real_'
input_module.f:(.text+0x6af): undefined reference to `nf_get_att_real_'
input_module.o:input_module.f:(.text+0x6d3): more undefined references to `nf_get_att_real_' follow
input_module.o: In function `__input_module_MOD_read_global_attrs':
input_module.f:(.text+0x860): undefined reference to `nf_inq_attname_'
input_module.f:(.text+0x892): undefined reference to `nf_inq_att_'
input_module.f:(.text+0x92c): undefined reference to `nf_get_att_text_'
input_module.f:(.text+0xa34): undefined reference to `nf_get_att_int_'
input_module.f:(.text+0xb26): undefined reference to `nf_get_att_real_'
input_module.o: In function `__input_module_MOD_read_next_field':
input_module.f:(.text+0xce8): undefined reference to `nf_inq_var_'
input_module.f:(.text+0x10fd): undefined reference to `ncvgt_'
input_module.f:(.text+0x12e5): undefined reference to `ncvgt_'
input_module.f:(.text+0x18f1): undefined reference to `ncvgt_'
input_module.f:(.text+0x1ac8): undefined reference to `ncvgt_'
input_module.f:(.text+0x1c07): undefined reference to `nf_get_att_text_'
input_module.f:(.text+0x1c33): undefined reference to `nf_get_att_text_'
input_module.f:(.text+0x1d05): undefined reference to `nf_get_att_text_'
input_module.f:(.text+0x1d80): undefined reference to `nf_get_att_text_'
input_module.o: In function `__input_module_MOD_input_init':
input_module.f:(.text+0x2852): undefined reference to `nf_open_'
input_module.f:(.text+0x288b): undefined reference to `nf_inq_'
input_module.f:(.text+0x2afa): undefined reference to `nf_inq_dim_'
module_interp.o: In function `__module_interp_MOD_get_keep_array':
module_interp.f:(.text+0x4e): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x1b1): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x2ab): undefined reference to `nf_inq_var_'
module_interp.f:(.text+0x544): undefined reference to `ncvgt_'
module_interp.f:(.text+0x7c4): undefined reference to `ncvgt_'
module_interp.f:(.text+0xa01): undefined reference to `ncvgt_'
module_interp.o: In function `__module_interp_MOD_get_interp_array':
module_interp.f:(.text+0xf44): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0xf6e): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x1033): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x1084): undefined reference to `nf_inq_var_'
module_interp.f:(.text+0x1311): undefined reference to `ncvgt_'
module_interp.f:(.text+0x1934): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x1985): undefined reference to `nf_inq_var_'
module_interp.f:(.text+0x1b96): undefined reference to `ncvgt_'
module_interp.f:(.text+0x1e37): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x1e70): undefined reference to `ncvgt_'
module_interp.f:(.text+0x210b): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x215c): undefined reference to `nf_inq_var_'
module_interp.f:(.text+0x22df): undefined reference to `ncvgt_'
module_interp.f:(.text+0x2491): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x24e2): undefined reference to `nf_inq_var_'
module_interp.f:(.text+0x2549): undefined reference to `ncvgt_'
module_interp.f:(.text+0x270b): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x275c): undefined reference to `nf_inq_var_'
module_interp.f:(.text+0x29db): undefined reference to `ncvgt_'
module_interp.f:(.text+0x2dfc): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x2e3a): undefined reference to `ncvgt_'
module_interp.f:(.text+0x373f): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x3790): undefined reference to `nf_inq_var_'
module_interp.f:(.text+0x3c4c): undefined reference to `ncvgt_'
module_interp.f:(.text+0x3f03): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x3f3e): undefined reference to `ncvgt_'
module_interp.o: In function `__module_interp_MOD_get_interp_info':
module_interp.f:(.text+0x4756): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x4780): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x4843): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x486d): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x4897): undefined reference to `nf_inq_varid_'
module_interp.o:module_interp.f:(.text+0x48c1): more undefined references to `nf_inq_varid_' follow
module_interp.o: In function `__module_interp_MOD_get_interp_info':
module_interp.f:(.text+0x4f22): undefined reference to `nf_inq_var_'
module_interp.f:(.text+0x5191): undefined reference to `ncvgt_'
module_interp.f:(.text+0x54e1): undefined reference to `nf_inq_varid_'
module_interp.f:(.text+0x5526): undefined reference to `ncvgt_'
collect2: ld returned 1 exit status
make: [ARWpost.exe] Error 1 (ignored)
miklosera
 
Posts: 22
Joined: Thu Aug 30, 2012 2:08 pm

Re: no arwpost.exe

Postby Cypresslin » Mon Jan 21, 2013 12:11 am

It's a NETCDF library linking issue. (See the "nf_" started function in you error messages)
I guess maybe you're using NETCDF 4.X.X?

The reason that cause this problem is that in the newer NETCDF version (4.X.X), the Fortran library was separated form the C library.
(From libnetcdf to libnetcdff)

All you need to do is to modify the ARWpost/src/Makefile, change the library name from -lnetcdf to -lnetcdff

Good luck!
GrADS Palette - Color map generator for GrADS
http://cypresslin.web.fc2.com/Projects/ENG-GrADSPalette.html
Cypresslin
 
Posts: 30
Joined: Sun Jun 20, 2010 2:31 pm

Re: no arwpost.exe

Postby Jipson Johnson » Tue Jan 13, 2015 3:06 am

again shows the same error
Jipson Johnson
 
Posts: 24
Joined: Thu Jan 08, 2015 2:15 pm

Re: no arwpost.exe

Postby camilath » Thu Jul 09, 2015 12:45 pm

Could you fix this? I have the same problem and nothing is working.. :(

*I'm using netcdf4.1.3 and already compiled WRFV3.7 and WPSV3.7 with success.

Thanks any help.


-- updating: the solution is include -lnetcdff on ARWpost/src/Makefile, but BEFORE of -lnetcdf, like this:

ARWpost.exe: $(OBJS)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $(OBJS) \
-L$(NETCDF)/lib -I$(NETCDF)/include -lnetcdff -lnetcdf

I hope this help someone!
camilath
 
Posts: 24
Joined: Mon Oct 31, 2011 10:43 am

Re: no arwpost.exe

Postby Jipson Johnson » Thu Aug 11, 2016 8:36 am

I edited that and compile it again. Now it showing
**** Compiling ARWpost ****

Makefile:1: *** missing separator. Stop.
Jipson Johnson
 
Posts: 24
Joined: Thu Jan 08, 2015 2:15 pm


Return to GrADS

Who is online

Users browsing this forum: No registered users and 1 guest