nambar12 / matlab_netbatch_scheduler

0 stars 0 forks source link

Error Received When Trying to Train 2 New Users #37

Open pasafier opened 1 year ago

pasafier commented 1 year ago

I attempted to train a couple of guys in my group and they both received this error when trying to invoke a pool. We tried several pool sizes, even just 2 workers and always the same error. The first command they entered was this:

nb = generateNetbatchProfile('pdx_dts','/ptm/ipag'); There was no issue with this command.

Then, this command threw the error image below.

pool = parpool(2);

image

rsnorris commented 1 year ago

@pasafier please run the following

pctconfig('preservejobs',true);
nb = parcluster;
nb.AdditionalProperties.EnableDebug = true;
pool = nb.parpool(2);
nb.getDebugLog(nb.Jobs(end))
pasafier commented 1 year ago

I had one of them run those commands and the output (a lot!) is below (very bottom). However, what stands out is that there is a license error. I had him add the following line into his cshrc file:

setenv MLM_LICENSE_FILE @.**@.>

He then re-ran and got a new error, which is immediately below here:

@.***

Here is the log that seems to indicate the license error.

@.***

@.***

@. @. @. @.

From: Raymond Norris @.> Sent: Friday, February 24, 2023 7:29 AM To: nambar12/matlab_netbatch_scheduler @.> Cc: Safier, Paul A @.>; Mention @.> Subject: Re: [nambar12/matlab_netbatch_scheduler] Error Received When Trying to Train 2 New Users (Issue #37)

@pasafierhttps://github.com/pasafier please run the following

pctconfig('preservejobs',true);

nb = parcluster;

nb.AdditionalProperties.EnableDebug = true;

pool = nb.parpool(2);

nb.getDebugLog(nb.Jobs(end))

— Reply to this email directly, view it on GitHubhttps://github.com/nambar12/matlab_netbatch_scheduler/issues/37#issuecomment-1443851777, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXWEMLPHGBTSU6YAOSOWEU3WZDHR7ANCNFSM6AAAAAAVEUT3PU. You are receiving this because you were mentioned.Message ID: @.**@.>>

rsnorris commented 1 year ago

I'm missing a lot of the debug log, but I suspected it would be related to the license. Let's chat more about it during our call on Monday, February 27th.

pasafier commented 1 year ago

Yes, we can, but I have to send commands to someone else to test since the errors are not with my usage.

From: Raymond Norris @.> Sent: Friday, February 24, 2023 9:33 AM To: nambar12/matlab_netbatch_scheduler @.> Cc: Safier, Paul A @.>; Mention @.> Subject: Re: [nambar12/matlab_netbatch_scheduler] Error Received When Trying to Train 2 New Users (Issue #37)

I'm missing a lot of the debug log, but I suspected it would be related to the license. Let's chat more about it during our call on Monday, February 27th.

— Reply to this email directly, view it on GitHubhttps://github.com/nambar12/matlab_netbatch_scheduler/issues/37#issuecomment-1444094891, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXWEMLIQH7S3NBGABBNJKADWZDWDDANCNFSM6AAAAAAVEUT3PU. You are receiving this because you were mentioned.Message ID: @.**@.>>

rsnorris commented 1 year ago

OK, so this is an environment issue, neither MATLAB or Netbatch is on the user's path. I'm assuming if the user ran

% which nbfeeder

it would return something like

nbfeeder: command not found

Be sure that Netbatch is first on their path before starting MATLAB.

pasafier commented 1 year ago

Oh that’s interesting and surprising. I’ll have them add those paths asap.

From: Raymond Norris @.> Sent: Saturday, February 25, 2023 3:56 AM To: nambar12/matlab_netbatch_scheduler @.> Cc: Safier, Paul A @.>; Mention @.> Subject: Re: [nambar12/matlab_netbatch_scheduler] Error Received When Trying to Train 2 New Users (Issue #37)

OK, so this is an environment issue, neither MATLAB or Netbatch is on the user's path. I'm assuming if the user ran

% which nbfeeder

it would return something like

nbfeeder: command not found

Be sure that Netbatch is first on their path before starting MATLAB.

— Reply to this email directly, view it on GitHubhttps://github.com/nambar12/matlab_netbatch_scheduler/issues/37#issuecomment-1445064635, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXWEMLPMKCRFCQZFZICS4WLWZHXN5ANCNFSM6AAAAAAVEUT3PU. You are receiving this because you were mentioned.Message ID: @.**@.>>