[CPMD-list] ALTIX3900 compilation error
Kozin, I (Igor)
i.kozin at dl.ac.uk
Thu Apr 17 17:10:39 CET 2008
I think I've seen this before but only with Intel compilers.
The compiler wants two line continuation symbols ("&") at the end of
first line and at the beginning of the second. Just put "&" at the end
of the line before the line where the error happens.
> -----Original Message-----
> From: cpmd-list-bounces at cpmd.org [mailto:cpmd-list-bounces at cpmd.org]
On
> Behalf Of losada at ualberta.ca
> Sent: 17 April 2008 17:47
> To: cpmd-list at cpmd.org
> Subject: [CPMD-list] ALTIX3900 compilation error
>
> Dear CPMD Community,
>
> I got the following error message during the compilation of the cpmd
> code on an ALTIX computer.
>
> ifort -c -O3 -r8 -align dcommons -fpp ./nmr_para_p.f -o
./nmr_para_p.o
> fortcom: Error: nmr_para_p.f, line 138: Unbalanced parentheses
> * '" with ",I3," procs): I am the superparent. ")')
> ----------------------------------------------------------------^
> fortcom: Error: nmr_para_p.f, line 138: Syntax error, found ''' when
> expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM>
> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> <INTEGER_CONSTANT> ...
> * '" with ",I3," procs): I am the superparent. ")')
> ----------------^
> fortcom: Error: nmr_para_p.f, line 138: Syntax error, found ''' when
> expecting one of: ( , <END-OF-STATEMENT> ; <IDENTIFIER>
> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> ...
> * '" with ",I3," procs): I am the superparent. ")')
> ---------------------------------------------------------------^
> fortcom: Error: nmr_para_p.f, line 142: Syntax error, found ''' when
> expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM>
> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> <INTEGER_CONSTANT> ...
> * '" with ",I3," procs): Output --> ",A5,".")')
> ----------------^
> fortcom: Error: nmr_para_p.f, line 143: Syntax error, found IDENTIFIER
> 'UT_' when expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE.
> <= .EQ. == .NE. /= .GT. > ...
> * ME,nmr_mygroup,nproc,'out_'//zahlenchars(nmr_mygroup)
> ---------------------------------------^
> compilation aborted for ./nmr_para_p.f (code 1)
> make: *** [nmr_para_p.o] Error
>
>
> This is the default configuration from the Makefile:
>
>
#-----------------------------------------------------------------------
--
> ---
> # Makefile for cpmd.x (plane wave electronic calculation)
> # Configuration: SGI-ALTIX3900-MPI
> # Creation of Makefile: Apr 16 2008
> # on Linux isp-curran 2.6.16.27-0.9-default #1 SMP Tue Feb 13 09:35:18
> UTC 2007 ia64 ia64 ia64 GNU/Linux
> # Author: mlosada
>
#-----------------------------------------------------------------------
--
> ---
> #
> SHELL = /bin/sh
> #
> #--------------- Default Configuration for SGI-ALTIX3900-MPI
-------------
> --
> SRC = .
> DEST = .
> BIN = .
> FFLAGS = -c -O3 -r8 -align dcommons -fpp
> LFLAGS = -L/opt/intel/mkl/9.1.023/lib/64 -lmkl_lapack -lmkl -lguide
-lm -
> lmpi
> CFLAGS = -c -O3 -Wall
> CPP = /usr/bin/cpp -E -P -traditional
> CPPFLAGS = -D__Linux -D__ALTIX -DFFT_DEFAULT -DPARALLEL -DPOINTER8
> NOOPT_FLAG =
> CC = icc
> FC = ifort
> LD = ifort
> AR = ar
>
#-----------------------------------------------------------------------
--
> ---
>
> Any help will be appreciated
>
> Regards,
>
> Martin
>
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://cpmd.org/mailman/listinfo/cpmd-list
More information about the CPMD-list
mailing list