-
-
January 28, 2021 at 9:51 am
hkboondoggle
SubscriberHi, I have just set up a Ansys Workbench client and was running an online tutorial test case to verify if everything is in working order.
Upon launching Fluent to read the mesh file, Workbench throws out the following error with Fluent being immediately terminated:
**********
Ansys.Fluent.Cortex.CortexNotAvailableException: Exception of type 'Ansys.Fluent.Cortex.CortexNotAvailableException' was thrown.
at Ansys.Fluent.Data.SetupData.GetCommunicator (Ansys.Core.Commands.IReadLockContainer context) [0x00063] in <37648c5cebbe4646a378b94b273531e9>:0
at Ansys.Fluent.Data.SetupData.ReadCaseModelInfo (Ansys.Core.Commands.IFullContext context) [0x005df] in <37648c5cebbe4646a378b94b273531e9>:0
at Ansys.Fluent.Data.SetupData.ReadMeshAndModelInfo (Ansys.Core.Commands.IFullContext context) [0x0008a] in <37648c5cebbe4646a378b94b273531e9>:0
at Ansys.Fluent.Data.SetupData.LoadFiles (Ansys.Core.Commands.IFullContext context) [0x00000] in <37648c5cebbe4646a378b94b273531e9>:0
at Ansys.Fluent.Commands.EditCommand.Execute (Ansys.Core.Commands.IFullContext context) [0x000ad] in <37648c5cebbe4646a378b94b273531e9>:0
at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext (Ansys.Core.Commands.CommandContext subContext, Ansys.Core.Commands.Concurrency.IExecutionEngineCallback tracer) [0x00075] in
:0 --- Ansys.Core.Commands.CommandFailedException: Exception of type 'Ansys.Fluent.Cortex.CortexNotAvailableException' was thrown.
CommandName: Fluent.Edit(Container="Setup")
at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException (System.Exception e) [0x0000c] in
:0 at Ansys.Core.Commands.CommandAsyncResult.Wait (System.Int32 milliSecondsTimeout, System.Boolean exitContext) [0x000ae] in
:0 at Ansys.Core.Commands.CommandAsyncResult.Wait () [0x00000] in
:0 at Ansys.Fluent.Commands.EditCommand.InvokeAndWait (Ansys.Core.Commands.IProtectedContext context, Ansys.Core.DataModel.ProjectSystem.DataContainerReference Container, System.Boolean Interactive) [0x0002b] in <37648c5cebbe4646a378b94b273531e9>:0
at Ansys.Fluent.Gui.GuiUtilities.GetLauncherSettingsAndEdit (Ansys.UI.GuiOperationContext operationContext, Ansys.Core.DataModel.ProjectSystem.DataContainerReference cref, Ansys.Fluent.Cortex.LauncherEditMode editMode) [0x00169] in <7d056a23d6b741e8a489ce945d1190a7>:0
at Ansys.Fluent.Gui.OpenInFluentGui.Invoke (Ansys.UI.GuiOperationContext context) [0x00546] in <7d056a23d6b741e8a489ce945d1190a7>:0
at Ansys.UI.GuiOperationContext.Invoke (Ansys.UI.GuiOperationMetaData operationData) [0x00007] in
:0 at Ansys.UI.UIManager+
c__AnonStorey0.<>m__0 () [0x00037] in :0 at Ansys.UI.UIManager.InvokeOperationCore (System.String pseudoname, Ansys.UI.Views.View+OperationDelegate callback, System.Boolean allowOSMessages, System.Boolean coreTransaction, System.Boolean deferredRefreshOnly) [0x001ea] in
:0 *********
The mesh in question only involves a simple geometry (a 2D rectangle covered by ~12k triangular mesh elements), and the RAM has enough capacity when Fluent crashes.
Any help as to how to go about fixing this would be appreciated.
Below is an additional information of this client machine:
January 28, 2021 at 10:53 amRob
Ansys EmployeeCan you launch Fluent from the command line on the machine? I can't see Ubunto on the supported operating system list, https://www.ansys.com/-/media/ansys/corporate/files/pdf/solutions/it-professionals/platform-support/ansys-platform-support-strategy-plans-february-2021.pdf?la=en&hash=4AF557938A11E30188525096885511015FD5900C so it's possible that some of the libraries aren't present. Fluent is native UNIX/LINUX so may work standalone. nFebruary 2, 2021 at 5:08 amhkboondoggle
SubscriberHi Rob, thanks for your prompt reply. I'm now verifying the installation of the necessary libraries.nMeanwhile, we are thinking of migrating the Ansys License Manager into a Docker container within the ubuntu machine, by setting up a virtual image of the Ansys supported OS platform. Would Ansys License Manager support such virtual environment hosting? And can it be launched using headless mode?nFebruary 2, 2021 at 10:29 amRob
Ansys EmployeePass! I just use the software, I no longer know how to configure the install on UNIX if it the autolauncher fails. nFebruary 3, 2021 at 2:54 pmANSYS_MMadore
Ansys EmployeeThe license manager will run with a virtual machine. If you or another contact at the university have access to the customer portal we offer this document specifically for the license manager requirements. It can be installed and run without a graphic interface using silent mode and command line.nhttps://support.ansys.com/portal/site/AnsysCustomerPortal/template.fss?file=/ANSYS+Customer+Portal/staticassets/GettingStarted/2021R1/2021-R1-ANSYS-License-Manager-Server-Hardware-Network-Req.pdfnnThank you,nMattnFebruary 5, 2021 at 6:59 amhkboondoggle
SubscriberThanks Matt! I have just signed up in the customer portal and found the description of silent mode installation of License Manager. Though I am having trouble to find out documentation for OPERATING it silent mode.nAnd about the issue of running Fluent on the Ubuntu client, I have gone through the list of pre-requested libraries and installed the missing ones except the following which are not available for Ubuntu at all:nlibfreebl3; libopenssl1; libz1nWhen launching Fluent there is still a problem which now seems to be relating to MPI. I am saying this because the selection of MPI mode in the Fluent launcher is leading into different symptoms. nThe console in Fluent is giving out the following error log for choosing MPI = [ Default ] :n*********n/ansys_inc/v202/fluent/fluent20.2.0/bin/fluent -r20.2.0 2ddp -pshmem -host -alnamd64 -t2 -mpi=intel -path/ansys_inc/v202/fluent -ssh -cx ASRC-CalSer01:38509:35817nStarting /ansys_inc/v202/fluent/fluent20.2.0/lnamd64/2ddp_host/fluent.20.2.0 host -cx ASRC-CalSer01:38509:35817 (list (rpsetvar (QUOTE parallel/function) fluent 2ddp -flux -node -alnamd64 -r20.2.0 -t2 -pshmem -mpi=intel -ssh) (rpsetvar (QUOTE parallel/rhost) ) (rpsetvar (QUOTE parallel/ruser) ) (rpsetvar (QUOTE parallel/nprocs_string) 2) (rpsetvar (QUOTE parallel/auto-spawn?) #t) (rpsetvar (QUOTE parallel/trace-level) 0) (rpsetvar (QUOTE parallel/remote-shell) 1) (rpsetvar (QUOTE parallel/path) /ansys_inc/v202/fluent) (rpsetvar (QUOTE parallel/hostsfile) ) )n Welcome to ANSYS Fluent 2020 R2n Copyright 1987-2020 ANSYS, Inc. All Rights Reserved.n Unauthorized use, distribution or duplication is prohibited.n This product is subject to U.S. laws governing export and re-export.n For full Legal Notice, see documentation.nBuild Time: May 29 2020 10:12:32 EDT Build Id: 10176 n --------------------------------------------------------------n This is an academic version of ANSYS FLUENT. Usage of this productn license is limited to the terms and conditions specified in your ANSYSn license form, additional terms section.n --------------------------------------------------------------nHost spawning Node 0 on machine ASRC-CalSer01 (unix).n/ansys_inc/v202/fluent/fluent20.2.0/bin/fluent -r20.2.0 2ddp -flux -node -alnamd64 -t2 -pshmem -mpi=intel -ssh -mport 127.0.1.1:127.0.1.1:46845:0nStarting /ansys_inc/v202/fluent/fluent20.2.0/multiport/mpi/lnamd64/intel/bin/mpirun --rsh=ssh -f /tmp/fluent-appfile.asrc.148153 -genv FLUENT_ARCH lnamd64 -genv I_MPI_DEBUG 0 -genv I_MPI_PIN disable -genv I_MPI_ADJUST_REDUCE 2 -genv I_MPI_ADJUST_ALLREDUCE 2 -genv I_MPI_ADJUST_BCAST 1 -genv I_MPI_ADJUST_BARRIER 2 -genv I_MPI_ADJUST_ALLGATHER 2 -genv I_MPI_ADJUST_GATHER 2 -genv I_MPI_ADJUST_ALLTOALL 1 -genv I_MPI_ADJUST_SCATTER 2 -genv I_MPI_PLATFORM auto -genv PYTHONHOME /ansys_inc/v202/fluent/fluent20.2.0/../../commonfiles/CPython/3_7/linx64/Release/python -genv FLUENT_PROD_DIR /ansys_inc/v202/fluent/fluent20.2.0 -genv KMP_AFFINITY disabled -genv TMI_CONFIG /ansys_inc/v202/fluent/fluent20.2.0/multiport/mpi/lnamd64/intel/etc/tmi.conf -n 2 -host ASRC-CalSer01 /ansys_inc/v202/fluent/fluent20.2.0/lnamd64/2ddp_node/fluent_mpi.20.2.0 node -mpiw intel -pic shmem -mport 127.0.1.1:127.0.1.1:46845:0nFatal error in PMPI_Bcast: Invalid buffer pointer, error stack:nPMPI_Bcast(2667)................: MPI_Bcast(buf=0x7febf668b010, count=433024, MPI_CHAR, root=0, comm=0x84000002) failednMPIR_Bcast_impl(1804)...........: fail failednMPIR_Bcast(1832)................: fail failednI_MPIR_Bcast_intra(2056)........: Failure during collectivenMPIR_Bcast_intra(1670)..........: Failure during collectivenMPIR_Bcast_intra(1638)..........: fail failednMPIR_Bcast_knomial(2274)........: fail failednMPIC_Recv(419)..................: fail failednMPIC_Wait(270)..................: fail failednPMPIDI_CH3I_Progress(623).......: fail failednpkt_RTS_handler(317)............: fail failedndo_cts(662).....................: fail failednMPID_nem_lmt_dcp_start_recv(302): fail failedndcp_recv(165)...................: Internal MPI error! Cannot read from remote processn Two workarounds have been identified for this issue:n 1) Enable ptrace for non-root users with:n echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scopen 2) Or, use:n I_MPI_SHM_LMT=shmnSome compute-node processes or machines have crashed.nHost process lost connection while reading. Fatal error!n999999 (../../src/mpsystem.c@1221): mpt_read: failed: errno = 11n999999: mpt_read: error: read failed trying to read 4 bytes: Resource temporarily unavailablen The fluent process could not be started.nversion> n*********February 5, 2021 at 6:59 amhkboondoggle
SubscriberAnd for selecting MPI = [ OpenMPI ] , it gives out another set of logging in console as shown below. From the description of the log, Fluent seems to be launched successfully and can recognize the settings and the names of the geometry groups of the mesh.n*********n/ansys_inc/v202/fluent/fluent20.2.0/bin/fluent -r20.2.0 2ddp -pshmem -host -alnamd64 -t2 -mpi=openmpi -path/ansys_inc/v202/fluent -ssh -cx ASRC-CalSer01:46115:37795nStarting /ansys_inc/v202/fluent/fluent20.2.0/lnamd64/2ddp_host/fluent.20.2.0 host -cx ASRC-CalSer01:46115:37795 (list (rpsetvar (QUOTE parallel/function) fluent 2ddp -flux -node -alnamd64 -r20.2.0 -t2 -pshmem -mpi=openmpi -ssh) (rpsetvar (QUOTE parallel/rhost) ) (rpsetvar (QUOTE parallel/ruser) ) (rpsetvar (QUOTE parallel/nprocs_string) 2) (rpsetvar (QUOTE parallel/auto-spawn?) #t) (rpsetvar (QUOTE parallel/trace-level) 0) (rpsetvar (QUOTE parallel/remote-shell) 1) (rpsetvar (QUOTE parallel/path) /ansys_inc/v202/fluent) (rpsetvar (QUOTE parallel/hostsfile) ) )n Welcome to ANSYS Fluent 2020 R2n Copyright 1987-2020 ANSYS, Inc. All Rights Reserved.n Unauthorized use, distribution or duplication is prohibited.n This product is subject to U.S. laws governing export and re-export.n For full Legal Notice, see documentation.nBuild Time: May 29 2020 10:12:32 EDT Build Id: 10176 n --------------------------------------------------------------n This is an academic version of ANSYS FLUENT. Usage of this productn license is limited to the terms and conditions specified in your ANSYSn license form, additional terms section.n --------------------------------------------------------------nHost spawning Node 0 on machine ASRC-CalSer01 (unix).n/ansys_inc/v202/fluent/fluent20.2.0/bin/fluent -r20.2.0 2ddp -flux -node -alnamd64 -t2 -pshmem -mpi=openmpi -ssh -mport 127.0.1.1:127.0.1.1:36989:0nStarting fixfiledes /ansys_inc/v202/fluent/fluent20.2.0/multiport/mpi/lnamd64/openmpi/bin/mpirun --mca btl self,vader,tcp --mca btl_sm_use_knem 0 --prefix /ansys_inc/v202/fluent/fluent20.2.0/multiport/mpi/lnamd64/openmpi -x LD_LIBRARY_PATH --np 2 --host ASRC-CalSer01:2 /ansys_inc/v202/fluent/fluent20.2.0/lnamd64/2ddp_node/fluent_mpi.20.2.0 node -mpiw openmpi -pic shmem -mport 127.0.1.1:127.0.1.1:36989:0n--------------------------------------------------------------------------nWARNING: Linux kernel CMA support was requested via thenbtl_vader_single_copy_mechanism MCA variable, but CMA support isnnot available due to restrictive ptrace settings.nThe vader shared memory BTL will fall back on another single-copynmechanism if one is available. This may result in lower performance.n Local host: ASRC-CalSer01n--------------------------------------------------------------------------n-------------------------------------------------------------------------------nID Hostname Core O.S. PID Vendor n-------------------------------------------------------------------------------nn0-1 ASRC-CalSer01 2/32 Linux-64 150590-150591 AMD Ryzen 9 5950X 16-Core nhost ASRC-CalSer01 Linux-64 150350 AMD Ryzen 9 5950X 16-Core nMPI Option Selected: openmpinSelected system interconnect: shared-memoryn-------------------------------------------------------------------------------nCleanup script file is /home/asrc/z_temp/Fluent_2phaseFlow_verification/project_files/dp0/FFF/Fluent/cleanup-fluent-ASRC-CalSer01-150350.shnWarning:nSoftware rasterizer found, hardware acceleration will be disabled.nIn the absence of hardware-accelerated drivers, the performance of all graphics operations will be severely affected. Make sure you have a supported graphics card, latest graphics driver, and a supported remote visualization tool with direct server-side rendering enabled. If you feel your system meets these requirements, try forcing the accelerated driver by using the command line flag (-driver) or setting the HOOPS_PICTURE environment variable. Refer to the documentation for more details.nPosting ANSYS Product Improvement Program startup datanDone.n> nMulticore processors detected. Processor affinity set!n[ASRC-CalSer01:150585] 1 more process has sent help message help-btl-vader.txt / cma-permission-deniedn[ASRC-CalSer01:150585] Set MCA parameter orte_base_help_aggregate to 0 to see all help / error messagesnReading \| gunzip -c \\/home/asrc/z_temp/Fluent_2phaseFlow_verification/project_files/dp0/FFF/Fluent/FFF-Setup-Output.cas.gz\\\...nBuffering for file scan...n 12000 triangular cells, zone 2, binary.n 17840 2D interior faces, zone 1, binary.n 260 2D wall faces, zone 5, binary.n 10 2D velocity-inlet faces, zone 6, binary.n 10 2D pressure-outlet faces, zone 7, binary.n 40 2D wall faces, zone 8, binary.n 6161 nodes, binary.n6161 node flags, binary.nBuilding...n meshnauto partitioning mesh by Metis (fast),ndistributing meshnparts..,nfaces..,nnodes..,ncells..,n bandwidth reduction using Reverse Cuthill-McKee: 125/61 = 2.04918n materials,n interface,n domains,nmixturen zones,nnswall_topnoutlet_ventninletnnswallninterior-surface_bodynsurface_bodySetting surface_body (mixture) ... Done.n Setting zone id of surface_body to 2.n Setting zone id of interior-surface_body to 1.n Setting zone id of nswall to 5.n Setting zone id of inlet to 6.n Setting zone id of outlet_vent to 7.n Setting zone id of nswall_top to 8.nDone.nSetting surface_body (mixture) ... Done.nSetting interior-surface_body (mixture) ... Done.nSetting nswall (mixture) ... Done.nSetting inlet (mixture) ... Done.nSetting outlet_vent (mixture) ... Done.nSetting nswall_top (mixture) ... Done.n parallel,nDone.nPreparing mesh for display...nDone.n*********nAnd although all the tabs (e.g. File, Domain, Physics, User-Defined...) and items in the tool bar or outline is responsive to the keyboard and mouse input, the preview window keeps on showing gibberish at all times:n February 24, 2021 at 12:17 amhkboondoggle
SubscriberNegative. It is installed with Ubuntu 20.04LTS and nothing else.nFebruary 26, 2021 at 5:48 pmANSYS_MMadore
Ansys EmployeeThis is unsupported and we have provided all available suggestions we have at this time. You can refer to our supported platforms here: https://www.ansys.com/solutions/solutions-by-role/it-professionals/platform-supportnMarch 26, 2021 at 12:58 amhkboondoggle
SubscriberThanks mmadore for your effort. Right now Workbench / Fluent is getting along with Ubuntu just fine for the past month.nThe solution was to set kernel.yama.ptrace_scope to 0, using the following command in terminal:necho 0 | sudo tee /proc/sys/kernel/yama/ptrace_scopenAnd then select openmpi in Fluent Launcher -> Parallel Settings -> MPI Types .nHope anyone having similar issues finds this helpful.nnMarch 26, 2021 at 10:51 amANSYS_MMadore
Ansys EmployeeThank you for the update, that is useful information for future reference.nViewing 32 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- License Error
- Error with workbench SceneGraphChart
- How can I renew ANSYS student version license?
- Workbench not opening
- Workbench error
- Sizing on Ansys Workbench 19.2
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Ansys2021R2 ansys212 seg faults immediately on RHEL8.2
- Licensing error while opening ANSYS Mechanical
- An error occurred when the post processor attempted to load a specific result.
Top Contributors-
5108
-
3205
-
2429
-
1308
-
948
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-
Please Login to Report Topic
Please Login to Share Feed