CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   SU2v4.1 Full Installation inside Cygwin (https://www.cfd-online.com/Forums/su2/165373-su2v4-1-full-installation-inside-cygwin.html)

EMolina January 15, 2016 09:49

SU2v4.1 Full Installation inside Cygwin
 
Hi guys...

For a full installation of SU2 inside Cygwin, just execute the following command:

./configure --prefix=$HOME_SU2 -enable-mpi --with-cc=/usr/bin/mpicc --with-cxx=/usr/bin/mpicxx -enable-metis --with-metis-cppflags="-D_FILE_OFFSET_BITS=64 -DNDEBUG -DNDEBUG2 -DHAVE_GETLINE -DMETIS_USE_LONGINDEX=1" -enable-parmetis --with-parmetis-cppflags="-DMETIS_USE_LONGINDEX=1" --with-CGNS-lib=/usr/local/lib --with-CGNS-include=/usr/local/include --disable-DOT --disable-MSH --disable-DEF --disable-SOL --disable-GEO

The problem with parmetis/metis was solved using the cppflags.

You need to have installed openmpi and cgns before execute the command above.

Cheers...

Molina

balugowda January 21, 2016 10:43

Problem installing SU2 on cygwin
 
Hi, I am a studen and would like to install SU2 to run my CFD simulations. However, when I try to make install i get an error.

$ make
Making all in externals
make[1]: Entering directory '/home/Balu/SU2/externals'
Making all in tecio
make[2]: Entering directory '/home/Balu/SU2/externals/tecio'
CXX tecsrc/libtecio_a-TranslatedString.o
CXX tecsrc/libtecio_a-alloc.o
CXX tecsrc/libtecio_a-arrlist.o
tecsrc/arrlist.cpp: In function ‘Boolean_t ArrayListIsValid(ArrayList_pa)’:
tecsrc/arrlist.cpp:391:45: error: ‘VALID_REF’ was not declared in this scope
Boolean_t IsValid = (VALID_REF(ArrayList) &&
^
Makefile:505: recipe for target 'tecsrc/libtecio_a-arrlist.o' failed
make[2]: *** [tecsrc/libtecio_a-arrlist.o] Error 1
make[2]: Leaving directory '/home/Balu/SU2/externals/tecio'
Makefile:337: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/Balu/SU2/externals'
Makefile:376: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


any idea whats the mistake ?

Thanks,
Balu

EMolina January 21, 2016 15:12

Hi,

Try disable TecIO support.
Add --disable-tecio as an argument to the configure script.

Thanks


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