CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   SU2v4.0.0 parallel installation error (https://www.cfd-online.com/Forums/su2-installation/165943-su2v4-0-0-parallel-installation-error.html)

Mohit Singh January 30, 2016 01:53

SU2v4.0.0 parallel installation error
 
Hi everyone,
I am trying to install the SU2v4.0.0 using parallel build but got stuck in the first step of configuration. here's the command used for configuration:
./configure --enable-mpi --with-cc=/usr/local/bin/mpicc --with-cxx=/usr/local/bin/mpicxx
And i am totally confused about what is wrong with this step (have i missed any prerequisites for parallel build) even when i have installed openmpi as recommended on the SU2 website.
But the output of the above configure goes like this:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking whether the C++ compiler works... no
configure: error: in `/home/mohit/Desktop/softwares/SU2v4.0.0':
configure: error: C++ compiler cannot create executables

See `config.log' for more details

One of the annoying thing about the above message is that i could not understand the reason for why the c++ compiler didn't works. One more thing to mention that when i tried to install SU2v4.1.0 on different system, it works but i don't know what is wrong with the installation of this version.

And one more thing not regarding SU2 install but about the forum that whenever i tried to attach a file, it would return with the message of Upload errors : invalid file.
I don't understand whether i am violating any of the protocols for attaching some file or is it something else. I would be grateful if anyone could tell me the right way for attaching any file along with the thread to post on the forum.
Thanks in advance.

fpalacios February 19, 2016 01:59

Hi, it could be a permission problem in the target directory...
Anyway, if you google "whether the C++ compiler works... no" it doesn't seem an isolated problem.
Good luck! and thanks for using SU2,

Best,

Francisco Palacios

Mohit Singh February 19, 2016 13:17

Quote:

Originally Posted by fpalacios (Post 585953)
Hi, it could be a permission problem in the target directory...
Anyway, if you google "whether the C++ compiler works... no" it doesn't seem an isolated problem.
Good luck! and thanks for using SU2,

Best,

Francisco Palacios

Hello Sir,
First of all, thank you very much for your reply. After I put the post, I later realised that my ubuntu version 14.10 did not had the basic automake or autoconf tools, which seems to be the reason for above mentioned error. Later I upgraded to ubuntu 14.04 LTS with the required tools and get the SU2 installed properly.
Secondly, I would like to ask you that the multigrid, being the tool for accelerating the convergence whether I should use it for a transonic flow simulation (M=0.9).
Also, is there any way by which I can extract the value of turbulent kinetic energy from the simulation? As turbulent kinetic energy is related to the sound pressure levels in the transonic regime. Any help would be appreciable.


All times are GMT -4. The time now is 12:53.