Skip to Content.
Sympa Menu

charm - [charm] build charm++ on AMD Barcelona chip

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] build charm++ on AMD Barcelona chip


Chronological Thread 
  • From: "Cojocaru,Vlad" <vlad.cojocaru AT eml-r.villa-bosch.de>
  • To: <charm AT cs.uiuc.edu>
  • Cc: "Cojocaru,Vlad" <vlad.cojocaru AT eml-r.villa-bosch.de>
  • Subject: [charm] build charm++ on AMD Barcelona chip
  • Date: Thu, 31 Jul 2008 22:44:14 +0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>


Dear charm++ users and developers,

I have a problem building charm++ (version 6.0) and namd on a cluster
with AMD Barcelona chips using intel 10.1.015 compiler.
My build command is:
./build charm++ net-linux-amd64 icc10amd tcp --no-build-shared
-DCMK_OPTIMIZE=1 -O3 2>&1 | tee build.log

Although the build appeared successful (megatest passed), I got the
error attached during the build.

The following 2 lines appear in my build.log file just before the errors
attached. In fact they appear just before the compilation of pup_f.f90 file.

cat pup_f.f90.sh >pup_f.f90
chmod a+x pup_f.f90

This obviously makes no sense at it cats the sh script
(src/util/pup_f.f90.sh) into the fortran file and that's why I got the
reported errors (the fortran compiler tries to compile an .sh script).
However, the build script does not contain these 2 lines so I dont know
where they come from ... Even more strange is that yesterday I build
charm++ 6.0 on a different opteron machine without any problem with
exactly the same build I use here...

Does anybody have any idea what is happening here?

Thanks

Best wishes
vlad


--
----------------------------------------------------------------------------
Dr. Vlad Cojocaru

EML Research gGmbH
Schloss-Wolfsbrunnenweg 33
69118 Heidelberg

Tel: ++49-6221-533266
Fax: ++49-6221-533298

e-mail:Vlad.Cojocaru[at]eml-r.villa-bosch.de

http://projects.villa-bosch.de/mcm/people/cojocaru/

----------------------------------------------------------------------------
EML Research gGmbH
Amtgericht Mannheim / HRB 337446
Managing Partner: Dr. h.c. Klaus Tschira
Scientific and Managing Director: Prof. Dr.-Ing. Andreas Reuter
http://www.eml-r.org
----------------------------------------------------------------------------



