[CPMD-list] compiling CPMD on Cray XD1
Ata Roudgar
aroudgar at sfu.ca
Sat Aug 12 23:43:57 CEST 2006
Dear Axel,
Here is the config section of the Makefile that I used for Cray XD1.
Thanks in advance and best wishes,
Ata
#----------------------------------------------------------------------------
# Makefile for cpmd.x (plane wave electronic calculation)
# Configuration: PGI-AMD64
# Creation of Makefile: Aug 11 2006
# on Linux t6-355 2.6.5_H_01_03 #38 SMP Fri Jan 27 16:17:44 PST 2006 x86_64
x86_64 x86_64 GNU/Linux
# Author: aroudgar
#----------------------------------------------------------------------------
#
SHELL = /bin/sh
#
#--------------- Default Configuration for PGI-AMD64 ---------------
SRC = .
DEST = .
BIN = .
FFLAGS = -r8 -pc=64 -Msignextend
LFLAGS = -Bstatic -llapack -lblas
CFLAGS =
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DFFT_DEFAULT -DPOINTER8 -D__pgf90
NOOPT_FLAG =
CC = gcc -O2 -Wall -m64
FC = pgf90 -c -fastsse -tp k8-64
LD = pgf90 -fastsse -tp k8-64
AR = ar
#----------------------------------------------------------------------------
# Personal Configuration
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
# End of Personal Configuration
#----------------------------------------------------------------------------
CFGDEST = .
CFGMACH = PGI-AMD64
CFGQMMM =
#
# LIST OF FILES
#
On Friday 11 August 2006 17:27, you wrote:
> On 8/11/06, Ata Roudgar <aroudgar at sfu.ca> wrote:
> > Hi everbody,
>
> hi ata,
>
> > I am trying to compile CPMD on Cray XD1 with pgf90 compiler. I built up a
> > makefile according to configuration PGI-AMD64 but at the end of linking I
> > got the following error:
> >
> > prmem.o(.text+0xde): In function `prmem_':
> > : undefined reference to `printmemsize__'
> >
> > make: *** [cpmd.x] Error 2
> >
> >
> > I might have taken a wrong configuration. Could anyone help me with
> > that?? I will be appreciated.
>
> the configuration should be more or less ok. there are always little
> things to tweak on most machines. can you please post the config
> section of your makefile, so we can have a closer look. there are
> a number of reasons why you are seeing this.
>
> cheers,
> axel.
>
> > Best wishes,
> > Ata
> > _______________________________________________
> > CPMD-list mailing list
> > CPMD-list at cpmd.org
> > http://cpmd.org/mailman/listinfo/cpmd-list
More information about the CPMD-list
mailing list