From owner-nwchem-users@emsl.pnl.gov Wed Jun 6 15:54:05 2007 Received: from odyssey.emsl.pnl.gov (localhost [127.0.0.1]) by odyssey.emsl.pnl.gov (8.13.8/8.13.8) with ESMTP id l56Ms3OK012948 for ; Wed, 6 Jun 2007 15:54:04 -0700 (PDT) Received: (from majordom@localhost) by odyssey.emsl.pnl.gov (8.13.8/8.13.8/Submit) id l56Ms3Sq012947 for nwchem-users-outgoing-0915; Wed, 6 Jun 2007 15:54:03 -0700 (PDT) X-Authentication-Warning: odyssey.emsl.pnl.gov: majordom set sender to owner-nwchem-users@emsl.pnl.gov using -f X-Ironport-SG: OK_Domains X-Ironport-SBRS: 4.6 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPbWZkbAMKsckmdsb2JhbACPXQIBAQcGCA0f X-IronPort-AV: E=Sophos;i="4.16,390,1175497200"; d="scan'208";a="21994272" Date: Wed, 6 Jun 2007 17:53:57 -0500 (CDT) From: Gerardo Cisneros X-Sender: gerardo@zion.americas.sgi.com To: brett ellman cc: nwchem-users@emsl.pnl.gov Subject: Re: [NWCHEM] relocation error In-Reply-To: <466786AD.6030803@kent.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-nwchem-users@emsl.pnl.gov Precedence: bulk Brett, You wrote: > The respective commands give > > icc -V > Intel(R) C Itanium(R) Compiler for Itanium(R)-based applications > Version 8.1 Build 20050518 Package ID: l_cc_pc_8.1.032 > Copyright (C) 1985-2005 Intel Corporation. All rights reserved. > > ifort -V > Intel(R) Fortran Itanium(R) Compiler for Itanium(R)-based applications > Version 9.0 Build 20060223 Package ID: l_fc_c_9.0.033 > Copyright (C) 1985-2006 Intel Corporation. All rights reserved. > > and LD_LIBRARY_PATH is > > /opt/intel/mkl/9.1/lib_ilp64/64:/opt/intel/mkl/9.1/lib_ilp64:/usr/local/g03/bsd:/usr/local/g03/local: > /usr/local/g03/extras:/usr/local/g03:/usr/local/gv/lib:/usr/local/g03:/opt/intel/mkl/8.0.1/lib/64:/opt/intel_cc_80/lib:/opt/intel/fc/9.0/lib > > Note that my icc is 8.1 while ifort is 9.0. I thought that the makefile > used gcc, not icc so that this would not matter - is this wrong? Yes, it's wrong. You can't mix object files from libraries that come from different compiler versions, and there *are* some entry points that can be satisfied from either the C libraries or the Fortran libraries, so it doesn't matter that Intel C isn't actually used in the build. In addition, the way your LD_LIBRARY_PATH is set up, the Intel C libraries get searched first, ahead of the Intel Fortran libraries. The remedy is to make your Intel C version be the one that pairs with ifort 9.0.033, which is icc 9.0.032 (and the way to tell is to see that the Build dates on the "ifort -V; icc -V" are the same), or remove the path to the Intel C libraries from your LD_LIBRARY_PATH. Saludos, Gerardo -- Dr. Gerardo Cisneros |SGI (Silicon Graphics, S.A. de C.V.) Scientist |Av. Vasco de Quiroga 3000, Col. Santa Fe gerardo@sgi.com |01210 Mexico, D.F., MEXICO (+52-55)5563-7958 |http://www.sgi.com/