Ansys Learning Forum Maintenance

NOTICE: We will be performing backend maintenance of our Learning Forum from April 5 to April 12, 2021. The result will be a new infrastructure but with little impact to user experience and design. Currently the forum is accessible in read-only mode as we complete our final migration. Thank you for your patience. For urgent issues please visit HERE.


System Coupling in Linux HPC ( Cluster type SLURM) — Ansys Learning Forum

System Coupling in Linux HPC ( Cluster type SLURM)

AhmedMALIMAhmedMALIM Member Posts: 2

Hello,

I'm working on FSI, I tried some tutorials of the Oscillating Plate with the command line ( CLI ) in the windows machine and it works properly.

the tutorial is here: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/sysc_tut/sysc_tut_oscplate_cli_fluent_steps.html

When I wanted to use the same tutorials in the Linux HPC (type SLURM), after finishing all the commands properly, the last command to run the solving process ( Solve() ) gives me the following error:

(

Caught exception in ApplicationContext.mapModules

Traceback (most recent call last):

 File "PyLib/kernel/framework/ApplicationContext.py", line 152, in __call__

 File "PyLib/kernel/framework/ApplicationContext.py", line 61, in _makeComponent

 File "PyLib/kernel/framework/ApplicationContext.py", line 59, in <lambda>

 File "PyLib/kernel/framework/Annotate.py", line 50, in injected

 File "PyLib/kernel/remote/service/__init__.py", line 280, in __init__

 File "PyLib/kernel/remote/service/__init__.py", line 234, in _load

 File "PyLib/kernel/remote/service/__init__.py", line 146, in _initializeComputeNodes

 File "PyLib/kernel/remote/service/__init__.py", line 77, in _makeMultiportArgs

 File "PyLib/kernel/remote/service/__init__.py", line 34, in getParallelOptions

 File "PyLib/cosimulation/partitioning/machinelist.py", line 66, in loadMachines

 File "PyLib/cosimulation/partitioning/machinelist.py", line 252, in _constructMachineListSLURM

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Traceback (most recent call last):

 File "PyLib/main/Controller.py", line 147, in <module>

 File "PyLib/main/Controller.py", line 143, in _run

 File "PyLib/main/Controller.py", line 92, in _executeScript

 File "PyLib/kernel/commands/__init__.py", line 31, in readScriptFile

 File "PyLib/kernel/commands/CommandManager.py", line 169, in readScriptFile

 File "run.py", line 39, in <module>

  Solve()

 File "PyLib/kernel/commands/CommandDefinition.py", line 74, in func

 File "PyLib/kernel/commands/__init__.py", line 28, in executeCommand

 File "PyLib/kernel/commands/CommandManager.py", line 122, in executeCommand

 File "PyLib/cosimulation/externalinterface/core/solver.py", line 125, in execute

 File "PyLib/kernel/framework/ApplicationContext.py", line 30, in __getattr__

 File "PyLib/kernel/framework/ApplicationContext.py", line 50, in __madeComponent

 File "PyLib/kernel/framework/ApplicationContext.py", line 59, in <lambda>

 File "PyLib/kernel/framework/Annotate.py", line 50, in injected

 File "PyLib/cosimulation/solver/__init__.py", line 70, in __init__

 File "PyLib/kernel/fluxdb/FluxDB.py", line 336, in FluxDB

 File "PyLib/kernel/remote/RemoteObjects.py", line 202, in __init__

 File "PyLib/kernel/remote/RemoteObjects.py", line 88, in __init__

 File "PyLib/ComputeNodeCommand.py", line 81, in newfunc

 File "PyLib/kernel/remote/RemoteStatus.py", line 18, in forceRemoteStart

 File "PyLib/kernel/framework/ApplicationContext.py", line 157, in __call__

 File "PyLib/kernel/framework/ApplicationContext.py", line 152, in __call__

 File "PyLib/kernel/framework/ApplicationContext.py", line 61, in _makeComponent

 File "PyLib/kernel/framework/ApplicationContext.py", line 59, in <lambda>

 File "PyLib/kernel/framework/Annotate.py", line 50, in injected

 File "PyLib/kernel/remote/service/__init__.py", line 280, in __init__

 File "PyLib/kernel/remote/service/__init__.py", line 234, in _load

 File "PyLib/kernel/remote/service/__init__.py", line 146, in _initializeComputeNodes

 File "PyLib/kernel/remote/service/__init__.py", line 77, in _makeMultiportArgs

 File "PyLib/kernel/remote/service/__init__.py", line 34, in getParallelOptions

 File "PyLib/cosimulation/partitioning/machinelist.py", line 66, in loadMachines

 File "PyLib/cosimulation/partitioning/machinelist.py", line 252, in _constructMachineListSLURM

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

)

Answers

Sign In or Register to comment.