[CPMD-list] compilation error on Itanium!

Tengfei Luo luotengf at msu.edu
Fri Nov 24 07:47:06 CET 2006


Dear all:
I was trying to compile CPMD3.11 on a four processor SGI Altix 350 
Itanium-based system.

It seems that the library can not link properly.

Here is my makefile:
#----------------------------------------------------------------------------
# Makefile for cpmd.x (plane wave electronic calculation)
# Configuration: SGI-Altix350-Itanium
# Creation of Makefile: Nov 15 2006
# on Linux white 2.6.5-7.267-sn2 #1 SMP Wed Jun 21 10:50:51 UTC 2006 ia64 
ia64 ia64 GNU/Linux
# Author: luotengf
#----------------------------------------------------------------------------
#
SHELL = /bin/sh
#
#--------------- Default Configuration for 
SGI-Altix350-Itanium ---------------
SRC  = .
DEST = .
BIN  = .
FFLAGS =
LFLAGS = -L/hpc/opt/intel/mkl721/lib/64 -lmkl_lapack -lmkl_ipf -lguide \
 -lpthread -lm
CFLAGS = -D__alpha
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__alpha -DPOINTER8 -DFFT_DEFAULT -DALPHALINUX \
 -DMYRINET -DLINUX_IA64_INTEL -DINTEL_MKL
NOOPT_FLAG =
CC = icc
FC = ifort
LD = ifort -i-static
AR = /usr/bin/ar -r
#----------------------------------------------------------------------------
# Personal Configuration
#----------------------------------------------------------------------------
SRC = /mnt/home/luotengf/CPMD-3.11.1/SOURCE
FC = ifort -c -I. -I$(SRC)
#----------------------------------------------------------------------------
# End of Personal Configuration
#----------------------------------------------------------------------------
CFGDEST = ../SGI-CPMD
CFGMACH = SGI-Altix350-Itanium
CFGQMMM =
````````

I got the following error:
IPO Error: unresolved : _MKL_BLAS_dlnu
        Referenced in libmkl_ipf.a(dtrsvlnu.o)

The files in the directory are as follow:
-r--r--r--  1 root root   680004 2005-02-24 05:17 libguide.a
-r-xr-xr-x  1 root root   405495 2005-02-24 05:17 libguide.so
-r-xr-xr-x  1 root root  8546312 2005-02-24 05:17 libmkl_i2p.so
-r--r--r--  1 root root 14828274 2005-02-24 05:17 libmkl_ipf.a
-r-xr-xr-x  1 root root  6136520 2005-02-24 05:17 libmkl_lapack32.so
-r-xr-xr-x  1 root root  6363770 2005-02-24 05:17 libmkl_lapack64.so
-r--r--r--  1 root root 18079988 2005-02-24 05:17 libmkl_lapack.a
-r-xr-xr-x  1 root root  1119969 2005-02-24 05:17 libmkl.so
-r--r--r--  1 root root  2824848 2005-02-24 05:17 libmkl_solver.a
-r-xr-xr-x  1 root root  1510670 2005-02-24 05:17 libmkl_vml_i2p.so
-r-xr-xr-x  1 root root   478508 2005-02-24 05:17 libvml.so


I cannot figure out what the problem is. Hope somebody can help me out. 
Thank in advance!

T. Luo 




More information about the CPMD-list mailing list