CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Intel compiling problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2007, 05:27
Default Hi everybody, Trying to com
  #1
Member
 
cosimo bianchini
Join Date: Mar 2009
Location: Florence, Tuscany, Italy
Posts: 88
Rep Power: 17
cosimobianchini is on a distinguished road
Send a message via Skype™ to cosimobianchini
Hi everybody,

Trying to compile OpenFOAM with the intel compiler 9.1.042 version with standard OF options, everything goes right except for the compilation of trisurface library.
I found these compiler errors:

cosimo@kelvin:..src/triSurface> wmake libso
make: Nothing to be done for `allFiles'.
make: `lnInclude/uptodate' is up to date.
make: `Make/linuxI32DPOpt/dependencies' is up to date.
libso
SOURCE_DIR=triSurface/interfaces/STL
SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; foamFlex++ -f $SOURCE ; mv lex.yy.cc Make/linuxI32DPOpt/readSTLASCII.C ; icc -gcc-version=410 -Dlinux -DDP -wd654 -vec-report0 -O3 -no-prec-div -xP -DNoRepository -I/home/andreini/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -KPIC -c Make/linuxI32DPOpt/readSTLASCII.C -o Make/linuxI32DPOpt/readSTLASCII.o
lex.yy.cc(5774): error: identifier "yy_current_buffer" is undefined
if ( ! yy_current_buffer )
^

lex.yy.cc(5988): error: identifier "yy_current_buffer" is undefined
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
^

lex.yy.cc(6128): error: identifier "yy_current_buffer" is undefined
yy_current_buffer = 0;
^

lex.yy.cc(6140): error: identifier "yy_current_buffer" is undefined
yy_delete_buffer( yy_current_buffer );
^

lex.yy.cc(6147): error: identifier "yy_current_buffer" is undefined
yy_delete_buffer( yy_current_buffer );
^

lex.yy.cc(6200): error: identifier "yy_current_buffer" is undefined
register char *dest = yy_current_buffer->yy_ch_buf;
^

lex.yy.cc(6390): error: identifier "yy_current_buffer" is undefined
if ( yy_cp <yy_current_buffer->yy_ch_buf + 2 )
^

lex.yy.cc(6432): error: identifier "yy_current_buffer" is undefined
if ( yy_c_buf_p <&yy_current_buffer->yy_ch_buf[yy_n_chars] )
^

lex.yy.cc(6491): error: identifier "yy_current_buffer" is undefined
if ( ! yy_current_buffer )
^

lex.yy.cc(6501): error: identifier "yy_current_buffer" is undefined
if ( yy_current_buffer == new_buffer )
^

lex.yy.cc(6526): error: identifier "yy_current_buffer" is undefined
yy_n_chars = yy_current_buffer->yy_n_chars;
^

lex.yy.cc(6563): error: identifier "yy_current_buffer" is undefined
if ( b == yy_current_buffer )
^

lex.yy.cc(6573): warning #584: omission of exception specification is incompatible with previous function "isatty" (declared at line 743 of "/usr/include/unistd.h")
extern "C" int isatty YY_PROTO(( int ));
^

lex.yy.cc(6605): error: identifier "yy_current_buffer" is undefined
if ( b == yy_current_buffer )
^

compilation aborted for Make/linuxI32DPOpt/readSTLASCII.C (code 2)
make: *** [Make/linuxI32DPOpt/readSTLASCII.o] Error 2

It seems there is problem with foamFlex++

Can anyone give any help about it?


Thank in advance
Cosimo
__________________
Cosimo Bianchini

Ergon Research s.r.l.
Via Panciatichi, 92
50127 Florence - ITALY
Tel: +39 055 0763716
Mob: +39 320 9460153
e-mail: cosimo.bianchini@ergonresearch.it
URL: www.ergonresearch.it
cosimobianchini is offline   Reply With Quote

Old   March 6, 2008, 17:59
Default Hi cosimo, maybe it is to l
  #2
Senior Member
 
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17
jens_klostermann is on a distinguished road
Hi cosimo,

maybe it is to late?, if not you can try (as Hrv suggested)

cd $FOAM_APP/utilities/miscellaneous
cp foamFlex/FlexLexer.h $FOAM_SRC/OpenFOAM/lnInclude

if FlexLexer.h doesn't live in $FOAM_SRC/OpenFOAM/lnInclude .

Check also http://www.cfd-online.com/OpenFOAM_Discus/messages/126/6070.html

Jens
jens_klostermann is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling with Intel compiler icc90 hjasak OpenFOAM Installation 19 October 27, 2007 12:35
udf compiling problem akr FLUENT 3 August 22, 2007 08:14
Compiling with Intel icc gellert OpenFOAM Installation 9 November 29, 2006 08:07
Compiling problem Alper Albayraq FLUENT 7 August 26, 2005 02:39
some problem about intel fortran ztdep Main CFD Forum 1 June 30, 2005 08:19


All times are GMT -4. The time now is 19:56.