Compiler Error SU2 on OSX
Attempting to compile su2 on my OS-X 10.8 machine yeilds a few errors. I cloned the repository of github then made sure I had the other pre-reqs.
I installed openmpi and metis-5 through homebrew. Then i used the following configure command Code:
./configure --prefix=/usr/local --with-Metis-lib=/usr/local/Cellar/metis/5.0.2/lib --with-Metis-include=/usr/local/Cellar/metis/5.0.2/include --with-Metis-version=5 --with-MPI=/usr/local/bin/mpic++ The configure seems to go ok, and no errors are reported. So I tried to make, but get the following error after it churns for a whursive] Error 1 Code:
../src/SU2_SMC.cpp:92:37: error: variable length array of non-POD element type 'vector<unsigned long>' |
It turns out that there was no problem compiling SU2_CFD ,but rather in a little used side module. Compiling worked fine when I added
--disable-SMC to the config command. The final config command was as follows Code:
./configure --prefix=/usr/local --with-Metis-lib=/usr/local/Cellar/metis/5.0.2/lib --with-Metis-include=/usr/local/Cellar/metis/5.0.2/include --with-Metis-version=5 --with-MPI=/usr/local/bin/mpicxx --disable-SMC |
Thanks Justin for your feedback,
We have fixed this issue in the developer's version on GitHub. Best, Francisco Quote:
|
All times are GMT -4. The time now is 04:10. |