|
[Sponsors] |
November 22, 2011, 19:29 |
|
#41 |
Member
Peter
Join Date: Nov 2011
Posts: 46
Rep Power: 14 |
Thank you, Bruno. After I failed, I did try the new version of Tecplot 360. And it works well so far.
|
|
September 17, 2012, 10:06 |
How to build tecio library if you installed deb pack
|
#42 |
New Member
Join Date: Sep 2012
Posts: 2
Rep Power: 0 |
Hi,
I've just installed deb package of OpenFOAM, I ran the cavity tutorial. Everything seems to work fine - I had bit of a problem with paraview but thanks to previous forums I got over that as well. Unfortunately couldn't get foamToTecplot360 command work. I have Ubuntu 11.10 (i686) and OpenFOAM 2.1.1. Could you please send me some instructions on how to build tecio library and get command 'foamToTecplot360' working? Thank you. |
|
September 17, 2012, 16:12 |
|
#43 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Talin and welcome to the forum.
It's simple:
Bruno
__________________
|
|
September 18, 2012, 06:14 |
|
#44 |
New Member
Join Date: Sep 2012
Posts: 2
Rep Power: 0 |
It worked! Thanks a lot Bruno!
|
|
November 9, 2012, 05:09 |
Really good job
|
#45 |
New Member
Sylvain R.
Join Date: Nov 2012
Posts: 4
Rep Power: 13 |
Good morning all of you.
I am just writing something to highlight the fact that this thread is very very useful, and that thanks to your job, I am finally able to use the FoamToTecplot command (with Openfoam 2.1.0). I strictly followed your post n°43, I applied the changes you describe (with post 40 and 17 and it really works well. So thank you Bruno for all these useful posts. Sylvain |
|
November 23, 2012, 08:34 |
|
#46 |
New Member
solOF
Join Date: Mar 2012
Posts: 26
Rep Power: 14 |
Hi,
very useful information. I've already completed parts 1 and 2 of post #17. Then I try to compile foamToTecplot with wmake and I get the following error: ld: library not found for -ltecio collect2: ld returned 1 exit status make: *** [/Users/xxxxxx/Software/OpenFOAM_2.0.0/OF-Org-2.0/OpenFOAM-2.0.0/platforms/darwinIntel64Gcc45DPOpt/bin/foamToTecplot360] Error 1 I tried to follow the third step, but it was not working neither... Could you help me, please? Thank you |
|
November 23, 2012, 18:50 |
|
#47 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi ofslcm,
You could have indicated that you're using Mac OS X, which is why the previous instructions aren't enough... Anyway, I've just finished just now preparing a repository that should address that issue on Mac OS X (but I haven't tested), as well as making it easier for people to follow a single set of instructions Said repository and respective instructions are available here: https://github.com/wyldckat/localFoamToTecplot360 Best regards, Bruno
__________________
|
|
November 25, 2012, 01:20 |
|
#48 |
New Member
Hyung Min Kim
Join Date: Mar 2011
Posts: 5
Rep Power: 15 |
You have to copy all the tecplot io files in "$WM_THIRD_PARTY_DIR/tecio/"
and you have to modify the options in the FoamToTecplot360 application as shown below EXE_INC = \ -I$(WM_THIRD_PARTY_DIR)/tecio/tecsrc/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude EXE_LIBS = \ -llagrangian \ -lfiniteVolume \ -lgenericPatchFields \ -lmeshTools \ -L$(FOAM_EXT_LIBBIN) -ltecio good luck pius |
|
December 3, 2012, 12:34 |
|
#49 |
New Member
solOF
Join Date: Mar 2012
Posts: 26
Rep Power: 14 |
Hi,
I've tried what you told me but I get this error message: + ./getTecIO For more information about the TecIO library, visit: http://www.tecplot.com/Downloads/TecIOLibrary.aspx Press Enter to continue... + wmake libso tecio/tecsrc/tecioMake/ mkdir: darwinIntel64Gcc45DPOpt: Permission denied /bin/sh: darwinIntel64Gcc45DPOpt/options: No such file or directory In file included from options:2:0: tecioOptions:19:5: error: #error architecture not supported for compiling tecio. make: *** [darwinIntel64Gcc45DPOpt/options] Error 1 /Users/xxxxxx/Software/OpenFOAM_2.0.0/OF-Org-2.0/OpenFOAM-2.0.0/wmake/MakefileFiles:40: darwinIntel64Gcc45DPOpt/options: No such file or directory make: *** No rule to make target `darwinIntel64Gcc45DPOpt/options'. Stop. wmake error: file '../../tecioMake//darwinIntel64Gcc45DPOpt/objectFiles' could not be created in //OpenFOAM/xxxxxx-2.0.0/localFoamToTecplot360-of20/tecio/tecsrc + wmake foamToTecplot360 mkdir: darwinIntel64Gcc45DPOpt: Permission denied /bin/sh: darwinIntel64Gcc45DPOpt/options: No such file or directory make: *** [darwinIntel64Gcc45DPOpt/options] Error 1 /Users/xxxxxx/Software/OpenFOAM_2.0.0/OF-Org-2.0/OpenFOAM-2.0.0/wmake/MakefileFiles:40: darwinIntel64Gcc45DPOpt/options: No such file or directory make: *** No rule to make target `darwinIntel64Gcc45DPOpt/options'. Stop. wmake error: file 'Make/darwinIntel64Gcc45DPOpt/objectFiles' could not be created in //OpenFOAM/xxxxxx-2.0.0/localFoamToTecplot360-of20/foamToTecplot360 Could you help me, please? |
|
December 3, 2012, 16:17 |
|
#50 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi solOF,
Did you do any modifications to the file "Allwmake"? The command I placed in Allwmake is: Code:
wmake libso tecio/tecsrc/ ../../tecioMake/ Code:
wmake libso tecio/tecsrc/tecioMake/
edit: Additionally, all of those "permission denied" messages indicate that for some strange reason, you're unable to create files inside the folder "localFoamToTecplot360-of20". Best regards, Bruno
__________________
Last edited by wyldckat; December 3, 2012 at 16:19. Reason: see "edit:" |
|
December 3, 2012, 20:30 |
|
#51 |
New Member
Hyung Min Kim
Join Date: Mar 2011
Posts: 5
Rep Power: 15 |
Why don't you check you have "files", "options" and "tecioOptions" files in "tecsrc/Make" folder.
"files" contains such as shown below alloc.cpp arrlist.cpp auxdata.cpp dataio4.cpp dataio.cpp dataset0.cpp dataset.cpp datautil.cpp filestream.cpp geom2.cpp q_msg.cpp q_unicode.cpp set.cpp strlist.cpp strutil.cpp tassert.cpp tecxxx.cpp TranslatedString.cpp LIB = $(FOAM_EXT_LIBBIN)/libtecio "options" file contains such as /* NOTE: make any changes to this file in etc/wmakeFiles/ */ #include "tecioOptions" EXE_INC = \ $(TECIO_FLAGS) $(TECIO_INC) LIB_LIBS = \ $(TECIO_LIBS) |
|
January 15, 2013, 05:49 |
|
#52 |
New Member
solOF
Join Date: Mar 2012
Posts: 26
Rep Power: 14 |
Hi, I am still having this problem when I compile. Could yo help me please?
+ ./getTecIO For more information about the TecIO library, visit: http://www.tecplot.com/Downloads/TecIOLibrary.aspx Press Enter to continue... + wmake libso tecio/tecsrc/tecioMake/ Making dependency list for source file geom2.cpp could not open file C__BASE.h for source file geom2.cpp Making dependency list for source file filestream.cpp could not open file C__BASE.h for source file filestream.cpp Making dependency list for source file datautil.cpp could not open file C__BASE.h for source file datautil.cpp Making dependency list for source file dataset.cpp could not open file C__BASE.h for source file dataset.cpp Making dependency list for source file dataset0.cpp could not open file C__BASE.h for source file dataset0.cpp Making dependency list for source file dataio.cpp could not open file C__BASE.h for source file dataio.cpp Making dependency list for source file dataio4.cpp could not open file C__BASE.h for source file dataio4.cpp Making dependency list for source file auxdata.cpp could not open file C__BASE.h for source file auxdata.cpp Making dependency list for source file arrlist.cpp could not open file C__BASE.h for source file arrlist.cpp Making dependency list for source file alloc.cpp could not open file C__BASE.h for source file alloc.cpp SOURCE=alloc.cpp ; g++-mp-4.5 -m64 -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/Users/XXX/Software/OpenFOAM_2.0.0/OF-Org-2.0/OpenFOAM-2.0.0/src/OpenFOAM/lnInclude -I/Users/XXX/Software/OpenFOAM_2.0.0/OF-Org-2.0/OpenFOAM-2.0.0/src/OSspecific/POSIX/tecioMake//darwinIntel64Gcc45DPOpt/alloc.o In file included from alloc.cpp:40:0: GLOBAL.h:5038:46: warning: use of old-style cast GLOBAL.h:5057:41: warning: use of old-style cast GLOBAL.h:5071:47: warning: use of old-style cast GLOBAL.h:5085:47: warning: use of old-style cast In file included from alloc.cpp:41:0: ALLOC.h: In function 'void nonExceptionDelete(T*&)': ALLOC.h:175:22: warning: use of old-style cast ALLOC.h:175:22: warning: use of old-style cast SOURCE=arrlist.cpp ; g++-mp-4.5 -m64 -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/Users/XXX/Software/OpenFOAM_2.0.0/OF-Org-2.0/OpenFOAM-2.0.0/src/OpenFOAM/lnInclude -I/Users/XXX/Software/OpenFOAM_2.0.0/OF-Org-2.0/OpenFOAM-2.0.0/src/OSspecific/POSIX/tecioMake//darwinIntel64Gcc45DPOpt/arrlist.o In file included from arrlist.cpp:40:0: GLOBAL.h:5038:46: warning: use of old-style cast GLOBAL.h:5057:41: warning: use of old-style cast GLOBAL.h:5071:47: warning: use of old-style cast GLOBAL.h:5085:47: warning: use of old-style cast In file included from arrlist.cpp:42:0: ALLOC.h: In function 'void nonExceptionDelete(T*&)': ALLOC.h:175:22: warning: use of old-style cast ALLOC.h:175:22: warning: use of old-style cast arrlist.cpp: In function 'void CopyArrayItems(char*, LgIndex_t, char*, LgIndex_t, LgIndex_t, SmInteger_t)': arrlist.cpp:103:5: error: 'VALID_REF' was not declared in this scope arrlist.cpp:109:5: warning: use of old-style cast arrlist.cpp:113:44: warning: use of old-style cast arrlist.cpp: In function 'SmInteger_t GetElementSize(ArrayListType_e)': arrlist.cpp:186:55: warning: use of old-style cast arrlist.cpp:189:56: warning: use of old-style cast arrlist.cpp:192:54: warning: use of old-style cast arrlist.cpp:195:55: warning: use of old-style cast arrlist.cpp:198:49: warning: use of old-style cast arrlist.cpp:201:46: warning: use of old-style cast arrlist.cpp:204:47: warning: use of old-style cast arrlist.cpp:207:45: warning: use of old-style cast arrlist.cpp:210:46: warning: use of old-style cast arrlist.cpp:213:47: warning: use of old-style cast arrlist.cpp:216:48: warning: use of old-style cast arrlist.cpp:219:51: warning: use of old-style cast arrlist.cpp:222:52: warning: use of old-style cast arrlist.cpp:225:53: warning: use of old-style cast arrlist.cpp:228:51: warning: use of old-style cast arrlist.cpp:231:52: warning: use of old-style cast arrlist.cpp:235:57: warning: use of old-style cast arrlist.cpp:238:58: warning: use of old-style cast arrlist.cpp:241:56: warning: use of old-style cast arrlist.cpp:244:57: warning: use of old-style cast arrlist.cpp:247:51: warning: use of old-style cast arrlist.cpp:250:48: warning: use of old-style cast arrlist.cpp:253:49: warning: use of old-style cast arrlist.cpp:256:47: warning: use of old-style cast arrlist.cpp:259:48: warning: use of old-style cast arrlist.cpp:262:49: warning: use of old-style cast arrlist.cpp:265:50: warning: use of old-style cast arrlist.cpp:268:53: warning: use of old-style cast arrlist.cpp:271:54: warning: use of old-style cast arrlist.cpp:274:55: warning: use of old-style cast arrlist.cpp:277:53: warning: use of old-style cast arrlist.cpp:280:54: warning: use of old-style cast arrlist.cpp:284:48: warning: use of old-style cast arrlist.cpp:287:52: warning: use of old-style cast arrlist.cpp:290:57: warning: use of old-style cast arrlist.cpp:295:13: warning: use of old-style cast arrlist.cpp:299:5: warning: use of old-style cast arrlist.cpp: In function 'void DestroyItems(_ArrayList_s*, LgIndex_t, SmInteger_t, LgIndex_t, Boolean_t (*)(void*, ArbParam_t), ArbParam_t)': arrlist.cpp:332:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp:340:84: warning: use of old-style cast arrlist.cpp: In function 'Boolean_t DuplicateItems(char*, LgIndex_t, char*, LgIndex_t, SmInteger_t, LgIndex_t, Boolean_t (*)(void*, void*, ArbParam_t), ArbParam_t)': arrlist.cpp:382:22: warning: use of old-style cast arrlist.cpp:385:5: error: 'VALID_REF' was not declared in this scope arrlist.cpp:389:5: warning: use of old-style cast arrlist.cpp:392:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp:400:69: warning: use of old-style cast arrlist.cpp:401:69: warning: use of old-style cast arrlist.cpp:405:5: warning: use of old-style cast arrlist.cpp:405:5: warning: use of old-style cast arrlist.cpp: In function 'Boolean_t ArrayListIsValid(_ArrayList_s*)': arrlist.cpp:426:35: error: 'VALID_REF' was not declared in this scope arrlist.cpp:429:75: warning: use of old-style cast arrlist.cpp:433:5: warning: use of old-style cast arrlist.cpp:433:5: warning: use of old-style cast arrlist.cpp: In function 'Boolean_t ArrayListEnlargeCapacity(_ArrayList_s*, LgIndex_t)': arrlist.cpp:540:16: warning: use of old-style cast arrlist.cpp:544:5: warning: use of old-style cast arrlist.cpp:544:5: warning: use of old-style cast arrlist.cpp: In function '_ArrayList_s* ArrayListAlloc(LgIndex_t, ArrayListType_e, LgIndex_t (*)(_ArrayList_s*, LgIndex_t, LgIndex_t, ArbParam_t), ArbParam_t)': arrlist.cpp:587:35: warning: use of old-style cast arrlist.cpp: In function 'void ArrayListDealloc(_ArrayList_s**, Boolean_t (*)(void*, ArbParam_t), ArbParam_t)': arrlist.cpp:627:5: error: 'VALID_REF' was not declared in this scope arrlist.cpp:629:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp: In function 'void ArrayListDeleteAllItems(_ArrayList_s*, Boolean_t (*)(void*, ArbParam_t), ArbParam_t)': arrlist.cpp:691:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp: In function 'void ArrayListDeleteItems(_ArrayList_s*, LgIndex_t, LgIndex_t, Boolean_t (*)(void*, ArbParam_t), ArbParam_t)': arrlist.cpp:737:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp: In function 'void ArrayListDeleteItem(_ArrayList_s*, LgIndex_t, Boolean_t (*)(void*, ArbParam_t), ArbParam_t)': arrlist.cpp:787:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp: In function 'ArrayListItem_u ArrayListRemoveItem(_ArrayList_s*, LgIndex_t)': arrlist.cpp:855:29: warning: use of old-style cast arrlist.cpp: In function 'Boolean_t ArrayListInsert(_ArrayList_s*, LgIndex_t, _ArrayList_s*)': arrlist.cpp:886:22: warning: use of old-style cast arrlist.cpp:937:5: warning: use of old-style cast arrlist.cpp:937:5: warning: use of old-style cast arrlist.cpp: In function 'Boolean_t ArrayListInsertItem(_ArrayList_s*, LgIndex_t, ArrayListItem_u)': arrlist.cpp:963:22: warning: use of old-style cast arrlist.cpp:1001:33: warning: use of old-style cast arrlist.cpp:1006:5: warning: use of old-style cast arrlist.cpp:1006:5: warning: use of old-style cast arrlist.cpp: In function 'Boolean_t ArrayListVisitItems(_ArrayList_s*, LgIndex_t, LgIndex_t, Boolean_t (*)(void*, ArbParam_t), ArbParam_t)': arrlist.cpp:1035:30: warning: use of old-style cast arrlist.cpp:1041:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp:1044:34: warning: use of old-style cast arrlist.cpp:1051:71: warning: use of old-style cast arrlist.cpp:1057:5: warning: use of old-style cast arrlist.cpp:1057:5: warning: use of old-style cast arrlist.cpp: In function 'ArrayListItem_u ArrayListGetItem(_ArrayList_s*, LgIndex_t)': arrlist.cpp:1125:29: warning: use of old-style cast arrlist.cpp: In function 'const void* ArrayListGetItemInternalRef_FUNC(_ArrayList_s*, LgIndex_t)': arrlist.cpp:1159:26: warning: use of old-style cast arrlist.cpp:1160:5: error: 'VALID_REF' was not declared in this scope arrlist.cpp: In function 'Boolean_t ArrayListSetItem(_ArrayList_s*, LgIndex_t, ArrayListItem_u, Boolean_t (*)(void*, ArbParam_t), ArbParam_t)': arrlist.cpp:1193:22: warning: use of old-style cast arrlist.cpp:1197:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp:1215:33: warning: use of old-style cast arrlist.cpp:1220:5: warning: use of old-style cast arrlist.cpp:1220:5: warning: use of old-style cast arrlist.cpp: In function 'Boolean_t ArrayListAppendItem(_ArrayList_s*, ArrayListItem_u)': arrlist.cpp:1248:5: warning: use of old-style cast arrlist.cpp:1248:5: warning: use of old-style cast arrlist.cpp: In function 'Boolean_t ArrayListAppend(_ArrayList_s*, _ArrayList_s*)': arrlist.cpp:1279:5: warning: use of old-style cast arrlist.cpp:1279:5: warning: use of old-style cast arrlist.cpp: In function '_ArrayList_s* ArrayListCopy(_ArrayList_s*, Boolean_t (*)(void*, void*, ArbParam_t), ArbParam_t)': arrlist.cpp:1307:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp:1314:26: warning: use of old-style cast arrlist.cpp: In function 'void* ArrayListToArray(_ArrayList_s*, Boolean_t (*)(void*, void*, ArbParam_t), ArbParam_t)': arrlist.cpp:1366:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp:1369:26: warning: use of old-style cast arrlist.cpp:1376:26: warning: use of old-style cast arrlist.cpp:1379:42: warning: use of old-style cast arrlist.cpp:1385:36: warning: use of old-style cast arrlist.cpp:1392:33: warning: use of old-style cast arrlist.cpp:1397:5: error: 'VALID_REF' was not declared in this scope arrlist.cpp: In function '_ArrayList_s* ArrayListFromArray(void*, LgIndex_t, ArrayListType_e, Boolean_t (*)(void*, void*, ArbParam_t), ArbParam_t)': arrlist.cpp:1432:5: error: 'VALID_REF' was not declared in this scope arrlist.cpp:1435:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp:1440:26: warning: use of old-style cast arrlist.cpp:1444:42: warning: use of old-style cast arrlist.cpp:1450:36: warning: use of old-style cast arrlist.cpp: In function 'int QSortCompareItemsAdapter(const void*, const void*)': arrlist.cpp:1507:29: warning: use of old-style cast arrlist.cpp:1508:28: warning: use of old-style cast arrlist.cpp:1510:29: warning: use of old-style cast arrlist.cpp:1511:28: warning: use of old-style cast arrlist.cpp: In function 'void ArrayListQSort(_ArrayList_s*, int (*)(ArrayListItem_u, ArrayListItem_u, ArbParam_t), ArbParam_t)': arrlist.cpp:1555:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp: In function 'Boolean_t ArrayListBSearch(_ArrayList_s*, ArrayListItem_u, int (*)(ArrayListItem_u, ArrayListItem_u, ArbParam_t), ArbParam_t, LgIndex_t*)': arrlist.cpp:1608:5: error: 'VALID_FN_REF' was not declared in this scope arrlist.cpp:1609:5: error: 'VALID_REF' was not declared in this scope arrlist.cpp:1615:23: warning: use of old-style cast arrlist.cpp:1627:21: warning: use of old-style cast arrlist.cpp:1640:5: warning: use of old-style cast arrlist.cpp:1640:5: warning: use of old-style cast arrlist.cpp: In function 'const void* ArrayListGetInternalRef_FUNC(_ArrayList_s*)': arrlist.cpp:1667:26: warning: use of old-style cast arrlist.cpp:1668:5: error: 'VALID_REF' was not declared in this scope In file included from arrlist.cpp:42:0: ALLOC.h: In function 'T* nonExceptionNew(size_t) [with T = char, size_t = long unsigned int]': arrlist.cpp:500:29: instantiated from here ALLOC.h:140:5: error: 'VALID_REF' was not declared in this scope ALLOC.h: In function 'T* nonExceptionNew(size_t) [with T = _ArrayList_s, size_t = long unsigned int]': arrlist.cpp:579:14: instantiated from here ALLOC.h:140:5: error: 'VALID_REF' was not declared in this scope make: *** [../../tecioMake//darwinIntel64Gcc45DPOpt/arrlist.o] Error 1 + wmake foamToTecplot360 make: *** No rule to make target `/Users/xxxx/OpenFoam/xxxx-2.0.0/localFoamToTecplot360-of20/tecio/tecsrc/lnInclude/face.H', needed by `foamToTecplot360.dep'. Stop. |
|
January 19, 2013, 16:38 |
|
#53 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi ofslcm,
Looks like you're not following my instructions properly. And something very strange is happening, because the paths similar to this one: Quote:
Either properly follow the instructions from here: https://github.com/wyldckat/localFoa...t360/tree/of20 - or at least ask what you're not understanding! And please wrap this type of code like this: HTML Code:
[CODE] your code or output goes into here [/CODE] Bruno
__________________
|
||
February 4, 2013, 12:43 |
|
#54 |
Member
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 15 |
Hi all,
Just a question. Is it possible to convert a tecPlot mesh to an OpenFOAM mesh? How can I do this ? Cheers. |
|
March 8, 2013, 11:13 |
|
#55 |
New Member
nicolas
Join Date: Oct 2009
Posts: 24
Rep Power: 16 |
Hi,
I am trying to install foamToTecplot360 on my Mac (Mountain Lion 10.8.2). I am using OpenFOAM 2.1.1, and I followed the instructions available here https://github.com/wyldckat/localFoamToTecplot360. However, I get the following Error. Code:
g++-4.6 -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -I/Volumes/OpenFOAM-v2.1/nicolas-2.1.1/localFoamToTecplot360/tecio/tecsrc/lnInclude -I/Users/nicolas/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/basic/lnInclude -I/Users/nicolas/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/Users/nicolas/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -IlnInclude -I. -I/Users/nicolas/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/Users/nicolas/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -lpthread -L/Users/nicolas/OpenFOAM/OpenFOAM-2.1.1/platforms/darwinIntel64Gcc46DPOpt/lib/openmpi-1.5.3 -lPstream Make/darwinIntel64Gcc46DPOpt/tecplotWriter.o Make/darwinIntel64Gcc46DPOpt/vtkMesh.o Make/darwinIntel64Gcc46DPOpt/foamToTecplot360.o -L/Users/nicolas/OpenFOAM/OpenFOAM-2.1.1/platforms/darwinIntel64Gcc46DPOpt/lib \ -llagrangian -lfiniteVolume -lgenericPatchFields -lmeshTools -L/Users/nicolas/OpenFOAM/nicolas-2.1.1/platforms/darwinIntel64Gcc46DPOpt/lib -ltecio -lOpenFOAM -ldl -lpthread -lm -o /Users/nicolas/OpenFOAM/nicolas-2.1.1/platforms/darwinIntel64Gcc46DPOpt/bin/foamToTecplot360 ld: warning: directory not found for option '-L/Users/nicolas/OpenFOAM/nicolas-2.1.1/platforms/darwinIntel64Gcc46DPOpt/lib' ld: library not found for -ltecio collect2: ld returned 1 exit status make: *** [/Users/nicolas/OpenFOAM/nicolas-2.1.1/platforms/darwinIntel64Gcc46DPOpt/bin/foamToTecplot360] Error 1 Any help would be really appreciated. Thanks Nicolas |
|
March 8, 2013, 18:08 |
|
#56 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Nicolas,
OK, with this output I can work with! Please do the following steps:
Best regards, Bruno
__________________
|
|
March 9, 2013, 09:29 |
|
#57 |
New Member
nicolas
Join Date: Oct 2009
Posts: 24
Rep Power: 16 |
Dear Bruno,
thank you very much for your reply. However, I tried both options and none of them worked. They produce different errors. I didn't notice before the first error that occures. First Error produced with first option: Code:
... dataio.cpp:413:45: warning: use of old-style cast [-Wold-style-cast] dataio.cpp:432:39: warning: use of old-style cast [-Wold-style-cast] make: *** [../../tecioMake//darwinIntel64Gcc46DPOpt/dataset.o] Error 1 make: *** Waiting for unfinished jobs.... dataio.cpp:441:44: warning: use of old-style cast [-Wold-style-cast] ... Code:
... In file included from datautil.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory compilation terminated. make: *** [../../tecioMake//darwinIntel64Gcc46DPOpt/alloc.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [../../tecioMake//darwinIntel64Gcc46DPOpt/dataio4.o] Error 1 make: *** [../../tecioMake//darwinIntel64Gcc46DPOpt/dataset0.o] Error 1 make: *** [../../tecioMake//darwinIntel64Gcc46DPOpt/auxdata.o] Error 1 make: *** [../../tecioMake//darwinIntel64Gcc46DPOpt/dataio.o] Error 1 make: *** [../../tecioMake//darwinIntel64Gcc46DPOpt/datautil.o] Error 1 ... Regards, Nicolas |
|
March 9, 2013, 17:12 |
|
#58 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Nicolas,
The second modification got us closer to the solution. In the line below that one, you'll find this: Code:
TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -DLONGIS64 -DDARWIN Code:
TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -DLONGIS64 -DDARWIN -DENGINE Best regards, Bruno
__________________
|
|
March 10, 2013, 02:02 |
|
#59 |
New Member
nicolas
Join Date: Oct 2009
Posts: 24
Rep Power: 16 |
Hi Bruno,
This time it worked!!! I really appreciate your help. Thank you again very much. I have attached the tecioMake/tecioOptions file that worked. Best regards, Nicolas |
|
March 10, 2013, 06:31 |
|
#60 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Nicolas,
You're welcome and thank you for the feedback! I've updated the git repository: https://github.com/wyldckat/localFoamToTecplot360 If it weren't for you Nicolas, this would probably stay like as it was for a few more months or even years Best regards, Bruno
__________________
|
|
|
|