|
[Sponsors] |
Parallel installation incl. metis, cgns errors... |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 26, 2014, 14:27 |
Parallel installation incl. metis, cgns errors...
|
#1 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
Hello,
I tried to install SU2 including mpi, metis and cgns on ubuntu 14.04 64bit and ran into the following problem: When I run ./configure, I get the following error message at the very end: checking for /usr/lib/libcgns.a... no configure: error: CGNS requested but library file not found. I cannot find a library called libcgns.a Openmpi, metis and cgns are installed on the system. libcgns.so and libcgns.so.3.1 can be found in /usr/lib (default location) I used: ./configure --prefix=/home/dev/SU2 --with-MPI=/usr/bin/mpicxx CXXFLAGS="-O3" --with-CGNS-lib=/usr/lib --with-CGNS-include=/usr/include --with-Metis-lib=/usr/lib/x86_64-linux-gnu/metis-5.1.0 --with-Metis-include=/home/dev/trunk/externals/metis --with-Metis-version=5 Another error was: configure: WARNING: unrecognized options: --with-Metis-lib, --with-Metis-include, --with-Metis-version What needs to be installed? What parameters needs to be used following ./configure? Klaus |
|
October 27, 2014, 14:37 |
|
#2 |
Senior Member
|
Hi Klaus,
I have wrote my step by step experience for installing the suite with detailed explanation here, you might find part 2 and part 3 useful. However, you don't need to specify Metis library in your configuration while you are installing the code, it has been included in the code in recent version. Bests, Payam Last edited by pdp.aero; October 27, 2014 at 14:40. Reason: update |
|
January 16, 2015, 03:25 |
|
#3 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
Hi,
Just to follow up what Payam has mentioned, METIS is now included within the distribution of SU2, so it will automatically build and link when you request a parallel build. You will, however, still need an MPI implementation installed on your machine. CGNS is a different story. At the moment (and this might change in the future), we do not ship the source for CGNS, so users need to build this library separately and specify the paths to the library and the include files during configure. It looks like you have built a shared object (.so) rather than a static version (.a) of the CGNS lib. You might try to recompile CGNS as a static lib and then try to build SU2 again. At the time of writing, we recommend CGNS v3.1.4. Hope this helps, Thomas D. Economon SU2 lead developer |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
compiling with MPI, METIS, CGNS on iMac | monkeytron | SU2 Installation | 5 | June 5, 2013 09:06 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
How to conevrt cgns file in node array for metis? | John | CFX | 0 | November 12, 2006 23:54 |