[Wrf-users] Re: Compiling WRFV3 on i686 - module_dm.o fails
Steven G Decker
decker at envsci.rutgers.edu
Fri Nov 7 11:41:42 MST 2008
John,
Since it is a gfortran internal error, the compiler is to blame for your
problem. (This does not absolve the WRF code from having a problem as
well, but that is impossible to tell from the information below.)
Since gfortran is now up to version 4.3.2 (or 4.4.0 if you are
adventurous), I'd try upgrading the compiler. That may solve the problem.
Regarding the Mac issue, I have no personal experience, but I've heard
that upgrading/maintaining compiler tools on Macs can be notoriously
fussy. Does a simple test program work?
Cheers,
Steve
wrf-users-request at ucar.edu wrote:
> Message: 1
> Date: Thu, 6 Nov 2008 11:37:43 -0500
> From: "John Krasting" <krasting at envsci.rutgers.edu>
> Subject: [Wrf-users] Compiling WRFV3 on i686 - module_dm.o fails
> To: wrf-users at ucar.edu, wrfhelp <wrfhelp at ucar.edu>
> Message-ID:
> <640db780811060837o299676e2l468bff0df77339ec at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Users -
>
> I am now compiling WRF on the i686 platform. I am using gcc and gfortran
> version 4.1.2. I successfully built NetCDF version 3.6.3 with these
> compilers.
>
> My compile of module_dm.F fails. Here is the output:
>
> rm -f module_dm.o
> /home/krasting/WRFV3/tools/standard.exe module_dm.F > module_dm.b
> /lib/cpp -C -P -I/home/krasting/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0
> -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4
> -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR
> -DDM_PARALLEL -DSTUBMPI -DNETCDF -DGRIB1 -DINTIO -DLIMIT_ARGS
> -DCONFIG_BUF_LEN=32768 -DMAX_DOMAINS_F=21 -DNMM_NEST=0 -I. -traditional
> module_dm.b > module_dm.f90
> rm -f module_dm.b
> gfortran -c -O0 -w -ffree-form -ffree-line-length-none
> -fconvert=big-endian -frecord-marker=4 -I../dyn_em -I../dyn_nmm
> -I/home/krasting/WRFV3/external/esmf_time_f90 -I/home/krasting/WRFV3/main
> -I/home/krasting/WRFV3/external/io_netcdf
> -I/home/krasting/WRFV3/external/io_int -I/home/krasting/WRFV3/frame
> -I/home/krasting/WRFV3/share -I/home/krasting/WRFV3/phys
> -I/home/krasting/WRFV3/chem -I/home/krasting/WRFV3/inc module_dm.f90
> gfortran: Internal error: Killed (program f951)
> Please submit a full bug report.
> See <URL:http://bugs.gentoo.org/> for instructions.
>
>
> The compile chugs aways for close to 5 minutes before failing. I tried
> removing the -O0 flag and got the same result.
>
> Anyone encounter this problem? Any tips on how to debug this?
>
> Thanks,
> John
More information about the Wrf-users
mailing list