[Wrf-users] gfortran compilation failed

Juan Camilo Hernandez D camilo.hernandez at gmail.com
Mon Apr 12 13:13:11 MDT 2010


Claude.

I compiled WRF/WPS 3.1 and 3.2 with gcc/gfortran. (openmp and serial). My
configurations options for both are:

*Tomoe ~ # gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/configure --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror --enable-secureplt
--enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp
--enable-objc-gc --enable-languages=c,c++,java,objc,obj-c++,treelang,fortran
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/--with-pkgversion='Gentoo 4.3.4
p1.1, pie-10.1.5'
Thread model: posix
gcc version 4.3.4 (Gentoo 4.3.4 p1.1, pie-10.1.5)
*

and many cases the compilations errors are caused by not compile the
libraries with the same compiler version.

try this:

1.Update the linux distro or/and the GNU Compilers (GCC/Gfortran)
2.Recompile the dependencies (netcdf, jasper, etc).






-- 
Juan Camilo Hernández Díaz
Ingeniero Sanitario - Investigador
Grupo de Ingeniería y Gestión Ambiental GIGA
Escuela de Ambiental
Facultad de Ingeniería
Universidad de Antioquia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100412/43a181d8/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.wrf
Type: application/octet-stream
Size: 19431 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100412/43a181d8/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.wps
Type: application/vnd.ms-works
Size: 2753 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20100412/43a181d8/attachment-0001.bin 


More information about the Wrf-users mailing list