CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2 > SU2 Installation

Parallel installation incl. metis, cgns errors...

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By

LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2014, 14:27
Question Parallel installation incl. metis, cgns errors...
Senior Member
Join Date: Mar 2009
Posts: 228
Rep Power: 20
klausb will become famous soon enough

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. and 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?

klausb is offline   Reply With Quote

Old   October 27, 2014, 14:37
Senior Member
Pay D.
Join Date: Aug 2011
Posts: 165
Blog Entries: 1
Rep Power: 13 is on a distinguished road
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.

febriyan91 likes this.

Last edited by; October 27, 2014 at 14:40. Reason: update is offline   Reply With Quote

Old   January 16, 2015, 03:25
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 13
economon is on a distinguished road

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
economon is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

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

All times are GMT -4. The time now is 07:11.