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

Ansys CFX on HPC

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2022, 16:03
Cool Ansys CFX on HPC
  #1
New Member
 
Richard M
Join Date: Oct 2021
Posts: 12
Rep Power: 4
RichChemEng is on a distinguished road
Hello,

I am trying to run Ansys CFX on an HPC linux cluster. I have been able to follow an example of a previous colleague who was running APDL on the same cluster and license.

My .sh file looks like this:

#!/bin/bash
#BSUB -n 16
#BSUB -R rusage[mem=4000]
#BSUB -W 1:00
#BSUB -q short
#BSUB -o cfx.out.%j
#BSUB -e cfx.err.%j

nohup /home/badatCFX/CFX_AnsysInstall/v212/CFX/bin/cfx5 -b -p aa_r < Attempt1.def > output.out &

But it is not working. Previously, the Attempt1.def file was a log file created for APDL - Does anyone have suggestions to get this script to work?

Thanks in advance for saving me
RichChemEng is offline   Reply With Quote

Old   May 24, 2022, 19:30
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,744
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If it is not working - what is not working about it? What error message do you get?

Are you trying to run this through LSF or just from the command line?

If you look in the CFX documentation you will see the syntax for the command line. For instance, the command line to run the solver is cfx5solve.

Also, if you launch a command line from the CFX5 launcher it will automatically configure all the paths and variables. This is often easier than having to specify it yourself.
Opaque likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 27, 2022, 09:55
Default CFX HPC continued.
  #3
New Member
 
Richard M
Join Date: Oct 2021
Posts: 12
Rep Power: 4
RichChemEng is on a distinguished road
So I modified my script to:

#!/bin/bash
#BSUB -n 16
#BSUB -R rusage[mem=4000]
#BSUB -W 1:00
#BSUB -q short
#BSUB -o cfx.out.%J
#BSUB -e cfx.err.%J

nohup /home/badatCFX/CFX_AnsysInstall/v212/CFX/bin/cfx5solve -def Attempt1.def -batch

and had some windows to linux extra characters that i eliminated with the cat -v command. However, I am still getting the following errror:

/home/badatCFX/CFX_AnsysInstall/v212/CFX/bin/../tools/perl-5.32.0/bin/perl: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/badatCFX/CFX_AnsysInstall/v212/CFX/bin/../tools/perl-5.32.0/bin/perl)

I think this means I need to recompile my libc6 package?

Last edited by RichChemEng; May 27, 2022 at 10:34. Reason: Update
RichChemEng is offline   Reply With Quote

Old   May 27, 2022, 22:24
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,744
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, that sounds like you are missing some libraries required for perl. This means you are running on an unsupported Linux distribution. I wish you luck

The longest thread on the CFX forum is about this: ANSYS Workbench on "Uncertified" Linux Distros

Personally, the thought of running complex software like CFX on an unsupported linux distro makes me break out in hives. Even quoting that thread makes me go all itchy.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 6, 2022, 10:24
Default Progress but license issues :(
  #5
New Member
 
Richard M
Join Date: Oct 2021
Posts: 12
Rep Power: 4
RichChemEng is on a distinguished road
Hi Glenn,

So I have made some progress and was able to create a RedHat7 container and use an interactive session with a conda environment to get around the incompatible linux errors.

However, I am now running into a licensing issue:


License Cap: ANSYS CFD Solver

ANSYS LICENSE MANAGER ERROR

Failover feature 'CFD Solver - Level 2' is not available.
FLEXlm server is not responding. Resource temporarily not available.
ANSYSLI_SERVERS: 2325@~numbers
FLEXlm Servers: 1055@~numbers

License ID: License checkout failed (CFD SOLVER).


I am trying to reference an academic license server. I have seen for mechanical a:

-b -p aa_r

or for CFX a license token request:
-L ansys@osc:1

Any thoughts or suggestions? We have checked the communication on both ports on the license server and do accept communication from the HPC IP addresses.
RichChemEng is offline   Reply With Quote

Old   June 6, 2022, 19:08
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,744
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
ANSYS has details on how to trouble shoot licensing issues in the installation and licensing guide. Also, I recommend using the ANSYS Client Licensing Settings app to help trouble shoot this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
ansys, cfx, linux


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
Best HW for ANSYS 2 HPC in CFX and Mechanical Youpi Hardware 4 May 20, 2021 09:42
The ANSYS CFX solver exited with return code 38 shmitzps CFX 9 March 19, 2021 06:46
Compressible Flow in Ansys CFX bcheruk CFX 15 July 6, 2017 06:30
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
CFX bought by Ansys - good or bad?! Pete CFX 38 February 21, 2003 07:34


All times are GMT -4. The time now is 20:54.