[Wrf-users] Compiling WRFPOST on Linux with Intel Fortran
Richard Carpenter
rcarpenter at wdtinc.com
Tue Jan 23 16:21:04 MST 2007
I'm having trouble compiling WRFPOST 2.2 on Linux with Intel Fortran.
Here's the manual intervention I have done so far:
* Modified the top level makefile for ifort compiler and flags.
* Compiled libraries RSL and RSL_LITE in WRFV2.2.
* Modified wrfpost/makefile to link with the RSL library.
I am getting undefined and multiply defined references in RSL and
RSL_LITE:
make[2]: Entering directory `/home/wrf/wrfpostprocV2/sorc/wrfpost'
ifort -FR -assume byterecl -convert big_endian -o ../../exec/wrfpost.exe
getVariable_LINUX.o getIVariable_LINUX.o getVariableB_LINUX.o
getIVariableN_LINUX.o getVariableRSM.o MASKS_mod.o SOIL_mod.o
VRBLS2D_mod.o VRBLS3D_mod.o BNDLYR.o BOUND.o CALCAPE.o CALDWP.o
CALDRG.o CALHEL.o CALLCL.o CALMCVG.o CALMXW.o CALPOT.o CALPW.o
CALRH.o CALRCH.o CALSTRM.o CALTAU.o CALTHTE.o CALVIS.o CALVOR.o CALWXT.o
CALWXT_RAMER.o CALWXT_BOURG.o CALWXT_REVISED.o CALWXT_EXPLICIT.o
CALWXT_DOMINANT.o CLDRAD.o CLMAX.o COLLECT.o COLLECT_LOC.o DEWPOINT.o
FDLVL.o FIXED.o FRZLVL.o FRZLVL2.o GET_BITS.o GRIBIT.o INITPOST.o
LFMFLD.o INITPOST_BIN.o MISCLN.o MIXLEN.o MDL2P.o MDLFLD.o
MPI_FIRST_LINUX.o MPI_LAST.o NGMFLD.o NGMSLP.o OTLFT.o OTLIFT.o
SLP_new.o SLP_NMM.o EXCH_LINUX.o PARA_RANGE.o POSTDATA.o PROCESS.o
INITPOST_NMM.o EXCH2_LINUX.o READCNTRL.o SCLFLD.o SERVER.o
SETUP_SERVERS.o SURFCE.o SPLINE.o TABLE.o TABLEQ.o TRPAUS.o TTBLEX.o
WETBULB.o WRFPOST.o INITPOST_NMM_BIN.o CALMICT.o MICROINIT.o GPVS.o
MDL2SIGMA.o ETCALC.o CANRES.o CALGUST.o WETFRZLVL.o SNFRAC.o MDL2AGL.o
INITPOST_RSM.o AVIATION.o TIMEF.o DEALLOCATE.o
/home/wrf/rlc/WRFV2/frame/module_internal_header_util.o
/home/wrf/rlc/WRFV2/frame/pack_utils.o
/home/wrf/rlc/WRFV2/frame/wrf_debug.o
/home/wrf/rlc/WRFV2/frame/module_wrf_error.o
/home/wrf/rlc/WRFV2/main/libwrflib.a
-L/home/wrf/rlc/WRFV2/external/io_netcdf -lwrfio_nf
-L/home/wrf/rlc/WRFV2/external/RSL_LITE -lrsl_lite
-L/home/wrf/rlc/WRFV2/external/RSL/RSL -lrsl
-L/home/wrf/rlc/WRFV2/external/io_grib1 -lio_grib1
-L/home/wrf/rlc/WRFV2/external/io_grib_share -lio_grib_share
-L/home/wrf/rlc/WRFV2/external/io_int -lwrfio_int
-L/home/wrf/rlc/WRFV2/external/esmf_time_f90 -lesmf_time
-L/export/lnx280/wd20dj/netcdf/lib -lnetcdf ../../lib/libw3.a
../../lib/libmpi.a -L/usr/local/netcdf/lib -lnetcdf
/home/wrf/rlc/WRFV2/external/RSL/RSL/librsl.a(period_refs.o)(.text+0x15f
): In function `rsl_internal_milliclock_':
: multiple definition of `rsl_internal_milliclock_'
/home/wrf/rlc/WRFV2/external/RSL_LITE/librsl_lite.a(c_code.o)(.text+0x22
e4): first defined here
/home/wrf/rlc/WRFV2/external/RSL/RSL/librsl.a(period_refs.o)(.text+0x1cc
): In function `rsl_internal_microclock_':
: multiple definition of `rsl_internal_microclock_'
/home/wrf/rlc/WRFV2/external/RSL_LITE/librsl_lite.a(c_code.o)(.text+0x23
51): first defined here
/home/wrf/rlc/WRFV2/external/RSL_LITE/librsl_lite.a(c_code.o)(.text+0x1f
0): In function `byte_bcast_':
: undefined reference to `lam_mpi_byte'
/home/wrf/rlc/WRFV2/external/RSL_LITE/librsl_lite.a(c_code.o)(.text+0x88
f): In function `rsl_lite_pack_':
: undefined reference to `lam_mpi_comm_world'
Richard Carpenter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20070123/5dc54ead/attachment.html
More information about the Wrf-users
mailing list