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 |
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. |
Thank you for your help.
Quote:
|
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!
|
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:
|
I got the same problem. Did you figure out the solutions?
|
All times are GMT -4. The time now is 03:52. |