../bin/charmc -DCMK_OPTIMIZE=1 -O3 -nobs -c pup_f.f90 && ../bin/charmc
-DCMK_OPTIMIZE=1 -O3 -nobs -cpmod ../include pupmod.M || touch pup_f.o
fortcom: Warning: Bad # preprocessor line
fortcom: Warning: Bad # preprocessor line
fortcom: Warning: Bad # preprocessor line
fortcom: Warning: Bad # preprocessor line
fortcom: Error: pup_f.f90, line 6: Syntax error, found '>' when expecting one
of: => = . ( : %
cat > pup_f.f90 << END_OF_HEADER
----^
fortcom: Error: pup_f.f90, line 6: Syntax error, found '<' when expecting one
of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM>
<CHARACTER_CONSTANT> <INTEGER_CONSTANT> ...
cat > pup_f.f90 << END_OF_HEADER
-----------------^
fortcom: Warning: pup_f.f90, line 80: Bad # preprocessor line
#
-^
fortcom: Warning: pup_f.f90, line 81: Bad # preprocessor line
# Create pup routines for each data type:
--^
fortcom: Warning: pup_f.f90, line 82: Bad # preprocessor line
# The "p" routines just copy the data.
--^
fortcom: Warning: pup_f.f90, line 83: Bad # preprocessor line
# The "ap" routines also allocate and free the buffer.
--^
fortcom: Warning: pup_f.f90, line 84: Bad # preprocessor line
#
-^
fortcom: Error: pup_f.f90, line 78: Syntax error, found END-OF-STATEMENT when
expecting one of: => = . ( : %
END_OF_HEADER
-------------^
fortcom: Error: pup_f.f90, line 85: Invalid character_kind_parameter. No
underscore
for data in "int/i/integer" "short/s/integer(kind=2)" "char/c/character"
"real/r/real(kind=4)" "double/d/real(kind=8)"
---------------------------^
fortcom: Error: pup_f.f90, line 85: Syntax error, found IDENTIFIER 'DATA'
when expecting one of: => = . ( : %
for data in "int/i/integer" "short/s/integer(kind=2)" "char/c/character"
"real/r/real(kind=4)" "double/d/real(kind=8)"
----^
fortcom: Error: pup_f.f90, line 87: Unrecognized token '`' skipped
pupname=`echo $data | awk -F/ '{print $1}'`
----------------^
fortcom: Error: pup_f.f90, line 87: Unrecognized token '|' skipped
pupname=`echo $data | awk -F/ '{print $1}'`
----------------------------^
fortcom: Error: pup_f.f90, line 87: Unrecognized token '`' skipped
pupname=`echo $data | awk -F/ '{print $1}'`
--------------------------------------------------^
fortcom: Error: pup_f.f90, line 87: Syntax error, found IDENTIFIER '$DATA'
when expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE. <= .EQ. ==
.NE. /= .GT. > ...
pupname=`echo $data | awk -F/ '{print $1}'`
----------------------^
fortcom: Error: pup_f.f90, line 88: Unrecognized token '`' skipped
cname=`echo $data | awk -F/ '{print $2}'`
--------------^
fortcom: Error: pup_f.f90, line 88: Unrecognized token '|' skipped
cname=`echo $data | awk -F/ '{print $2}'`
--------------------------^
fortcom: Error: pup_f.f90, line 88: Unrecognized token '`' skipped
cname=`echo $data | awk -F/ '{print $2}'`
------------------------------------------------^
fortcom: Error: pup_f.f90, line 88: Syntax error, found IDENTIFIER '$DATA'
when expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE. <= .EQ. ==
.NE. /= .GT. > ...
cname=`echo $data | awk -F/ '{print $2}'`
--------------------^
fortcom: Error: pup_f.f90, line 89: Unrecognized token '`' skipped
fname=`echo $data | awk -F/ '{print $3}'`
--------------^
fortcom: Error: pup_f.f90, line 89: Unrecognized token '|' skipped
fname=`echo $data | awk -F/ '{print $3}'`
--------------------------^
fortcom: Error: pup_f.f90, line 89: Unrecognized token '`' skipped
fname=`echo $data | awk -F/ '{print $3}'`
------------------------------------------------^
fortcom: Error: pup_f.f90, line 89: Syntax error, found IDENTIFIER '$DATA'
when expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE. <= .EQ. ==
.NE. /= .GT. > ...
fname=`echo $data | awk -F/ '{print $3}'`
--------------------^
fortcom: Error: pup_f.f90, line 90: Invalid character_kind_parameter. No
underscore
echo "Making pup routines for data type $pupname/$cname/$fname"
-----------------------------------------------------------------------^
fortcom: Error: pup_f.f90, line 90: Syntax error, found CHARACTER_CONSTANT
'Making pup routines for data type $pupname/$cname/$fname' when expecting one
of: => = . ( : %
echo "Making pup routines for data type $pupname/$cname/$fname"
-------------^
fortcom: Error: pup_f.f90, line 91: Syntax error, found '>' when expecting
one of: => = . ( : %
cat >> pup_f.f90 << END_OF_DATATYPE
------------^
fortcom: Error: pup_f.f90, line 94: Unrecognized token '{' skipped
subroutine p${cname}(p, i)
-------------------^
fortcom: Error: pup_f.f90, line 94: Unrecognized token '}' skipped
subroutine p${cname}(p, i)
-------------------------^
fortcom: Error: pup_f.f90, line 94: Syntax error, found ')' when expecting
one of: =
subroutine p${cname}(p, i)
-------------------------------^
fortcom: Error: pup_f.f90, line 96: Syntax error, found ',' when expecting
one of: => = . ( : %
$fname, intent(inout) :: i
--------------^
fortcom: Error: pup_f.f90, line 97: Unrecognized token '{' skipped
call fpup_${pupname}(p, i)
-------------------^
fortcom: Error: pup_f.f90, line 97: Unrecognized token '}' skipped
call fpup_${pupname}(p, i)
---------------------------^
fortcom: Error: pup_f.f90, line 97: Syntax error, found IDENTIFIER 'PUPNAME'
when expecting one of: ( <END-OF-STATEMENT> ;
call fpup_${pupname}(p, i)
--------------------^
fortcom: Error: pup_f.f90, line 100: Unrecognized token '{' skipped
subroutine p${cname}a1d(p, arr)
-------------------^
fortcom: Error: pup_f.f90, line 100: Unrecognized token '}' skipped
subroutine p${cname}a1d(p, arr)
-------------------------^
fortcom: Error: pup_f.f90, line 100: Syntax error, found IDENTIFIER 'A1D'
when expecting one of: (
subroutine p${cname}a1d(p, arr)
--------------------------^
fortcom: Severe: Too many errors, exiting
compilation aborted for pup_f.f90 (code 1)
Fatal Error by charmc in directory
/home/cojocaru/apps/charm-6.0-net/net-linux-amd64-tcp-icc10amd/tmp
Command ifort -auto -fPIC -I../bin/../include -DCMK_OPTIMIZE=1 -O3 -c
pup_f.f90 -o pup_f.o returned error code 1
charmc exiting...
../bin/charmc -DCMK_OPTIMIZE=1 -O3 -nobs -o ../lib/libconv-utilf.a pup_f.o
|| touch ../lib/libconv-utilf.a
Fatal Error by charmc in directory
/home/cojocaru/apps/charm-6.0-net/net-linux-amd64-tcp-icc10amd/tmp
pup_f.o: file not recognized: File truncated


  • [charm] build charm++ on AMD Barcelona chip, Cojocaru,Vlad, 07/31/2008

Archive powered by MHonArc 2.6.16.

Top of Page