CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

CoolProp link in 7.5.0 doesn't work

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2022, 23:30
Default CoolProp link in 7.5.0 doesn't work
  #1
New Member
 
Karl P
Join Date: Dec 2022
Posts: 4
Rep Power: 3
flying_violin is on a distinguished road
I am trying to install SU2 version 7.5.0 on Ubuntu 22.04.1 LTS and decided to compile from the code. I downloaded the source code, unzipped it, and I think I got all the dependencies installed (python, mpich, gcc, g++, etc). When I run:
Code:
$ .meson.py build
I get:
Code:
Downloading CoolProp '0ce42fcf3bb2c373512bc825a4f0c1973a78f307'
HTTP Error 404: Not Found
Download of module CoolProp failed.
Get archive at https://github.com/CoolProp/CoolProp.git/archive/0ce42fcf3bb2c373512bc825a4f0c1973a78f307.zip
and place it in the source code root folder
Run meson.py again
I went to https://github.com/CoolProp/CoolProp.git/ and downloaded the latest version from github, but now I'm struggling to find the appropriate folder to dump the *.zip. I've tried the folder above the SU2 source code folder, the top level SU2 source code folder, Common folder, and meson_scripts folder. Now it feels like I'm just stabbing in the dark.

Has anyone else run into this and successfully solved it?
flying_violin is offline   Reply With Quote

Old   January 3, 2023, 00:43
Default
  #2
New Member
 
Karl P
Join Date: Dec 2022
Posts: 4
Rep Power: 3
flying_violin is on a distinguished road
I also tried downloading the pre-compiled Linux code of SU2, version 7.5.0 for parallel computations using MPICH. It runs fine in serial, but when I try to run parallel, I get however many "-n" jobs submitted in serial. For example, I tried submitting my job to 7 cores on my local machine via the following command:
Code:
$ parallel_computation.py -n 7 -f turb_ONERAM6.cfg
But that just launches 7 simulations, each on a single core. Using the mpirun command directly gives the same behavior. I've read about people having this behavior if the MPI is not recognized by SU2, but I installed MPICH prior to downloading the SU2 code, which seems to be the preferred MPI. Does anyone know how to configure the pre-compiled code to recognize the Ubuntu 22.04 MPICH installation?
flying_violin is offline   Reply With Quote

Old   January 3, 2023, 07:53
Default
  #3
gtc
New Member
 
Join Date: Jul 2022
Posts: 9
Rep Power: 3
gtc is on a distinguished road
Quote:
Originally Posted by flying_violin View Post
I am trying to install SU2 version 7.5.0 on Ubuntu 22.04.1 LTS and decided to compile from the code. I downloaded the source code, unzipped it, and I think I got all the dependencies installed (python, mpich, gcc, g++, etc). When I run:
Code:
$ .meson.py build
I get:
Code:
Downloading CoolProp '0ce42fcf3bb2c373512bc825a4f0c1973a78f307'
HTTP Error 404: Not Found
Download of module CoolProp failed.
Get archive at https://github.com/CoolProp/CoolProp.git/archive/0ce42fcf3bb2c373512bc825a4f0c1973a78f307.zip
and place it in the source code root folder
Run meson.py again
I went to https://github.com/CoolProp/CoolProp.git/ and downloaded the latest version from github, but now I'm struggling to find the appropriate folder to dump the *.zip. I've tried the folder above the SU2 source code folder, the top level SU2 source code folder, Common folder, and meson_scripts folder. Now it feels like I'm just stabbing in the dark.

Has anyone else run into this and successfully solved it?
You may try to download the *.zip from https://gitlab.com/coolprop/coolprop...78f307/include
and place it in the source code root folder
gtc is offline   Reply With Quote

Old   January 3, 2023, 23:16
Default
  #4
New Member
 
Karl P
Join Date: Dec 2022
Posts: 4
Rep Power: 3
flying_violin is on a distinguished road
Thanks for the CoolProp link! It looks like it worked fine and compiled when I placed the *.zip file in the folder containing the meson.py file. The ./ninja command churned around for a while and came back without error, so I figure I got a compiled version of SU2 on my machine now. When I run which commands, this is what I get:
Code:
$ which SU2_CFD
/usr/local/bin/SU2_CFD
$ which parallel_computation.py
 /usr/local/bin/parallel_computation.py
So that looks successful! Thanks for the help!

I can successfully run the tutorial case in serial, but when I tried to run in parallel, I got the following error:
Code:
$ parallel_computation.py -n 8 -f turb_ONERAM6.cfg 
8 total processes failed to start
Traceback (most recent call last):
  File "/usr/local/bin/parallel_computation.py", line 110, in <module>
    main()
  File "/usr/local/bin/parallel_computation.py", line 55, in main
    parallel_computation( options.filename    ,
  File "/usr/local/bin/parallel_computation.py", line 88, in parallel_computation
    info = SU2.run.CFD(config) 
  File "/usr/local/bin/SU2/run/interface.py", line 112, in CFD
    run_command( the_Command )
  File "/usr/local/bin/SU2/run/interface.py", line 270, in run_command
    raise exception(message)
RuntimeError: Path = /home/karl/Downloads/Tutorials-master/compressible_flow/Turbulent_ONERAM6/,
Command = mpirun -n 8 /home/karl/Downloads/su2code-SU2-8e8ea59/SU2_CFD config_CFD.cfg
SU2 process returned error '131'
--------------------------------------------------------------------------
Open MPI tried to fork a new process via the "execve" system call but
failed.  Open MPI checks many things before attempting to launch a
child process, but nothing is perfect. This error may be indicative
of another problem on the target host, or even something as silly as
having specified a directory for your application. Your job will now
abort.

  Local host:        octbox
  Working dir:       /home/karl/Downloads/Tutorials-master/compressible_flow/Turbulent_ONERAM6
  Application name:  /home/karl/Downloads/su2code-SU2-8e8ea59/SU2_CFD
  Error:             Permission denied
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun was unable to start the specified application as it encountered an
error:

Error code: 1
Error name: (null)
Node: octbox

when attempting to start process rank 0.
--------------------------------------------------------------------------
[octbox:09006] 7 more processes have sent help message help-orte-odls-default.txt / execve error
[octbox:09006] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Any idea where I start digging for clues on what might be going on with my installation of MPICH? It looks like I have MPICH installed as this is the output of the which command:
Code:
$ which mpirun
/usr/bin/mpirun
flying_violin is offline   Reply With Quote

Old   January 4, 2023, 08:55
Default
  #5
New Member
 
Karl P
Join Date: Dec 2022
Posts: 4
Rep Power: 3
flying_violin is on a distinguished road
I still don't know entirely what is going on with my installation, but I did get the following to work well for me:
Code:
$ mpirun -n 8 SU2_CFD turb_ONERAM6.cfg
flying_violin is offline   Reply With Quote

Old   January 4, 2023, 10:42
Default
  #6
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 530
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Notice the error "permission denied". This means either that you do not have read/write/execute permissions for one of the folders, or that the folder does not exist.
bigfootedrockmidget is offline   Reply With Quote

Reply

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
How does interpolationCellPoint work? ahcai007 OpenFOAM Programming & Development 0 March 30, 2014 14:05
Do all CFD analysts have to do some hands-on work except PhDs? e13drd Main CFD Forum 2 March 17, 2014 14:56
[ICEM] Link bunching hexa mesh problem cibo ANSYS Meshing & Geometry 2 January 11, 2012 22:40
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
cfx+Fortran cannot work with 2 CPUs on windows PC lee CFX 1 May 8, 2006 10:36


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