Comments (7)
Hi @germa89 @mcMunich @adeebsaitBH
There are several answers to this depending on your setup. Licensing information is available on the license server; normally users do not have direct access to a license server, just the license admin does. The license admin can use the server side license application to generate a report showing your usage. Or even just look at the raw log and see what you have checked in/out recently.
If you happen to be the license admin, as well as a user, then you can use the server side license tool yourself.
If you are not an license admin but want an alternate answer, then you could dig into the client side license logs. 'Client' here means the computer that is running MAPDL (that PyMAPDL launched). There is a folder named .ansys in the temp folder that holds the client side logs. Each application (MAPDL, WB Mechanical, Fluent, etc) has its own log. On a MS Windows system if you enter the following on a File Explorer:
%temp%.ansys
And hit enter it will take you to that folder. The files have the naming convention "licdebug.computer name.application.version number.out" The file for MAPDL has application name of 'ANSYS'. These are text files.
The logs are pretty straight forward if you are just looking for check out/in. If you want to learn how to read all of the log, and are a commercial customer, please open a support case in the usual manner for you. The logs are really meant for the developers and technical support.
Mike
from pymapdl.
Main idea
We want to use MapdlPool
(spawn multiple MAPDL instances), to use HPC licenses instead. So we do not require that many solver licenses.
Caveats
Probably this is not possible because HPC licenses hangs from a main MAPDL instance (use one solver license) which then spawns accross multiple processes or CPUs, using those HPC licenses.
Our usage is more focused on multiple MAPDL instances, hence each one will have a solver license. Presumably, the number of processes or CPUs won't grow enough to require HPC licenses.
I could be wrong with the reasoning though.
Ping @mikerife @pmaroneh @mcMunich for double check.
from pymapdl.
I thought briefly about this.
What if you use pool or something to generate the input files (input_1.dat, input2.dat...), but don't solve, and then use some python multp thread/process to launch a bunch of simul solves?
from pymapdl.
I thought briefly about this. What if you use pool or something to generate the input files (input_1.dat, input2.dat...), but don't solve, and then use some python multp thread/process to launch a bunch of simul solves?
The problem is that launching simulation solves will consume licenses I guess. HPC licenses only allow you to utilize more cores, not more instances I believe. So I guess that to utilize HPC licenses, we just need to use many cores when using launch_mapdl
:
mapdl = launch_mapdl(nproc=48)
from pymapdl.
Closing issue because it is not applicable.
from pymapdl.
Just a quick question! If I use mapdl = launch_mapdl(loglevel="ERROR", print_com=True, license_type="meba", run_location=save_dir, nproc=8, jobname="flexlok", override=True), how do I know if it is using and how many HPC licenses? A bit new to using PyMAPDL.
from pymapdl.
@mcMunich can you give us a hand here? I am not very familiar with the licensing.
from pymapdl.
Related Issues (20)
- ``LinkCheck`` workflow is broken
- Temporary directory is not removed when `remove_temp_dir_on_exit` = True HOT 2
- v251 database module crashes HOT 1
- Local always runs as student
- Test not stopping MAPDL instances properly HOT 3
- Refactor picking to better adapt to new visualization interface.
- Examples of Numba and NVIDIA GPU Acceleration with PyMechanical and PyMAPDL
- testing: random test ordering
- Using dynamic jobs requeriments
- ``logging`` module needs some maintenance. HOT 1
- HEMIOPT is missing the 'tolerance' on the function definition.
- SECDATA and ASEC Beams HOT 1
- Failed scheduled build
- Reducing testing time HOT 1
- Launch_mapdl with mechanical enterprise preppost HOT 2
- Failed scheduled build HOT 2
- Warn user of limited usage of ``*MWRITE``.
- Bug located in ... HOT 3
- Add support for commands new to MAPDL version 2024R1.
- Failed scheduled build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymapdl.