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

SU2 Installation Error on CentOS 7

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2020, 09:50
Default SU2 Installation Error on CentOS 7
New Member
Andre F. C. da Silva
Join Date: Feb 2020
Posts: 1
Rep Power: 0
andrefernando is on a distinguished road
I'm having trouble compiling the SU2 7 from source on CentOS 7 for a while.
Meson seem to run properly and the configuration step seems ok. However during compilation via ninja, there seems to be a problem with the linker while linking the SU2_CFD:

/stuff/easybuild/eb-install/software/binutils/2.31.1-GCCcore-8.2.0/bin/ fatal error: /stuff/easybuild/eb-install/software/OpenMPI/3.1.3-GCC-8.2.0-2.31.1/lib: pread failed: Is a directory

As you can see, I've used GCCcore 8.2.0 and OpenMPI 3.1.3, but the issue persists with other versions of the compilers.

Any thoughts?
andrefernando is offline   Reply With Quote

Old   March 24, 2022, 08:15
New Member
Dan-Gabriel CALUGARU
Join Date: Nov 2016
Posts: 1
Rep Power: 0
Calugaru is on a distinguished road
Your question is a bit old and maybe you already solved the problem, but since there is no answer and I faced with the same error (all on CentOS7), here is the solution that worked for us and who may be usefull for someone else : install and use a newer version of pkg-config

Indeed, the pkg-config version from CentOS7 (0.27.1) seems to be too old and not suitable for this SU2 installation, while using pkg-config version 0.29.2 (even if it is also old , but it's the last one available) makes this error disappear.

Best regards,

Calugaru 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
Introducing SU2 International Developers Society (IDS) fpalacios SU2 News & Announcements 1 June 17, 2019 23:38
SU2 Installation on Windows 32 bit niddaas SU2 Installation 3 May 6, 2016 18:03
[] OpenFOAM 2.3.0 Installation Problem on CentOS 6.6 shenzhou1987 OpenFOAM Installation 1 December 14, 2014 14:34
SU2 parallel installation error JAlbert SU2 Installation 2 November 19, 2013 03:43
Can I compile SU2 in CentOS? sxhqjfl SU2 Installation 2 April 11, 2013 20:23

All times are GMT -4. The time now is 02:43.