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

Can SU2 3.1 be installed in CYGWIN, failed many times

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 9, 2014, 22:07
Default Can SU2 3.1 be installed in CYGWIN, failed many times
  #1
Member
 
Sean (J.X.) Shi
Join Date: May 2012
Location: US
Posts: 34
Rep Power: 6
momo_sjx is on a distinguished road
HI, I try to install SU2 3.1 in CYGWIN
when I "make".
There was one "error":

Making all in externals
make[1]: Entering directory '/cygdrive/c/Users/chenlab/Documents/Project/ARO/SU2/externals'
Making all in tecio
make[2]: Entering directory '/cygdrive/c/Users/chenlab/Documents/Project/ARO/SU2/externals/tecio'
CXX tecsrc/libtecio_a-arrlist.o
tecsrc/arrlist.cpp: In function ‘Boolean_t ArrayListIsValid(ArrayList_pa)’:
tecsrc/arrlist.cpp:390:45: error: ‘VALID_REF’ was not declared in this scope
Boolean_t IsValid = (VALID_REF(ArrayList) &&
^
Makefile:489: recipe for target 'tecsrc/libtecio_a-arrlist.o' failed
make[2]: *** [tecsrc/libtecio_a-arrlist.o] Error 1
make[2]: Leaving directory '/cygdrive/c/Users/chenlab/Documents/Project/ARO/SU2/externals/tecio'
Makefile:285: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/chenlab/Documents/Project/ARO/SU2/externals'
Makefile:337: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

So, I disable the teico, then "make" again
but there was another "error":
Making all in externals
make[1]: Entering directory '/cygdrive/c/Users/chenlab/Documents/Project/ARO/SU2/externals'
Making all in metis
make[2]: Entering directory '/cygdrive/c/Users/chenlab/Documents/Project/ARO/SU2/externals/metis'
CC GKlib/libmetis_a-b64.o
In file included from GKlib/GKlib.h:23:0,
from GKlib/b64.c:20:
GKlib/gk_arch.h:30:22: fatal error: execinfo.h: No such file or directory
#include <execinfo.h>
^
compilation terminated.
Makefile:665: recipe for target 'GKlib/libmetis_a-b64.o' failed
make[2]: *** [GKlib/libmetis_a-b64.o] Error 1
make[2]: Leaving directory '/cygdrive/c/Users/chenlab/Documents/Project/ARO/SU2/externals/metis'
Makefile:285: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/chenlab/Documents/Project/ARO/SU2/externals'
Makefile:337: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
momo_sjx is offline   Reply With Quote

Old   July 22, 2014, 10:49
Default
  #2
New Member
 
Yonatan Afework Tesfahunegn
Join Date: Mar 2013
Posts: 14
Rep Power: 5
yona is on a distinguished road
The problem is the header file execinfo.h is missing. You can copy and paste it from this site in the directory .../externals/metis/GKlib. After that proceed with the configuration.
Note that this is only for serial compilation and installation. For parallel it will not work.
yona is offline   Reply With Quote

Old   July 27, 2014, 10:49
Default
  #3
Member
 
Sean (J.X.) Shi
Join Date: May 2012
Location: US
Posts: 34
Rep Power: 6
momo_sjx is on a distinguished road
Thank you for your help.
Quote:
Originally Posted by yona View Post
The problem is the header file execinfo.h is missing. You can copy and paste it from this site in the directory .../externals/metis/GKlib. After that proceed with the configuration.
Note that this is only for serial compilation and installation. For parallel it will not work.
momo_sjx is offline   Reply With Quote

Old   August 10, 2014, 07:30
Default
  #4
New Member
 
wangqi
Join Date: Jul 2014
Posts: 10
Rep Power: 4
wangqi198877 is on a distinguished road
I meet the same problem and I followed the method but failed. The version of su2 is v3.2.0. What is the problem? Besides, if I do the parallel compilation, how to deal with this problem? Thanks!
wangqi198877 is offline   Reply With Quote

Old   August 10, 2014, 10:50
Default
  #5
Member
 
Sean (J.X.) Shi
Join Date: May 2012
Location: US
Posts: 34
Rep Power: 6
momo_sjx is on a distinguished road
Eventually, I installed a virtual machine for Ubuntu, it worked very well.
SU2 V3.x had a lot of changes comparing SU2 V2.x.

Quote:
Originally Posted by wangqi198877 View Post
I meet the same problem and I followed the method but failed. The version of su2 is v3.2.0. What is the problem? Besides, if I do the parallel compilation, how to deal with this problem? Thanks!
momo_sjx is offline   Reply With Quote

Old   September 19, 2014, 20:34
Default
  #6
New Member
 
Yan Bochao
Join Date: Aug 2014
Posts: 14
Rep Power: 4
wruudf is on a distinguished road
I got the same problem. Did you figure out the solutions?
wruudf is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel U.Golling OpenFOAM 34 May 24, 2016 12:30
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 16:00
ParaView/Parafoam error when making animation Disco_Caine OpenFOAM Paraview & paraFoam 6 September 28, 2010 09:54
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 20:57.