339339# method to get irreducibles from that. Uses orthonormal basis for
340340# C_rho if given.
341341IrreducibleDecompositionCollectedHybrid@ := function (rho )
342- local irreps, G, irred_decomp, do_decompose, parallel;
342+ local irreps, G, irred_decomp, do_decompose, parallel, ParListByFork ;
343343 G := Source(rho);
344344 irreps := ValueOption(" irreps" );
345345 if irreps = fail then
@@ -352,6 +352,11 @@ IrreducibleDecompositionCollectedHybrid@ := function(rho)
352352 IrrepCanonicalSummand@(rho,
353353 irrep));
354354 parallel := ValueOption(" parallel" );
355+ if IsBoundGlobal(" ParListByFork" ) then
356+ ParListByFork := ValueGlobal(" ParListByFork" );
357+ else
358+ parallel := fail ;
359+ fi ;
355360 if IsInt(parallel) then
356361 irred_decomp := ParListByFork(irreps, do_decompose, rec (NumberJobs := parallel));
357362 elif parallel <> fail then
@@ -364,7 +369,7 @@ IrreducibleDecompositionCollectedHybrid@ := function(rho)
364369end ;
365370
366371InstallMethod( REPN_ComputeUsingSerre, " for linear reps" , [ IsGroupHomomorphism ] , function (rho )
367- local irreps, irr_chars, centralizer_basis, irred_decomp, new_bases, basis, basis_change, diag_rho, char_rho_basis, all_sizes, sizes, centralizer_blocks, G, parallel, do_decompose;
372+ local irreps, irr_chars, centralizer_basis, irred_decomp, new_bases, basis, basis_change, diag_rho, char_rho_basis, all_sizes, sizes, centralizer_blocks, G, parallel, do_decompose, ParListByFork ;
368373
369374 G := Source(rho);
370375
@@ -394,7 +399,11 @@ InstallMethod( REPN_ComputeUsingSerre, "for linear reps", [ IsGroupHomomorphism
394399 end ;
395400
396401 parallel := ValueOption(" parallel" );
397-
402+ if IsBoundGlobal(" ParListByFork" ) then
403+ ParListByFork := ValueGlobal(" ParListByFork" );
404+ elif parallel <> fail then
405+ Error(" I need the package IO >= 4.7.0 to use the parallel option!" );
406+ fi ;
398407 if parallel <> fail then
399408 # if the parallel option is set
400409 if IsPackageMarkedForLoading(" IO" , " >= 4.7.0" ) then
0 commit comments