Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29301 Discussions

WRFV3 compile fails with Composer XE on Ubuntu linux 10.04

volzaeff_uaa_alaska_
1,097 Views
Hello-

I hope this is the correct forum. The problem seems to be with establishing the correct environment prior to compiling wrf.

system is ubuntu linux 2.6.32-33-server x86_64 (10.04 LTS)
Composer XE 12.0.5.220
installed prereqs per intel notes for 10.04 (except no libstdc++5) also installed m4
gcc and g++ compile simple code
intel composer XE (ifort,icc,icpc)installed per install notes
netcdf 3.6.3 compiled from source using intel compilers (static) "make check" good. Installed in /usr/local/netcdf via symlink from /usr/local/netcdf_3.6.3 with links frrom there to /usr/local/lib /usr/local/bin /usr/local/include.
environment variables for CC, FC, etc. set per intel notes at terminal (bash)
also set $JASPERLIB and edited $CPATH to include INSTALL_DIR/compiler/include

Configure WRF serial ifort and icc.
configure does not recognize $JASPERLIB.

compile em_real
initially I got an error for no target to make io_int.F90 this is because files in $(WRF_ROOT)/external/io_int have .f90 suffixes.
I edited the makefile in io_int to target .f90 files.

I then started to get the "diffwrf" warnings and errors compiling field_routines.f. (I noticed that cpp is being used instead of "icc -E")
Which leads to a failure to create libwrfio_nf.a and ultimately compile fails.

I know Ubuntu is a little squirrely about setting LD_LIBRARY_PATH when opening a terminal via .profile or .bashrc but I set all the environment variables by running compilervars.sh and "export VAR=value" after logging in.

I have searched the boards found the CPATH thing when searching include path. Any thoughts?

thank you

-
Karl

There should be 3 files attached.

or see these links
env.txt http://software.intel.com/file/38265
configure.wrfhttp://software.intel.com/file/38266
em_real.log http://software.intel.com/file/38264
0 Kudos
2 Replies
volzaeff_uaa_alaska_
1,097 Views
I made four changes and it worked

Added -xT to CFLAGS, CXXFLAGS and FFLAGS
Added /usr/local/include to INCLUDE
Added JASPERINC=/usr/inlcude
changed LD_LIBRARY_PATH to include /usr/local/lib

compiles.
0 Kudos
Reply