Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Fluent icing cannot execute journal file on hpc.

    • NM Researcher
      Subscriber

      Hi all,

      I am having trouble launching fluent icing on an hpc with a journal file.
      Using the same journal file when launching manually works fine and the multishot simulation begins as expected but when launching on the main cluster I get an error.

      This is the contents of my journal file which is located in the same directory as the .flprj project file.

      Project.open('/path/to/file/projectFile.flprj')
      Project.openSimulation('SimulationName')
      csim().Solution.AirflowRun.Load(Filename=r'/path/to/file/File.dat.h5')
      Project.newRun('multishot','1shot',-1)
      csim().Solution.Interrupt()


      This is the line executed on the visualisation node of the hpc, this executes correctly and begins the simulation:
      icing -g -t 32 -R load.py

      This is the contents of the main cluster PBS queue file:

      PBS settings, all standard

      ln -s $PWD $PBS_O_WORKDIR/$PBS_JOBID
      cd $PBS_O_WORKDIR
      export cpus=cat $PBS_NODEFILE | wc -l
      sort -u $PBS_NODEFILE -o fluent_nodes.$$
      ##
      cd /path/to/file/
      icing -g -t{cpus} -cnf=fluent_nodes.$$ -R load.py


      Executing this job on the hpc results in this error:

      Fluent icing loads

      Error: state/object/set-state:Invalid value type for data model parameter. Illegal conversion from b to l, data: False

      Error Object: ()

      Error: state/object/set-state:Invalid value type for data model parameter. Illegal conversion from b to l, data: False

      Error Object: ()
      Error Object: ("import cx;cx.execFile(r\"load.py\")")
      >>> Project.open('/path/to/file/project.flprj')
      >>> Project.openSimulation('SimulationName')
      -Python script failed-


      I can't find any reference to this error in any documentation and I have no idea what to do to fix it. All my attempts have resulted in the same error.

      Any help is greatly appreciated,
      Many thanks

    • Federico
      Ansys Employee

      Hello, 

      it seems like your system is encountering an error when running a PyAnsys command. PyAnsys is currently a set of open-source projects and not covered in the Ansys Innovation Space Forum. Questions on PyAnsys should go through the Developer Forum Home - Community Forum

Viewing 1 reply thread
  • You must be logged in to reply to this topic.