ARWPost compilation error

Discussions related to the use of ARWPost

ARWPost compilation error

Postby Yaakov.Nissim » Thu Jun 19, 2014 8:13 am

Hi everyone

I'm trying to install the ARWpost post processing code
but I can't manage to compile it

The error is given below:
Code: Select all
 
**** Compiling ARWpost ****
 
/bin/rm -f module_model_basics.o module_model_basics.mod
/bin/cp module_model_basics.f90 module_model_basics.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_model_basics.f
/bin/rm -f module_model_basics.f
/bin/rm -f constants_module.o constants_module.mod
/bin/cp constants_module.f90 constants_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c constants_module.f
/bin/rm -f constants_module.f
/bin/rm -f misc_definitions_module.o misc_definitions_module.mod
/bin/cp misc_definitions_module.f90 misc_definitions_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c misc_definitions_module.f
/bin/rm -f misc_definitions_module.f
/bin/rm -f module_debug.o module_debug.mod
/bin/cp module_debug.f90 module_debug.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_debug.f
/bin/rm -f module_debug.f
/bin/rm -f module_get_file_names.o module_get_file_names.mod
/lib/cpp -C -P -traditional -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4  -Dbytesw  module_get_file_names.F90 > module_get_file_names.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_get_file_names.f
/bin/rm -f module_get_file_names.f
/bin/rm -f gridinfo_module.o gridinfo_module.mod
/bin/cp gridinfo_module.f90 gridinfo_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c gridinfo_module.f
/bin/rm -f gridinfo_module.f
/bin/rm -f module_date_pack.o module_date_pack.mod
/bin/cp module_date_pack.f90 module_date_pack.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_date_pack.f
/bin/rm -f module_date_pack.f
/bin/rm -f input_module.o input_module.mod
/bin/cp input_module.f90 input_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c input_module.f
/bin/rm -f input_module.f
/bin/rm -f module_arrays.o module_arrays.mod
/bin/cp module_arrays.f90 module_arrays.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_arrays.f
/bin/rm -f module_arrays.f
/bin/rm -f module_pressure.o module_pressure.mod
/bin/cp module_pressure.f90 module_pressure.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_pressure.f
/bin/rm -f module_pressure.f
/bin/rm -f module_interp.o module_interp.mod
/bin/cp module_interp.f90 module_interp.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_interp.f
/bin/rm -f module_interp.f
/bin/rm -f output_module.o output_module.mod
/lib/cpp -C -P -traditional -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4  -Dbytesw  output_module.F90 > output_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c output_module.f
/bin/rm -f output_module.f
/bin/rm -f module_basic_arrays.o module_basic_arrays.mod
/bin/cp module_basic_arrays.f90 module_basic_arrays.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_basic_arrays.f
/bin/rm -f module_basic_arrays.f
/bin/rm -f module_calc_height.o module_calc_height.mod
/bin/cp module_calc_height.f90 module_calc_height.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_height.f
/bin/rm -f module_calc_height.f
/bin/rm -f module_calc_pressure.o module_calc_pressure.mod
/bin/cp module_calc_pressure.f90 module_calc_pressure.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_pressure.f
/bin/rm -f module_calc_pressure.f
/bin/rm -f module_calc_tk.o module_calc_tk.mod
/bin/cp module_calc_tk.f90 module_calc_tk.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_tk.f
/bin/rm -f module_calc_tk.f
/bin/rm -f module_calc_tc.o module_calc_tc.mod
/bin/cp module_calc_tc.f90 module_calc_tc.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_tc.f
/bin/rm -f module_calc_tc.f
/bin/rm -f module_calc_theta.o module_calc_theta.mod
/bin/cp module_calc_theta.f90 module_calc_theta.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_theta.f
/bin/rm -f module_calc_theta.f
/bin/rm -f module_calc_td.o module_calc_td.mod
/bin/cp module_calc_td.f90 module_calc_td.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_td.f
/bin/rm -f module_calc_td.f
/bin/rm -f module_calc_td2.o module_calc_td2.mod
/bin/cp module_calc_td2.f90 module_calc_td2.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_td2.f
/bin/rm -f module_calc_td2.f
/bin/rm -f module_calc_rh.o module_calc_rh.mod
/bin/cp module_calc_rh.f90 module_calc_rh.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_rh.f
/bin/rm -f module_calc_rh.f
/bin/rm -f module_calc_rh2.o module_calc_rh2.mod
/bin/cp module_calc_rh2.f90 module_calc_rh2.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_rh2.f
/bin/rm -f module_calc_rh2.f
/bin/rm -f module_calc_uvmet.o module_calc_uvmet.mod
/bin/cp module_calc_uvmet.f90 module_calc_uvmet.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_uvmet.f
/bin/rm -f module_calc_uvmet.f
/bin/rm -f module_calc_slp.o module_calc_slp.mod
/bin/cp module_calc_slp.f90 module_calc_slp.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_slp.f
/bin/rm -f module_calc_slp.f
/bin/rm -f module_calc_dbz.o module_calc_dbz.mod
/bin/cp module_calc_dbz.f90 module_calc_dbz.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_dbz.f
/bin/rm -f module_calc_dbz.f
/bin/rm -f module_calc_cape.o module_calc_cape.mod
/bin/cp module_calc_cape.f90 module_calc_cape.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_cape.f
/bin/rm -f module_calc_cape.f
/bin/rm -f module_calc_wdir.o module_calc_wdir.mod
/bin/cp module_calc_wdir.f90 module_calc_wdir.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_wdir.f
/bin/rm -f module_calc_wdir.f
/bin/rm -f module_calc_wspd.o module_calc_wspd.mod
/bin/cp module_calc_wspd.f90 module_calc_wspd.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_wspd.f
/bin/rm -f module_calc_wspd.f
/bin/rm -f module_calc_clfr.o module_calc_clfr.mod
/bin/cp module_calc_clfr.f90 module_calc_clfr.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_calc_clfr.f
/bin/rm -f module_calc_clfr.f
/bin/rm -f module_diagnostics.o module_diagnostics.mod
/bin/cp module_diagnostics.f90 module_diagnostics.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_diagnostics.f
/bin/rm -f module_diagnostics.f
/bin/rm -f process_domain_module.o process_domain_module.mod
/lib/cpp -C -P -traditional -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4  -Dbytesw  process_domain_module.F90 > process_domain_module.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c process_domain_module.f
/bin/rm -f process_domain_module.f
/bin/rm -f ARWpost.o ARWpost.mod
/bin/cp ARWpost.f90 ARWpost.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c ARWpost.f
/bin/rm -f ARWpost.f
/bin/rm -f module_map_utils.o module_map_utils.mod
/bin/cp module_map_utils.f90 module_map_utils.f
gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4  -I/lxdata/users/kobi/netcdf/include -c module_map_utils.f
/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/lxdata/users/kobi/netcdf/lib -I/lxdata/users/kobi/netcdf/include  -lnetcdf
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lnetcdf
collect2: error: ld returned 1 exit status
make: [ARWpost.exe] Error 1 (ignored)


I've tried to use other suggestions from other posts but with no luck.
Can anyone please tell me what is the problem??

ThankU very much
Yaakov.Nissim
 
Posts: 2
Joined: Wed Jun 18, 2014 4:28 am

Re: ARWPost compilation error

Postby kserradell » Tue Oct 07, 2014 6:34 am

It's crashing at the linking stage because netcdf lib is not found.

Check if netcdf lib exists at /lxdata/users/kobi/netcdf/lib

KiM
kserradell
 
Posts: 9
Joined: Wed Jan 09, 2013 10:29 am
Location: Barcelona - Spain


Return to ARWPost

Who is online

Users browsing this forum: No registered users and 1 guest