General

General

CFX is rejecting my partition file with the error that the number of partitions must be set. The full error is below: -definition CFX.def -parallel -parfile-read CFX.par -start-method ‘Cray MPI Distributed Parallel’ Setting default for /SIMULATION CONTROL/EXECUTION CONTROL/SOLVER STEP CONTROL/PARALLEL ENVIRONMENT/Number of Processes after it is explicitly set! at /software/ansys_2020R2_beta/v202/CFX/bin//perllib/CFX5/CCLI/Defaulted.pm line 203. An error has occurred in cfx5solve: You must specify a partition count for XXXX Distributed Parallel.

    • FAQFAQ
      Participant

      The problem is that the number of processes is already set by an EXECUTION CONTROL snippet in the .def file. This must first be removed before the run can proceed. Processor instruction in EXECUTION CONTROL conflicts with the instructions provided by partition files, so the two cannot exist simultaneously during run submission.