Bug in function GiveCPUnumber, Dynare 4.3.0

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Bug in function GiveCPUnumber, Dynare 4.3.0

Postby mferraz » Wed Jun 27, 2012 12:47 pm

Hi,

I've tried to use the parallel_test command, but 'Ive encountered the following error message:
??? Error using ==> GiveCPUnumber
Too many input arguments.

The cause is that the header of the function is:
function [nCPU]= GiveCPUnumber (ComputerInformations)
but instead it should be
function [nCPU]= GiveCPUnumber (ComputerInformations, varargin)

After the fix, it worked properly.
Well, hope this is useful.

Regards,

Jose Euclides
mferraz
 
Posts: 2
Joined: Fri Jan 06, 2012 1:07 pm

Re: Bug in function GiveCPUnumber, Dynare 4.3.0

Postby jpfeifer » Mon Jul 02, 2012 10:41 am

Thanks for noticing. It has been fixed and will appear in tomorrow's snapshot.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 2 guests