StochasticNumerics / mimclib

A software library for UQ methods
GNU General Public License v2.0
6 stars 8 forks source link

TypeError: <lambda>() got an unexpected keyword argument 'iteration_idx' #51

Closed litvinen closed 8 years ago

litvinen commented 8 years ago

kw13919:litvina~/MIMCLIB/mimclib/tests/CEM> ./echo_test_cmd_alex.py -multi True | parallel -j10 Traceback (most recent call last): File "run.py", line 71, in fnSeed=seedRandomGen) File "/home/litvina/MIMCLIB/mimclib/mimclib/test.py", line 78, in RunStandardTest mimcRun.doRun() File "/home/litvina/MIMCLIB/mimclib/mimclib/mimc.py", line 675, in doRun self.fnItrDone(iteration_idx=itrIndex, TOL=TOL, totalTime=totalTime) TypeError: () got an unexpected keyword argument 'iteration_idx'

[1]+ Stopped ./echo_test_cmd_alex.py -multi True | parallel -j10

+++++++++++++ Similar error in /gbm kw13919:litvina~/MIMCLIB/mimclib/tests/gbm> ./echo_test_cmd.py -multi True | parallel -j2 Traceback (most recent call last): File "mimc_run.py", line 87, in fnAddExtraArgs=addExtraArguments) File "/home/litvina/MIMCLIB/mimclib/mimclib/test.py", line 78, in RunStandardTest mimcRun.doRun() File "/home/litvina/MIMCLIB/mimclib/mimclib/mimc.py", line 675, in doRun self.fnItrDone(iteration_idx=itrIndex, TOL=TOL, totalTime=totalTime) TypeError: () got an unexpected keyword argument 'iteration_idx' Traceback (most recent call last): File "mimc_run.py", line 87, in fnAddExtraArgs=addExtraArguments) File "/home/litvina/MIMCLIB/mimclib/mimclib/test.py", line 78, in RunStandardTest mimcRun.doRun() File "/home/litvina/MIMCLIB/mimclib/mimclib/mimc.py", line 675, in doRun self.fnItrDone(iteration_idx=itrIndex, TOL=TOL, totalTime=totalTime) TypeError: () got an unexpected keyword argument 'iteration_idx' Traceback (most recent call last):

litvinen commented 8 years ago

I pulled the latest version from github, compiled it, I updated the data base, but it didn't help

litvinen commented 8 years ago

The issue is resolved. I created a new directory, cloned the code from github, compiled and it is working. I do not know what was the reason.