SU2 Parallel installation
Greetings...
Please forgive me if this is problem has been discussed elsewhere. I am new to SU2 and having problem with installation in parallel version. Following command is used to configure. sudo ./configure --with-CGNS-lib=/usr/lib64 --with-CGNS-include=/home/razibul/git/SU2/Common/include/CGNS/3.1.3/ --with-Metis-lib=/usr/lib64/ --with-Metis-include=/home/razibul/git/SU2/Common/include/METIS/5.0.2/ --with-MPI=/usr/local/bin/mpicxx I am getting the following error checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for /usr/lib64/libcgns.a... yes checking for /home/razibul/git/SU2/Common/include/CGNS/3.1.3//cgnslib.h... yes checking for /usr/lib64//libmetis.a... yes checking for /home/razibul/git/SU2/Common/include/METIS/5.0.2//metis.h... yes checking whether the C++ compiler works... no configure: error: in `/home/razibul/FlowProject/SU2': configure: error: C++ compiler cannot create executables See `config.log' for more details razibul@linux-vqs7:~/FlowProject/SU2> sudo ./configure --with-CGNS-lib=/usr/lib64 --with-CGNS-include=/home/razibul/git/SU2/Common/include/CGNS/3.1.3/ --with-Metis-lib=/usr/lib64/ --with-Metis-include=/home/razibul/git/SU2/Common/include/METIS/5.0.2/ --with-MPI=/usr/local/bin/mpicxx checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for /usr/lib64/libcgns.a... yes checking for /home/razibul/git/SU2/Common/include/CGNS/3.1.3//cgnslib.h... yes checking for /usr/lib64//libmetis.a... yes checking for /home/razibul/git/SU2/Common/include/METIS/5.0.2//metis.h... yes checking whether the C++ compiler works... no configure: error: in `/home/razibul/FlowProject/SU2': configure: error: C++ compiler cannot create executables See `config.log' for more details I am bit lost at this point as I have working c++ gnu compiler installed and OpenMPI is also functioning. Thanks in Advance Tamal |
I had the same issue. The problem was that it could not detect mpicxx on my machine. You should check for that and install if necessary.
|
Hello. I had the same problem and this thread helped me http://www.cfd-online.com/Forums/su2...pi-option.html
On it he insert the mpi compiler as --with-MPI value. To me it worked inputing mpiicpc. But It strongly depends on how you've installed everything. Cause there's plenty of compilers (mpic++, mpicc, mpiicc, mpiicpc). I haven't tried to use CGNS or METIS yet but till now this worked for me. Code:
./configure --prefix=/opt/SU2+MPI/ --with-MPI=mpiicpc |
All times are GMT -4. The time now is 15:59. |