|
[Sponsors] |
May 24, 2022, 17:03 |
Ansys CFX on HPC
|
#1 |
New Member
Richard M
Join Date: Oct 2021
Posts: 12
Rep Power: 5 |
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 |
|
May 24, 2022, 20:30 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
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.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 27, 2022, 10:55 |
CFX HPC continued.
|
#3 |
New Member
Richard M
Join Date: Oct 2021
Posts: 12
Rep Power: 5 |
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 11:34. Reason: Update |
|
May 27, 2022, 23:24 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
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. |
|
June 6, 2022, 11:24 |
Progress but license issues :(
|
#5 |
New Member
Richard M
Join Date: Oct 2021
Posts: 12
Rep Power: 5 |
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. |
|
June 6, 2022, 20:08 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
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. |
|
Tags |
ansys, cfx, linux |
|
|
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 10:42 |
The ANSYS CFX solver exited with return code 38 | shmitzps | CFX | 9 | March 19, 2021 07:46 |
Compressible Flow in Ansys CFX | bcheruk | CFX | 15 | July 6, 2017 07:30 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
CFX bought by Ansys - good or bad?! | Pete | CFX | 38 | February 21, 2003 08:34 |