CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   Can SU2 3.1 be installed in CYGWIN, failed many times (https://www.cfd-online.com/Forums/su2-installation/138733-can-su2-3-1-installed-cygwin-failed-many-times.html)

momo_sjx July 9, 2014 22:07

Can SU2 3.1 be installed in CYGWIN, failed many times
 
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

yona July 22, 2014 10:49

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 July 27, 2014 10:49

Thank you for your help.
Quote:

Originally Posted by yona (Post 502644)
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.


wangqi198877 August 10, 2014 07:30

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 August 10, 2014 10:50

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 (Post 505239)
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!


wruudf September 19, 2014 20:34

I got the same problem. Did you figure out the solutions?


All times are GMT -4. The time now is 03:52.