[Wrf-users] WRF v2.1.2 compilation errors using PGI 6.2,
netcdf 3.6.0-p1, & mpich 1.2.6/1.2.7
Diego M. Vadell
dvadell at linuxclusters.com.ar
Mon Feb 5 10:14:57 MST 2007
Hi,
It looks like __mth_i_dfloatux is defined in libpgsee.2.a (part of the PGI
compiler suite)
nm libpgsse2.a | grep mth_i_dfloatux
00000000 T __mth_i_dfloatux
Maybe you can add that library to the compilation line and see what happens?
Just a thought
-- Diego.
On Monday 05 February 2007 17:01:24 Case, Jonathan wrote:
> Dear WRF Users,
>
>
>
> Has anyone encountered a link-time problem in compiling WRF v2.1.2 using
> PGI version 6.2, along with mpich 1.2.6/1.2.7 on a Linux cluster?
>
> On our cluster, we're running CentOS 4 and OSCAR 4.2, and I built netcdf
> version 3.6.0-p1 using the PGI compiler 6.2.
>
>
>
> The errors we're receiving are as follows:
>
>
>
> mpif90 -f90=pgf90 -o wrf.exe -byteswapio -O2 -w -byteswapio -Mfree -tp
> p6 wrf.o libwrflib.a -L../external/io_netcdf -lwrfio_nf
> -L/projects/proto/WRF/netcdf/lib -lnetcdf -L../external/RSL/RSL -lrsl
> -L../external/io_grib1 -lio_grib1 -L../external/io_int -lwrfio_int
> ../frame/module_internal_header_util.o ../frame/pack_utils.o
> -L../external/esmf_time_f90 -lesmf_time
>
> /projects/proto/WRF/netcdf/lib/libnetcdf.a(ncx.o)(.text+0xb04): In
>
> function `ncx_get_float_uchar':
> : undefined reference to `__mth_i_fixux'
>
> /projects/proto/WRF/netcdf/lib/libnetcdf.a(ncx.o)(.text+0xd03): In
>
> function `ncx_put_float_uchar':
> : undefined reference to `__mth_i_floatux'
>
> /projects/proto/WRF/netcdf/lib/libnetcdf.a(ncx.o)(.text+0xf94): In
>
> function `ncx_get_double_uchar':
> : undefined reference to `__mth_i_dfixux'
>
> /projects/proto/WRF/netcdf/lib/libnetcdf.a(ncx.o)(.text+0x11c3): In
>
> function `ncx_put_double_uchar':
> : undefined reference to `__mth_i_dfloatux'
>
> /usr/local/mpich-1.2.6-pgi/lib/libmpich.a(p4_utils.o)(.text+0x1c43): In
>
> function `p4_usclock':
> : undefined reference to `__mth_i_dfloatux'
>
> /usr/local/mpich-1.2.6-pgi/lib/libmpich.a(p4_utils.o)(.text+0x1c59): In
>
> function `p4_usclock':
> : undefined reference to `__mth_i_dfloatux'
>
> /usr/local/mpich-1.2.6-pgi/lib/libmpich.a(p4_utils.o)(.text+0x1c71): In
>
> function `p4_usclock':
> : undefined reference to `__mth_i_dfloatux'
>
> Any suggestions are greatly appreciated!
>
> Sincerely,
>
> Jonathan Case
>
>
>
> *******************************************
>
> Jonathan Case, ENSCO, Inc.
>
> Aerospace Sciences & Engineering Division
>
> Short-term Prediction Research and Transition Center
>
> 320 Sparkman Drive, Room 3062
>
> Huntsville, AL 35805-1912
>
> Voice: (256) 961-7504 Fax: (256) 961-7788
>
> Emails: Jonathan.Case at nsstc.nasa.gov
>
> case.jonathan at ensco.com
>
> *******************************************
More information about the Wrf-users
mailing list