Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing the Ansys Geometry Service #1022

Closed
2 tasks done
kmahajan-cadfem opened this issue Feb 27, 2024 · 10 comments
Closed
2 tasks done

Installing the Ansys Geometry Service #1022

kmahajan-cadfem opened this issue Feb 27, 2024 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@kmahajan-cadfem
Copy link
Contributor

馃攳 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

馃悶 Description of the bug

According to the documentation, if I have installed Ansys Version, 2023 R2 or later, user should be able to do the following

from ansys.geometry.core import launch_modeler_with_geometry_service

modeler = launch_modeler_with_geometry_service()

This does not work because there is no GeometryService in the unified installer.

this means user cannot actually call the headless Geometry Service with 2024 R1, or am I missing some package that is not installed by default?

following are details of my installation
image

2024 R1.01

Point Releases and Patches installed:

Ansys, Inc. License Manager 2024 R1
Viewer 2024 R1
Discovery 2024 R1
SpaceClaim 2024 R1
Icepak (includes CFD-Post) 2024 R1
Fluids 2024 R1
CFD-Post only 2024 R1
CFX (includes CFD-Post) 2024 R1
Chemkin 2024 R1
EnSight 2024 R1
Fluent (includes CFD-Post) 2024 R1
Polyflow (includes CFD-Post) 2024 R1
ICEM CFD 2024 R1
TurboGrid 2024 R1
Speos 2024 R1
Speos HPC 2024 R1
optiSLang 2024 R1
Remote Solve Manager Standalone Services 2024 R1
Additive 2024 R1
Autodyn 2024 R1
Customization Files for User Programmable Features 2024 R1
LS-DYNA 2024 R1
Mechanical Products 2024 R1
Motion 2024 R1
Sherlock 2024 R1
Ansys 2024R1 Service Pack 1 2024 R1.01
Discovery 2024 R1.01
Motion 2024 R1.01
SpaceClaim 2024 R1.01
Polyflow (includes CFD-Post) 2024 R1.01
Speos 2024 R1.01
Speos HPC 2024 R1.01

馃摑 Steps to reproduce

  • Use unified Ansys Installer for 2024 R1
  • install service pack
  • run above code with virtual env

馃捇 Which operating system are you using?

Windows

馃搥 Which ANSYS version are you using?

2024 R1

馃悕 Which Python version are you using?

3.10

馃摝 Installed packages

-
@kmahajan-cadfem kmahajan-cadfem added the bug Something isn't working label Feb 27, 2024
@RobPasMue
Copy link
Member

RobPasMue commented Feb 27, 2024

Hi @kmahajan-cadfem - can you verify whether you have the following installation on your machine or not?

C:\Program Files\ANSYS Inc\v241\GeometryService

If not, this means that the Ansys Geometry Service is not installed. Customers can install it from the Ansys Customer Portal by using the Ansys Automated Installer. That installer should provide you with it.

https://storage.ansys.com//staticfiles/cp/Readme/release2024R1/info_combined_Automated.pdf#info_auto_install

https://download.ansys.com/Current%20Release#

@kmahajan-cadfem
Copy link
Contributor Author

@RobPasMue, that folder does not exist on my machine, and using the automated installer is at the moment not an option, because the Ansys Installation is deployed by IT using deployment tools, and as far as I know this is very standard procedure for many companies to use the unified Installer for deployment.

image

@RobPasMue
Copy link
Member

I will have to check how it gets installed in that case using the Unified installer. But if you don't have the previously mentioned folder it means that it has not been installed.

@RobPasMue
Copy link
Member

RobPasMue commented Feb 27, 2024

@kmahajan-cadfem you might want to check with your IT as well - maybe your company's deployment tools are disregarding it from the installation.

@kmahajan-cadfem
Copy link
Contributor Author

I have double checked with IT as well as 2 different colleagues and seems like we are installing full package and yet the GeometryService is excluded, IT is not doing anything specific to exclude this package.

could you check on your side with Unified Installer?

@kmahajan-cadfem
Copy link
Contributor Author

@RobPasMue, as an additional information our IT uses the flags from following page to deploy Ansys

https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/installation/win_silent.html

for structural packet the following flags are used

aview
discovery
spaceclaim
additive
aqwa
autodyn
ansyscust
lsdyna
matcal
mechapdl
motion
sherlock
soundsas
optislang
acad_reader
adinventor_reader
catia5_reader
proe_reader
jtopen
ug_reader
parasolid
solidedge_reader
solidworks_reader
dcs
rsm
scdm_config

discovery and scdm are part of this list but I could not find any reference to GeometryService in the help page.

I can confirm that GeometryService is already part of the Unified Installer, but will not be installed if the above flags are used.

@RobPasMue
Copy link
Member

I just remembered this discussion @kmahajan-cadfem - can you give it a try to the following flag?

#883 (reply in thread)

geometryservice

I think this was the flag intended for the unified installer. I need to ask the team to properly document it on the Unified Installer docs.

@RobPasMue
Copy link
Member

Did you give a try to this @kmahajan-cadfem ?

@kmahajan-cadfem
Copy link
Contributor Author

I am sorry for late reply, I did forward this info to our IT and they will add this to the list of flags.
I think this can be closed here, and you can follow up with documentation team about the help page.

Thanks again for your quick responses

@RobPasMue
Copy link
Member

Awesome @kmahajan-cadfem let me close this issue.

I am planning on adding all these caveats to the FAQ section in our docs right away

@RobPasMue RobPasMue changed the title Problem located in launch_modeler_with_geometry_service Installing the Ansys Geometry Service Feb 29, 2024
@RobPasMue RobPasMue self-assigned this Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants