FFR reproducibility

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7906
    Naser
    Participant

    Dears,
    The FFR reproduciblity doesn’t work:

    Undefined function or variable ‘matlabpool’.

    Error in Launcher_FFR_performance_simulations (line 89)
    if ~matlabpool(‘size’) && parallel_sim

    Regards,
    Naser

    #7917

    Dear Naser,

    MATLAB has replaced the matlabpool with parpool so you have to update the script by replacing the matlabpool with parpool.

    Best regards,
    Fjolla

    #7927
    Naser
    Participant

    Dear Fjolla,

    Thanks for you reply, which script exactly I have to change Matlabpool to parpool?

    Regards,
    Naser

    #7930

    Dear Naser,

    For your reported error you have to update Launcher_FFR_performance_simulations.m.

    Best regards,
    Fjolla

    #7931
    Naser
    Participant

    Dear Fjolla,

    When I use Matlab2016a (with parpool), the following error appear:
    Error using parpool (line 103)
    ‘size’ is not the name of a profile. Valid names are:
    ‘local’ ‘MATLAB Parallel Cloud’

    and when I use Matlab 2014a (already support matlabpool), the following error appear:

    Error using schedulers.lteScheduler/get_efficiency (line 569)
    Index exceeds matrix dimensions.

    Error in schedulers.propFairSunScheduler/schedule_users (line 44)
    [c,user_ind] = obj.get_efficiency(N_UE,N_RB,last_received_feedbacks);

    Error in schedulers.ffrScheduler/schedule_users (line 172)
    obj.FR_scheduler.schedule_users(FR_UEs,FR_feedback);

    Error in network_elements.eNodeB_sector/schedule_users (line 259)
    obj.scheduler.schedule_users(obj.attached_UEs_vector,obj.last_received_feedback);

    Error in LTE_sim_main (line 442)
    eNodeBs(s_).schedule_users;

    Error in Launcher_FFR_performance_simulations (line 111)
    parfor parfor_idx=2:length(config_idxs)

    Regrards,
    Naser

    #7933

    Dear Naser,

    To fix the first problem with matlabpool, replace the matlabpool part of the code (line 89) with this code:

    if parallel_sim
    if verLessThan(‘matlab’,’8.3′)
    if ~matlabpool(‘size’)
    try
    matlabpool open;
    catch
    fprintf(‘Failed to open matlabpool. Maybe already open?\n’);
    end
    end
    else
    p = gcp(‘nocreate’);
    if isempty(p) % from matlab doc
    poolsize = 0;
    else
    poolsize = p.NumWorkers;
    end
    end
    end

    For the second error, I am not able to reproduce the same error using other channel models (not the WINNER). Can you tell me your simulation setup? Let me know if the first part solved your problem.

    Best regards,
    Fjolla

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.