Systems

Systems

System Coupling in Linux HPC ( Cluster type SLURM)

    • AhmedMALIM
      Subscriber
      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.nthe tutorial is here:https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/sysc_tut/sysc_tut_oscplate_cli_fluent_steps.htmlnWhen 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:n(nCaught exception in ApplicationContext.mapModulesnTraceback (most recent call last):n File PyLib/kernel/framework/ApplicationContext.py, line 152, in __call__n File PyLib/kernel/framework/ApplicationContext.py, line 61, in _makeComponentn File PyLib/kernel/framework/ApplicationContext.py, line 59, in n File PyLib/kernel/framework/Annotate.py, line 50, in injectedn File PyLib/kernel/remote/service/__init__.py, line 280, in __init__n File PyLib/kernel/remote/service/__init__.py, line 234, in _loadn File PyLib/kernel/remote/service/__init__.py, line 146, in _initializeComputeNodesn File PyLib/kernel/remote/service/__init__.py, line 77, in _makeMultiportArgsn File PyLib/kernel/remote/service/__init__.py, line 34, in getParallelOptionsn File PyLib/cosimulation/partitioning/machinelist.py, line 66, in loadMachinesn File PyLib/cosimulation/partitioning/machinelist.py, line 252, in _constructMachineListSLURMnTypeError:int() argument must be a string, a bytes-like object or a number, not 'NoneType'nTraceback (most recent call last):n File PyLib/main/Controller.py, line 147, in n File PyLib/main/Controller.py, line 143, in _runn File PyLib/main/Controller.py, line 92, in _executeScriptn File PyLib/kernel/commands/__init__.py, line 31, in readScriptFilen File PyLib/kernel/commands/CommandManager.py, line 169, in readScriptFilen File run.py, line 39, in n Solve()n File PyLib/kernel/commands/CommandDefinition.py, line 74, in funcn File PyLib/kernel/commands/__init__.py, line 28, in executeCommandn File PyLib/kernel/commands/CommandManager.py, line 122, in executeCommandn File PyLib/cosimulation/externalinterface/core/solver.py, line 125, in executen File PyLib/kernel/framework/ApplicationContext.py, line 30, in __getattr__n File PyLib/kernel/framework/ApplicationContext.py, line 50, in __madeComponentn File PyLib/kernel/framework/ApplicationContext.py, line 59, in n File PyLib/kernel/framework/Annotate.py, line 50, in injectedn File PyLib/cosimulation/solver/__init__.py, line 70, in __init__n File PyLib/kernel/fluxdb/FluxDB.py, line 336, in FluxDBn File PyLib/kernel/remote/RemoteObjects.py, line 202, in __init__n File PyLib/kernel/remote/RemoteObjects.py, line 88, in __init__n File PyLib/ComputeNodeCommand.py, line 81, in newfuncn File PyLib/kernel/remote/RemoteStatus.py, line 18, in forceRemoteStartn File PyLib/kernel/framework/ApplicationContext.py, line 157, in __call__n File PyLib/kernel/framework/ApplicationContext.py, line 152, in __call__n File PyLib/kernel/framework/ApplicationContext.py, line 61, in _makeComponentn File PyLib/kernel/framework/ApplicationContext.py, line 59, in n File PyLib/kernel/framework/Annotate.py, line 50, in injectedn File PyLib/kernel/remote/service/__init__.py, line 280, in __init__n File PyLib/kernel/remote/service/__init__.py, line 234, in _loadn File PyLib/kernel/remote/service/__init__.py, line 146, in _initializeComputeNodesn File PyLib/kernel/remote/service/__init__.py, line 77, in _makeMultiportArgsn File PyLib/kernel/remote/service/__init__.py, line 34, in getParallelOptionsn File PyLib/cosimulation/partitioning/machinelist.py, line 66, in loadMachinesn File PyLib/cosimulation/partitioning/machinelist.py, line 252, in _constructMachineListSLURMnTypeError:int() argument must be a string, a bytes-like object or a number, not 'NoneType'n)n
    • Stephen Orlando
      Ansys Employee
      Hi,nPlease see these other discussions for how to launch System Coupling with a job scheduler.n

      Hi Judith,Running on 24 cores for Fluent and Mechanical will require 4 HPC Pack licenses. Can you confirm you have these licenses?Please have a look at this section in the documentation in detail, it has everything you're looking for. https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/sysc_ug/sysc_userinterfaces_advtasks_parallel.htmlIf you're using a PBS, LSF, UGE, or SLURM queueing system all you'll need to do is specify the core count for each solver with the PartitionParticipants command in your runFSI.txt. System Coupling will automatically detect the machine names for these queueing systems.https://forum.ansys.com/discussion/comment/102285#Comment_102285

      https://forum.ansys.com/discussion/comment/106498#Comment_106498nSteven
Viewing 1 reply thread
  • You must be logged in to reply to this topic.