girtel / Net2Plan

Net2Plan is a free and open-source Java tool devoted to the planning, optimization and evaluation of communication networks. It has been originally thought as a tool to assist the teaching of communication networks courses. Eventually it has converted into a powerful network optimization and planning tool for the academia and industry, together with a growing repository of network planning resources.
BSD 2-Clause "Simplified" License
85 stars 38 forks source link

Exception in algorithms when using Parallel Colt #144

Open jjpedreno opened 6 years ago

jjpedreno commented 6 years ago

When developing algorithms, a line of code such as:

IntMatrix1D v = IntFactory1D.dense.make(6,1);

Gives the following exception when executed:


Exception in thread "main" java.lang.NoSuchMethodError: edu.emory.mathcs.utils.ConcurrencyUtils.getThreadsBeginN_1D()I
 at cern.colt.matrix.tint.IntMatrix1D.assign(IntMatrix1D.java:488)
 at cern.colt.matrix.tint.impl.DenseIntMatrix1D.assign(DenseIntMatrix1D.java:440)

This is a known error (among others) of ParallelColt-0.10.1. The fix is to upgrade to version 0.11.4 (available at https://github.com/rwl/ParallelColt/)

ppavon commented 6 years ago

Thanks JJ!

Pablo

2017-10-26 14:46 GMT+02:00 José Juan Pedreño Manresa < notifications@github.com>:

When developing algorithms, a line of code such as:

IntMatrix1D v = IntFactory1D.dense.make(6,1);

Gives the following exception when executed:

Exception in thread "main" java.lang.NoSuchMethodError: edu.emory.mathcs.utils.ConcurrencyUtils.getThreadsBeginN_1D()I at cern.colt.matrix.tint.IntMatrix1D.assign(IntMatrix1D.java:488) at cern.colt.matrix.tint.impl.DenseIntMatrix1D.assign(DenseIntMatrix1D.java:440)

This is a known error (among others) of ParallelColt-0.10.1. The fix is to upgrade to version 0.11.4 (available at https://github.com/rwl/ ParallelColt/)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/girtel/Net2Plan/issues/144, or mute the thread https://github.com/notifications/unsubscribe-auth/AMt_XmNZ7zHEYBmrxtjGIFIVkR5tB5VYks5swH8QgaJpZM4QHgks .

--


Pablo Pavón Mariño, PhD

Associate Professor

Technical University of Cartagena (Spain)

Plaza del Hospital 1, Edif. Antiguones, 30202 Cartagena (Spain)

Tlf: +34 968325952 ; Fax: +34 968325973

http://girtel.upct.es/~ppavon http://girtel.upct.es/~ppavon

mailto://pablo.pavon@upct.es //pablo.pavon@upct.es